Function at 0x437dd0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0xc]
push 0x3c
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x268]
push 0
push eax
mov dword [ebp - 0x270], 0x44
mov dword [ebp - 0x26c], 0
call fcn.00471730
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x210]
add esp, 0xc
push eax
push 0x20019
push 0
push 0x4a2ec8
push reloc.WS2_32.dll_accept
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x437efb
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x4a2f64
push dword [ebp - 0x210]
call ebx
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x437efb
push 0x4a2f74
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00474398
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x20c]
push eax
push connect
call edi
test eax, eax
jne 0x437f55
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push esi
push dword [ebp - 0x210]
call ebx
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x437f55
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push 0x4a2e94
push connect
call edi
test eax, eax
jne 0x437f4d
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x210]
call ebx
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43808f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437f60
mov esi, dword [ebp - 0x21c]
sub ecx, edx
mov edx, esi
sar ecx, 1
lea edi, [edx + 2]
lea ebx, [ebx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x437f80
sub edx, edi
lea ebx, [ecx + 6]
sar edx, 1
add ebx, edx
lea eax, [ebx + ebx]
push eax
call fcn.00471b44
mov edi, eax
lea eax, [ebp - 0x20c]
push 0x4a2f9c
push eax
call fcn.00470661
add esp, 0xc
mov dword [ebp - 0x218], eax
test eax, eax
je 0x43800f
mov esi, eax
lea eax, [ebp - 0x20c]
sub esi, eax
sar esi, 1
lea ecx, [esi + 1]
push ecx
push eax
push ebx
push edi
call fcn.004714b6
mov eax, ebx
sub eax, esi
dec eax
push 0x4a2fa8
push eax
lea eax, [esi + 1]
lea eax, [edi + eax*2]
push eax
call fcn.00470605
push dword [ebp - 0x21c]
push ebx
push edi
call fcn.00474398
mov eax, dword [ebp - 0x218]
add eax, 6
push eax
push ebx
push edi
call fcn.00474398
add esp, 0x34
jmp 0x438026
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x4a2fb0
push ebx
push edi
call fcn.00470bac
add esp, 0x14
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x228], 0
push eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x22c], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x228]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x22c]
call esi
push edi
call fcn.00471b0c
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470e77
mov esp, ebp
pop ebp
ret
push 0x10
push 0x4a2fc4
push 0x4a2ff0
push dword [ebp - 0x218]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00470e77
mov esp, ebp
pop ebp
ret