Function at 0x1003bed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101487e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x101a49d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x14c], esi
lea ecx, [ebp + 8]
call fcn.1003bbf0
mov edi, eax
mov dword [ebp - 0x148], edi
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0
push 0x1018ed8c
mov ecx, esi
call fcn.10051fd0
xor ebx, ebx
mov dword [ebp - 4], 0
push 0
push 0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x140]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x140]
inc eax
mov dword [ebp - 0x140], eax
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1011a831
mov dword [ebp - 0x138], eax
push dword [ebp - 0x13c]
call fcn.1011a831
add esp, 8
mov edi, eax
mov dword [ebp - 0x150], 0
lea eax, [ebp - 0x13c]
push eax
push edi
lea eax, [ebp - 0x150]
push eax
push 0
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x138]
push ebx
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x1003bff2
mov dword [ebp - 4], 0xffffffff
jmp 0x1003c3bb
mov eax, dword [ebp - 0x150]
dec eax
cmp eax, 0xa
ja case.0x1003c002.5
jmp dword [eax*4 + 0x1003c420]
push 0x1018f8a8
push edi
push 0x1018e170
push dword [ebp - 0x138]
lea ecx, [ebp - 0x8c]
call fcn.100524b0
push eax
mov edx, 0x1019073c
lea ecx, [ebp - 0x74]
call fcn.10059bb0
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10058e00
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.10058e00
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.10058e00
add esp, 4
push eax
mov ecx, esi
call fcn.10052290
lea ecx, [ebp - 0x2c]
call fcn.10024ce0
lea ecx, [ebp - 0x44]
call fcn.10024ce0
lea ecx, [ebp - 0x5c]
call fcn.10024ce0
lea ecx, [ebp - 0x74]
call fcn.10024ce0
lea ecx, [ebp - 0x8c]
jmp 0x1003c38a
mov edx, dword [edi]
lea ecx, [ebp - 0xa4]
call fcn.10022c50
mov esi, eax
push 0x1018e170
push dword [ebp - 0x138]
lea ecx, [ebp - 0x44]
call fcn.100524b0
push eax
mov edx, 0x1019074c
lea ecx, [ebp - 0x5c]
call fcn.10059bb0
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.10058e00
add esp, 4
push esi
push eax
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x2c]
call fcn.1005d9f0
push 0x1018f8a8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x8c]
call fcn.10058e00
add esp, 4
push eax
mov esi, dword [ebp - 0x144]
mov ecx, esi
call fcn.10052290
lea ecx, [ebp - 0x8c]
call fcn.10024ce0
lea ecx, [ebp - 0x2c]
call fcn.10024ce0
lea ecx, [ebp - 0x74]
call fcn.10024ce0
lea ecx, [ebp - 0x5c]
call fcn.10024ce0
lea ecx, [ebp - 0x44]
call fcn.10024ce0
lea ecx, [ebp - 0xa4]
jmp 0x1003c38a
push dword [edi + 4]
push dword [edi]
lea ecx, [ebp - 0x44]
call fcn.10022cd0
add esp, 8
mov esi, eax
push 0x1018e170
push dword [ebp - 0x138]
lea ecx, [ebp - 0x5c]
call fcn.100524b0
push eax
mov edx, 0x10190764
lea ecx, [ebp - 0x74]
call fcn.10059bb0
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.10058e00
add esp, 4
push esi
push eax
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x2c]
call fcn.1005d9f0
push 0x1018f8a8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xa4]
call fcn.10058e00
add esp, 4
push eax
mov esi, dword [ebp - 0x144]
mov ecx, esi
call fcn.10052290
lea ecx, [ebp - 0xa4]
call fcn.10024ce0
lea ecx, [ebp - 0x2c]
call fcn.10024ce0
lea ecx, [ebp - 0x8c]
call fcn.10024ce0
lea ecx, [ebp - 0x74]
call fcn.10024ce0
lea ecx, [ebp - 0x5c]
call fcn.10024ce0
lea ecx, [ebp - 0x44]
jmp 0x1003c38a
push 0x1018f8a8
push edi
push 0x1018e170
push dword [ebp - 0x138]
lea ecx, [ebp - 0x44]
call fcn.100524b0
mov edx, 0x1019077c
push eax
lea ecx, [ebp - 0x5c]
call fcn.10059bb0
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.10058e00
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.10058e00
add esp, 4
mov edx, eax
lea ecx, [ebp - 0xa4]
call fcn.10058e00
add esp, 4
push eax
mov ecx, esi
call fcn.10052290
lea ecx, [ebp - 0xa4]
jmp 0x1003c1c2
push 0x1018f8a8
push edi
push 0x1018e170
push dword [ebp - 0x138]
lea ecx, [ebp - 0x44]
call fcn.100524b0
mov edx, 0x10190798
jmp 0x1003c208
push 0x1018ed8c
lea ecx, [ebp - 0xbc]
call fcn.100524b0
xor esi, esi
mov dword [ebp - 0x154], esi
cmp esi, dword [ebp - 0x13c]
jae 0x1003c2d9
movzx eax, byte [esi + edi]
push eax
push str.0x_02X
push 0xa
lea eax, [ebp - 0x28]
push eax
call fcn.10020eb0
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xbc]
call fcn.10052260
mov eax, dword [ebp - 0x13c]
dec eax
cmp esi, eax
je 0x1003c2d6
push 0x1018f0fc
lea ecx, [ebp - 0xbc]
call fcn.10052260
inc esi
jmp 0x1003c286
push 0x1018f8a8
lea eax, [ebp - 0xbc]
push eax
push 0x1018e170
push dword [ebp - 0x138]
lea ecx, [ebp - 0x134]
call fcn.100524b0
push eax
mov edx, 0x101907c8
lea ecx, [ebp - 0x11c]
call fcn.10059bb0
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x104]
call fcn.10058e00
add esp, 4
mov edx, eax
lea ecx, [ebp - 0xec]
call fcn.10059c80
add esp, 4
mov edx, eax
lea ecx, [ebp - 0xd4]
call fcn.10058e00
add esp, 4
push eax
mov esi, dword [ebp - 0x144]
mov ecx, esi
call fcn.10052290
lea ecx, [ebp - 0xd4]
call fcn.10024ce0
lea ecx, [ebp - 0xec]
call fcn.10024ce0
lea ecx, [ebp - 0x104]
call fcn.10024ce0
lea ecx, [ebp - 0x11c]
call fcn.10024ce0
lea ecx, [ebp - 0x134]
call fcn.10024ce0
lea ecx, [ebp - 0xbc]
call fcn.10024ce0
inc ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x148]
jmp 0x1003bf43
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x1003c3fd
lea edx, [edx*2 + 2]
mov ecx, dword [ebp + 8]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c3f3
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c41b
push edx
push ecx
call fcn.1011a823
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
call fcn.10125fc5
or eax, eax
add edx, dword [eax]
push esp
ret 4099