Function at 0x100ee0f0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x1017850d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x7c]
mov ecx, 0x102199dc
call fcn.100ee070
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x3c]
push 0
push eax
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ebx
call edi
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 8
movups xmmword [ebp - 0x28], xmm0
call fcn.10047940
lea ecx, [ebp - 0x28]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
mov dword [eax], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
jg 0x100ee281
cmp dword [0x10219a14], 0x10
mov eax, 0x10219a00
push 0x15c
cmovae eax, dword [0x10219a00]
push 0x101b61b8
push eax
sub esp, 0x1c
lea eax, [ebp - 0x29]
mov esi, esp
mov dword [ebp - 0x34], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov byte [ebp - 4], 2
mov ecx, esi
push 0x1b
push str.Data_Type_is_0_or_less:__s_n
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x38], 0
push eax
mov byte [ebp - 4], 1
call fcn.10047f20
add esp, 0x24
cmp dword [eax + 0x18], 0x10
lea ecx, [eax + 4]
jb 0x100ee224
mov ecx, dword [ecx]
push ecx
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
add esp, 0x10
lea ecx, [ebp + 0x2c]
call fcn.100432e0
mov eax, dword [ebp + 0x44]
cmp eax, 0x10
jb 0x100ee24f
inc eax
push eax
push dword [ebp + 0x30]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x2c]
push 8
push eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0xf
mov byte [ebp + 0x30], 0
mov dword [ebp + 0x2c], 0
call fcn.100479d0
mov eax, dword [ebp - 0x14]
add esp, 8
test eax, eax
jle 0x100ee470
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
push eax
mov eax, dword [0x102199e4]
lea ecx, [ebp - 0x4c]
push 0x102199e0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
call fcn.10049150
sub esp, 0xc
mov byte [ebp - 4], 3
mov esi, esp
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100490e0
mov eax, dword [ebp - 0x44]
mov ecx, 0x102199e0
mov dword [esi + 8], eax
lea eax, [ebp + 0x3c]
push eax
call fcn.100ee880
push 3
lea ecx, [ebp - 0x10]
call fcn.10112de0
lea ecx, [ebp + 0x3c]
call fcn.100491c0
lea ecx, [ebp - 0x10]
call fcn.10112e90
push 3
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10112de0
lea ecx, [ebp - 0x4c]
call fcn.100491c0
lea ecx, [ebp - 0x10]
call fcn.10112e90
mov eax, dword [0x102199e8]
mov ecx, dword [0x102199e4]
sub eax, ecx
sar eax, 2
test eax, eax
jne 0x100ee37a
push str.vector_subscript_out_of_range
push 0x101aeae8
push eax
push 0x611
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x100ee356
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_subscript_out_of_range_
call fcn.1012c080
mov ecx, dword [0x102199e4]
add esp, 0x14
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
push ecx
push ebx
call edi
lea eax, [ebp - 0x28]
push eax
call fcn.100eebe0
test eax, eax
jne 0x100ee3a7
mov eax, str.cant_make_offset_table
mov ecx, 0x164
jmp 0x100ee7c8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
mov esi, dword [ebp - 0x14]
sar eax, 2
cmp esi, eax
jb 0x100ee400
push str.vector_subscript_out_of_range
push 0x101aeae8
push 0
push 0x611
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x100ee3df
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_subscript_out_of_range_
call fcn.1012c080
mov ecx, dword [ebp - 0x24]
add esp, 0x14
cmp dword [ecx + esi*4], 0x28
jne 0x100ee7aa
mov eax, dword [0x102199e8]
mov ecx, dword [0x102199e4]
sub eax, ecx
sar eax, 2
test eax, eax
jne 0x100ee467
push str.vector_subscript_out_of_range
push 0x101aeae8
push eax
push 0x611
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x100ee443
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_subscript_out_of_range_
call fcn.1012c080
mov ecx, dword [0x102199e4]
add esp, 0x14
cmp dword [ecx], 6
jne 0x100ee7aa
push 0
lea eax, [ebp - 0x3c]
push eax
push 4
lea eax, [ebp - 0x40]
push eax
push ebx
call edi
mov byte [ebp - 4], 4
push 8
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 0
call fcn.10047940
lea ecx, [ebp + 0x4c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp + 0x4c], eax
mov dword [eax], ecx
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 0xf
mov byte [ebp + 0x50], 0
xor edi, edi
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x40], edi
jle 0x100ee75f
nop dword [eax]
xor esi, esi
cmp dword [ebp - 0x14], esi
jle 0x100ee68f
nop dword [eax + eax]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100ee546
push str.vector_subscript_out_of_range
push 0x101aeae8
push 0
push 0x611
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x100ee525
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_subscript_out_of_range_
call fcn.1012c080
mov ecx, dword [ebp - 0x24]
add esp, 0x14
mov eax, dword [0x102199e8]
lea edi, [ecx + esi*4]
mov ecx, dword [0x102199e4]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100ee5a7
push str.vector_subscript_out_of_range
push 0x101aeae8
push 0
push 0x611
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x100ee583
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_subscript_out_of_range_
call fcn.1012c080
mov ecx, dword [0x102199e4]
add esp, 0x14
mov eax, dword [edi]
lea edi, [ebp + 0x48]
add edi, eax
mov eax, dword [ecx + esi*4]
cmp eax, 9
ja case.0x100ee5ba.0
jmp dword [eax*4 + 0x100ee84c]
push 0
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x100ee682
push 0
lea eax, [ebp - 0x18]
push eax
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x100ee682
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], 0
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0x101aec64
mov ecx, edi
call fcn.10046d30
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x100ee682
push 0x20
push eax
mov ecx, edi
call fcn.100838a0
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x100ee62f
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x100ee682
push 0
lea eax, [ebp - 0x18]
push eax
push 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x100ee682
push 0
lea eax, [ebp - 0x18]
push eax
push 8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x100ee682
push 0x110
push 0x101b61b8
push 0x101aec64
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
add esp, 0x10
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x100ee4f0
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 0x48]
lea ecx, [ebp + 8]
mov dword [ebp], eax
mov dword [ebp + 4], eax
lea eax, [ebp + 0x4c]
push eax
call fcn.10046370
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x24], eax
movzx eax, byte [ebp + 0x6c]
mov byte [ebp + 0x28], al
movzx eax, byte [ebp + 0x6d]
mov byte [ebp + 0x29], al
lea eax, [ebp]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp + 0x38]
mov ecx, 0x102199f0
push eax
call fcn.100ef870
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.100432e0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x100ee6ef
inc eax
push eax
push dword [ebp + 0xc]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 8]
push 8
push eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
mov dword [ebp + 8], 0
call fcn.100479d0
add esp, 8
cmp byte [ebp + 0x44], 0
jne 0x100ee738
push 0x17e
push 0x101b61b8
push str.CN3TableBase_Type__:_Key.
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
add esp, 0x10
push 3
lea ecx, [ebp - 0x34]
call fcn.10112de0
lea ecx, [ebp + 0x38]
call fcn.100491c0
lea ecx, [ebp - 0x34]
call fcn.10112e90
inc edi
mov dword [ebp - 0x10], edi
cmp edi, dword [ebp - 0x40]
jl 0x100ee4e0
lea ecx, [ebp + 0x4c]
mov esi, 1
call fcn.100432e0
mov eax, dword [ebp + 0x64]
cmp eax, 0x10
jb 0x100ee781
inc eax
push eax
push dword [ebp + 0x50]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x4c]
push 8
push eax
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 0xf
mov byte [ebp + 0x50], 0
mov dword [ebp + 0x4c], 0
call fcn.100479d0
add esp, 8
jmp 0x100ee7de
mov ecx, 0x102199e0
call fcn.100432e0
mov eax, dword [0x102199e4]
mov ecx, 0x16d
mov dword [0x102199e8], eax
mov eax, str.DataType_is_mismatch_or_DataSize_is_incorrect__
push ecx
push 0x101b61b8
push eax
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
add esp, 0x10
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.100432e0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100ee814
mov eax, dword [ebp - 0x1c]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.100479d0
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x28]
push 8
push ecx
mov dword [ebp - 0x28], 0
call fcn.100479d0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.101163c0
lea esp, [ebp + 0x74]
pop ebp
ret 4