Function at 0x457240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563b82
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5c9c4c]
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.0045d0e0
add esp, 4
mov dword [ebp - 0x22c], eax
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x457296
mov eax, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x45729e
mov ebx, dword [ebx]
push eax
push ebx
push 0x5818b8
call fcn.0044c0c0
add esp, 0xc
cmp dword [ebp - 0x22c], 0
jne 0x4572ee
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 0x4572d0
sub ecx, edx
sar ecx, 1
push ecx
push 0
mov ecx, esi
call fcn.00412940
jmp 0x4574de
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00506df0
add esp, 0xc
mov dword [ebp - 0x23c], 1
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 0x238], 0x208
jb 0x457322
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040e030
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004d08a0
add esp, 8
push dword [eax]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 1
call fcn.0040e030
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 0x457380
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 0x4573a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x14], 8
jb 0x4573a9
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x228]
call fcn.0040e030
push 1
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004d0790
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 6
call fcn.0040e030
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 0x457403
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 0x457424
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 0x457489
lea ecx, [ebp - 0x218]
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457470
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
jmp 0x457494
xor eax, eax
push eax
mov word [esi], ax
push 0x57aa4c
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 0x4574bc
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 0x4574de
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.004a9748
mov esp, ebp
pop ebp
ret