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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x37c
push ebx
lea eax, [ebp - 0x278]
push esi
push edi
push eax
push 0x414436
push dword [ebp + 8]
push 0x68
push dword [0x41a560]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x41442d
push 1
call fcn.0040e46f
cmp byte [ebp - 0x278], 0x5c
jne 0x4141c9
cmp byte [ebp - 0x277], 0x5c
lea esi, [ebp - 0x276]
je 0x4141cf
lea esi, [ebp - 0x278]
push esi
call dword [sym.imp.USER32.dll_CharLowerA]
push 1
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffA]
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0x10
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x414213
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x414213
mov dword [ebp - 4], 0x99
jmp 0x414409
mov edi, dword [section..data]
push 0
mov dword [ebp - 0x44], 0x15
push 0
push 0x110a
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x30], 0x104
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x37c]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x40]
push ebx
push 1
push 0x110a
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x414282
lea eax, [ebp - 0x44]
push eax
push 0
push 0x110c
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x37c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4142b1
jge 0x414243
lea eax, [ebp - 8]
lea ecx, [ebp - 0x278]
push eax
push 0x80000002
push ecx
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
je 0x4142c7
cmp eax, 5
je 0x414402
mov dword [ebp - 4], 0x9a
jmp 0x414409
push dword [ebp - 0x40]
push 9
push 0x110b
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x41442d
mov edi, dword [section..data]
push 0
mov dword [ebp - 4], 0
push 0
push 0xb
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x74], 0xffff0000
mov dword [ebp - 0x6c], 0x67
mov dword [ebp - 0x48], 0
lea esi, [ebp - 0x74]
push esi
push 0
push 0x1100
mov ebx, 0x412ac0
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 3
mov dword [ebp - 0x74], eax
mov eax, dword [ebx]
cmp ebx, 0x412ad0
mov dword [ebp - 0x5c], eax
jne 0x4143da
mov eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
push 0x100
lea eax, [ebp - 0x174]
push eax
push 0
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push esi
cmp eax, 1
sbb eax, eax
push 0
neg eax
push 0x1100
mov dword [ebp - 0x4c], eax
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
add ebx, 8
cmp ebx, 0x412af0
jb 0x414332
push dword [ebp - 0x74]
push 2
push 0x1102
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x74]
push 0
push 0x1114
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0xb
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
call fcn.0040e46f
push dword [ebp - 0x74]
push 9
push 0x110b
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 4], 0
je 0x41442d
jmp 0x414409
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x278]
push eax
push dword [ebx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
je 0x414349
mov dword [ebp - 4], 0x9b
jmp 0x414379
mov dword [ebp - 4], 0x9c
movzx ecx, word [ebp - 4]
lea eax, [ebp - 0x278]
push eax
push 0x10
push 0x98
mov eax, dword [0x41a560]
push ecx
push dword [ebp + 8]
push eax
call sub.SHELL32.dll_ShellMessageBoxA
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4