Function at 0x446630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8d1b
mov eax, dword fs:[0]
push eax
mov eax, 0x1664
call fcn.00470e90
mov eax, dword [0x4dc1c4]
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.00446e90
push dword [ebp - 0x1670]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446e48
lea ecx, [ebp - 0x1669]
call fcn.00441900
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
je 0x446798
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00492fb0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00444a90
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 0x4466f4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.00443910
mov edx, eax
test edx, edx
jne 0x446727
xor ecx, ecx
jmp 0x44673f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446730
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 8]
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.004391c0
mov edx, eax
test edx, edx
jne 0x446770
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 4]
call fcn.0040d1b0
mov ebx, 1
jmp 0x446e4a
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446775
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 4]
call fcn.0040d1b0
mov ebx, 1
jmp 0x446e4a
lea ecx, [ebp - 0x1669]
call fcn.00437fd0
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
je 0x44683f
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00492fb0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00443f30
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 0x4467f4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.004406a0
push eax
lea ecx, [edi + 8]
call fcn.004122d0
lea ecx, [ebp - 0x1669]
call fcn.0043f1a0
push eax
lea ecx, [edi + 4]
call fcn.004122d0
jmp 0x446e4a
lea ecx, [ebp - 0x1669]
call fcn.004377f0
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
je 0x4468eb
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00492fb0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00442870
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 0x4468a0
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.00439000
push eax
lea ecx, [edi + 8]
call fcn.004122d0
lea ecx, [ebp - 0x1669]
call fcn.004425d0
push eax
lea ecx, [edi + 4]
call fcn.004122d0
jmp 0x446e4a
lea ecx, [ebp - 0x1669]
call fcn.00443830
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
je 0x446992
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00492fb0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00439fc0
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 0x446947
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.0043a500
push eax
lea ecx, [edi + 8]
call fcn.004122d0
lea ecx, [ebp - 0x1669]
call fcn.004392a0
push eax
lea ecx, [edi + 4]
call fcn.004122d0
jmp 0x446e4a
lea ecx, [ebp - 0x1669]
call fcn.0043a420
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
jne 0x446e4a
lea ecx, [ebp - 0x1669]
call fcn.00444ef0
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
je 0x446a5b
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00492fb0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.0043a260
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 0x446a10
sub ecx, edx
lea eax, [ebp - 0xa38]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.0043cc80
push eax
lea ecx, [edi + 8]
call fcn.004122d0
lea ecx, [ebp - 0x1669]
call fcn.0043b220
push eax
lea ecx, [edi + 4]
call fcn.004122d0
jmp 0x446e4a
lea ecx, [ebp - 0x1669]
call fcn.0043c2e0
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
je 0x446b02
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.00492fb0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00440be0
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 0x446ab7
sub ecx, edx
lea eax, [ebp - 0xc40]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.00439380
push eax
lea ecx, [edi + 8]
call fcn.004122d0
lea ecx, [ebp - 0x1669]
call fcn.00443750
push eax
lea ecx, [edi + 4]
call fcn.004122d0
jmp 0x446e4a
lea ecx, [ebp - 0x1669]
call fcn.0043ec60
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
je 0x446bab
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.00492fb0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00440e80
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 0x446b60
sub ecx, edx
lea eax, [ebp - 0xe48]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.00442db0
push eax
lea ecx, [edi + 8]
call fcn.004122d0
lea ecx, [ebp - 0x1669]
call fcn.0043ef00
push eax
lea ecx, [edi + 4]
call fcn.004122d0
jmp 0x446e4a
lea ecx, [ebp - 0x1669]
call fcn.00440860
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
je 0x446c52
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.00492fb0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.0043f280
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 0x446c07
sub ecx, edx
lea eax, [ebp - 0x1050]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.00440400
push eax
lea ecx, [edi + 8]
call fcn.004122d0
lea ecx, [ebp - 0x1669]
call fcn.0043be60
push eax
lea ecx, [edi + 4]
call fcn.004122d0
jmp 0x446e4a
lea ecx, [ebp - 0x1669]
call fcn.00441d60
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
je 0x446cfb
push 0x208
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.00492fb0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.0043d380
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 0x446cb0
sub ecx, edx
lea eax, [ebp - 0x1258]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.00441f20
push eax
lea ecx, [edi + 8]
call fcn.004122d0
lea ecx, [ebp - 0x1669]
call fcn.00444470
push eax
lea ecx, [edi + 4]
call fcn.004122d0
jmp 0x446e4a
lea ecx, [ebp - 0x1669]
call fcn.0043fde0
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
je 0x446da2
push 0x208
lea eax, [ebp - 0x1460]
push 0
push eax
call fcn.00492fb0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00442f70
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 0x446d57
sub ecx, edx
lea eax, [ebp - 0x1460]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.00440f60
push eax
lea ecx, [edi + 8]
call fcn.004122d0
lea ecx, [ebp - 0x1669]
call fcn.0043c200
push eax
lea ecx, [edi + 4]
call fcn.004122d0
jmp 0x446e4a
lea ecx, [ebp - 0x1669]
call fcn.0043fc20
push eax
push esi
call fcn.00412320
add esp, 8
test al, al
je 0x446e48
push 0x208
lea eax, [ebp - 0x1668]
push 0
push eax
call fcn.00492fb0
mov esi, dword [ebp - 0x1670]
lea ecx, [ebp - 0x1669]
add esp, 0xc
call fcn.00442b10
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 0x446e00
sub ecx, edx
lea eax, [ebp - 0x1668]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040d1b0
lea ecx, [ebp - 0x1669]
call fcn.00444d30
push eax
lea ecx, [edi + 8]
call fcn.004122d0
lea ecx, [ebp - 0x1669]
call fcn.00441660
push eax
lea ecx, [edi + 4]
call fcn.004122d0
jmp 0x446e4a
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 0x446e6f
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.00470c70
mov esp, ebp
pop ebp
ret 0xc