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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x37c
push ebx
lea eax, [ebp - 0x178]
push esi
push edi
push eax
push 0x20a6974
push dword [ebp + 8]
push 0x68
push dword [0x20af580]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x20a696b
push 1
call fcn.020a4074
cmp byte [ebp - 0x178], 0x5c
jne 0x20a672b
cmp byte [ebp - 0x177], 0x5c
lea edi, [ebp - 0x176]
je 0x20a6731
lea edi, [ebp - 0x178]
push edi
call dword [sym.imp.USER32.dll_CharLowerA]
push 1
push edi
call dword [sym.imp.USER32.dll_CharUpperBuffA]
lea eax, [ebp - 0xc]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0xc], 0x10
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x20a6773
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x20a6773
mov esi, 0x99
jmp 0x20a6948
mov esi, dword [0x20ab040]
push 0
mov dword [ebp - 0x64], 0x15
push 0
push 0x110a
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x50], 0x104
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x60]
push ebx
push 1
push 0x110a
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x20a67e2
lea eax, [ebp - 0x64]
push eax
push 0
push 0x110c
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x27c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x20a680f
jge 0x20a67a3
lea eax, [ebp - 8]
lea ecx, [ebp - 0x178]
push eax
push reloc.COMCTL32.dll_MenuHelp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
je 0x20a6825
cmp eax, 5
je 0x20a6943
mov esi, 0x9a
jmp 0x20a6948
push dword [ebp - 0x60]
push 9
push 0x110b
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x20a696b
mov eax, dword [0x20ab040]
xor esi, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ebx
mov eax, 1
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x3c], 0xffff0000
mov dword [ebp - 0x34], 0x67
lea edi, [ebp - 0x3c]
push edi
push esi
push 0x1100
mov ebx, 0x20a96b0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
cmp ebx, 0x20a96c0
mov dword [ebp - 0x24], eax
jne 0x20a6920
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
push 0x100
lea eax, [ebp - 0x37c]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push edi
cmp eax, 1
sbb eax, eax
push 0
neg eax
push 0x1100
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
add ebx, 8
cmp ebx, 0x20a96e0
jb 0x20a687d
push dword [ebp - 0x3c]
push 2
push 0x1102
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x3c]
push 0
push 0x1114
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
call fcn.020a4074
push dword [ebp - 0x3c]
push 9
push 0x110b
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetFocus]
test esi, esi
je 0x20a696b
jmp 0x20a6948
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x178]
push eax
push dword [ebx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
je 0x20a6894
mov esi, 0x9b
jmp 0x20a68c6
mov esi, 0x9c
movzx ecx, si
lea eax, [ebp - 0x178]
push eax
push 0x10
push 0x98
mov eax, dword [0x20af580]
push ecx
push dword [ebp + 8]
push eax
call fcn.020a6534
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4