Function at 0x10010680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a092b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x100bd080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100bdb90]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x70], edi
cmp eax, dword [0x100bdb94]
je 0x100106c5
mov dword [0x100bdb94], eax
mov esi, dword [0x100bdb9c]
mov ecx, 0x100bdb9c
push dword [esi + 4]
push 0x100bdb9c
call fcn.10011b20
push 0
lea eax, [ebp - 0x30]
mov dword [esi + 4], esi
push eax
push 4
lea eax, [ebp - 0x60]
mov dword [esi], esi
mov dword [esi + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
push edi
mov dword [0x100bdba0], 0
mov dword [ebp - 0x60], 0
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x60]
test eax, eax
jg 0x10010863
cmp dword [0x100bdbb8], 0xf
mov eax, 0x100bdba4
cmova eax, dword [0x100bdba4]
push eax
sub esp, 0x18
mov ecx, esp
push 0x1b
movups xmmword [ecx], xmm0
push str.Data_Type_is_0_or_less:__s_n
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10002570
lea eax, [ebp - 0x88]
push eax
call fcn.1000dc10
add esp, 0x20
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x10010792
mov eax, dword [eax]
push 0x162
push str.C:UsersMONSTERDesktopDreamSoft_v1924DreamSoftN3BaseN3TableBase.hpp
push eax
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x13
movups xmmword [ecx], xmm0
push str.ERROR____s_n_s:__d_n_n
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10002570
lea eax, [ebp - 0x2c]
push eax
call fcn.1000dc10
mov byte [ebp - 4], 0
add esp, 0x28
mov ecx, dword [ebp - 0x74]
cmp ecx, 0xf
jbe 0x10010809
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100107ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010b9b
push ecx
push edx
call fcn.1007fa16
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10010858
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001084e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010ba0
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov eax, dword [ebp - 0x60]
test eax, eax
jle 0x1001095a
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push ecx
push eax
push dword [0x100bdb90]
lea eax, [ebp - 0x6c]
mov ecx, 0x100bdb90
push eax
call fcn.10011180
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x30]
push 0
push ecx
shl eax, 2
push eax
push dword [0x100bdb90]
push edi
call esi
lea eax, [ebp - 0x3c]
push eax
call fcn.10011690
test al, al
jne 0x1001093c
push 0x16a
push str.C:UsersMONSTERDesktopDreamSoft_v1924DreamSoftN3BaseN3TableBase.hpp
push str.cant_make_offset_table
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x13
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
push str.ERROR____s_n_s:__d_n_n
mov dword [ecx + 0x14], 0
call fcn.10002570
lea eax, [ebp - 0x2c]
push eax
call fcn.1000dc10
add esp, 0x28
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
cmova eax, dword [ebp - 0x2c]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10010b6f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010b65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010ba5
jmp 0x10010b65
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x60]
cmp dword [eax + ecx*4], 0x20
mov eax, dword [0x100bdb90]
jne 0x10010b44
cmp dword [eax], 6
jne 0x10010b44
push 0
lea eax, [ebp - 0x30]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
mov eax, 0xf
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x58], 0
xor edi, edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x68], edi
cmp dword [ebp - 0x14], edi
jle 0x10010af9
xor esi, esi
cmp dword [ebp - 0x60], esi
jle 0x100109d2
xor edi, edi
xor edx, edx
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x5c]
add ecx, dword [eax + edi]
mov eax, dword [0x100bdb90]
push ecx
push dword [edx + eax]
push dword [ebp - 0x70]
call fcn.10011480
mov edx, dword [ebp - 0x6c]
lea edi, [edi + 4]
inc esi
add edx, 4
mov dword [ebp - 0x6c], edx
cmp esi, dword [ebp - 0x60]
jl 0x100109a3
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x58]
push eax
call fcn.10007e80
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x9c]
mov ecx, 0x100bdb9c
push eax
call fcn.10011de0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x10010a4d
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010a43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010baa
push ecx
push edx
call fcn.1007fa16
add esp, 8
cmp byte [ebp - 0x98], 0
jne 0x10010ae9
push 0x181
push str.C:UsersMONSTERDesktopDreamSoft_v1924DreamSoftN3BaseN3TableBase.hpp
push str.CN3TableBase_Type__:_Key.
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x13
movups xmmword [ecx], xmm0
push str.ERROR____s_n_s:__d_n_n
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10002570
lea eax, [ebp - 0x2c]
push eax
call fcn.1000dc10
add esp, 0x28
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
cmova eax, dword [ebp - 0x2c]
push 0
push str._ASSERTT_n
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10010ae9
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010adf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010b9b
push ecx
push edx
call fcn.1007fa16
add esp, 8
inc edi
mov dword [ebp - 0x68], edi
cmp edi, dword [ebp - 0x14]
jl 0x10010995
mov eax, dword [ebp - 0x44]
mov byte [ebp - 0x61], 1
cmp eax, 0xf
jbe 0x10010b30
mov edx, dword [ebp - 0x58]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10010b26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010baa
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x10010b73
cmp eax, dword [0x100bdb94]
je 0x10010b51
mov dword [0x100bdb94], eax
push 0x172
push str.C:UsersMONSTERDesktopDreamSoft_v1924DreamSoftN3BaseN3TableBase.hpp
push str.DataType_is_mismatch_or_DataSize_is_incorrect__
jmp 0x100108b9
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov byte [ebp - 0x61], 0
lea ecx, [ebp - 0x3c]
call fcn.10010620
mov al, byte [ebp - 0x61]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f9b5
mov esp, ebp
pop ebp
ret 4
call fcn.10084b1f
call fcn.10084b1f
call fcn.10084b1f
call fcn.10084b1f
int3