Function at 0x446b20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bab5b
mov eax, dword fs:[0]
push eax
mov eax, 0x1664
call fcn.00472cd0
mov eax, dword [0x4df16c]
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 - 0x1670]
mov edi, dword [ebp + 0xc]
mov ebx, 1
push esi
push eax
call fcn.00447380
push dword [ebp - 0x1670]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x447338
lea ecx, [ebp - 0x1669]
call fcn.00441df0
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
je 0x446c88
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00494db0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00444f80
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 0x446be4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.00443e00
mov edx, eax
test edx, edx
jne 0x446c17
xor ecx, ecx
jmp 0x446c2f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446c20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 8]
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.004396b0
mov edx, eax
test edx, edx
jne 0x446c60
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 4]
call fcn.0040d800
mov ebx, 1
jmp 0x44733a
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446c65
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 4]
call fcn.0040d800
mov ebx, 1
jmp 0x44733a
lea ecx, [ebp - 0x1669]
call fcn.004384c0
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
je 0x446d2f
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00494db0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00444420
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 0x446ce4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.00440b90
push eax
lea ecx, [edi + 8]
call fcn.00412900
lea ecx, [ebp - 0x1669]
call fcn.0043f690
push eax
lea ecx, [edi + 4]
call fcn.00412900
jmp 0x44733a
lea ecx, [ebp - 0x1669]
call fcn.00437ce0
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
je 0x446ddb
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00494db0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00442d60
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 0x446d90
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.004394f0
push eax
lea ecx, [edi + 8]
call fcn.00412900
lea ecx, [ebp - 0x1669]
call fcn.00442ac0
push eax
lea ecx, [edi + 4]
call fcn.00412900
jmp 0x44733a
lea ecx, [ebp - 0x1669]
call fcn.00443d20
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
je 0x446e82
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00494db0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.0043a4b0
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 0x446e37
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.0043a9f0
push eax
lea ecx, [edi + 8]
call fcn.00412900
lea ecx, [ebp - 0x1669]
call fcn.00439790
push eax
lea ecx, [edi + 4]
call fcn.00412900
jmp 0x44733a
lea ecx, [ebp - 0x1669]
call fcn.0043a910
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
jne 0x44733a
lea ecx, [ebp - 0x1669]
call fcn.004453e0
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
je 0x446f4b
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00494db0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.0043a750
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 0x446f00
sub ecx, edx
lea eax, [ebp - 0xa38]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.0043d170
push eax
lea ecx, [edi + 8]
call fcn.00412900
lea ecx, [ebp - 0x1669]
call fcn.0043b710
push eax
lea ecx, [edi + 4]
call fcn.00412900
jmp 0x44733a
lea ecx, [ebp - 0x1669]
call fcn.0043c7d0
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
je 0x446ff2
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.00494db0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.004410d0
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 0x446fa7
sub ecx, edx
lea eax, [ebp - 0xc40]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.00439870
push eax
lea ecx, [edi + 8]
call fcn.00412900
lea ecx, [ebp - 0x1669]
call fcn.00443c40
push eax
lea ecx, [edi + 4]
call fcn.00412900
jmp 0x44733a
lea ecx, [ebp - 0x1669]
call fcn.0043f150
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
je 0x44709b
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.00494db0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00441370
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 0x447050
sub ecx, edx
lea eax, [ebp - 0xe48]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.004432a0
push eax
lea ecx, [edi + 8]
call fcn.00412900
lea ecx, [ebp - 0x1669]
call fcn.0043f3f0
push eax
lea ecx, [edi + 4]
call fcn.00412900
jmp 0x44733a
lea ecx, [ebp - 0x1669]
call fcn.00440d50
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
je 0x447142
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.00494db0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.0043f770
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 0x4470f7
sub ecx, edx
lea eax, [ebp - 0x1050]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.004408f0
push eax
lea ecx, [edi + 8]
call fcn.00412900
lea ecx, [ebp - 0x1669]
call fcn.0043c350
push eax
lea ecx, [edi + 4]
call fcn.00412900
jmp 0x44733a
lea ecx, [ebp - 0x1669]
call fcn.00442250
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
je 0x4471eb
push 0x208
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.00494db0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.0043d870
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 0x4471a0
sub ecx, edx
lea eax, [ebp - 0x1258]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.00442410
push eax
lea ecx, [edi + 8]
call fcn.00412900
lea ecx, [ebp - 0x1669]
call fcn.00444960
push eax
lea ecx, [edi + 4]
call fcn.00412900
jmp 0x44733a
lea ecx, [ebp - 0x1669]
call fcn.004402d0
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
je 0x447292
push 0x208
lea eax, [ebp - 0x1460]
push 0
push eax
call fcn.00494db0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00443460
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 0x447247
sub ecx, edx
lea eax, [ebp - 0x1460]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.00441450
push eax
lea ecx, [edi + 8]
call fcn.00412900
lea ecx, [ebp - 0x1669]
call fcn.0043c6f0
push eax
lea ecx, [edi + 4]
call fcn.00412900
jmp 0x44733a
lea ecx, [ebp - 0x1669]
call fcn.00440110
push eax
push esi
call fcn.00412950
add esp, 8
test al, al
je 0x447338
push 0x208
lea eax, [ebp - 0x1668]
push 0
push eax
call fcn.00494db0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00443000
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 0x4472f0
sub ecx, edx
lea eax, [ebp - 0x1668]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d800
lea ecx, [ebp - 0x1669]
call fcn.00445220
push eax
lea ecx, [edi + 8]
call fcn.00412900
lea ecx, [ebp - 0x1669]
call fcn.00441b50
push eax
lea ecx, [edi + 4]
call fcn.00412900
jmp 0x44733a
xor ebx, ebx
mov eax, dword [ebp - 0x1670]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x44735f
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.00472a8d
mov esp, ebp
pop ebp
ret 0xc