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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x517ba0]
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.004a7410
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x210]
add esp, 0xc
push eax
push 0x20019
push 0
push 0x4f0dd0
push reloc.WS2_32.dll_accept
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x468cab
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x4f0e6c
push dword [ebp - 0x210]
call ebx
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x468cab
push 0x4f0e7c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004b8a72
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x20c]
push eax
push accept
call edi
test eax, eax
jne 0x468d05
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 0x468d05
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push 0x4f0da0
push accept
call edi
test eax, eax
jne 0x468cfd
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 0x468e3f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468d10
mov esi, dword [ebp - 0x21c]
sub ecx, edx
mov edx, esi
sar ecx, 1
lea edi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x468d30
sub edx, edi
sar edx, 1
lea ebx, [edx + 6]
add ebx, ecx
lea eax, [ebx + ebx]
push eax
call fcn.004b1722
mov edi, eax
lea eax, [ebp - 0x20c]
push 0x4f0ea4
push eax
call fcn.004a756a
add esp, 0xc
mov dword [ebp - 0x218], eax
test eax, eax
je 0x468dbf
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.004abc4e
mov eax, ebx
sub eax, esi
dec eax
push 0x4f0eb0
push eax
lea eax, [esi + 1]
lea eax, [edi + eax*2]
push eax
call fcn.004b7f10
push dword [ebp - 0x21c]
push ebx
push edi
call fcn.004b8a72
mov eax, dword [ebp - 0x218]
add eax, 6
push eax
push ebx
push edi
call fcn.004b8a72
add esp, 0x34
jmp 0x468dd6
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x4f0eb8
push ebx
push edi
call fcn.00404df0
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.004b1707
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4433
mov esp, ebp
pop ebp
ret
push 0x10
push 0x4f0ecc
push 0x4f0ef8
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.004a4433
mov esp, ebp
pop ebp
ret