Function at 0x40ee38
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 fcn.004109ba
test eax, eax
js 0x40f155
xor ecx, ecx
inc ecx
call fcn.0040a309
push 0x5c
pop eax
cmp word [ebp - 0x234], ax
jne 0x40ee94
lea edi, [ebp - 0x230]
cmp word [ebp - 0x232], ax
je 0x40ee9a
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 0x40eee2
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40eee2
mov ebx, 0x99
jmp 0x40f12f
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 0x40ef62
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 0x40efa9
js 0x40ef78
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 0x40ef2a
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 0x40efc4
cmp eax, 5
sete bl
lea ebx, [ebx*2 + 0x9a]
jmp 0x40f12f
push dword [ebp - 0xcb8]
push 9
push 0x110b
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40f155
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 + 0x401250]
mov dword [ebp - 0xc7c], eax
cmp edi, 2
jne 0x40f05a
mov eax, dword [ebp - 0xc48]
mov dword [ebp - 0xc68], eax
jmp 0x40f098
cmp edi, 1
je 0x40f0cf
cmp edi, 5
je 0x40f0cf
cmp edi, 4
je 0x40f0cf
test edi, edi
je 0x40f0cf
lea eax, [ebp - 0xc68]
push eax
push dword [ecx + 0x401254]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
test eax, eax
je 0x40f092
mov ebx, 0x9b
jmp 0x40f0cf
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 0x40f038
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.0040a309
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 0x40f155
lea eax, [ebp - 0x234]
push eax
push 0x10
push 0x98
movzx eax, bx
push eax
push dword [ebp - 0xc4c]
push dword [0x41edf4]
call fcn.0040eb70
add esp, 0x18
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cc10
leave
ret 4