Function at 0x459240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f832
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.0045f0e0
add esp, 4
mov dword [ebp - 0x22c], eax
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x459296
mov eax, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x45929e
mov ebx, dword [ebx]
push eax
push ebx
push 0x58de48
call fcn.0044d3f0
add esp, 0xc
cmp dword [ebp - 0x22c], 0
jne 0x4592ee
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 0x4592d0
sub ecx, edx
sar ecx, 1
push ecx
push 0
mov ecx, esi
call fcn.004129e0
jmp 0x4594de
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00512920
add esp, 0xc
mov dword [ebp - 0x23c], 1
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x238], 0x208
jb 0x459322
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.004cb7c0
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 0x459380
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 0x4593a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x14], 8
jb 0x4593a9
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.004cb6b0
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 0x459403
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 0x459424
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 0x459489
lea ecx, [ebp - 0x218]
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459470
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
jmp 0x459494
xor eax, eax
push eax
mov word [esi], ax
push 0x586a74
mov ecx, esi
call fcn.004129e0
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 0x4594bc
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 0x4594de
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.004acb88
mov esp, ebp
pop ebp
ret