Function at 0x45aa20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d36bb
mov eax, dword fs:[0]
push eax
mov eax, 0x2294
call fcn.0048b760
mov eax, dword [0x4f816c]
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
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x22a0]
mov edi, dword [ebp + 0xc]
mov ebx, 1
push esi
push eax
call fcn.0045b670
push dword [ebp - 0x22a0]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b628
lea ecx, [ebp - 0x2299]
call fcn.00453920
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45ab88
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.004584f0
push eax
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45aae4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00456ab0
mov edx, eax
test edx, edx
jne 0x45ab17
xor ecx, ecx
jmp 0x45ab2f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ab20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 8]
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00447ce0
mov edx, eax
test edx, edx
jne 0x45ab60
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 4]
call fcn.0040ec80
mov ebx, 1
jmp 0x45b62a
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ab65
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 4]
call fcn.0040ec80
mov ebx, 1
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.00445eb0
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45ac2f
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.00457370
push eax
push esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45abe4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00451ee0
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.00450120
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.00445430
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45acdb
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.00455310
push eax
push esi
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ac90
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00447b20
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.00454dd0
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.00456810
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45ad82
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.00448f40
push eax
push esi
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ad37
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00449560
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.00447dc0
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.00449480
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
jne 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.00458bf0
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45ae4b
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.004492c0
push eax
push esi
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0xa38]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ae00
sub ecx, edx
lea eax, [ebp - 0xa38]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.0044d020
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.0044ac20
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.0044c5a0
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45aef2
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.00452960
push eax
push esi
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0xc40]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45aea7
sub ecx, edx
lea eax, [ebp - 0xc40]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00447ea0
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.00456730
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.0044fbe0
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45af9b
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.00452ce0
push eax
push esi
lea eax, [ebp - 0xe48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0xe48]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45af50
sub ecx, edx
lea eax, [ebp - 0xe48]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00455930
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.0044fe80
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.00452340
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45b042
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.004503c0
push eax
push esi
lea eax, [ebp - 0x1050]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1050]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45aff7
sub ecx, edx
lea eax, [ebp - 0x1050]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00451b60
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.0044be80
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.00454100
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45b0eb
push 0x208
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.0044daa0
push eax
push esi
lea eax, [ebp - 0x1258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1258]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b0a0
sub ecx, edx
lea eax, [ebp - 0x1258]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.004542c0
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.00457c30
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.004511c0
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45b192
push 0x208
lea eax, [ebp - 0x1460]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.00455bd0
push eax
push esi
lea eax, [ebp - 0x1460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1460]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b147
sub ecx, edx
lea eax, [ebp - 0x1460]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00452dc0
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.0044c4c0
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.00450f20
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45b23b
push 0x208
lea eax, [ebp - 0x1668]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.00455690
push eax
push esi
lea eax, [ebp - 0x1668]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1668]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b1f0
sub ecx, edx
lea eax, [ebp - 0x1668]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00458a30
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.004535a0
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.0044a1a0
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45b2e2
push 0x208
lea eax, [ebp - 0x1870]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.00457df0
push eax
push esi
lea eax, [ebp - 0x1870]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1870]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b297
sub ecx, edx
lea eax, [ebp - 0x1870]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00454020
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.004571b0
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.00450820
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45b38b
push 0x208
lea eax, [ebp - 0x1a78]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.0044d9c0
push eax
push esi
lea eax, [ebp - 0x1a78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1a78]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b340
sub ecx, edx
lea eax, [ebp - 0x1a78]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00451540
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.00449800
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.00452880
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45b432
push 0x208
lea eax, [ebp - 0x1c80]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.0044f320
push eax
push esi
lea eax, [ebp - 0x1c80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1c80]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b3e7
sub ecx, edx
lea eax, [ebp - 0x1c80]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00457990
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.00455150
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.0044f860
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45b4db
push 0x208
lea eax, [ebp - 0x1e88]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.00448e60
push eax
push esi
lea eax, [ebp - 0x1e88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x1e88]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b490
sub ecx, edx
lea eax, [ebp - 0x1e88]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00458170
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.004526c0
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.004568f0
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45b582
push 0x208
lea eax, [ebp - 0x2090]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.00447f80
push eax
push esi
lea eax, [ebp - 0x2090]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x2090]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b537
sub ecx, edx
lea eax, [ebp - 0x2090]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.004477a0
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.00456e30
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
lea ecx, [ebp - 0x2299]
call fcn.0044a7c0
push eax
push esi
call fcn.00414b00
add esp, 8
test al, al
je 0x45b628
push 0x208
lea eax, [ebp - 0x2298]
push 0
push eax
call fcn.004ad8d0
mov esi, dword [ebp - 0x22a0]
lea ecx, [ebp - 0x2299]
add esp, 0xc
call fcn.0044d640
push eax
push esi
lea eax, [ebp - 0x2298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x2298]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b5e0
sub ecx, edx
lea eax, [ebp - 0x2298]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040ec80
lea ecx, [ebp - 0x2299]
call fcn.00449720
push eax
lea ecx, [edi + 8]
call fcn.00414ab0
lea ecx, [ebp - 0x2299]
call fcn.00455070
push eax
lea ecx, [edi + 4]
call fcn.00414ab0
jmp 0x45b62a
xor ebx, ebx
mov eax, dword [ebp - 0x22a0]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45b64f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.0048b51d
mov esp, ebp
pop ebp
ret 0xc