Function at 0x10109690
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.10005d80
push 0x101d9150
lea ecx, [ebp - 0xc]
call fcn.10005d80
lea ecx, [ebp - 8]
call fcn.10004400
movzx ecx, al
test ecx, ecx
jne 0x101098ac
lea ecx, [ebp - 8]
call fcn.10004390
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.1010c3f0
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3b4]
add ecx, 0xe4
call fcn.10042860
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x3b4]
add ecx, 0xe4
call fcn.1004bb60
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.1010f190
add esp, 0x18
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3b4]
add ecx, 0xe4
call fcn.10042860
push eax
lea ecx, [ebp - 0x14]
call fcn.1010d2c0
movzx eax, al
test eax, eax
je 0x101098ac
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1010d270
mov ecx, dword [eax]
call fcn.1010c3b0
push 0
push 0x101d9154
lea ecx, [ebp - 0x18]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x101097aa
push 0
push 0x101d9164
lea ecx, [ebp - 0x18]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x101097aa
push 0
push 0x101d9178
lea ecx, [ebp - 0x18]
call fcn.10004220
cmp eax, 0xffffffff
je 0x1010982d
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x18]
call fcn.100043a0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x14]
call fcn.1010d270
mov ecx, dword [eax]
call fcn.1010c390
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
push eax
push 0x101d9188
mov ecx, dword [ebp + 8]
add ecx, 0x1e0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1e0]
mov edx, dword [eax + 0xb8]
call edx
cmp dword [ebp - 0x1c], 0
je 0x1010982b
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.10005e20
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x1e0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1e0]
mov edx, dword [eax + 0xa8]
call edx
jmp 0x10109878
lea ecx, [ebp - 0x18]
call fcn.10004390
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10109878
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x54]
push ecx
call fcn.100e14d0
add esp, 8
push eax
lea edx, [ebp - 0x58]
push edx
call fcn.100042a0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.10003ea0
lea ecx, [ebp - 0x58]
call fcn.10005e00
lea ecx, [ebp - 0x54]
call fcn.10005e00
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea eax, [ebp - 0x18]
push eax
call fcn.10005d60
lea ecx, [ebp - 0x60]
push ecx
call fcn.100a9d40
add esp, 8
push eax
lea ecx, [ebp - 0xc]
call fcn.10003ea0
lea ecx, [ebp - 0x60]
call fcn.10005e00
lea ecx, [ebp - 0x18]
call fcn.10005e00
lea ecx, [ebp - 0xc]
call fcn.10004390
push eax
lea ecx, [ebp - 4]
call fcn.10003dd0
lea ecx, [ebp - 4]
call fcn.100137f0
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 4]
call fcn.100058a0
lea ecx, [ebp - 0xc]
call fcn.10005e00
lea ecx, [ebp - 8]
call fcn.10005e00
mov eax, dword [ebp - 0x64]
mov esp, ebp
pop ebp
ret 0xc