Function at 0x100c7db0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x10114266
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x10159df0]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10159df0]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2b8]
mov ecx, dword [esp + 0x2c4]
mov edi, dword [esp + 0x2bc]
mov ebp, dword [esp + 0x2c8]
mov ebx, dword [esp + 0x2cc]
push 0xffffffffffffffff
xor esi, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c4]
push esi
mov dword [esp + 0x20], ecx
xor edx, edx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], esi
mov word [esp + 0x48], dx
call fcn.1003d690
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2b0], esi
cmp eax, esi
je 0x100c7ec3
lea esi, [eax - 1]
cmp esi, eax
jbe 0x100c7e5e
call fcn.100d526d
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x50], 8
mov ecx, dword [esp + 0x3c]
jae 0x100c7e6d
lea ecx, [esp + 0x3c]
cmp word [ecx + esi*2], 0x5c
je 0x100c7ebc
lea esi, [eax - 1]
cmp esi, eax
jbe 0x100c7e84
call fcn.100d526d
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x50], 8
mov ecx, dword [esp + 0x3c]
jae 0x100c7e93
lea ecx, [esp + 0x3c]
cmp word [ecx + esi*2], 0x2f
je 0x100c7ebc
lea esi, [eax - 1]
cmp esi, eax
jbe 0x100c7ea6
call fcn.100d526d
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x100c7eb5
lea eax, [esp + 0x3c]
cmp word [eax + esi*2], 0x3a
jne 0x100c7ec3
mov edx, 0x101294bc
jmp 0x100c7ec8
mov edx, 0x101294b4
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100c7ed0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.1007b200
mov eax, dword [esp + 0x3c]
mov esi, 8
cmp dword [esp + 0x50], esi
jae 0x100c7efd
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x100c7f55
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0
call esi
cmp eax, 2
je 0x100c7f30
call esi
cmp eax, 0x12
je 0x100c7f30
call esi
mov esi, eax
jmp 0x100c7f32
xor esi, esi
call fcn.100c1310
cmp dword [esp + 0x50], 8
mov edi, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
jb 0x100c802f
mov edx, dword [esp + 0x3c]
push edx
jmp 0x100c8027
lea eax, [esp + 0x80]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100c7f60
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x84]
push eax
call fcn.1007b420
mov eax, dword [esp + 0x54]
test eax, 0x400
je 0x100c7f9b
mov dword [ebp], 0
mov dword [ebx], 0
jmp 0x100c800a
test al, 0x10
je 0x100c7fae
mov dword [ebp], 3
mov dword [ebx], 3
jmp 0x100c7fbb
mov dword [ebp], 2
mov dword [ebx], 2
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x20]
call fcn.100c7ca0
mov edx, dword [esp + 0x54]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x2b8], 1
call fcn.100c7940
add esp, 8
mov dword [ebp + 4], eax
mov byte [esp + 0x2b0], 0
cmp dword [esp + 0x34], esi
jb 0x100c8004
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100d574a
add esp, 4
mov edx, dword [ebp + 4]
mov dword [ebx + 4], edx
mov edi, dword [esp + 0x14]
mov dword [edi], 0
call fcn.100c1310
mov dword [edi + 4], eax
cmp dword [esp + 0x50], esi
jb 0x100c802f
mov eax, dword [esp + 0x3c]
push eax
call fcn.100d574a
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.100d4871
add esp, 0x2a0
ret