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

Disassembly:
sub esp, 0x3c
mov eax, dword [0x100fd040]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, 0x1010a8f1
push edi
mov edi, edx
call fcn.100b18e0
mov ebx, dword [esp + 0x50]
mov ecx, edi
mov dword [esi + 4], edi
mov edx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
push str.cmap
mov dword [esi + 0x3c], 0
call fcn.10057bc0
push str.loca
mov edx, ebx
mov ecx, edi
mov ebp, eax
call fcn.10057bc0
push str.head
mov edx, ebx
mov dword [esi + 0x10], eax
mov ecx, edi
call fcn.10057bc0
push str.glyf
mov edx, ebx
mov dword [esi + 0x14], eax
mov ecx, edi
call fcn.10057bc0
push str.hhea
mov edx, ebx
mov dword [esi + 0x18], eax
mov ecx, edi
call fcn.10057bc0
push str.hmtx
mov edx, ebx
mov dword [esi + 0x1c], eax
mov ecx, edi
call fcn.10057bc0
push str.kern
mov edx, ebx
mov dword [esi + 0x20], eax
mov ecx, edi
call fcn.10057bc0
push str.GPOS
mov edx, ebx
mov dword [esi + 0x24], eax
mov ecx, edi
call fcn.10057bc0
add esp, 0x20
mov dword [esi + 0x28], eax
test ebp, ebp
je 0x1005804f
cmp dword [esi + 0x14], 0
je 0x1005804f
cmp dword [esi + 0x1c], 0
je 0x1005804f
cmp dword [esi + 0x20], 0
je 0x1005804f
cmp dword [esi + 0x18], 0
je 0x10058064
cmp dword [esi + 0x10], 0
jne 0x1005834e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100af2b0
add esp, 0x3c
ret
push str.CFF
mov edx, ebx
mov dword [esp + 0x48], 2
mov ecx, edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], 0
call fcn.10057bc0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1005804f
lea eax, [esp + 0x2c]
xor edx, edx
push eax
xor ecx, ecx
call fcn.10057200
xor edx, edx
xor ecx, ecx
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
lea eax, [esp + 0x30]
push eax
call fcn.10057200
mov ecx, dword [esp + 0x24]
mov edx, 0x20000000
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
lea ecx, [edi + ecx]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
lea eax, [esp + 0x34]
push eax
call fcn.10057200
mov edx, 2
lea ecx, [esp + 0x2c]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x34], xmm0
mov dword [esi + 0x3c], eax
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], eax
call fcn.10057140
lea ecx, [esp + 0x2c]
call fcn.100570a0
movzx edx, al
lea ecx, [esp + 0x2c]
call fcn.100570f0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
call fcn.10057280
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
call fcn.10057280
add esp, 8
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x1c]
push eax
xor ecx, ecx
call fcn.100578e0
lea ecx, [esp + 0x30]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x20]
push eax
movq qword [esp + 0x40], xmm0
call fcn.10057280
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
call fcn.10057280
mov edx, 0x11
lea ecx, [esp + 0x44]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x4c], xmm0
mov dword [esi + 0x54], eax
lea eax, [esp + 0x54]
push eax
push 1
call fcn.100577f0
lea eax, [esp + 0x64]
push eax
push 1
mov edx, 0x106
lea ecx, [esp + 0x54]
call fcn.100577f0
lea eax, [esp + 0x68]
mov edx, 0x124
push eax
push 1
lea ecx, [esp + 0x5c]
call fcn.100577f0
lea eax, [esp + 0x68]
mov edx, 0x125
push eax
push 1
lea ecx, [esp + 0x64]
call fcn.100577f0
movq xmm0, qword [esp + 0x64]
add esp, 0x2c
mov eax, dword [esp + 0x40]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x40]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [esp + 0x28]
push eax
call fcn.10057db0
add esp, 0x1c
cmp dword [esp + 0x44], 2
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x58], xmm0
mov dword [esi + 0x60], eax
jne 0x1005804f
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1005804f
mov edx, dword [esp + 0x40]
test edx, edx
je 0x100582f2
cmp dword [esp + 0x38], 0
je 0x1005804f
mov eax, dword [esp + 0x28]
cmp edx, eax
jg 0x10058276
test edx, edx
jns 0x10058296
push 0x46c
push str.D:New_folderimguiimstb_truetype.h
push str.__o___b__size__o___0_
call dword [sym.imp.ucrtbased.dll__wassert]
mov eax, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x40]
cmp edx, eax
jg 0x100582a2
mov dword [esp + 0x24], edx
test edx, edx
jns 0x100582a6
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
call fcn.10057280
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
sub ecx, edx
push ecx
movq xmm0, qword [eax]
lea ecx, [esp + 0x28]
mov eax, dword [eax + 8]
movq qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
lea eax, [esp + 0x18]
push eax
call fcn.10057230
mov ecx, dword [esp + 0x48]
add esp, 0xc
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x70], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
jg 0x100582fe
test ecx, ecx
jns 0x1005831e
push 0x46c
push str.D:New_folderimguiimstb_truetype.h
push str.__o___b__size__o___0_
call dword [sym.imp.ucrtbased.dll__wassert]
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jg 0x1005832a
mov dword [esp + 0x24], ecx
test ecx, ecx
jns 0x1005832e
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
call fcn.10057280
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esi + 0x40], xmm0
mov dword [esi + 0x48], eax
push str.maxp
mov edx, ebx
mov ecx, edi
call fcn.10057bc0
add esp, 4
test eax, eax
je 0x10058372
lea ecx, [edi + 4]
add ecx, eax
call fcn.10057a70
movzx eax, ax
jmp 0x10058377
mov eax, 0xffff
lea ecx, [edi + 2]
mov dword [esi + 0xc], eax
add ecx, ebp
call fcn.10057a70
movzx ebx, ax
mov dword [esi + 0x2c], 0
test ebx, ebx
je 0x100583f6
lea eax, [edi + 9]
add eax, ebp
nop word [eax + eax]
movzx edx, byte [eax - 5]
movzx ecx, byte [eax - 4]
shl edx, 8
add ecx, edx
je 0x100583cb
cmp ecx, 3
jne 0x100583ee
movzx edx, byte [eax - 3]
movzx ecx, byte [eax - 2]
shl edx, 8
add edx, ecx
sub edx, 1
je 0x100583cb
sub edx, 9
jne 0x100583ee
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 + 0x2c], ecx
add eax, 8
sub ebx, 1
jne 0x100583a0
cmp dword [esi + 0x2c], 0
je 0x1005804f
mov ecx, dword [esi + 0x14]
add ecx, 0x32
add ecx, edi
call fcn.10057a70
mov ecx, dword [esp + 0x48]
movzx eax, ax
pop edi
mov dword [esi + 0x30], eax
mov eax, 1
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100af2b0
add esp, 0x3c
ret