Function at 0x45c370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fab98
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x67f4f4]
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 esi, dword [ebp + 8]
test esi, esi
jne 0x45c3c5
xor eax, eax
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.00478a88
mov esp, ebp
pop ebp
ret 4
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0053dd00
add esp, 0xc
call fcn.00433320
test al, al
je 0x45c453
lea ecx, [ebp - 0x421]
call fcn.0045baf0
push eax
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
push 0x619700
call fcn.00443920
add esp, 8
lea ecx, [ebp - 0x428]
call fcn.00460000
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x421]
call fcn.0045b570
push eax
lea ecx, [ebp - 0x428]
call fcn.00460f60
lea ecx, [ebp - 0x428]
mov ebx, eax
call fcn.00460320
mov eax, ebx
jmp 0x45c3a7
mov eax, dword [0x68b0a0]
test al, 1
jne 0x45c46a
or eax, 1
mov dword [0x68b09c], ebx
mov dword [0x68b0a0], eax
mov byte [ebp - 0x421], bl
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 1
push eax
call fcn.00462c42
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 2
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x421]
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x438]
push eax
push 0x45b2a0
push 0x68b09c
call fcn.004636f9
add esp, 0x10
test eax, eax
je 0x45c85a
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 3
push eax
call fcn.00462c7c
add esp, 4
lea eax, [ebp - 0x218]
push 0x68b0a4
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [0x68b0dc]
test al, 1
jne 0x45c507
or eax, 1
mov dword [0x68b0d8], 0
mov dword [0x68b0dc], eax
mov byte [ebp - 0x421], 0
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 6
push eax
call fcn.00462c42
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 7
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x421]
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x438]
push eax
push 0x45ae80
push 0x68b0d8
call fcn.004636f9
add esp, 0x10
test eax, eax
je 0x45c841
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 8
push eax
call fcn.00462c7c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x43c]
push eax
push 0x20019
push 0
push 0x68b0e0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45c44c
mov eax, dword [0x68b144]
mov dword [ebp - 0x440], 0x104
test al, 1
jne 0x45c5c9
or eax, 1
mov dword [0x68b140], 0
mov dword [0x68b144], eax
mov byte [ebp - 0x421], 0
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 0xb
push eax
call fcn.00462c42
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x421]
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x438]
push eax
push 0x45aa90
push 0x68b140
call fcn.004636f9
add esp, 0x10
test eax, eax
je 0x45c824
lea eax, [ebp - 0x430]
mov dword [ebp - 4], 0xd
push eax
call fcn.00462c7c
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x68b148
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x43c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x45c44c
call fcn.00409110
mov ecx, eax
test ecx, ecx
je 0x45c873
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x42c]
test eax, 0xffff0000
jne 0x45c6bb
movzx eax, ax
push eax
call fcn.004222d0
jmp 0x45c6c1
push eax
call fcn.00422ae0
mov esi, dword [ebp - 0x42c]
mov dword [ebp - 4], 0x11
mov edi, dword [esi - 0xc]
test edi, edi
js 0x45c87d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x45c6fc
push edi
lea ecx, [ebp - 0x42c]
call fcn.004094a0
mov esi, dword [ebp - 0x42c]
lea eax, [edi + 1]
push eax
push esi
call fcn.0057036e
add esp, 8
cmp edi, dword [esi - 8]
jg 0x45c87d
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
call fcn.00409110
mov ecx, eax
test ecx, ecx
je 0x45c887
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x428]
test eax, 0xffff0000
jne 0x45c75a
movzx eax, ax
push eax
call fcn.004222d0
jmp 0x45c760
push eax
call fcn.00422ae0
mov edi, dword [ebp - 0x428]
mov byte [ebp - 4], 0x13
mov ebx, dword [edi - 0xc]
test ebx, ebx
js 0x45c891
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x45c798
push ebx
lea ecx, [ebp - 0x428]
call fcn.004094a0
mov edi, dword [ebp - 0x428]
lea eax, [ebx + 1]
push eax
push edi
call fcn.0057036e
add esp, 8
cmp ebx, dword [edi - 8]
jg 0x45c87d
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
cmp dword [esi - 0xc], eax
jge 0x45c7c1
or ebx, 0xffffffff
jmp 0x45c7da
push edi
push esi
call fcn.0053eb2b
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x45c7d6
or ebx, 0xffffffff
jmp 0x45c7da
sub ebx, esi
sar ebx, 1
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0x11
not ebx
or edi, 0xffffffff
shr ebx, 0x1f
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c7fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x45c44c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
jmp 0x45c3a7
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0xe
push eax
call fcn.00462cbe
add esp, 4
mov byte [ebp - 4], 0xc
test al, al
je 0x45c8b1
jmp 0x45c89b
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 9
push eax
call fcn.00462cbe
add esp, 4
mov byte [ebp - 4], 7
jmp 0x45c83b
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 4
push eax
call fcn.00462cbe
add esp, 4
mov byte [ebp - 4], 2
jmp 0x45c83b
push 0x80004005
call fcn.004084c0
push 0x80070057
call fcn.004084c0
push 0x80004005
call fcn.004084c0
push 0x80070057
call fcn.004084c0
sub esp, 8
lea eax, [ebp - 0x430]
mov ecx, esp
push eax
call fcn.00407770
call fcn.00407ca0
call fcn.004637ca
int3