Function at 0x100f6de0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10196491
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x101e40b0]
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.100f7f70
push eax
lea ecx, [ebp - 0x94]
call fcn.100ee6e0
mov dword [ebp - 4], 0
call fcn.100f7f80
mov ecx, eax
call fcn.100ef7c0
movzx eax, al
test eax, eax
je 0x100f6e8a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.100eec90
lea ecx, [ebp - 0x94]
call fcn.100eeb50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100f6e85
mov byte [ebp - 0x3cd], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100ee8e0
mov al, byte [ebp - 0x3cd]
jmp 0x100f71e8
jmp 0x100f71c9
call fcn.100f7f80
push eax
lea ecx, [ebp - 0x94]
call fcn.100eec60
mov dword [ebp - 0x3d8], 0
call fcn.100f8370
movzx edx, al
test edx, edx
je 0x100f6ec1
call fcn.100f7f90
mov dword [ebp - 0x3d8], eax
jmp 0x100f6f46
call fcn.100f7fa0
push eax
lea ecx, [ebp - 0x19c]
call fcn.100ee6e0
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x19c]
call fcn.100eeb50
push eax
call fcn.10101380
add esp, 8
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e4]
push eax
lea ecx, [ebp - 0x94]
call fcn.100eeb50
push eax
call fcn.10138c50
add esp, 8
mov dword [ebp - 0x3d8], eax
cmp dword [ebp - 0x3e4], 0
je 0x100f6f37
mov ecx, dword [ebp - 0x3e4]
mov dword [ebp - 0x3f0], ecx
mov edx, dword [ebp - 0x3f0]
push edx
call fcn.10178437
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.100ee8e0
cmp dword [ebp - 0x3d8], 0
jne 0x100f6f73
mov byte [ebp - 0x3ce], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100ee8e0
mov al, byte [ebp - 0x3ce]
jmp 0x100f71e8
mov dword [ebp - 0x3e8], 0
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x118]
call fcn.100ee720
mov byte [ebp - 4], 2
push 0x101b58f4
push 0x101acba8
lea ecx, [ebp - 0x118]
call fcn.100efbe0
lea ecx, [ebp - 0x3cc]
push ecx
lea edx, [ebp - 0x3e8]
push edx
push 1
lea ecx, [ebp - 0x118]
call fcn.100eeb50
push eax
mov eax, dword [ebp - 0x3d8]
push eax
call fcn.10137f60
add esp, 0x14
test eax, eax
je 0x100f7009
mov byte [ebp - 0x3cf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100ee8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100ee8e0
mov al, byte [ebp - 0x3cf]
jmp 0x100f71e8
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x3dc], ecx
cmp dword [ebp - 0x3dc], 0
jne 0x100f7051
mov byte [ebp - 0x3d0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100ee8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100ee8e0
mov al, byte [ebp - 0x3d0]
jmp 0x100f71e8
cmp dword [ebp - 0x3dc], 0x400000
jbe 0x100f7090
mov byte [ebp - 0x3d1], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100ee8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100ee8e0
mov al, byte [ebp - 0x3d1]
jmp 0x100f71e8
mov edx, dword [ebp - 0x3dc]
push edx
call fcn.10177fb4
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.101394c0
add esp, 0x10
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 0
je 0x100f7159
cmp dword [ebp - 0x3ec], 0x600
je 0x100f7159
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3f8], edx
mov eax, dword [ebp - 0x3f8]
push eax
call fcn.10178437
add esp, 4
call fcn.100f8370
movzx ecx, al
test ecx, ecx
jne 0x100f7126
mov edx, dword [ebp - 0x3d8]
push edx
call fcn.10137ba0
add esp, 4
mov byte [ebp - 0x3d2], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100ee8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100ee8e0
mov al, byte [ebp - 0x3d2]
jmp 0x100f71e8
call fcn.100f8370
movzx eax, al
test eax, eax
jne 0x100f7174
mov ecx, dword [ebp - 0x3d8]
push ecx
call fcn.10137ba0
add esp, 4
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3fc], edx
mov eax, dword [ebp - 0x3fc]
push eax
call fcn.10178437
add esp, 4
mov dword [ebp - 0x3e0], 0
mov byte [ebp - 0x3d3], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100ee8e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100ee8e0
mov al, byte [ebp - 0x3d3]
jmp 0x100f71e8
mov byte [ebp - 0x3d4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.100ee8e0
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.10177d47
mov esp, ebp
pop ebp
ret 4