Function at 0x428a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589629
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x848], 0
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x840]
call fcn.00401600
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x844], 0
lea ecx, [ebp - 0x18]
push ecx
push 0xf013f
push 0
push 0x5967dc
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x824], eax
cmp dword [ebp - 0x824], 0
je 0x428ae5
lea edx, [ebp - 0x840]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403680
mov eax, dword [ebp - 0x848]
or eax, 1
mov dword [ebp - 0x848], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x428cc0
push 0
lea ecx, [ebp - 0x820]
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x824], eax
cmp dword [ebp - 0x824], 0
je 0x428b57
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x840]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403680
mov eax, dword [ebp - 0x848]
or eax, 1
mov dword [ebp - 0x848], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x428cc0
push 0
lea ecx, [ebp - 0x844]
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x820]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x824], eax
cmp dword [ebp - 0x824], 0
je 0x428bdc
mov ecx, dword [ebp - 0x820]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x844]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x840]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403680
mov ecx, dword [ebp - 0x848]
or ecx, 1
mov dword [ebp - 0x848], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x428cc0
mov word [ebp - 0x81c], 0
push 0x7fe
push 0
lea edx, [ebp - 0x81a]
push edx
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x14], 0x400
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x81c]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x844]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x844]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x820]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x81c]
push ecx
call fcn.0049e752
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x428c90
lea edx, [ebp - 0x840]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403680
mov eax, dword [ebp - 0x848]
or eax, 1
mov dword [ebp - 0x848], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x428cc0
lea ecx, [ebp - 0x81c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401600
mov edx, dword [ebp - 0x848]
or edx, 1
mov dword [ebp - 0x848], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00401640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret