Function at 0x45c470
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x48ab7c
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0xa0], esi
mov edi, dword [esp + 0xa8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45cc2f
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x7c], esi
mov eax, edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 1
call fcn.004424c0
cmp eax, esi
jl 0x45cc26
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x60]
mov byte [esp + 0xa4], 2
call fcn.004421a0
test eax, eax
je 0x45cbfe
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
mov edx, dword [0x4bb38c]
add eax, 0x10
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [esp + 0x58], eax
mov byte [esp + 0xa0], 3
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0xa0], 4
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov byte [esp + 0xa0], 5
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xa0], 6
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ebx, [esp + 0x1c]
mov byte [esp + 0xa0], 7
call fcn.00421af0
mov edi, eax
call fcn.00421b70
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x45c69b
mov byte [esp + 0xa0], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c628
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c650
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0xa0], 4
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c674
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebp, 0xfffffff0
mov byte [esp + 0xa0], 3
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45cb99
mov ecx, dword [ebp]
push ebp
jmp 0x45cb92
cmp dword [eax - 0xc], 3
jle 0x45c6d1
lea ecx, [esp + 0x1c]
push ecx
mov eax, 3
xor ecx, ecx
lea edx, [esp + 0x34]
call fcn.004167d0
or dword [esp + 0x28], 1
push eax
mov ecx, 0x4a2550
call fcn.00421940
add esp, 4
test al, al
je 0x45c6d1
mov bl, 1
jmp 0x45c6d3
xor bl, bl
test byte [esp + 0x28], 1
je 0x45c6ff
mov eax, dword [esp + 0x30]
and dword [esp + 0x28], 0xfffffffe
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c6ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x45c759
mov ecx, 4
lea esi, [esp + 0x34]
lea edx, [esp + 0x1c]
call fcn.00409730
lea edi, [esp + 0x14]
mov byte [esp + 0xa0], 8
call fcn.0040b8a0
mov bl, 7
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c74f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 1
jmp 0x45c770
lea eax, [esp + 0x1c]
lea edi, [esp + 0x14]
call fcn.0040b8a0
mov dword [esp + 0x2c], 0
mov bl, 7
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jle 0x45c798
push 0x20
push esi
call fcn.0046acda
add esp, 8
test eax, eax
je 0x45c798
sub eax, esi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x45c826
lea eax, [esp + 0x14]
lea edi, [esp + 0x24]
call fcn.0040b8a0
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00443920
test eax, eax
jne 0x45c80c
mov byte [esp + 0xa0], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c7dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c804
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
jmp 0x45c8d6
push 0x4992cc
xor ebx, ebx
lea eax, [esp + 0x24]
mov ebp, 1
call fcn.00415d80
jmp 0x45ca9d
lea ecx, [esp + 0x14]
push ecx
mov eax, esi
xor ecx, ecx
lea edx, [esp + 0x3c]
call fcn.004167d0
lea edi, [esp + 0x24]
mov byte [esp + 0xa0], 9
call fcn.0040b8a0
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45c870
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x24]
mov ecx, edi
call fcn.00443920
test eax, eax
jne 0x45c935
mov byte [esp + 0xa0], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c8ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c8d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xa0], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c8f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c91f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x4c]
mov byte [esp + 0xa0], 2
call fcn.0045cc80
jmp 0x45cbe1
lea ecx, [esi + 1]
lea esi, [esp + 0x3c]
lea edx, [esp + 0x14]
call fcn.00409730
lea edi, [esp + 0x14]
mov byte [esp + 0xa0], 0xa
call fcn.0040b8a0
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c97d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jle 0x45c9a1
push 0x20
push esi
call fcn.0046acda
add esp, 8
test eax, eax
je 0x45c9a1
sub eax, esi
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x45c9fc
xor ecx, ecx
lea esi, [esp + 0x40]
lea edx, [esp + 0x14]
call fcn.00409730
lea edi, [esp + 0x18]
mov byte [esp + 0xa0], 0xb
call fcn.0040b8a0
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c9e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0046ba46
add esp, 4
mov ebp, eax
jmp 0x45ca9d
lea edx, [esp + 0x14]
push edx
mov eax, esi
xor ecx, ecx
lea edx, [esp + 0x48]
call fcn.004167d0
lea edi, [esp + 0x18]
mov byte [esp + 0xa0], 0xc
call fcn.0040b8a0
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ca46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0046ba46
lea ecx, [esi + 1]
add esp, 4
lea esi, [esp + 0x48]
lea edx, [esp + 0x14]
mov ebp, eax
call fcn.00409730
lea edi, [esp + 0x20]
mov byte [esp + 0xa0], 0xd
call fcn.0040b8a0
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ca9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x24]
lea edi, [esp + 0x4c]
call fcn.0040b8a0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
lea edi, [esp + 0x58]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ecx
call fcn.0040b8a0
mov edx, dword [esp + 0xac]
push edx
lea ecx, [esp + 0x50]
call fcn.0045d0c0
mov edi, eax
lea eax, [esp + 0x4c]
call fcn.0040b8a0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
add edi, 0xc
lea eax, [esp + 0x58]
call fcn.0040b8a0
mov byte [esp + 0xa0], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45cb21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cb49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cb71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cb99
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cbc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cbe1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x60]
call fcn.004421a0
test eax, eax
jne 0x45c530
mov edi, dword [esp + 0xa8]
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45cc26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x5c]
call fcn.00442470
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0xa0], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cc52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 8