Function at 0x4032f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571e28
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5d6ff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x1c]
push 0x5e20c8
push eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x1c], 0
call fcn.004023b0
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0x5b4a04
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
push 0x20019
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x38]
xor edx, edx
test eax, eax
mov dword [ebp - 0x54], eax
cmovne ecx, edx
or esi, 0xffffffff
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], ecx
test ecx, ecx
jne 0x403396
mov byte [ebp - 0x39], dl
jmp 0x4035cf
xor edi, edi
mov dword [ebp - 0x14], edx
call fcn.00410f0c
mov ecx, eax
test ecx, ecx
jne 0x4033b0
push 0x80004005
call fcn.00402df0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, 0x32
or ecx, edx
jge 0x4033e0
push 0x32
lea ecx, [ebp - 0x14]
call fcn.00402a50
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x32
test eax, eax
je 0x403577
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
push eax
push edi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x54], eax
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x40357e
push dword [eax - 8]
inc edi
push eax
mov dword [ebp - 0x18], edi
call fcn.0055ba8a
mov edx, eax
add esp, 8
test edx, edx
js 0x40356d
mov ecx, dword [ebp - 0x14]
cmp edx, dword [ecx - 8]
jg 0x40356d
mov dword [ecx - 0xc], edx
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov word [eax + edx*2], cx
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.00403610
mov byte [ebp - 4], 3
cmp byte [ebp - 0x2c], 1
jne 0x403506
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403a30
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 4
mov edi, dword [eax + 8]
test edi, edi
js 0x403568
push ecx
lea ecx, [edi + 1]
push ecx
mov ecx, eax
call fcn.00403d90
mov eax, dword [ebp - 0x40]
lea ecx, [edi + edi*2]
push dword [ebp - 0x50]
mov eax, dword [eax + 4]
lea ecx, [eax + ecx*4]
call fcn.00403c60
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4034cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x60]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4034e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403503
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403524
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40353e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jle 0x403558
mov eax, dword [ebp - 0x14]
jmp 0x4033c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
jmp 0x4033c1
call fcn.00410a29
push 0x80070057
call fcn.00402df0
mov dword [ebp - 0x54], 0x57
push dword [eax - 8]
push eax
call fcn.0055ba8a
mov edx, eax
add esp, 8
test edx, edx
js 0x40356d
mov ecx, dword [ebp - 0x14]
cmp edx, dword [ecx - 8]
jg 0x40356d
push dword [ebp - 0x44]
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + edx*2], cx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x14]
mov byte [ebp - 0x39], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4035cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4035ee
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x39]
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.00554815
mov esp, ebp
pop ebp
ret 8