Function at 0x10010980
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c1ad
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x10084014]
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 ebx, dword [ebp + 8]
mov eax, dword [0x1008ab58]
mov dword [ebp - 0x6c], ebx
mov dword [0x1008ab5c], eax
mov dword [ebp - 4], 0
mov ecx, 0x1008ab64
mov eax, dword [0x1008ab64]
push dword [eax + 4]
call fcn.100108d0
mov eax, dword [0x1008ab64]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
mov dword [eax + 4], eax
mov eax, dword [0x1008ab64]
mov dword [eax], eax
mov eax, dword [0x1008ab64]
mov dword [eax + 8], eax
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x60]
mov dword [0x1008ab68], 0
push eax
push ebx
mov dword [ebp - 0x60], 0
call esi
xor edi, edi
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], edi
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x60]
test eax, eax
jg 0x10010b2f
cmp dword [0x1008ab80], 0x10
mov eax, 0x1008ab6c
push 0x162
cmovae eax, dword [0x1008ab6c]
push str.c:usersmonsterdocuments_visual_studio_2015projectsdreamsoftdreamsoftN3Base_N3TableBase.hpp
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], edi
cmp dword [ecx + 0x14], 0x10
jb 0x10010a77
mov eax, dword [ecx]
jmp 0x10010a79
mov eax, ecx
push 0x1b
push str.Data_Type_is_0_or_less:__s_n
mov byte [eax], 0
call fcn.100027b0
lea eax, [ebp - 0x8c]
push eax
call fcn.1000bcb0
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x10010aa3
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10010ac1
mov eax, dword [ecx]
jmp 0x10010ac3
mov eax, ecx
push 0x13
push str.ERROR____s_n_s:__d_n_n
mov byte [eax], 0
call fcn.100027b0
lea eax, [ebp - 0x28]
push eax
call fcn.1000bcb0
mov byte [ebp - 4], 1
add esp, 0x28
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x10010af7
inc eax
push eax
push dword [ebp - 0x8c]
call fcn.100026b0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10010b24
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026b0
mov eax, dword [ebp - 0x60]
test eax, eax
jle 0x10010bf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push ecx
push eax
push dword [0x1008ab58]
lea eax, [ebp - 0x68]
mov ecx, 0x1008ab58
push eax
call fcn.100112c0
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x60]
shl eax, 2
push eax
push dword [0x1008ab58]
push ebx
call esi
lea eax, [ebp - 0x3c]
push eax
call fcn.100116e0
mov edi, dword [ebp - 0x3c]
test al, al
jne 0x10010bd5
push 0x16a
push str.c:usersmonsterdocuments_visual_studio_2015projectsdreamsoftdreamsoftN3Base_N3TableBase.hpp
push str.cant_make_offset_table
sub esp, 0x18
mov ecx, esp
push str.ERROR____s_n_s:__d_n_n
call fcn.100028b0
lea eax, [ebp - 0x28]
push eax
call fcn.1000bcb0
add esp, 0x28
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10010d9e
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026b0
jmp 0x10010d9e
mov eax, dword [ebp - 0x60]
cmp dword [edi + eax*4], 0x20
mov eax, dword [0x1008ab58]
jne 0x10010d4c
cmp dword [eax], 6
jne 0x10010d4c
push 0
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push ebx
call esi
mov eax, 0xf
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x58], 0
xor ebx, ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x64], ebx
cmp dword [ebp - 0x30], ebx
jle 0x10010d27
xor esi, esi
cmp dword [ebp - 0x60], esi
jle 0x10010c50
mov ebx, dword [ebp - 0x6c]
nop
mov eax, dword [edi + esi*4]
lea ecx, [ebp - 0x5c]
add eax, ecx
push eax
mov eax, dword [0x1008ab58]
push dword [eax + esi*4]
push ebx
call fcn.10011500
inc esi
cmp esi, dword [ebp - 0x60]
jl 0x10010c30
mov ebx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x64]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x5c]
push eax
call fcn.10011a40
add esp, 4
push eax
mov ecx, 0x1008ab64
mov byte [ebp - 4], 4
call fcn.10011e20
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x74]
mov ecx, 0x1008ab64
push eax
call fcn.10011e70
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x10010ca7
inc eax
push eax
push dword [ebp - 0x90]
call fcn.100026b0
cmp byte [ebp - 0x70], 0
jne 0x10010d17
push 0x181
push str.c:usersmonsterdocuments_visual_studio_2015projectsdreamsoftdreamsoftN3Base_N3TableBase.hpp
push str.CN3TableBase_Type__:_Key.
sub esp, 0x18
mov ecx, esp
push 0x13
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.ERROR____s_n_s:__d_n_n
mov byte [ecx], 0
call fcn.100027b0
lea eax, [ebp - 0x28]
push eax
call fcn.1000bcb0
add esp, 0x28
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10010d17
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026b0
inc ebx
mov dword [ebp - 0x64], ebx
cmp ebx, dword [ebp - 0x30]
jl 0x10010c24
mov eax, dword [ebp - 0x44]
mov bl, 1
cmp eax, 0x10
jb 0x10010d38
inc eax
push eax
push dword [ebp - 0x58]
call fcn.100026b0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jmp 0x10010da0
push 0x172
push str.c:usersmonsterdocuments_visual_studio_2015projectsdreamsoftdreamsoftN3Base_N3TableBase.hpp
push str.DataType_is_mismatch_or_DataSize_is_incorrect__
sub esp, 0x18
mov dword [0x1008ab5c], eax
mov ecx, esp
push str.ERROR____s_n_s:__d_n_n
call fcn.100028b0
lea eax, [ebp - 0x28]
push eax
call fcn.1000bcb0
add esp, 0x28
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x28]
call fcn.10002220
xor bl, bl
test edi, edi
je 0x10010db3
mov ecx, dword [ebp - 0x34]
sub ecx, edi
sar ecx, 2
push ecx
push edi
call fcn.100103d0
mov al, bl
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.10067dd5
mov esp, ebp
pop ebp
ret 4