Function at 0x1002b8c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10042138
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
xor esi, esi
mov edi, ecx
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.100020a0
lea ebx, [esp + 0x14]
mov dword [esp + 0x3c], esi
call fcn.10022a10
mov ecx, dword [esp + 0x28]
cmp ecx, 2
jbe 0x1002ba9a
mov edx, dword [esp + 0x2c]
cmp edx, 8
mov esi, dword [esp + 0x18]
mov eax, esi
jae 0x1002b947
lea eax, [esp + 0x18]
cmp word [eax], 0x5c
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x1002b98d
cmp ecx, 1
jae 0x1002b966
call ebx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
cmp edx, 8
mov eax, esi
jae 0x1002b971
lea eax, [esp + 0x18]
cmp word [eax + 2], 0x5c
jne 0x1002b98d
cmp edx, 8
jb 0x1002b986
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x1002bb2e
cmp edx, 8
mov eax, esi
jae 0x1002b998
lea eax, [esp + 0x18]
cmp word [eax], 0x2f
jne 0x1002b9ce
cmp ecx, 1
jae 0x1002b9ad
call ebx
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
cmp edx, 8
mov eax, esi
jae 0x1002b9b8
lea eax, [esp + 0x18]
cmp word [eax + 2], 0x2f
jne 0x1002b9ce
cmp edx, 8
jb 0x1002bb2c
push esi
jmp 0x1002bb24
push 0x5c
push 0x2f
lea edi, [esp + 0x1c]
call fcn.10022860
add esp, 8
cmp dword [esp + 0x28], 1
jae 0x1002b9e7
call ebx
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
mov edx, dword [esp + 0x18]
mov eax, edx
jae 0x1002b9fa
lea eax, [esp + 0x18]
cmp word [eax + 2], 0x3a
jne 0x1002bb1e
cmp dword [esp + 0x28], 2
jae 0x1002ba16
call ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp ecx, 8
mov eax, edx
jae 0x1002ba21
lea eax, [esp + 0x18]
cmp word [eax + 4], 0x5c
jne 0x1002bb1e
cmp ecx, 8
mov eax, edx
jae 0x1002ba37
lea eax, [esp + 0x18]
cmp word [eax], 0x61
jb 0x1002bb1e
xor edi, edi
lea eax, [esp + 0x14]
call fcn.1000aa20
cmp word [eax], 0x7a
ja 0x1002bb16
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x1002ba65
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1002ba8c
mov ecx, dword [esp + 0x10]
shr eax, 4
and al, 1
mov byte [ecx], al
lea ecx, [esp + 0x14]
call fcn.10001f30
mov al, 1
jmp 0x1002bb2e
lea ecx, [esp + 0x14]
call fcn.10001f30
jmp 0x1002bb2c
jne 0x1002bb16
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
mov edx, dword [esp + 0x18]
mov eax, edx
jae 0x1002baaf
lea eax, [esp + 0x18]
cmp word [eax + 2], 0x3a
jne 0x1002bb1e
cmp ecx, 8
mov eax, edx
jae 0x1002bac1
lea eax, [esp + 0x18]
cmp word [eax], 0x61
jb 0x1002bb1e
cmp ecx, 8
mov eax, edx
jae 0x1002bad2
lea eax, [esp + 0x18]
cmp word [eax], 0x7a
ja 0x1002bb1e
lea edx, [esp + 0x14]
push edx
mov edx, 0x100490d8
call fcn.10001f90
cmp dword [esp + 0x2c], 8
mov eax, dword [esp + 0x18]
jae 0x1002baf6
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [esp + 0x14]
je 0x1002ba90
shr eax, 4
and al, 1
mov byte [edi], al
call fcn.10001f30
mov al, 1
jmp 0x1002bb2e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp ecx, 8
jb 0x1002bb2c
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x30
ret