Function at 0x10042c70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a60bb
mov eax, dword fs:[0]
push eax
mov eax, 0x145c
call fcn.10066800
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.10043430
push dword [ebp - 0x1468]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100433df
lea ecx, [ebp - 0x1461]
call fcn.10039630
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10042dd8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10080c30
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.10039550
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 0x10042d34
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000cd50
lea ecx, [ebp - 0x1461]
call fcn.10035f80
mov edx, eax
test edx, edx
jne 0x10042d67
xor ecx, ecx
jmp 0x10042d7f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042d70
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 8]
call fcn.1000cd50
lea ecx, [ebp - 0x1461]
call fcn.100357a0
mov edx, eax
test edx, edx
jne 0x10042db0
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 4]
call fcn.1000cd50
mov ebx, 1
jmp 0x100433e1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042db5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 4]
call fcn.1000cd50
mov ebx, 1
jmp 0x100433e1
lea ecx, [ebp - 0x1461]
call fcn.1003baa0
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10042e7f
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10080c30
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.1003a920
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 0x10042e34
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000cd50
lea ecx, [ebp - 0x1461]
call fcn.1003bd40
push eax
lea ecx, [edi + 8]
call fcn.10011c40
lea ecx, [ebp - 0x1461]
call fcn.1003b480
push eax
lea ecx, [edi + 4]
call fcn.10011c40
jmp 0x100433e1
lea ecx, [ebp - 0x1461]
call fcn.100404f0
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10042f2b
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10080c30
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.10040e90
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 0x10042ee0
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000cd50
lea ecx, [ebp - 0x1461]
call fcn.10037cd0
push eax
lea ecx, [edi + 8]
call fcn.10011c40
lea ecx, [ebp - 0x1461]
call fcn.10040250
push eax
lea ecx, [edi + 4]
call fcn.10011c40
jmp 0x100433e1
lea ecx, [ebp - 0x1461]
call fcn.1003e1f0
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10042fd2
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10080c30
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.10037e90
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 0x10042f87
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000cd50
lea ecx, [ebp - 0x1461]
call fcn.10039a90
push eax
lea ecx, [edi + 8]
call fcn.10011c40
lea ecx, [ebp - 0x1461]
call fcn.1003ce40
push eax
lea ecx, [edi + 4]
call fcn.10011c40
jmp 0x100433e1
lea ecx, [ebp - 0x1461]
call fcn.10040a30
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
jne 0x100433e1
lea ecx, [ebp - 0x1461]
call fcn.1003b640
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x1004309b
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.10080c30
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.100392b0
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 0x10043050
sub ecx, edx
lea eax, [ebp - 0xa38]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000cd50
lea ecx, [ebp - 0x1461]
call fcn.1003f6f0
push eax
lea ecx, [edi + 8]
call fcn.10011c40
lea ecx, [ebp - 0x1461]
call fcn.100398d0
push eax
lea ecx, [edi + 4]
call fcn.10011c40
jmp 0x100433e1
lea ecx, [ebp - 0x1461]
call fcn.1003ae60
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10043142
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.10080c30
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.1003d620
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 0x100430f7
sub ecx, edx
lea eax, [ebp - 0xc40]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000cd50
lea ecx, [ebp - 0x1461]
call fcn.1003a4c0
push eax
lea ecx, [edi + 8]
call fcn.10011c40
lea ecx, [ebp - 0x1461]
call fcn.1003bc60
push eax
lea ecx, [edi + 4]
call fcn.10011c40
jmp 0x100433e1
lea ecx, [ebp - 0x1461]
call fcn.10035ea0
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x100431eb
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.10080c30
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.1003b2c0
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 0x100431a0
sub ecx, edx
lea eax, [ebp - 0xe48]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000cd50
lea ecx, [ebp - 0x1461]
call fcn.1003e8f0
push eax
lea ecx, [edi + 8]
call fcn.10011c40
lea ecx, [ebp - 0x1461]
call fcn.1003e650
push eax
lea ecx, [edi + 4]
call fcn.10011c40
jmp 0x100433e1
lea ecx, [ebp - 0x1461]
call fcn.10035b20
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10043292
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.10080c30
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.10037720
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 0x10043247
sub ecx, edx
lea eax, [ebp - 0x1050]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000cd50
lea ecx, [ebp - 0x1461]
call fcn.1003e3b0
push eax
lea ecx, [edi + 8]
call fcn.10011c40
lea ecx, [ebp - 0x1461]
call fcn.1003bf00
push eax
lea ecx, [edi + 4]
call fcn.10011c40
jmp 0x100433e1
lea ecx, [ebp - 0x1461]
call fcn.10040bf0
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x1004333b
push 0x208
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.10080c30
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.10038590
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 0x100432f0
sub ecx, edx
lea eax, [ebp - 0x1258]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000cd50
lea ecx, [ebp - 0x1461]
call fcn.1003fed0
push eax
lea ecx, [edi + 8]
call fcn.10011c40
lea ecx, [ebp - 0x1461]
call fcn.1003aae0
push eax
lea ecx, [edi + 4]
call fcn.10011c40
jmp 0x100433e1
lea ecx, [ebp - 0x1461]
call fcn.10038ad0
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x100433df
push 0x208
lea eax, [ebp - 0x1460]
push 0
push eax
call fcn.10080c30
mov esi, dword [ebp - 0x1468]
lea ecx, [ebp - 0x1461]
add esp, 0xc
call fcn.1003abc0
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 0x10043397
sub ecx, edx
lea eax, [ebp - 0x1460]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000cd50
lea ecx, [ebp - 0x1461]
call fcn.10035a40
push eax
lea ecx, [edi + 8]
call fcn.10011c40
lea ecx, [ebp - 0x1461]
call fcn.10038bb0
push eax
lea ecx, [edi + 4]
call fcn.10011c40
jmp 0x100433e1
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 0x10043406
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.100665d9
mov esp, ebp
pop ebp
ret 0xc