Function at 0x1001b510
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx + 4]
mov ebp, edx
mov edx, dword [ecx + 0x2c]
mov ebx, 0x100
movzx ecx, byte [edx + edi]
lea esi, [edx + edi]
movzx eax, byte [esi + 1]
imul ecx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edx
add cx, ax
movzx eax, cx
mov dword [esp + 0x20], eax
test ax, ax
jne 0x1001b56a
movzx ecx, byte [esi + 2]
movzx eax, byte [esi + 3]
shl ecx, 8
add eax, 0xfffffffa
add eax, ecx
cmp ebp, eax
jge 0x1001b5cb
movzx eax, byte [esi + ebp + 6]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp eax, 6
jne 0x1001b5af
movzx ebx, byte [esi + 6]
movzx eax, byte [esi + 7]
shl ebx, 8
add ebx, eax
cmp ebp, ebx
jb 0x1001b5cb
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ecx, 8
add ecx, ebx
add eax, ecx
cmp ebp, eax
jae 0x1001b5cb
sub ebp, ebx
lea ecx, [edx + ebp*2]
movzx eax, byte [ecx + edi + 0xa]
movzx ecx, byte [ecx + edi + 0xb]
pop edi
pop esi
shl eax, 8
pop ebp
add eax, ecx
pop ebx
add esp, 0x14
ret
cmp eax, 2
jne 0x1001b5d5
push 0x4b0
push str.C:UserskarolDesktophpp_cs16hppincludesImGuiimstb_truetype.h
push 0x100ef478
call fcn.100b4bce
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
cmp eax, 4
jne 0x1001b794
movzx ecx, byte [esi + 6]
movzx eax, byte [esi + 7]
movzx edx, byte [esi + 9]
imul ecx, ebx
add cx, ax
shr cx, 1
movzx eax, cx
movzx ecx, byte [esi + 8]
imul ecx, ebx
mov dword [esp + 0x18], eax
add dx, cx
movzx ecx, byte [esi + 0xa]
imul ecx, ebx
shr dx, 1
movzx eax, dx
movzx edx, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
mov eax, 0x100
add dx, cx
movzx ecx, byte [esi + 0xc]
imul ecx, eax
movzx eax, byte [esi + 0xd]
mov esi, dword [esp + 0x10]
add esi, 0xe
movzx ebx, dx
mov dword [esp + 0x14], ebx
add cx, ax
mov dword [esp + 0x20], esi
shr cx, 1
movzx ecx, cx
cmp ebp, 0xffff
jg 0x1001b5cb
lea edx, [esi + ecx*2]
movzx ecx, byte [edx + edi]
movzx eax, byte [edx + edi + 1]
shl ecx, 8
add ecx, eax
cmp ebp, ecx
cmovge esi, edx
sub esi, 2
test bx, bx
je 0x1001b6a4
mov bx, word [esp + 0x1c]
shr bx, 1
movzx eax, bx
lea edx, [esi + eax*2]
movzx ecx, byte [edx + edi]
movzx eax, byte [edx + edi + 1]
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x14]
cmp ebp, ecx
cmovg esi, edx
add eax, 0xffff
mov dword [esp + 0x14], eax
test ax, ax
jne 0x1001b676
mov eax, dword [esp + 0x20]
sub esi, eax
add esi, 2
shr esi, 1
movzx edx, si
mov dword [esp + 0x14], edx
lea eax, [eax + edx*2]
movzx ecx, byte [eax + edi]
movzx eax, byte [eax + edi + 1]
shl ecx, 8
add ecx, eax
cmp ebp, ecx
jle 0x1001b6e6
push 0x4d4
push str.C:UserskarolDesktophpp_cs16hppincludesImGuiimstb_truetype.h
push str.unicode_codepoint___ttUSHORT_data__endCount__2item_
call fcn.100b4bce
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
movzx esi, ax
lea eax, [esi + edx]
lea eax, [ebx + eax*2]
movzx ecx, byte [eax + edi + 0x10]
movzx eax, byte [eax + edi + 0x11]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x20], ecx
cmp ebp, ecx
jl 0x1001b5cb
lea esi, [esi + esi*2]
lea eax, [esi + edx]
lea edx, [ebx + eax*2]
mov eax, 0x100
movzx ecx, byte [edx + edi + 0x10]
imul ecx, eax
movzx eax, byte [edx + edi + 0x11]
add cx, ax
movzx ecx, cx
test cx, cx
jne 0x1001b76e
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx ecx, dx
lea eax, [eax + ecx*2]
lea eax, [eax + 8]
lea eax, [ebx + eax*2]
movzx edx, byte [eax + edi + 1]
movzx ecx, byte [eax + edi]
mov eax, 0x100
imul ecx, eax
pop edi
pop esi
add dx, cx
add dx, bp
pop ebp
movzx eax, dx
pop ebx
add esp, 0x14
ret
sub esi, dword [esp + 0x20]
add ecx, ebx
add esi, dword [esp + 0x14]
add esi, ebp
lea ecx, [ecx + esi*2]
movzx eax, byte [ecx + edi + 0x11]
movzx ecx, byte [ecx + edi + 0x10]
pop edi
pop esi
shl ecx, 8
pop ebp
add eax, ecx
pop ebx
add esp, 0x14
ret
cmp eax, 0xc
je 0x1001b7a8
cmp eax, 0xd
je 0x1001b7a8
push 0x4f7
jmp 0x1001b5b9
movzx ebx, byte [esi + 0xc]
xor edx, edx
movzx eax, byte [esi + 0xd]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xe]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xf]
shl ebx, 8
add ebx, eax
test ebx, ebx
jle 0x1001b5cb
mov ecx, dword [esp + 0x10]
mov esi, ebx
sub esi, edx
sar esi, 1
add esi, edx
lea eax, [esi + esi*2]
lea eax, [ecx + eax*4]
movzx ecx, byte [edi + eax + 0x11]
add edi, eax
movzx eax, byte [edi + 0x10]
shl eax, 8
add eax, ecx
movzx ecx, byte [edi + 0x12]
shl eax, 8
add eax, ecx
movzx ecx, byte [edi + 0x13]
shl eax, 8
add eax, ecx
cmp ebp, eax
jae 0x1001b80d
mov ebx, esi
jmp 0x1001b833
movzx edx, byte [edi + 0x14]
movzx ecx, byte [edi + 0x15]
shl edx, 8
add edx, ecx
movzx ecx, byte [edi + 0x16]
shl edx, 8
add edx, ecx
movzx ecx, byte [edi + 0x17]
shl edx, 8
add edx, ecx
cmp ebp, edx
jbe 0x1001b845
lea edx, [esi + 1]
mov edi, dword [esp + 0x18]
cmp edx, ebx
jl 0x1001b7d1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
mov edx, dword [esp + 0x10]
add esi, 2
lea ecx, [esi + esi*2]
lea edx, [edx + ecx*4]
add edx, dword [esp + 0x18]
movzx esi, byte [edx]
movzx ecx, byte [edx + 1]
shl esi, 8
add esi, ecx
movzx ecx, byte [edx + 2]
shl esi, 8
add esi, ecx
movzx ecx, byte [edx + 3]
shl esi, 8
add esi, ecx
cmp word [esp + 0x20], 0xc
jne 0x1001b889
sub esi, eax
pop edi
lea eax, [esi + ebp]
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret