Function at 0x10086b05
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101739cb
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x101cfdb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push edi
call fcn.100844d0
cmp dword [esi + 0x40], 2
lea eax, [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
push eax
jb 0x10086ac7
push 2
lea eax, [ebp + 8]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
movsx eax, word [ebp + 8]
mov dword [ebp - 0x20], eax
jmp 0x10086ad3
push 4
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], 0
test eax, eax
jle 0x10086d91
xor esi, esi
lea eax, [ebp - 0x18]
push esi
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x30]
cmp eax, 0xe
ja case.0x10086afe.10
jmp dword [eax*4 + 0x10087294]
push 0x120
call fcn.101166d0
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10086130
jmp 0x10086d43
push 0x168
call fcn.101166d0
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.1008ac80
jmp 0x10086d43
push 0x1c8
call fcn.101166d0
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.1008ef90
jmp 0x10086d43
push 0x168
call fcn.101166d0
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.10088950
jmp 0x10086d43
push 0x130
call fcn.101166d0
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.10086130
mov dword [esi], vtable.CN3UIStatic.0
mov dword [esi + 0xe4], 2
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x128], 0
jmp 0x10086d45
push 0x158
call fcn.101166d0
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.1008e1c0
jmp 0x10086d43
push 0x130
call fcn.101166d0
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
mov ecx, esi
mov dword [ebp - 4], 6
call fcn.10086130
xorps xmm0, xmm0
mov dword [esi], vtable.CN3UIScrollBar.0
mov dword [esi + 0xe4], 5
mov dword [esi + 0x120], 0
movq qword [esi + 0x124], xmm0
mov dword [esi + 0x12c], 1
jmp 0x10086d45
push 0x138
call fcn.101166d0
mov esi, eax
add esp, 4
mov dword [ebp - 0x4c], esi
mov ecx, esi
mov dword [ebp - 4], 7
call fcn.10086130
mov dword [esi], vtable.CN3UITrackBar.0
mov dword [esi + 0xe4], 7
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x128], 0xa
mov dword [esi + 0x12c], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 2
jmp 0x10086d45
push 0x160
call fcn.101166d0
add esp, 4
mov dword [ebp - 0x50], eax
mov ecx, eax
mov dword [ebp - 4], 8
call fcn.10089c40
jmp 0x10086d43
push 0x128
call fcn.101166d0
mov esi, eax
add esp, 4
mov dword [ebp - 0x54], esi
mov ecx, esi
mov dword [ebp - 4], 9
call fcn.10086130
mov dword [esi], vtable.CN3UIArea.0
mov dword [esi + 0xe4], 9
mov dword [esi + 0x120], 0
jmp 0x10086d45
push 0x160
call fcn.101166d0
add esp, 4
mov dword [ebp - 0x58], eax
mov ecx, eax
mov dword [ebp - 4], 0xa
call fcn.1008d150
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x10086d6c
push 0xfe
push 0x101b3b68
push str.Unknown_type_UserInterface___
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
add esp, 0x10
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x28]
call dword [eax + 0x58]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebp - 0x20]
jl 0x10086ae2
mov esi, dword [ebp - 0x28]
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], 0
push eax
push 4
lea eax, [ebp - 0x24]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x24]
test eax, eax
jle 0x10086ee6
push ecx
lea ecx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push ecx
inc eax
lea ecx, [ebp - 0x68]
push eax
call fcn.100555d0
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
sub eax, ecx
jne 0x10086e1c
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 0x10086dfb
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 - 0x64]
add esp, 0x14
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
push ecx
push edi
call ebx
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
sub eax, edx
jne 0x10086e79
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 0x10086e58
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 edx, dword [ebp - 0x64]
add esp, 0x14
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086e81
sub ecx, dword [ebp + 8]
push ecx
push edx
lea ecx, [esi + 0x48]
call fcn.10046d30
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x10086ecf
mov eax, dword [ebp - 0x5c]
sub eax, ecx
push eax
push ecx
call fcn.100479d0
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.100479d0
add esp, 8
jmp 0x10086ef5
push 0
push 0x101aec64
lea ecx, [esi + 0x48]
call fcn.10046d30
push 0
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [esi + 0xf4]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [esi + 0x104]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [esi + 0xec]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [esi + 0xf0]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x2c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
jle 0x10087089
push ecx
lea ecx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push ecx
inc eax
lea ecx, [ebp - 0x68]
push eax
call fcn.100555d0
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
sub eax, ecx
jne 0x10086fc1
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 0x10086fa0
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 - 0x64]
add esp, 0x14
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x2c]
push ecx
push edi
call ebx
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
sub eax, edx
jne 0x1008701e
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 0x10086ffd
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 edx, dword [ebp - 0x64]
add esp, 0x14
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10087026
sub ecx, dword [ebp + 8]
push ecx
push edx
lea ecx, [esi + 0x64]
call fcn.10046d30
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x10087074
mov eax, dword [ebp - 0x5c]
sub eax, ecx
push eax
push ecx
call fcn.100479d0
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.100479d0
add esp, 8
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x10087187
push ecx
lea ecx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push ecx
inc eax
lea ecx, [ebp - 0x68]
push eax
call fcn.100555d0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
sub eax, ecx
jne 0x1008710d
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 0x100870ec
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 - 0x64]
add esp, 0x14
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
push ecx
push edi
call ebx
cmp dword [esi + 0x118], 0
je 0x1008713f
push 0x124
push 0x101b3b68
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
add esp, 0x10
lea ecx, [ebp - 0x68]
call fcn.100432e0
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x10087172
mov eax, dword [ebp - 0x5c]
sub eax, ecx
push eax
push ecx
call fcn.100479d0
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x68], 0
call fcn.100479d0
add esp, 8
push 0
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x1008727e
push ecx
lea ecx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push ecx
inc eax
lea ecx, [ebp - 0x78]
push eax
call fcn.100555d0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x74]
sub eax, ecx
jne 0x10087204
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 0x100871e3
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 - 0x74]
add esp, 0x14
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
push ecx
push edi
call ebx
cmp dword [esi + 0x11c], 0
je 0x10087236
push 0x12d
push 0x101b3b68
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
add esp, 0x10
lea ecx, [ebp - 0x78]
call fcn.100432e0
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x10087269
mov eax, dword [ebp - 0x6c]
sub eax, ecx
push eax
push ecx
call fcn.100479d0
add esp, 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x78]
push 8
push eax
mov dword [ebp - 0x78], 0
call fcn.100479d0
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4