Function at 0x1009a560
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x2c
push ebx
push esi
mov esi, dword [esp + 0x38]
mov ebx, ecx
push edi
push esi
call fcn.10090d70
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
mov byte [esp + 0x13], al
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push esi
call edi
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x1009a5c1
push 0x112
push 0x101da318
push str.No_font_name
push str.ERROR____s_n_s:__d_n_n
call fcn.10089a80
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
jle 0x1009a63b
push 0x20
push eax
lea ecx, [ebx + 0x134]
call fcn.100962a0
cmp dword [ebx + 0x14c], 0xf
lea eax, [ebx + 0x138]
jbe 0x1009a5e0
mov eax, dword [eax]
push 0
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x1c]
push eax
push esi
call edi
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [ebx + 0x150]
push eax
push esi
call edi
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [ebx + 0x15c]
push eax
push esi
call edi
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [ebx + 0x154]
push eax
push esi
call edi
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [ebx + 0x158]
push eax
push esi
call edi
mov eax, dword [ebx + 0xdc]
lea ecx, [esp + 0x3c]
push 3
mov eax, dword [eax]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
call fcn.10139310
mov edi, dword [ebx + 0xd8]
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x1009a6fe
test esi, esi
je 0x1009a6ec
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x1009a69a
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x1009a695
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x1009a682
cmp dword [esi], 0
jne 0x1009a6de
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x1009a6c0
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
add esp, 0x14
mov eax, dword [esp + 0x30]
mov dword [esi], eax
mov dword [esp + 0x2c], 0
mov eax, dword [edi + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
mov dword [edi + 4], eax
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x3c]
call fcn.101393c0
nop word [eax + eax]
mov eax, dword [ebx + 0xdc]
lea ecx, [esp + 0x18]
push 3
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
call fcn.10139310
mov edi, dword [ebx + 0xd8]
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x1009a7d1
test esi, esi
je 0x1009a7bf
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x1009a76d
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x1009a768
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x1009a755
cmp dword [esi], 0
jne 0x1009a7b1
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x1009a793
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
add esp, 0x14
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esp + 0x20], 0
mov eax, dword [edi + 4]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov dword [edi + 4], eax
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x18]
call fcn.101393c0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
call fcn.1008f770
push 3
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], al
call fcn.10139310
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1009a87a
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x1009a828
nop dword [eax]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x1009a823
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x1009a810
cmp dword [esi], 0
jne 0x1009a86c
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x1009a84e
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
add esp, 0x14
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x1c]
call fcn.101393c0
cmp byte [esp + 0x3c], 0
jne 0x1009a8b2
lea ecx, [esp + 0x2c]
call fcn.10086f10
mov eax, dword [eax]
cmp dword [eax + 0xe4], 5
jne 0x1009a8a4
mov dword [ebx + 0x130], eax
lea ecx, [esp + 0x2c]
call fcn.10086e50
jmp 0x1009a710
push 3
lea ecx, [esp + 0x40]
call fcn.10139310
lea ecx, [esp + 0x2c]
call fcn.1004c220
lea ecx, [esp + 0x3c]
call fcn.101393c0
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4