Function at 0x1002bbb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100acaf1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x30], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea esi, [eax + 0xd8]
mov dword [ebp - 0x2c], 0
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x38], edi
je 0x1002bc3c
cmp dword [esi + 0x14], 8
jb 0x1002bc06
mov eax, dword [esi]
jmp 0x1002bc08
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x1002bc3c
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov ecx, edi
mov word [edi], ax
call fcn.1000f660
jmp 0x1002be03
call fcn.10033480
test eax, eax
lea eax, [ebp - 0x28]
push eax
je 0x1002bc92
mov ecx, dword [ebp - 0x30]
call fcn.1002b370
mov ebx, eax
mov dword [ebp - 4], 1
cmp esi, ebx
je 0x1002bdbf
cmp dword [esi + 0x14], 8
jb 0x1002bc72
push dword [esi]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push ebx
mov ecx, esi
mov word [esi], ax
call fcn.1000fcf0
jmp 0x1002bdbf
call fcn.1002b9c0
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 2
cmp esi, eax
je 0x1002bcd3
cmp dword [esi + 0x14], 8
jb 0x1002bcb8
push dword [esi]
call fcn.1007d9ed
mov eax, dword [ebp - 0x34]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
push eax
mov ecx, esi
call fcn.1000fcf0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 8
jb 0x1002bce8
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
test eax, eax
je 0x1002bde4
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x1002bd13
mov ecx, dword [ebx]
jmp 0x1002bd15
mov ecx, ebx
mov edx, 0x5c
cmp dx, word [ecx]
mov edx, 0x2f
je 0x1002bd44
cmp eax, 8
jb 0x1002bd2d
mov eax, dword [ebx]
jmp 0x1002bd2f
mov eax, ebx
cmp dx, word [eax]
je 0x1002bd44
push 0x100bdb2c
mov ecx, esi
call fcn.10004bf0
mov ecx, eax
jmp 0x1002bd46
mov ecx, esi
push 0xffffffffffffffff
push 0
push ebx
call fcn.100067b0
cmp esi, eax
je 0x1002bd60
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.1000f660
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax + 0xe8]
dec ebx
cmp dword [esi + 0x10], ebx
ja 0x1002bd79
push str.invalid_string_position
call fcn.1007cf5a
cmp dword [esi + 0x14], 8
jb 0x1002bd83
mov eax, dword [esi]
jmp 0x1002bd85
mov eax, esi
mov ecx, 0x5c
cmp cx, word [eax + ebx*2]
je 0x1002bda2
push ebx
mov ecx, esi
call fcn.1001a040
mov ecx, 0x2f
cmp cx, word [eax]
jne 0x1002bde4
push ebx
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.1001a090
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.10004bb0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 8
jb 0x1002bdd4
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push 0
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov ecx, edi
mov word [edi], ax
call fcn.1000f660
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 8