Function at 0x1001e989
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov ebp, dword [eax + 0x28]
mov ebx, dword [eax + 4]
push edi
mov dword [esp + 0x18], ebp
lea esi, [ebx + ebp]
push esi
call fcn.1001e7d5
movzx edi, ax
pop ecx
test di, di
jne 0x1001e9cf
lea eax, [esi + 2]
push eax
call fcn.1001e7d5
movzx eax, ax
pop ecx
mov ecx, dword [esp + 0x24]
sub eax, 6
cmp ecx, eax
jge 0x1001ea3b
movzx eax, byte [esi + ecx + 6]
jmp 0x1001ea3d
cmp edi, 6
jne 0x1001ea1c
lea eax, [esi + 6]
push eax
call fcn.1001e7d5
mov edi, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x24], eax
pop ecx
cmp edi, eax
jb 0x1001ea3b
lea eax, [esi + 8]
push eax
call fcn.1001e7d5
pop ecx
mov ecx, dword [esp + 0x20]
movzx eax, ax
add eax, ecx
cmp edi, eax
jae 0x1001ea3b
sub edi, ecx
lea eax, [edi*2 + 0xa]
add eax, ebp
add eax, ebx
push eax
call fcn.1001e7d5
jmp 0x1001eba7
push 2
pop eax
cmp di, ax
jne 0x1001ea45
push 0x44d
push str.c:_sf_apiwarningswarnings_sfpluginimgui_stb_truetype.h
push 0x100544e8
call fcn.1003895a
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp edi, 4
jne 0x1001ebc7
lea eax, [esi + 6]
push eax
call fcn.1001e7d5
shr ax, 1
movzx eax, ax
mov dword [esp + 0x14], eax
lea eax, [esi + 8]
push eax
call fcn.1001e7d5
shr ax, 1
movzx eax, ax
mov dword [esp + 0x1c], eax
lea eax, [esi + 0xa]
push eax
call fcn.1001e7d5
movzx eax, ax
mov dword [esp + 0x2c], eax
lea eax, [esi + 0xc]
push eax
call fcn.1001e7d5
shr ax, 1
lea edi, [ebp + 0xe]
add esp, 0x10
movzx eax, ax
cmp dword [esp + 0x24], 0xffff
jg 0x1001ea3b
lea esi, [edi + eax*2]
lea eax, [esi + ebx]
push eax
call fcn.1001e7d5
movzx eax, ax
cmp dword [esp + 0x28], eax
pop ecx
cmovge edi, esi
sub edi, 2
cmp word [esp + 0x20], 0
je 0x1001eafd
mov bp, word [esp + 0x14]
shr bp, 1
movzx eax, bp
lea esi, [edi + eax*2]
lea eax, [esi + ebx]
push eax
call fcn.1001e7d5
movzx eax, ax
cmp dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
cmovg edi, esi
add eax, 0xffff
mov dword [esp + 0x24], eax
pop ecx
test ax, ax
jne 0x1001eaca
mov ebp, dword [esp + 0x18]
lea ecx, [ebp + 0xe]
sub edi, ecx
add edi, 2
shr edi, 1
movzx edi, di
lea eax, [ecx + edi*2]
add eax, ebx
push eax
call fcn.1001e7d5
movzx eax, ax
pop ecx
cmp dword [esp + 0x24], eax
jle 0x1001eb36
push 0x471
push str.c:_sf_apiwarningswarnings_sfpluginimgui_stb_truetype.h
push str.unicode_codepoint___ttUSHORT_data__endCount__2item_
call fcn.1003895a
add esp, 0xc
mov eax, dword [esp + 0x10]
movzx esi, ax
lea eax, [esi + 8]
add eax, edi
lea eax, [eax*2]
add eax, ebp
add eax, ebx
push eax
call fcn.1001e7d5
movzx eax, ax
pop ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x24], eax
jl 0x1001ea3b
imul esi, esi, 3
lea eax, [esi + 8]
add eax, edi
lea eax, [eax*2]
add eax, ebp
add eax, ebx
push eax
call fcn.1001e7d5
movzx eax, ax
pop ecx
test ax, ax
jne 0x1001ebb0
mov ecx, dword [esp + 0x10]
movzx eax, cx
lea eax, [edi + eax*2]
lea eax, [eax*2 + 0x10]
add eax, ebp
add eax, ebx
push eax
call fcn.1001e797
add ax, word [esp + 0x28]
pop ecx
movzx eax, ax
jmp 0x1001ea3d
sub esi, dword [esp + 0x20]
add eax, ebp
add esi, edi
add esi, dword [esp + 0x24]
lea eax, [eax + esi*2]
add eax, 0x10
jmp 0x1001ea0f
push 0xc
pop eax
cmp di, ax
je 0x1001ebde
cmp edi, 0xd
je 0x1001ebde
push 0x494
jmp 0x1001ea29
and dword [esp + 0x20], 0
lea eax, [esi + 0xc]
push eax
call fcn.1001e7b2
mov dword [esp + 0x14], eax
pop ecx
test eax, eax
jle 0x1001ea3b
xor ecx, ecx
mov esi, eax
sub esi, ecx
sar esi, 1
add esi, ecx
imul eax, esi, 0xc
add eax, ebp
mov dword [esp + 0x18], eax
add eax, 0x10
add eax, ebx
push eax
call fcn.1001e7b2
pop ecx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x24], eax
jae 0x1001ec2e
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword [esp + 0x10], eax
jmp 0x1001ec4f
mov eax, dword [esp + 0x18]
add eax, 0x14
add eax, ebx
push eax
call fcn.1001e7b2
pop ecx
cmp dword [esp + 0x24], eax
jbe 0x1001ec58
mov eax, dword [esp + 0x10]
lea ecx, [esi + 1]
mov dword [esp + 0x20], ecx
cmp ecx, eax
jl 0x1001ebfb
jmp 0x1001ea3b
lea eax, [esi + 2]
imul eax, eax, 0xc
add eax, ebp
add eax, ebx
push eax
call fcn.1001e7b2
pop ecx
push 0xc
pop ecx
cmp di, cx
jne 0x1001ea3d
sub eax, dword [esp + 0x14]
add eax, dword [esp + 0x24]
jmp 0x1001ea3d