Function at 0x4498d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd9fb
mov eax, dword fs:[0]
push eax
mov eax, 0x186c
call fcn.00475b70
mov eax, dword [0x4e216c]
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 - 0x1878]
mov edi, dword [ebp + 0xc]
mov ebx, 1
push esi
push eax
call fcn.0044a1e0
push dword [ebp - 0x1878]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44a18f
lea ecx, [ebp - 0x1871]
call fcn.0043ef50
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x449a38
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.004446e0
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 0x449994
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.00442350
mov edx, eax
test edx, edx
jne 0x4499c7
xor ecx, ecx
jmp 0x4499df
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4499d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 8]
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.00447a10
mov edx, eax
test edx, edx
jne 0x449a10
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 4]
call fcn.0040d800
mov ebx, 1
jmp 0x44a191
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449a15
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 4]
call fcn.0040d800
mov ebx, 1
jmp 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.0043e310
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x449adf
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.00447770
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 0x449a94
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.0043c0d0
push eax
lea ecx, [edi + 8]
call fcn.00412b30
lea ecx, [ebp - 0x1871]
call fcn.00446350
push eax
lea ecx, [edi + 4]
call fcn.00412b30
jmp 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.0043b030
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x449b8b
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.0043a690
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 0x449b40
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.00447f50
push eax
lea ecx, [edi + 8]
call fcn.00412b30
lea ecx, [ebp - 0x1871]
call fcn.00441bf0
push eax
lea ecx, [edi + 4]
call fcn.00412b30
jmp 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.0043f9d0
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x449c32
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.004425f0
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 0x449be7
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.004441a0
push eax
lea ecx, [edi + 8]
call fcn.00412b30
lea ecx, [ebp - 0x1871]
call fcn.0043e3f0
push eax
lea ecx, [edi + 4]
call fcn.00412b30
jmp 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.00447af0
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
jne 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.00442f90
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x449cfb
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.00446dd0
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 0x449cb0
sub ecx, edx
lea eax, [ebp - 0xa38]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.00443e20
push eax
lea ecx, [edi + 8]
call fcn.00412b30
lea ecx, [ebp - 0x1871]
call fcn.00443150
push eax
lea ecx, [edi + 4]
call fcn.00412b30
jmp 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.0043d720
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x449da2
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.00439a50
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 0x449d57
sub ecx, edx
lea eax, [ebp - 0xc40]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.0043c5a0
push eax
lea ecx, [edi + 8]
call fcn.00412b30
lea ecx, [ebp - 0x1871]
call fcn.00440990
push eax
lea ecx, [edi + 4]
call fcn.00412b30
jmp 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.00442890
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x449e4b
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.00444b40
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 0x449e00
sub ecx, edx
lea eax, [ebp - 0xe48]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.004459b0
push eax
lea ecx, [edi + 8]
call fcn.00412b30
lea ecx, [ebp - 0x1871]
call fcn.00447070
push eax
lea ecx, [edi + 4]
call fcn.00412b30
jmp 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.004401b0
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x449ef2
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.00446190
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 0x449ea7
sub ecx, edx
lea eax, [ebp - 0x1050]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.00448110
push eax
lea ecx, [edi + 8]
call fcn.00412b30
lea ecx, [ebp - 0x1871]
call fcn.00447cb0
push eax
lea ecx, [edi + 4]
call fcn.00412b30
jmp 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.004458d0
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x449f9b
push 0x208
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.004465f0
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 0x449f50
sub ecx, edx
lea eax, [ebp - 0x1258]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.00447150
push eax
lea ecx, [edi + 8]
call fcn.00412b30
lea ecx, [ebp - 0x1871]
call fcn.00441870
push eax
lea ecx, [edi + 4]
call fcn.00412b30
jmp 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.00445d30
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x44a042
push 0x208
lea eax, [ebp - 0x1460]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.00439cf0
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 0x449ff7
sub ecx, edx
lea eax, [ebp - 0x1460]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.00444f30
push eax
lea ecx, [edi + 8]
call fcn.00412b30
lea ecx, [ebp - 0x1871]
call fcn.0043bc70
push eax
lea ecx, [edi + 4]
call fcn.00412b30
jmp 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.00443d40
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x44a0eb
push 0x208
lea eax, [ebp - 0x1668]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.00439dd0
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 0x44a0a0
sub ecx, edx
lea eax, [ebp - 0x1668]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.0043b730
push eax
lea ecx, [edi + 8]
call fcn.00412b30
lea ecx, [ebp - 0x1871]
call fcn.0043ce60
push eax
lea ecx, [edi + 4]
call fcn.00412b30
jmp 0x44a191
lea ecx, [ebp - 0x1871]
call fcn.00440df0
push eax
push esi
call fcn.00412b80
add esp, 8
test al, al
je 0x44a18f
push 0x208
lea eax, [ebp - 0x1870]
push 0
push eax
call fcn.00497c30
mov esi, dword [ebp - 0x1878]
lea ecx, [ebp - 0x1871]
add esp, 0xc
call fcn.004400d0
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 0x44a147
sub ecx, edx
lea eax, [ebp - 0x1870]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1871]
call fcn.00441250
push eax
lea ecx, [edi + 8]
call fcn.00412b30
lea ecx, [ebp - 0x1871]
call fcn.0043bff0
push eax
lea ecx, [edi + 4]
call fcn.00412b30
jmp 0x44a191
xor ebx, ebx
mov eax, dword [ebp - 0x1878]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x44a1b6
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.0047592d
mov esp, ebp
pop ebp
ret 0xc