Function at 0x4591b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f622
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5d7c7c]
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.0045f050
add esp, 4
mov dword [ebp - 0x22c], eax
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x459206
mov eax, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x45920e
mov ebx, dword [ebx]
push eax
push ebx
push 0x58de48
call fcn.0044d380
add esp, 0xc
cmp dword [ebp - 0x22c], 0
jne 0x45925e
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 0x459240
sub ecx, edx
sar ecx, 1
push ecx
push 0
mov ecx, esi
call fcn.00412940
jmp 0x45944e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005126f0
add esp, 0xc
mov dword [ebp - 0x23c], 1
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x238], 0x208
jb 0x459292
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040e0d0
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004cb720
add esp, 8
push dword [eax]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 1
call fcn.0040e0d0
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 0x4592f0
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 0x459311
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x14], 8
jb 0x459319
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x228]
call fcn.0040e0d0
push 1
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004cb610
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 6
call fcn.0040e0d0
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 0x459373
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 0x459394
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 0x4593f9
lea ecx, [ebp - 0x218]
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4593e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
jmp 0x459404
xor eax, eax
push eax
mov word [esi], ax
push 0x586a74
mov ecx, esi
call fcn.00412940
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 0x45942c
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 0x45944e
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.004acb08
mov esp, ebp
pop ebp
ret