Function at 0x439ef3
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x4b4]
sub esp, 0x534
mov eax, dword [0x44de1c]
push ebx
push esi
push edi
push 0x41
mov dword [ebp + 0x4b0], eax
pop ecx
xor eax, eax
xor ebx, ebx
lea edi, [ebp - 0x64]
mov dword [ebp - 0x68], ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4030d4
push 0x43a1bc
mov esi, 0x104
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0040af66
add esp, 0x14
lea eax, [ebp - 0x68]
push eax
push 1
push ebx
lea eax, [ebp - 0x64]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43a112
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x43a1b4
push dword [ebp - 0x68]
mov dword [ebp - 0x7c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43a112
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x41
pop ecx
xor eax, eax
lea edi, [ebp + 0x1a4]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x43a19c
lea eax, [ebp + 0x1a4]
push esi
push eax
call fcn.0040af66
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
push 0x20006
push ebx
push 0x43a16c
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x439ff2
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x6c]
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0x78], eax
je 0x43a112
push 0x41
pop ecx
xor eax, eax
push 0x41
lea edi, [ebp + 0xa0]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp + 0x3ac]
rep stosd dword es:[edi], eax
push esi
lea eax, [ebp + 0x3ac]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
je 0x43a077
lea eax, [ebp + 0x3ac]
push 0x5c
push eax
call fcn.00404675
mov byte [eax], bl
lea eax, [ebp + 0x3ac]
push eax
push 0x43a15c
lea eax, [ebp + 0xa0]
push esi
push eax
call fcn.0040af66
add esp, 0x18
lea eax, [ebp + 0xa0]
push eax
call edi
cmp eax, ebx
jne 0x43a086
push 0x43a150
call edi
cmp eax, ebx
je 0x43a112
push 0x43a13c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x74], eax
je 0x43a112
push 0x41
pop ecx
push dword [ebp + 0x4bc]
xor eax, eax
lea edi, [ebp + 0x2a8]
rep stosd dword es:[edi], eax
push esi
lea eax, [ebp + 0x2a8]
push eax
call fcn.004113c0
push 0x43a12c
push esi
lea eax, [ebp + 0x2a8]
push eax
call fcn.0040a5b7
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
lea eax, [ebp + 0x2a8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43a112
push ebx
push ebx
push ebx
push ebx
push esi
push dword [ebp - 0x6c]
push dword [ebp - 0x78]
call dword [ebp - 0x74]
test eax, eax
push esi
je 0x43a10c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x43a114
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp + 0x4b0]
pop edi
pop esi
pop ebx
call fcn.00417bd0
add ebp, 0x4b4
leave
ret 4