Function at 0x4545a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caeeb
mov eax, dword fs:[0]
push eax
mov eax, 0x1e84
call fcn.00482ff0
mov eax, dword [0x4f016c]
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 - 0x1e90]
mov edi, dword [ebp + 0xc]
mov ebx, 1
push esi
push eax
call fcn.004550a0
push dword [ebp - 0x1e90]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455058
lea ecx, [ebp - 0x1e89]
call fcn.0044cd00
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x454708
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.004528e0
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 0x454664
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.0044d5c0
mov edx, eax
test edx, edx
jne 0x454697
xor ecx, ecx
jmp 0x4546af
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4546a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 8]
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.004495f0
mov edx, eax
test edx, edx
jne 0x4546e0
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 4]
call fcn.0040e260
mov ebx, 1
jmp 0x45505a
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4546e5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 4]
call fcn.0040e260
mov ebx, 1
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.004505e0
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x4547af
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.00443210
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 0x454764
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.0044aed0
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.0044f380
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.004424f0
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x45485b
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.00450b20
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 0x454810
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.00447ec0
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.00450f80
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.00445b30
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x454902
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.00441ed0
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 0x4548b7
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.0044c520
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.004426b0
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.00443e50
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
jne 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.00446a30
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x4549cb
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.0044f8c0
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 0x454980
sub ecx, edx
lea eax, [ebp - 0xa38]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.00449890
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.00449430
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.00447360
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x454a72
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.004500a0
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 0x454a27
sub ecx, edx
lea eax, [ebp - 0xc40]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.00441d10
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.00445890
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.0044d940
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x454b1b
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.0044de80
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 0x454ad0
sub ecx, edx
lea eax, [ebp - 0xe48]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.0044f1c0
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.0044dcc0
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.00446690
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x454bc2
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.004441d0
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 0x454b77
sub ecx, edx
lea eax, [ebp - 0x1050]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.0044e580
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.00445c10
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.0044ba30
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x454c6b
push 0x208
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.00451760
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 0x454c20
sub ecx, edx
lea eax, [ebp - 0x1258]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.00450ea0
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.0044afb0
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.004464d0
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x454d12
push 0x208
lea eax, [ebp - 0x1460]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.00442a30
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 0x454cc7
sub ecx, edx
lea eax, [ebp - 0x1460]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.00452560
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.004439f0
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.00443c90
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x454dbb
push 0x208
lea eax, [ebp - 0x1668]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.0044e040
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 0x454d70
sub ecx, edx
lea eax, [ebp - 0x1668]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.0044c980
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.00450c00
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.0044fe00
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x454e62
push 0x208
lea eax, [ebp - 0x1870]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.0044aa70
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 0x454e17
sub ecx, edx
lea eax, [ebp - 0x1870]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.0044c280
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.00451ae0
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.0044cec0
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x454f0b
push 0x208
lea eax, [ebp - 0x1a78]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.00448080
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 0x454ec0
sub ecx, edx
lea eax, [ebp - 0x1a78]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.0044dbe0
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.00442170
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.00449190
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x454fb2
push 0x208
lea eax, [ebp - 0x1c80]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.00451e60
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 0x454f67
sub ecx, edx
lea eax, [ebp - 0x1c80]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.00449270
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.0044a6f0
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
lea ecx, [ebp - 0x1e89]
call fcn.00451840
push eax
push esi
call fcn.00413c70
add esp, 8
test al, al
je 0x455058
push 0x208
lea eax, [ebp - 0x1e88]
push 0
push eax
call fcn.004a5110
mov esi, dword [ebp - 0x1e90]
lea ecx, [ebp - 0x1e89]
add esp, 0xc
call fcn.0044c6e0
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 0x455010
sub ecx, edx
lea eax, [ebp - 0x1e88]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e260
lea ecx, [ebp - 0x1e89]
call fcn.004513e0
push eax
lea ecx, [edi + 8]
call fcn.00413c20
lea ecx, [ebp - 0x1e89]
call fcn.004529c0
push eax
lea ecx, [edi + 4]
call fcn.00413c20
jmp 0x45505a
xor ebx, ebx
mov eax, dword [ebp - 0x1e90]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45507f
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.00482dad
mov esp, ebp
pop ebp
ret 0xc