Function at 0x10006ae0
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100727f6
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x1009e034]
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 - 0x420], eax
cmp dword [eax + 0x18], 8
lea esi, [eax + 4]
jb 0x10006b23
mov eax, dword [esi]
jmp 0x10006b25
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10006b4e
cmp dword [esi + 0x14], 8
jb 0x10006b38
mov esi, dword [esi]
push esi
push str.CIgnoreItemMgr::LoadFile__not_exist___s_
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 0xc
jmp 0x10006dde
cmp dword [esi + 0x14], 8
jb 0x10006b58
mov eax, dword [esi]
jmp 0x10006b5a
mov eax, esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10006b98
cmp dword [esi + 0x14], 8
jb 0x10006b82
mov esi, dword [esi]
push esi
push str.CIgnoreItemMgr::LoadFile__failed___s_
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 0xc
jmp 0x10006dde
mov dword [ebp - 0x428], 0xf
mov dword [ebp - 0x42c], 0
mov byte [ebp - 0x43c], 0
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x400
lea eax, [ebp - 0x417]
push 0
push eax
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x418], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push edi
call ebx
mov ecx, dword [ebp - 0x41c]
mov esi, eax
test ecx, ecx
je 0x10006c43
cmp byte [ebp - 0x418], 0
jne 0x10006c18
xor ecx, ecx
jmp 0x10006c2a
lea ecx, [ebp - 0x418]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006c21
sub ecx, edx
push ecx
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x43c]
call fcn.100071a0
mov ecx, dword [ebp - 0x41c]
test esi, esi
je 0x10006c4f
test ecx, ecx
jne 0x10006bc0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x420]
add esi, 0x1c
mov ecx, esi
mov dword [ebp - 0x41c], esi
call fcn.10003af0
lea ecx, [ebp - 0x43c]
call fcn.100590d0
mov ecx, eax
mov dword [ebp - 0x44c], ecx
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10006db8
cmp dword [ecx + 4], 6
jne 0x10006db8
mov eax, dword [ecx + 8]
mov dword [ebp - 0x448], ecx
mov edi, dword [eax]
mov dword [ebp - 0x444], edi
cmp edi, eax
je 0x10006db8
mov edi, edi
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
jb 0x10006cbb
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
mov ecx, dword [ebp - 0x41c]
mov esi, dword [esi]
mov ebx, eax
add esp, 4
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x450]
push eax
mov dword [ebp - 0x424], ebx
call fcn.10003c10
cmp dword [ebp - 0x450], esi
jne 0x10006d7b
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10006d8c
mov eax, dword [ecx]
lea edx, [ebp - 0x420]
push edx
mov dword [ebp - 0x420], 0
call dword [eax + 8]
mov esi, dword [ebp - 0x41c]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x440]
push eax
mov ecx, esi
mov dword [ebp - 0x440], 0
call fcn.10003c10
mov ecx, dword [ebp - 0x440]
cmp ecx, dword [esi]
jne 0x10006d6c
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x468]
xorps xmm0, xmm0
push eax
mov ecx, esi
mov dword [ebp - 0x460], ebx
movlpd qword [ebp - 0x458], xmm0
call fcn.100074a0
mov ecx, dword [eax]
mov eax, dword [ebp - 0x420]
cdq
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
jmp 0x10006d92
push ebx
push str.CIgnoreItemMgr::LoadFile__already_found___s_
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 0xc
mov esi, dword [ebp - 0x41c]
lea ecx, [ebp - 0x444]
call fcn.10005ba0
mov eax, dword [ebp - 0x448]
mov edi, dword [ebp - 0x444]
cmp edi, dword [eax + 8]
jne 0x10006cb0
mov ecx, dword [ebp - 0x44c]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10006dc6
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebp - 0x428], 0x10
jb 0x10006dde
push dword [ebp - 0x43c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.1006e4e6
mov esp, ebp
pop ebp
ret