Function at 0x100591a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016f532
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x230], esi
call fcn.1005f040
add esp, 4
mov dword [ebp - 0x22c], eax
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100591f6
mov eax, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x100591fe
mov ebx, dword [ebx]
push eax
push ebx
push str.IsRegPathExist__hkey_str___s__reg_path___s
call fcn.1004d370
add esp, 0xc
cmp dword [ebp - 0x22c], 0
jne 0x1005924e
xor eax, eax
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10059230
sub ecx, edx
sar ecx, 1
push ecx
push 0
mov ecx, esi
call fcn.10012940
jmp 0x1005943e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10112750
add esp, 0xc
mov dword [ebp - 0x23c], 1
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x238], 0x208
jb 0x10059282
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x224]
call fcn.1000e0d0
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100cb790
add esp, 8
push dword [eax]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 1
call fcn.1000e0d0
mov edx, dword [ebp - 0x234]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100592e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10059301
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x14], 8
jb 0x10059309
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x228]
call fcn.1000e0d0
push 1
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100cb680
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 6
call fcn.1000e0d0
mov edx, dword [ebp - 0x230]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10059363
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10059384
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x22c]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
test eax, eax
jne 0x100593e9
lea ecx, [ebp - 0x218]
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100593d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
jmp 0x100593f4
xor eax, eax
push eax
mov word [esi], ax
push 0x10186a64
mov ecx, esi
call fcn.10012940
mov edx, dword [ebp - 0x21c]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005941c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1005943e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 - 0x10]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret