Function at 0x10042710
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a632b
mov eax, dword fs:[0]
push eax
mov eax, 0x145c
call fcn.10066a80
mov eax, dword [0x100ca1c4]
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 - 0x1468]
mov edi, dword [ebp + 0xc]
mov ebx, 1
push esi
push eax
call fcn.10042ed0
push dword [ebp - 0x1468]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10042e7f
lea ecx, [ebp - 0x1461]
call fcn.1003dde0
push eax
push esi
call fcn.10011710
add esp, 8
test al, al
je 0x10042878
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10080e90
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.10040db0
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 0x100427d4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000c7d0
lea ecx, [ebp - 0x1461]
call fcn.1003fd10
mov edx, eax
test edx, edx
jne 0x10042807
xor ecx, ecx
jmp 0x1004281f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042810
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 8]
call fcn.1000c7d0
lea ecx, [ebp - 0x1461]
call fcn.100364a0
mov edx, eax
test edx, edx
jne 0x10042850
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 4]
call fcn.1000c7d0
mov ebx, 1
jmp 0x10042e81
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042855
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 4]
call fcn.1000c7d0
mov ebx, 1
jmp 0x10042e81
lea ecx, [ebp - 0x1461]
call fcn.10035470
push eax
push esi
call fcn.10011710
add esp, 8
test al, al
je 0x1004291f
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10080e90
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.10040250
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 0x100428d4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000c7d0
lea ecx, [ebp - 0x1461]
call fcn.1003ce20
push eax
lea ecx, [edi + 8]
call fcn.100116c0
lea ecx, [ebp - 0x1461]
call fcn.1003bae0
push eax
lea ecx, [edi + 4]
call fcn.100116c0
jmp 0x10042e81
lea ecx, [ebp - 0x1461]
call fcn.10034c90
push eax
push esi
call fcn.10011710
add esp, 8
test al, al
je 0x100429cb
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10080e90
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.1003ed50
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 0x10042980
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000c7d0
lea ecx, [ebp - 0x1461]
call fcn.100362e0
push eax
lea ecx, [edi + 8]
call fcn.100116c0
lea ecx, [ebp - 0x1461]
call fcn.1003eab0
push eax
lea ecx, [edi + 4]
call fcn.100116c0
jmp 0x10042e81
lea ecx, [ebp - 0x1461]
call fcn.1003fc30
push eax
push esi
call fcn.10011710
add esp, 8
test al, al
je 0x10042a72
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10080e90
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.100370e0
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 0x10042a27
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000c7d0
lea ecx, [ebp - 0x1461]
call fcn.10037620
push eax
lea ecx, [edi + 8]
call fcn.100116c0
lea ecx, [ebp - 0x1461]
call fcn.10036580
push eax
lea ecx, [edi + 4]
call fcn.100116c0
jmp 0x10042e81
lea ecx, [ebp - 0x1461]
call fcn.10037540
push eax
push esi
call fcn.10011710
add esp, 8
test al, al
jne 0x10042e81
lea ecx, [ebp - 0x1461]
call fcn.10041130
push eax
push esi
call fcn.10011710
add esp, 8
test al, al
je 0x10042b3b
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.10080e90
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.10037380
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 0x10042af0
sub ecx, edx
lea eax, [ebp - 0xa38]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000c7d0
lea ecx, [ebp - 0x1461]
call fcn.10039a20
push eax
lea ecx, [edi + 8]
call fcn.100116c0
lea ecx, [ebp - 0x1461]
call fcn.10038180
push eax
lea ecx, [edi + 4]
call fcn.100116c0
jmp 0x10042e81
lea ecx, [ebp - 0x1461]
call fcn.10039160
push eax
push esi
call fcn.10011710
add esp, 8
test al, al
je 0x10042be2
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.10080e90
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.1003d280
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 0x10042b97
sub ecx, edx
lea eax, [ebp - 0xc40]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000c7d0
lea ecx, [ebp - 0x1461]
call fcn.10036660
push eax
lea ecx, [edi + 8]
call fcn.100116c0
lea ecx, [ebp - 0x1461]
call fcn.1003fb50
push eax
lea ecx, [edi + 4]
call fcn.100116c0
jmp 0x10042e81
lea ecx, [ebp - 0x1461]
call fcn.1003b680
push eax
push esi
call fcn.10011710
add esp, 8
test al, al
je 0x10042c8b
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.10080e90
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.1003d440
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 0x10042c40
sub ecx, edx
lea eax, [ebp - 0xe48]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000c7d0
lea ecx, [ebp - 0x1461]
call fcn.1003f1b0
push eax
lea ecx, [edi + 8]
call fcn.100116c0
lea ecx, [ebp - 0x1461]
call fcn.1003b920
push eax
lea ecx, [edi + 4]
call fcn.100116c0
jmp 0x10042e81
lea ecx, [ebp - 0x1461]
call fcn.1003cfe0
push eax
push esi
call fcn.10011710
add esp, 8
test al, al
je 0x10042d32
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.10080e90
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.1003bbc0
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 0x10042ce7
sub ecx, edx
lea eax, [ebp - 0x1050]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000c7d0
lea ecx, [ebp - 0x1461]
call fcn.1003cb80
push eax
lea ecx, [edi + 8]
call fcn.100116c0
lea ecx, [ebp - 0x1461]
call fcn.10038dc0
push eax
lea ecx, [edi + 4]
call fcn.100116c0
jmp 0x10042e81
lea ecx, [ebp - 0x1461]
call fcn.1003e240
push eax
push esi
call fcn.10011710
add esp, 8
test al, al
je 0x10042ddb
push 0x208
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.10080e90
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.1003a120
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 0x10042d90
sub ecx, edx
lea eax, [ebp - 0x1258]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000c7d0
lea ecx, [ebp - 0x1461]
call fcn.1003e400
push eax
lea ecx, [edi + 8]
call fcn.100116c0
lea ecx, [ebp - 0x1461]
call fcn.10040790
push eax
lea ecx, [edi + 4]
call fcn.100116c0
jmp 0x10042e81
lea ecx, [ebp - 0x1461]
call fcn.1003c560
push eax
push esi
call fcn.10011710
add esp, 8
test al, al
je 0x10042e7f
push 0x208
lea eax, [ebp - 0x1460]
push 0
push eax
call fcn.10080e90
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.1003f370
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 0x10042e37
sub ecx, edx
lea eax, [ebp - 0x1460]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000c7d0
lea ecx, [ebp - 0x1461]
call fcn.1003d520
push eax
lea ecx, [edi + 8]
call fcn.100116c0
lea ecx, [ebp - 0x1461]
call fcn.10039080
push eax
lea ecx, [edi + 4]
call fcn.100116c0
jmp 0x10042e81
xor ebx, ebx
mov eax, dword [ebp - 0x1468]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10042ea6
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.10066859
mov esp, ebp
pop ebp
ret 0xc