Function at 0x1003f57e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x1003f828
push ebx
push dword [esi]
xor ebx, ebx
push ebx
push dword [esi + 4]
call fcn.10023f47
add esp, 0xc
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0xd40a1650
mov dword [ebp - 0x1c], 0xb6842a45
mov dword [ebp - 0x1c], 0xffffffff
push 4
mov dword [ebp - 8], ebx
pop ecx
jmp 0x1003f5d3
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x48], 0xc93b4e1
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1003f5c5
mov dword [ebp - 8], ebx
jmp 0x1003f5eb
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x2c], 0xfffffffa
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x1003f5dd
mov dword [ebp - 8], ebx
jmp 0x1003f604
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x58], 0x93c34f97
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1003f5f6
push edi
mov dword [ebp - 8], 3
push 1
pop edi
cmp dword [ebp - 8], ebx
jl 0x1003f73d
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], 0x82e77e81
mov dword [ebp - 0x18], 0xbdf7
mov dword [ebp - 0x10], ebx
jmp 0x1003f641
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x24], 0xb44cf592
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x1003f633
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x48], ebx
jne 0x1003f73d
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x20], ebx
je 0x1003f66a
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], ebx
je 0x1003f667
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x48]
mov eax, dword [ebp - 8]
imul ecx, dword [ebp + eax*4 - 0x48], 0x1847
sub ecx, dword [ebp - 0x24]
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, 0xb7f464f6
setne al
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x1003f6a2
mov eax, dword [ebp - 0x54]
dec dword [ebp - 0x18]
xor edx, edx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setge dl
imul eax, edx
xor edx, edx
cmp eax, 0x23ee
setge dl
neg edx
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebp - 8]
setge cl
imul ecx, ecx, 0x3714
mov eax, dword [ebp + eax*4 - 0x48]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 8]
cmp ecx, dword [ebp + eax*4 - 0x48]
jl 0x1003f6f8
mov eax, edi
cmp dword [ebp - 0x14], ebx
jne 0x1003f6fa
mov eax, ebx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
je 0x1003f709
mov ecx, edi
cmp dword [ebp - 0x20], ebx
jne 0x1003f70b
mov ecx, ebx
mov eax, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x48]
cmp ecx, eax
mov eax, dword [ebp - 8]
setg dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x48]
cmp eax, 0xcb8ce3e
setg cl
xor eax, eax
cmp ecx, edx
setge al
mov dword [ebp - 0x1c], eax
dec dword [ebp - 8]
jns 0x1003f61d
push dword [esi + 4]
call fcn.10062bb2
mov dword [ebp - 0x1c], ebx
pop ecx
mov dword [ebp - 0x10], ebx
jmp 0x1003f75c
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xc], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1003f74e
mov byte [ebp - 1], bl
pop edi
cmp byte [ebp - 1], bl
je 0x1003f772
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov dword [ebp - 0xc], ebx
jmp 0x1003f7a6
mov dword [ebp - 8], ebx
mov dword [ebp - 8], ebx
jmp 0x1003f79d
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0xc]
cmp ecx, eax
mov eax, 0xbf90edca
setne dl
cmp eax, edx
sbb eax, eax
neg eax
mov dword [ebp - 0x1c], eax
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffeb
jge 0x1003f77f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffea
jle 0x1003f777
mov dword [esi + 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], 0x7d0b0a35
mov dword [ebp - 0x10], ebx
jmp 0x1003f7cc
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x38], 0xfffffffe
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1003f7be
mov dword [ebp - 8], ebx
jmp 0x1003f805
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x38]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x38]
mov dword [ebp - 0x1c], ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jle 0x1003f7d7
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1003f825
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x153c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [esi], ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret