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

Disassembly:
push 0xffffffffffffffff
push 0x1012dd6d
mov eax, dword fs:[0]
push eax
sub esp, 0x5f8
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x5f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x60c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x61c]
mov eax, dword [ebp + 0x244]
xor ebx, ebx
cmp eax, ebx
je 0x1002d8db
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x614], ebx
call fcn.10002720
add eax, 0x29c
mov esi, eax
cmp byte [eax + 0x10e], bl
jne 0x1002d53b
mov esi, dword [eax + 0x108]
lea edi, [esp + 0x3b4]
call fcn.10062500
lea eax, [esi + 4]
mov edx, edi
mov byte [esp + 0x614], 1
call fcn.10062710
push ebx
push ebx
push ebx
push ebx
push ebx
push str.TipListIni
lea ecx, [esp + 0x38]
call fcn.1005f3c0
cmp byte [esp + 0x13c], 0
lea eax, [esp + 0x2c]
jne 0x1002d57e
mov eax, dword [esp + 0x28]
mov ebx, 0x2e
lea esi, [esp + 0x3b4]
cmp word [eax + 4], bx
jne 0x1002d59b
lea ecx, [esp + 0x20]
call fcn.100602a0
jmp 0x1002d5a4
lea eax, [esp + 0x20]
call fcn.1005fa30
cmp byte [esp + 0x13c], 0
mov dword [esp + 0x20], vtable.t_str.0
jne 0x1002d5cb
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x1002d5cb
push eax
call fcn.100cf89b
add esp, 4
lea ecx, [esp + 0x3b4]
mov byte [esp + 0x614], 2
call fcn.1005fc30
test al, al
jne 0x1002d5f6
push 0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x3bc]
call fcn.100602f0
cmp byte [esp + 0x4d0], 0
lea esi, [esp + 0x3c0]
jne 0x1002d60e
mov esi, dword [esp + 0x3bc]
lea edi, [esp + 0x28c]
call fcn.10062500
lea eax, [esi + 4]
mov edx, edi
mov byte [esp + 0x614], 3
call fcn.10062710
xor edi, edi
push edi
push edi
push edi
push edi
push edi
push str.DeleteCellList.ini
lea ecx, [esp + 0x38]
call fcn.1005f3c0
cmp byte [esp + 0x13c], 0
lea eax, [esp + 0x2c]
jne 0x1002d653
mov eax, dword [esp + 0x28]
lea esi, [esp + 0x28c]
cmp word [eax + 4], bx
jne 0x1002d66b
lea ecx, [esp + 0x20]
call fcn.100602a0
jmp 0x1002d674
lea eax, [esp + 0x20]
call fcn.1005fa30
cmp byte [esp + 0x13c], 0
mov dword [esp + 0x20], vtable.t_str.0
jne 0x1002d69b
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x1002d69b
push eax
call fcn.100cf89b
add esp, 4
mov dword [esp + 0x144], edi
mov dword [esp + 0x148], edi
mov dword [esp + 0x14c], edi
mov dword [esp + 0x150], edi
lea edi, [esp + 0x164]
mov dword [esp + 0x154], fcn.100cf978
mov dword [esp + 0x158], fcn.100cfa42
mov dword [esp + 0x15c], fcn.100cf89b
call fcn.10062500
mov dword [esp + 0x160], 0
mov byte [esp + 0x614], 5
cmp byte [esp + 0x3a8], 0
lea eax, [esp + 0x298]
jne 0x1002d70f
mov eax, dword [esp + 0x294]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1002d74f
shr eax, 4
not al
and al, 1
je 0x1002d74f
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x290]
lea ebx, [esp + 0x148]
call fcn.1005a190
test al, al
jne 0x1002d74f
lea ecx, [esp + 0x28c]
call fcn.10060030
xor ebx, ebx
cmp dword [ebp + 0x244], ebx
jle 0x1002d7e9
mov eax, dword [ebp + 0x240]
cmp dword [eax + ebx*4], 0
je 0x1002d7dc
lea edi, [esp + 0x4dc]
call fcn.10062500
mov byte [esp + 0x614], 6
mov ecx, dword [ebp + 0x240]
mov eax, dword [ecx + ebx*4]
push eax
push 0x1013f9d8
mov edx, edi
call fcn.10062cd0
add esp, 8
mov eax, edi
lea esi, [esp + 0x144]
call fcn.10059a50
mov byte [esp + 0x614], 5
cmp byte [esp + 0x5f8], 0
mov dword [esp + 0x4dc], 0x10145b50
jne 0x1002d7dc
mov eax, dword [esp + 0x4e4]
lea edx, [esp + 0x4e8]
cmp eax, edx
je 0x1002d7dc
push eax
call fcn.100cf89b
add esp, 4
inc ebx
cmp ebx, dword [ebp + 0x244]
jl 0x1002d75d
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x148]
push ecx
lea ecx, [esp + 0x294]
call fcn.1005a350
mov ecx, dword [ebp + 0x240]
xor esi, esi
cmp ecx, esi
je 0x1002d829
mov eax, dword [ebp + 0x258]
cmp eax, esi
jne 0x1002d81d
mov eax, fcn.100cf89b
push ecx
call eax
add esp, 4
mov dword [ebp + 0x240], esi
mov dword [ebp + 0x244], esi
mov dword [ebp + 0x248], esi
mov byte [esp + 0x614], 4
cmp byte [esp + 0x280], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x164], esi
jne 0x1002d86e
mov eax, dword [esp + 0x16c]
lea edx, [esp + 0x170]
cmp eax, edx
je 0x1002d86e
push eax
call fcn.100cf89b
add esp, 4
lea edi, [esp + 0x144]
call fcn.1005a510
cmp byte [esp + 0x3a8], 0
mov dword [esp + 0x28c], esi
jne 0x1002d8a6
mov eax, dword [esp + 0x294]
lea ecx, [esp + 0x298]
cmp eax, ecx
je 0x1002d8a6
push eax
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x4d0], 0
mov dword [esp + 0x3b4], esi
jne 0x1002d8d2
mov eax, dword [esp + 0x3bc]
lea edx, [esp + 0x3c0]
cmp eax, edx
je 0x1002d8d2
push eax
call fcn.100cf89b
add esp, 4
lea ecx, [esp + 0x18]
call fcn.10061940
mov al, 1
mov ecx, dword [esp + 0x60c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5f0]
xor ecx, esp
call fcn.100cf604
add esp, 0x604
ret 4