Function at 0x40edaa
Capabilities:
Get hostname
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xcc0
mov eax, dword [0x41e024]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x234]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0xc4c], eax
push ecx
mov ecx, eax
call 0x49ceea
test eax, eax
js 0x40f0c7
xor ecx, ecx
inc ecx
call fcn.0040a299
push 0x5c
pop eax
cmp word [ebp - 0x234], ax
jne 0x40ee06
lea edi, [ebp - 0x230]
cmp word [ebp - 0x232], ax
je 0x40ee0c
lea edi, [ebp - 0x234]
push edi
call dword [sym.imp.USER32.dll_CharLowerW]
push 1
push edi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
lea eax, [ebp - 0xc44]
mov dword [ebp - 0xc44], 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x40ee54
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40ee54
mov ebx, 0x99
jmp 0x40f0a1
push 0
push 0
push 0x110a
push dword [esi + 0x60]
mov dword [ebp - 0xcbc], 0x15
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov dword [ebp - 0xca8], 0x104
lea eax, [ebp - 0x43c]
mov dword [ebp - 0xc40], ebx
mov dword [ebp - 0xcb8], ebx
push ebx
mov dword [ebp - 0xcac], eax
mov ebx, 0x110a
jmp 0x40eed4
lea eax, [ebp - 0xcbc]
push eax
push 0
push 0x113e
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x43c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40ef1b
js 0x40eeea
mov eax, dword [ebp - 0xcb8]
mov dword [ebp - 0xc40], eax
push eax
push 1
push ebx
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xcb8], eax
test eax, eax
jne 0x40ee9c
lea eax, [ebp - 0xc48]
push eax
push reloc.COMCTL32.dll_MenuHelp
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
xor ebx, ebx
test eax, eax
je 0x40ef36
cmp eax, 5
sete bl
lea ebx, [ebx*2 + 0x9a]
jmp 0x40f0a1
push dword [ebp - 0xcb8]
push 9
push 0x110b
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40f0c7
mov eax, dword [ebp - 0xc40]
and dword [ebp - 0xc68], ebx
mov dword [ebp - 0xc90], eax
xor eax, eax
inc eax
mov dword [ebp - 0xc94], 0xffff0000
mov dword [ebp - 0xc74], eax
mov dword [ebp - 0xc70], eax
mov dword [ebp - 0xc6c], eax
lea eax, [ebp - 0xc94]
push eax
push 0
push 0x1132
push dword [esi + 0x60]
mov dword [ebp - 0xc8c], 0x67
mov dword [ebp - 0xc7c], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xc94], eax
xor edi, edi
mov dword [ebp - 0xc74], 2
mov dword [ebp - 0xc70], 3
imul ecx, edi, 0xc
mov eax, dword [ecx + 0x4012c0]
mov dword [ebp - 0xc7c], eax
cmp edi, 2
jne 0x40efcc
mov eax, dword [ebp - 0xc48]
mov dword [ebp - 0xc68], eax
jmp 0x40f00a
cmp edi, 1
je 0x40f041
cmp edi, 5
je 0x40f041
cmp edi, 4
je 0x40f041
test edi, edi
je 0x40f041
lea eax, [ebp - 0xc68]
push eax
push dword [ecx + 0x4012c4]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
test eax, eax
je 0x40f004
mov ebx, 0x9b
jmp 0x40f041
mov eax, dword [ebp - 0xc68]
push 0x400
lea ecx, [ebp - 0xc3c]
push ecx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0xc6c], eax
lea eax, [ebp - 0xc94]
push eax
push 0
push 0x1132
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
inc edi
cmp edi, 5
jb 0x40efaa
push dword [ebp - 0xc94]
push 2
push 0x1102
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0xc94]
push 0
push 0x1114
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
call fcn.0040a299
push dword [ebp - 0xc94]
push 9
push 0x110b
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SetFocus]
test ebx, ebx
je 0x40f0c7
lea eax, [ebp - 0x234]
push eax
push 0x10
push 0x98
movzx eax, bx
push eax
push dword [ebp - 0xc4c]
push dword [0x41edec]
call fcn.0040eae0
add esp, 0x18
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ca70
leave
ret 4