Function at 0x427ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b966
mov eax, dword fs:[0]
push eax
sub esp, 0x258
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x250], eax
xorps xmm0, xmm0
push 9
push 0x59a6e8
mov dword [ebp - 0x254], eax
movups xmmword [ebp - 0x248], xmm0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
call fcn.0040b6c0
mov dword [ebp - 4], 0
call fcn.0040d9d0
mov ecx, dword [eax + 0x60]
add eax, 0x50
cmp dword [eax + 0x14], 7
jbe 0x427d66
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00410b40
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
movups xmmword [ebp - 0x230], xmm0
mov word [ebp - 0x230], ax
xor esi, esi
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], esi
cmp dword [ebp - 0x234], 7
lea eax, [ebp - 0x248]
cmova eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x24c], esi
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x427df9
mov esi, dword [ebp - 0x24c]
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x25c], eax
xor eax, eax
mov byte [ebp - 4], 2
test ecx, ecx
cmovne eax, ecx
test eax, eax
jne 0x427fad
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00557d70
add esp, 0xc
mov dword [ebp - 0x24c], 0x208
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push 0x59a738
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427e74
mov eax, dword [ebp - 0x250]
cmp eax, 1
je 0x427e62
cmp eax, 2
jne 0x427e74
cmp dword [ebp - 0x24c], 0
jne 0x427e74
xor eax, eax
mov word [ebp - 0x218], ax
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x427e80
mov edi, dword [ebp - 0x21c]
sub esi, ecx
sar esi, 1
mov dword [ebp - 0x250], edi
cmp esi, edi
ja 0x427ed7
cmp dword [ebp - 0x250], 7
lea edi, [ebp - 0x230]
mov dword [ebp - 0x220], esi
lea eax, [ebp - 0x218]
cmova edi, dword [ebp - 0x230]
add esi, esi
push esi
push eax
push edi
call fcn.005577f0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x427fad
cmp esi, 0x7ffffffe
ja 0x42808a
mov ecx, esi
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x427ef7
mov ecx, SysReAllocString
jmp 0x427f15
mov edx, edi
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x427f0d
mov ecx, SysReAllocString
jmp 0x427f15
lea eax, [edx + edi]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], ecx
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0040b660
mov ecx, eax
mov dword [ebp - 0x220], esi
mov eax, dword [ebp - 0x24c]
add esi, esi
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push esi
push eax
push ecx
mov dword [ebp - 0x250], ecx
call fcn.005577f0
mov eax, dword [ebp - 0x250]
xor ecx, ecx
add esp, 0x14
mov word [esi + eax], cx
cmp edi, 7
jbe 0x427fa7
mov ecx, dword [ebp - 0x230]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x427f97
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42808f
push edi
push ecx
call fcn.0055241f
mov eax, dword [ebp - 0x250]
add esp, 8
mov dword [ebp - 0x230], eax
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.004389e0
mov eax, dword [ebp - 0x260]
add esp, 8
test eax, eax
je 0x427fd4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x428014
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42800a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428094
push ecx
push edx
call fcn.0055241f
add esp, 8
mov ecx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp ecx, 7
jbe 0x42806d
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x428063
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428094
push ecx
push edx
call fcn.0055241f
add esp, 8
mov eax, esi
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