Function at 0x10033900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x44]
push str.cmap
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0x38], 0
push ebx
mov dword [esi + 0x3c], 0
push edi
mov dword [esi + 0x40], 0
call fcn.10035fa0
push str.loca
push ebx
push edi
mov ebp, eax
call fcn.10035fa0
push str.head
push ebx
push edi
mov dword [esp + 0x38], eax
mov dword [esi + 0x10], eax
call fcn.10035fa0
push str.glyf
push ebx
push edi
mov dword [esp + 0x74], eax
mov dword [esi + 0x14], eax
call fcn.10035fa0
push str.hhea
push ebx
push edi
mov dword [esp + 0x4c], eax
mov dword [esi + 0x18], eax
call fcn.10035fa0
push str.hmtx
push ebx
push edi
mov dword [esp + 0x88], eax
mov dword [esi + 0x1c], eax
call fcn.10035fa0
add esp, 0x48
mov dword [esp + 0x48], eax
mov dword [esi + 0x20], eax
push str.kern
push ebx
push edi
call fcn.10035fa0
push str.GPOS
push ebx
push edi
mov dword [esi + 0x24], eax
call fcn.10035fa0
add esp, 0x18
mov dword [esi + 0x28], eax
test ebp, ebp
je 0x100339ed
cmp dword [esp + 0x44], 0
je 0x100339ed
cmp dword [esp + 0x40], 0
je 0x100339ed
cmp dword [esp + 0x48], 0
je 0x100339ed
cmp dword [esp + 0x10], 0
je 0x100339f7
cmp dword [esp + 0x14], 0
jne 0x10033d03
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push str.CFF
push ebx
push edi
mov dword [esp + 0x1c], 2
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
call fcn.10035fa0
add esp, 0xc
test eax, eax
je 0x100339ed
mov dword [esi + 0x68], 0
add eax, edi
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0x20000000
mov eax, dword [esi + 0x40]
movq xmm0, qword [esi + 0x38]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push 2
push eax
movq qword [esp + 0x20], xmm0
call fcn.10034a40
lea eax, [esp + 0x20]
push eax
call fcn.10034940
movzx eax, al
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100349f0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10034a90
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.10034a90
add esp, 0x24
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
push 0
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x40]
push eax
call fcn.10034be0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
movq qword [esp + 0x3c], xmm0
push eax
call fcn.10034a90
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10034a90
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x50], xmm0
mov dword [esi + 0x58], eax
lea eax, [esp + 0x68]
push eax
push 1
lea eax, [esp + 0x50]
push 0x11
push eax
call fcn.10035610
lea eax, [esp + 0x44]
push eax
push 1
lea eax, [esp + 0x60]
push 0x106
push eax
call fcn.10035610
add esp, 0x44
lea eax, [esp + 0x40]
push eax
push 1
lea eax, [esp + 0x2c]
push 0x124
push eax
call fcn.10035610
lea eax, [esp + 0x58]
push eax
push 1
lea eax, [esp + 0x3c]
push 0x125
push eax
call fcn.10035610
movq xmm0, qword [esp + 0x44]
add esp, 0x14
mov eax, dword [esp + 0x38]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x38]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [esp + 0x48]
push eax
call fcn.10036060
add esp, 0x1c
cmp dword [esp + 0x10], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x5c], xmm0
mov dword [esi + 0x64], eax
jne 0x100339ed
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100339ed
mov ecx, dword [esp + 0x40]
mov edx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test ecx, ecx
je 0x10033caa
cmp dword [esp + 0x48], 0
je 0x100339ed
mov eax, dword [esp + 0x20]
cmp ecx, eax
jg 0x10033bfb
test ecx, ecx
jns 0x10033c17
push 0x482
push str.D:Projectm2extLibrariesimguiimstb_truetype.h
push str.__o___b__size__o___0_
call edx
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jg 0x10033c23
mov dword [esp + 0x1c], ecx
test ecx, ecx
jns 0x10033c27
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10034a90
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x68], xmm0
mov dword [esi + 0x70], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], 0
test edx, edx
js 0x10033c8c
test eax, eax
js 0x10033c8c
cmp edx, ecx
jg 0x10033c8c
mov eax, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
jmp 0x10033c90
mov eax, dword [esp + 0x40]
movq xmm0, qword [esp + 0x24]
mov edx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movq qword [esi + 0x74], xmm0
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x44]
jmp 0x10033cae
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jg 0x10033cb6
test eax, eax
jns 0x10033cd2
push 0x482
push str.D:Projectm2extLibrariesimguiimstb_truetype.h
push str.__o___b__size__o___0_
call edx
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x44]
cmp eax, ecx
jg 0x10033cde
mov dword [esp + 0x1c], eax
test eax, eax
jns 0x10033ce2
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10034a90
add esp, 8
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x44], xmm0
mov dword [esi + 0x4c], eax
push str.maxp
push ebx
push edi
call fcn.10035fa0
add esp, 0xc
test eax, eax
je 0x10033d27
movzx ecx, byte [eax + edi + 5]
movzx eax, byte [eax + edi + 4]
shl eax, 8
add ecx, eax
jmp 0x10033d2c
mov ecx, 0xffff
mov dword [esi + 0xc], ecx
mov dword [esi + 0x2c], 0xffffffff
movzx ebx, byte [edi + ebp + 2]
movzx eax, byte [edi + ebp + 3]
shl ebx, 8
mov dword [esi + 0x30], 0
add ebx, eax
je 0x10033da9
lea eax, [edi + 9]
add eax, ebp
movzx edx, byte [eax - 5]
movzx ecx, byte [eax - 4]
shl edx, 8
add ecx, edx
je 0x10033d7e
cmp ecx, 3
jne 0x10033da1
movzx edx, byte [eax - 3]
movzx ecx, byte [eax - 2]
shl edx, 8
add edx, ecx
sub edx, 1
je 0x10033d7e
sub edx, 9
jne 0x10033da1
movzx edx, byte [eax - 1]
movzx ecx, byte [eax]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
add edx, ebp
add ecx, edx
mov dword [esi + 0x30], ecx
add eax, 8
sub ebx, 1
jne 0x10033d53
cmp dword [esi + 0x30], 0
je 0x100339ed
mov eax, dword [esi + 0x14]
movzx ecx, byte [eax + edi + 0x32]
movzx eax, byte [eax + edi + 0x33]
shl ecx, 8
add ecx, eax
mov eax, 1
pop edi
mov dword [esi + 0x34], ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret