Function at 0x100c0df0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x103470c8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1040706c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
test esi, esi
je 0x100c0ff4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c0e44
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10002560
lea eax, [ebp - 0x2c]
push eax
call fcn.1019b695
add esp, 4
test eax, eax
jne 0x100c0e7c
push 1
push 0x103d2860
lea ecx, [ebp - 0x2c]
call fcn.100022e0
sub esp, 0x18
mov ecx, esi
mov edx, esp
mov dword [ebp - 0x74], esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c0ea0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.10002560
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x78], esp
xor eax, eax
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.7421316312
mov word [ecx], ax
call fcn.10002560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 4]
mov edx, eax
mov byte [ebp - 4], 3
cmp dword [edx + 0x14], 8
jb 0x100c0f00
mov edx, dword [edx]
sub esp, 0x18
mov ecx, edx
mov edi, esp
mov dword [ebp - 0x7c], esp
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x70], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c0f23
sub ecx, dword [ebp - 0x70]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10002560
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax]
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 8
jb 0x100c0f58
mov edx, dword [edx]
sub esp, 0x18
mov ecx, edx
mov edi, esp
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x70], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c0f80
sub ecx, dword [ebp - 0x70]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10002560
lea ecx, [ebx + 4]
mov byte [ebp - 4], 7
call fcn.100c1fa0
lea ecx, [ebp - 0x6c]
call fcn.100028d0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.100028d0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100c0ff4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 8
push eax
push esi
call fcn.10196d15
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x100c0ff4
mov edx, dword [ecx]
lea eax, [ebp - 0x54]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x2c]
call fcn.100028d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100f99ca
mov esp, ebp
pop ebp
ret 4