Function at 0x421b30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b301
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5f0a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x270], esi
push 9
xorps xmm0, xmm0
mov dword [ebp - 4], esi
push 0x59a6e8
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], esi
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], esi
call fcn.0040b6c0
cmp dword [edi + 0x64], 7
lea eax, [edi + 0x50]
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 1
jbe 0x421bba
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00410b40
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x264], 0
push ecx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x421c17
mov esi, dword [ebp - 0x264]
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], eax
xor eax, eax
mov byte [ebp - 4], 1
test ecx, ecx
cmovne eax, ecx
test eax, eax
jne 0x421ec2
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00557d70
add esp, 0xc
mov dword [ebp - 0x264], 0x208
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x268]
push eax
push 0
push 0x59a5c4
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421e2d
mov eax, dword [ebp - 0x268]
cmp eax, 1
je 0x421c88
cmp eax, 2
jne 0x421e2d
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x421cac
test al, 1
jne 0x421e2d
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x421cb5
jmp 0x421e2d
xor eax, eax
mov word [ebp - 0x218], ax
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
movups xmmword [ebp - 0x248], xmm0
mov word [ebp - 0x248], ax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 3
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421cf0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00418d10
mov edx, dword [edi + 0xd8]
lea ecx, [edi + 0xc8]
mov eax, SysReAllocString
sub eax, edx
cmp eax, 1
jb 0x421f4d
cmp dword [ecx + 0x14], 7
mov eax, ecx
jbe 0x421d38
mov eax, dword [ecx]
push edx
push eax
push 1
push 0x59a5d0
push ecx
push dword [ebp - 0x268]
lea ecx, [ebp - 0x260]
call fcn.004159b0
cmp dword [ebp - 0x24c], 7
lea eax, [ebp - 0x260]
push dword [ebp - 0x250]
cmova eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x248]
push eax
mov byte [ebp - 4], 4
call fcn.00410b40
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 3
call fcn.0040bf90
cmp dword [ebp - 0x234], 7
lea eax, [ebp - 0x248]
push 0
cmova eax, dword [ebp - 0x248]
push eax
call fcn.00562954
add esp, 8
test eax, eax
jne 0x421de9
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421dc0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x68]
call fcn.00418d10
mov dword [ebp - 0x26c], 1
mov ecx, dword [ebp - 0x234]
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x421e2d
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421e23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421f52
push ecx
push edx
call fcn.0055241f
add esp, 8
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x268]
push eax
push 0
push 0x59a72c
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421ec2
mov eax, dword [ebp - 0x268]
cmp eax, 1
je 0x421e6e
cmp eax, 2
jne 0x421ec2
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x421e8b
test al, 1
jne 0x421ec2
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x421e94
jmp 0x421ec2
xor eax, eax
mov word [ebp - 0x218], ax
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421ea0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x324]
call fcn.00418d10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x421f04
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421efa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421f57
push ecx
push edx
call fcn.0055241f
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
test esi, esi
je 0x421f2c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00551e44
mov esp, ebp
pop ebp
ret
call fcn.0040c990
call fcn.0055bf8b
call fcn.0055bf8b
int3