Function at 0x1007d600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023a386
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x102ec100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x400], ecx
call fcn.1007e8d0
push eax
lea ecx, [ebp - 0x94]
call fcn.10088b90
mov dword [ebp - 4], 0
call fcn.1007e8e0
mov ecx, eax
call fcn.10089d70
movzx eax, al
test eax, eax
je 0x1007d6aa
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.10089260
lea ecx, [ebp - 0x94]
call fcn.10089040
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1007d6a5
mov byte [ebp - 0x3cd], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10088de0
mov al, byte [ebp - 0x3cd]
jmp 0x1007da08
jmp 0x1007d9e9
call fcn.1007e8e0
push eax
lea ecx, [ebp - 0x94]
call fcn.10089230
mov dword [ebp - 0x3d8], 0
call fcn.1007ecd0
movzx edx, al
test edx, edx
je 0x1007d6e1
call fcn.1007e8f0
mov dword [ebp - 0x3d8], eax
jmp 0x1007d766
call fcn.1007e900
push eax
lea ecx, [ebp - 0x19c]
call fcn.10088b90
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x19c]
call fcn.10089040
push eax
call fcn.10087620
add esp, 8
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e4]
push eax
lea ecx, [ebp - 0x94]
call fcn.10089040
push eax
call fcn.10092f10
add esp, 8
mov dword [ebp - 0x3d8], eax
cmp dword [ebp - 0x3e4], 0
je 0x1007d757
mov ecx, dword [ebp - 0x3e4]
mov dword [ebp - 0x3f0], ecx
mov edx, dword [ebp - 0x3f0]
push edx
call fcn.10123637
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.10088de0
cmp dword [ebp - 0x3d8], 0
jne 0x1007d793
mov byte [ebp - 0x3ce], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10088de0
mov al, byte [ebp - 0x3ce]
jmp 0x1007da08
mov dword [ebp - 0x3e8], 0
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x118]
call fcn.10088bd0
mov byte [ebp - 4], 2
push 0x10244e40
push 0x102d0004
lea ecx, [ebp - 0x118]
call fcn.1008a120
lea ecx, [ebp - 0x3cc]
push ecx
lea edx, [ebp - 0x3e8]
push edx
push 1
lea ecx, [ebp - 0x118]
call fcn.10089040
push eax
mov eax, dword [ebp - 0x3d8]
push eax
call fcn.10092220
add esp, 0x14
test eax, eax
je 0x1007d829
mov byte [ebp - 0x3cf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.10088de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10088de0
mov al, byte [ebp - 0x3cf]
jmp 0x1007da08
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x3dc], ecx
cmp dword [ebp - 0x3dc], 0
jne 0x1007d871
mov byte [ebp - 0x3d0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.10088de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10088de0
mov al, byte [ebp - 0x3d0]
jmp 0x1007da08
cmp dword [ebp - 0x3dc], 0x400000
jbe 0x1007d8b0
mov byte [ebp - 0x3d1], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.10088de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10088de0
mov al, byte [ebp - 0x3d1]
jmp 0x1007da08
mov edx, dword [ebp - 0x3dc]
push edx
call fcn.101239b7
add esp, 4
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3dc]
push ecx
mov edx, dword [ebp - 0x3e0]
push edx
mov eax, dword [ebp - 0x3e8]
push eax
mov ecx, dword [ebp - 0x3d8]
push ecx
call fcn.10093770
add esp, 0x10
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 0
je 0x1007d979
cmp dword [ebp - 0x3ec], 0x600
je 0x1007d979
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3f8], edx
mov eax, dword [ebp - 0x3f8]
push eax
call fcn.10123637
add esp, 4
call fcn.1007ecd0
movzx ecx, al
test ecx, ecx
jne 0x1007d946
mov edx, dword [ebp - 0x3d8]
push edx
call fcn.10091e60
add esp, 4
mov byte [ebp - 0x3d2], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.10088de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10088de0
mov al, byte [ebp - 0x3d2]
jmp 0x1007da08
call fcn.1007ecd0
movzx eax, al
test eax, eax
jne 0x1007d994
mov ecx, dword [ebp - 0x3d8]
push ecx
call fcn.10091e60
add esp, 4
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3fc], edx
mov eax, dword [ebp - 0x3fc]
push eax
call fcn.10123637
add esp, 4
mov dword [ebp - 0x3e0], 0
mov byte [ebp - 0x3d3], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.10088de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10088de0
mov al, byte [ebp - 0x3d3]
jmp 0x1007da08
mov byte [ebp - 0x3d4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10088de0
mov al, byte [ebp - 0x3d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10123194
mov esp, ebp
pop ebp
ret 4