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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x46690a
push 0x87b
push str.....imgui_draw.cpp
push str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call ebx
add esp, 0xc
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x466919
cmp dword [edi + 4], 0
jg 0x46692d
push 0x87c
push str.....imgui_draw.cpp
push str.font_cfg__FontData___0__font_cfg__FontDataSize___0
call ebx
add esp, 0xc
movss xmm0, dword [edi + 0x10]
comiss xmm0, dword [0x4c2a2c]
ja 0x46694f
push 0x87d
push str.....imgui_draw.cpp
push str.font_cfg__SizePixels___0.0f
call ebx
add esp, 0xc
cmp byte [edi + 0x3c], 0
jne 0x466a00
push 0x60
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [0x4c9b64]
add esp, 4
mov dword [ebp - 8], eax
test ecx, ecx
je 0x4669d1
mov edx, dword [ecx + 0x3f08]
mov dword [ebp - 4], edx
movsx edx, word [ecx + 0x5e6c]
mov edi, dword [ebp - 4]
add edx, 0xbce
cmp dword [ecx + edx*8], edi
mov edi, dword [ebp + 8]
lea edx, [ecx + edx*8]
je 0x4669c7
movsx eax, word [ecx + 0x5e6c]
inc eax
mov dword [ebp + 8], 6
cdq
idiv dword [ebp + 8]
movsx eax, dx
add eax, 0xbce
mov word [ecx + 0x5e6c], dx
lea edx, [ecx + eax*8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
inc word [edx + 4]
inc dword [ecx + 0x5e64]
test eax, eax
je 0x4669ed
mov ecx, eax
call fcn.004692e0
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
push ecx
lea ecx, [esi + 0x3c]
call fcn.00429d70
jmp 0x466a1a
lea ecx, [ebp + 8]
xor eax, eax
push ecx
lea ecx, [esi + 0x3c]
mov dword [ebp + 8], eax
call fcn.00429d70
jmp 0x466a1a
cmp dword [esi + 0x3c], 0
jne 0x466a1a
push 0x883
push str.....imgui_draw.cpp
push str._Fonts.empty_____Cannot_use_MergeMode_for_the_first_font_
call ebx
add esp, 0xc
lea ecx, [esi + 0x54]
push edi
call fcn.0046bc40
cmp dword [esi + 0x54], 0
jg 0x466a3d
push 0x78c
push 0x4a02f8
push str.Size___0
call ebx
add esp, 0xc
imul edx, dword [esi + 0x54], 0x7c
mov eax, dword [esi + 0x5c]
mov dword [ebp + 8], eax
mov dword [ebp - 4], edx
cmp dword [edx + eax - 4], 0
jne 0x466a86
cmp dword [esi + 0x3c], 0
lea eax, [esi + 0x3c]
jg 0x466a74
push 0x78c
push 0x4a02f8
push str.Size___0
call ebx
mov edx, dword [ebp - 4]
lea eax, [esi + 0x3c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp + 8]
mov dword [edx + ecx - 4], eax
mov eax, ecx
cmp byte [edx + eax - 0x74], 0
jne 0x466aba
mov ecx, dword [edx + eax - 0x78]
call fcn.00409a80
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push dword [ecx + edx - 0x78]
mov dword [ecx + edx - 0x7c], eax
push dword [edi]
mov byte [ecx + edx - 0x74], 1
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [edx + eax - 4]
mov eax, 0xffff
cmp word [ecx + 0x3c], ax
jne 0x466ad1
mov ax, word [edi + 0x4c]
mov word [ecx + 0x3c], ax
imul edx, dword [esi + 0x54], 0x7c
mov eax, dword [esi + 0x5c]
add edx, eax
cmp eax, edx
je 0x466afd
nop
cmp byte [eax + 0x3c], 0
mov ecx, dword [eax + 0x78]
jne 0x466af2
xor edi, edi
mov dword [ecx + 0x34], eax
mov word [ecx + 0x38], di
inc word [ecx + 0x38]
add eax, 0x7c
cmp eax, edx
jne 0x466ae0
cmp byte [esi + 0x10], 0
mov byte [esi + 0x18], 0
pop edi
je 0x466b1c
push 0x83c
push str.....imgui_draw.cpp
push str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call ebx
add esp, 0xc
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x466b28
call fcn.00409b10
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x466b34
call fcn.00409b10
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x19], 0
mov eax, dword [ecx + eax - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4