Function at 0x42dfa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dde78
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x66c0e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
call fcn.00427b60
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
push ecx
push edx
push esi
mov ecx, edi
call fcn.0042cfe0
test eax, eax
je 0x42e001
lea eax, [ebx + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [edi], esi
mov eax, dword [esi + 8]
sub eax, 2
je 0x42e023
sub eax, 2
jne 0x42e586
movzx ecx, word [esi + 0xc]
lea eax, [esi + 0x14]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
jmp 0x42e032
lea edx, [esi + 0x4d]
mov dword [ebp + 8], edx
mov dword [ebp - 0x10], 1
mov eax, edx
test eax, eax
je 0x42e586
cmp word [ebp - 0x10], bx
je 0x42e586
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
movzx eax, word [ebp - 0x10]
dec eax
cmp eax, 0xa
ja case.default.0x42e059
jmp dword [eax*4 + 0x42e59c]
cmp dword [esi + 8], 2
jne 0x42e099
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
push 0
push 0
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0042dde0
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movzx ecx, byte [esi + 0x160]
push ecx
call fcn.0041afe0
add esp, 4
mov dword [edi + 0x58], eax
cmp dword [esi + 0x168], ebx
setne dl
cmp dword [esi + 0x164], ebx
movzx eax, dl
push eax
movzx eax, word [esi + 0x11a]
setne cl
movzx edx, cl
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, edi
call fcn.0042dde0
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movzx edx, byte [esi + 0x160]
push edx
call fcn.0041afe0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add esp, 4
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x158]
push eax
mov eax, dword [ebp + 0xc]
add esi, 0x11c
push esi
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, edi
call fcn.0042c640
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, edi
call fcn.004270e0
lea ebx, [esi + 0x14]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push str..doc
push eax
call fcn.005bcdf4
add esp, 8
test eax, eax
jne 0x42e207
cmp dword [esi + 0x168], eax
je 0x42e207
push 1
lea edx, [ebp - 0x10]
push ebx
push edx
call fcn.0042a3d0
add esp, 0xc
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
mov dword [ebp - 4], 0
je 0x42e1f8
lea ecx, [ebp - 0x10]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42e1f8
cmp dword [esi + 0x164], 0
mov eax, dword [ebp + 0x14]
setne cl
movzx edx, cl
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.0040d3c0
push eax
mov ecx, edi
call fcn.0042d630
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004273a0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004273a0
cmp dword [esi + 0x164], 0
mov edx, dword [ebp + 0x14]
setne al
movzx ecx, al
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov ecx, edi
call fcn.0042d630
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [edi + 4]
call fcn.004c3db3
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x60], ebx
movzx eax, word [esi + 0x11a]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, edi
call fcn.0042bc60
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi + 0x168]
push edx
mov edx, dword [esi + 0x1f8]
lea eax, [esi + 0x17a]
push eax
movzx eax, byte [esi + 0x16c]
lea ecx, [esi + 0x16e]
push ecx
movzx ecx, word [esi + 0x11a]
push edx
mov edx, dword [esi + 0x158]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
add esi, 0x11c
push esi
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0042c6e0
mov ebx, 3
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movzx ecx, byte [esi + 0x160]
push ecx
call fcn.0041afe0
add esp, 4
mov dword [edi + 0x58], eax
cmp dword [esi + 0x1fc], ebx
je 0x42e358
mov edx, dword [esi + 0x15c]
mov eax, dword [esi + 0x1f4]
movzx ecx, word [esi + 0xe]
push edx
push eax
push ecx
call fcn.0041b260
mov ecx, dword [ebp + 0x10]
movzx edx, al
mov eax, dword [ebp + 0x14]
add esp, 4
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esi + 0x1fc]
push ecx
push edx
push eax
mov ecx, edi
call fcn.004288a0
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor ebx, ebx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x164], ebx
movzx eax, word [esi + 0x11a]
setne cl
movzx edx, cl
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00429610
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movzx edx, byte [esi + 0x160]
push edx
call fcn.0041afe0
add esp, 4
mov ecx, edi
mov dword [edi + 0x58], eax
call fcn.004270e0
mov eax, dword [esi + 0x1fc]
mov dword [ebp + 8], eax
test eax, eax
je case.default.0x42e059
mov eax, dword [esi + 0x15c]
mov ecx, dword [esi + 0x1f4]
movzx edx, word [esi + 0xe]
push eax
push ecx
push edx
call fcn.0041b260
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add esp, 4
movzx eax, al
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
add ecx, 4
push eax
push ecx
mov ecx, edi
call fcn.00428920
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movzx edx, byte [esi + 0x160]
push edx
call fcn.0041afe0
add esp, 4
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x168]
movzx ecx, word [esi + 0x11a]
mov edx, dword [esi + 0x158]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
add esi, 0x11c
push esi
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0042a110
mov ebx, 3
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movzx ecx, byte [esi + 0x160]
push ecx
call fcn.0041afe0
add esp, 4
mov dword [edi + 0x58], eax
mov edx, dword [esi + 0x168]
push edx
mov edx, dword [esi + 0x1f8]
lea eax, [esi + 0x17a]
push eax
movzx eax, byte [esi + 0x16c]
lea ecx, [esi + 0x16e]
push ecx
movzx ecx, word [esi + 0x11a]
push edx
mov edx, dword [esi + 0x158]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
add esi, 0x11c
push esi
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00429cd0
mov ebx, 3
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movzx ecx, byte [esi + 0x160]
push ecx
call fcn.0041afe0
add esp, 4
mov dword [edi + 0x58], eax
movzx edx, byte [esi + 0x1f4]
mov ecx, dword [esi + 0x1f8]
push edx
movzx edx, byte [esi + 0x16c]
lea eax, [esi + 0x16e]
push eax
movzx eax, word [esi + 0x11a]
push ecx
mov ecx, dword [esi + 0x158]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
add esi, 0x11c
push esi
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00429f00
mov ebx, 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10