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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
mov eax, dword [0x524018]
xor eax, esp
mov dword [esp + 0x1c4], eax
mov eax, dword [0x52a278]
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], ecx
mov edx, dword [ebp + 8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], eax
mov esi, dword [edx]
test esi, esi
jle 0x43db40
mov ecx, dword [edx + 8]
lea eax, [esi + esi*4]
cmp dword [ecx + eax*8 - 0xc], 0
jne 0x43db40
lea eax, [esi + esi*4]
cmp dword [ecx + eax*8 - 8], 0
jne 0x43db40
dec esi
mov eax, dword [edx + 0x30]
mov ecx, 0x4f4d18
push esi
push dword [edx + 0xc]
test eax, eax
push dword [edx + 0x18]
cmovne ecx, eax
push ecx
push str.DrawList
push str._s:__s__d_vtx___d_indices___d_cmds
push edx
call fcn.004a08b0
mov edx, dword [0x52a278]
add esp, 0x1c
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 0x3f34]
mov byte [ecx + 0xe1], 1
mov ecx, dword [edx + 0x3f34]
cmp eax, dword [ecx + 0x2a4]
jne 0x43dbcf
movss xmm1, dword [0x51b228]
xorps xmm0, xmm0
call fcn.00420f80
movaps xmm0, xmmword [0x51ba90]
lea eax, [esp + 0x70]
push str.CURRENTLY_APPENDING
push eax
movups xmmword [esp + 0x78], xmm0
call fcn.0048afa0
add esp, 8
cmp byte [esp + 0x13], 0
je 0x43e1a5
jmp 0x43e1a0
test edi, edi
je 0x43dbef
push str.Foreground
mov edx, 1
mov ecx, edi
call fcn.00411a10
add esp, 4
mov dword [esp + 0x20], eax
mov edi, eax
jmp 0x43dbf5
xor edi, edi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43dcbb
xor ecx, ecx
call fcn.00411480
test al, al
mov eax, dword [esp + 0x14]
je 0x43dcbb
test edi, edi
je 0x43dcbb
test byte [edi + 0x24], 1
mov ecx, edi
movss xmm3, dword [eax + 0x44]
movss xmm4, dword [eax + 0x48]
movaps xmm1, xmm3
movss xmm0, dword [0x51afc4]
movaps xmm2, xmm4
addss xmm1, dword [eax + 0x4c]
addss xmm2, dword [eax + 0x50]
addss xmm3, xmm0
addss xmm4, xmm0
push 0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x34], xmm4
xorps xmm3, xmm3
push eax
je 0x43dc73
subss xmm1, xmm0
subss xmm2, xmm0
jmp 0x43dc83
subss xmm1, dword [0x51afc0]
subss xmm2, dword [0x51afc0]
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x48], xmm2
call fcn.00476a50
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff00ffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.00474550
mov eax, dword [esp + 0x14]
mov dword [edi + 0x54], 0
cmp byte [esp + 0x13], 0
je 0x43e1a5
test eax, eax
je 0x43dce0
cmp byte [eax + 0xe0], 0
jne 0x43dce0
push str.Warning:_owning_Window_is_inactive._This_DrawList_is_not_being_rendered_
call fcn.0048b000
add esp, 4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x14]
shl eax, 3
mov dword [esp + 0x38], eax
add eax, esi
cmp esi, eax
jae 0x43e1a0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x43dd20
push dword [esi + 0x24]
push eax
push str.Callback__p__user_data__p
call fcn.0048b510
add esp, 0xc
jmp 0x43e182
movss xmm0, dword [esi + 0xc]
sub esp, 0x20
cvtps2pd xmm0, xmm0
mov eax, 0xaaaaaaab
mul dword [esi + 0x1c]
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [esi + 8]
cvtps2pd xmm0, xmm0
lea eax, [esp + 0xb8]
shr edx, 1
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esi + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esi]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [esi + 0x10]
push edx
push str.DrawCmd:_5d_tris__Tex_0x_p__ClipRect___4.0f__4.0f____4.0f__4.0f_
push 0x12c
push eax
call fcn.0040ba30
add esp, 0x34
lea eax, [esp + 0x98]
mov ecx, esi
push eax
mov eax, dword [esp + 0x20]
push 0x4f5024
sub ecx, dword [eax + 8]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.004a08b0
add esp, 0xc
mov byte [esp + 0x13], al
xor ecx, ecx
call fcn.00411480
test al, al
je 0x43ddf2
mov eax, dword [esp + 0x44]
mov cl, byte [eax + 0x5d71]
test cl, cl
jne 0x43ddd6
cmp byte [eax + 0x5d72], cl
je 0x43ddf2
test edi, edi
je 0x43ddf2
movzx eax, byte [eax + 0x5d72]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push esi
mov ecx, edi
call fcn.0043e1c0
add esp, 0xc
cmp byte [esp + 0x13], 0
je 0x43e182
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0xc], 0
jle 0x43de0c
mov esi, dword [edx + 0x14]
jmp 0x43de0e
xor esi, esi
mov eax, dword [esp + 0x14]
xorps xmm6, xmm6
mov dword [esp + 0x34], esi
mov eax, dword [eax + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x20]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
add ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
cmp eax, ecx
jae 0x43def9
mov edi, eax
lea ecx, [edi + 2]
lea ecx, [esi + ecx*2]
mov dword [esp + 0x18], ecx
test esi, esi
je 0x43de7b
movzx eax, word [ecx - 4]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
movzx eax, word [eax - 2]
lea eax, [eax + eax*4]
movss xmm0, dword [edx + eax*4]
movss xmm4, dword [edx + eax*4 + 4]
mov eax, dword [esp + 0x18]
movzx eax, word [eax]
jmp 0x43de90
lea eax, [edi + edi*4]
movss xmm0, dword [edx + eax*4 + 0x14]
lea ecx, [edi + edi*4]
movss xmm4, dword [edx + eax*4 + 0x18]
lea eax, [edi + 2]
movss xmm3, dword [edx + ecx*4 + 4]
lea eax, [eax + eax*4]
movss xmm2, dword [edx + eax*4 + 4]
add edi, 3
movss xmm5, dword [edx + ecx*4]
subss xmm2, xmm3
mov ecx, dword [esp + 0x18]
subss xmm3, xmm4
add ecx, 6
mov dword [esp + 0x18], ecx
mulss xmm2, xmm0
movaps xmm0, xmm4
subss xmm0, dword [edx + eax*4 + 4]
mulss xmm3, dword [edx + eax*4]
mulss xmm0, xmm5
addss xmm2, xmm0
addss xmm2, xmm3
andps xmm2, xmmword [0x51beb0]
mulss xmm2, dword [0x51afc4]
addss xmm6, xmm2
cmp edi, dword [esp + 0x24]
jb 0x43de51
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
sub esp, 8
cvtps2pd xmm0, xmm6
movsd qword [esp], xmm0
push dword [eax + 0x18]
push dword [eax + 0x14]
push dword [eax + 0x1c]
lea eax, [esp + 0xac]
push str.Mesh:_ElemCount:__d__VtxOffset:__d__IdxOffset:__d__Area:__0.f_px
push 0x12c
push eax
call fcn.0040ba30
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0
push eax
push 0
xor dl, dl
mov dword [esp + 0x74], 0
lea ecx, [esp + 0xc0]
call fcn.004a1e90
add esp, 0x28
xor ecx, ecx
call fcn.00411480
test al, al
je 0x43df75
test edi, edi
je 0x43df75
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0
push 1
push dword [esp + 0x1c]
call fcn.0043e1c0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, 0xaaaaaaab
movss xmm2, dword [0x51b228]
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
movq qword [esp + 0x60], xmm0
mul dword [ecx + 0x1c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0
shr edx, 1
push edx
call fcn.0040cef0
lea ecx, [esp + 0x50]
call fcn.0040dcc0
test al, al
je 0x43e170
nop dword [eax]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
lea edi, [eax + eax*2]
add edi, dword [ecx + 0x18]
cmp eax, dword [esp + 0x58]
jge 0x43e15f
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
nop dword [eax]
lea eax, [esp + 0x98]
mov dword [esp + 0x90], 0
mov dword [esp + 0x30], eax
xorps xmm0, xmm0
lea eax, [esp + 0x80]
mov dword [esp + 0x94], 0
movups xmmword [esp + 0x80], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
nop
test esi, esi
je 0x43e03a
movzx eax, word [esi + edi*2]
jmp 0x43e03c
mov eax, edi
mov ecx, dword [esp + 0x40]
lea edx, [eax + eax*4]
mov esi, dword [esp + 0x18]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ecx + edx*4 + 4]
mov dword [esi], eax
mov eax, esi
mov dword [eax + 4], ecx
mov ecx, 0x5013d4
mov eax, dword [esp + 0x40]
push dword [eax + edx*4 + 0x10]
movss xmm0, dword [eax + edx*4 + 0xc]
cvtps2pd xmm0, xmm0
sub esp, 0x20
cmp dword [esp + 0x48], 0
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [eax + edx*4 + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [eax + edx*4 + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [eax + edx*4]
mov eax, str.Vert:
cvtps2pd xmm0, xmm0
cmovne eax, ecx
mov ecx, dword [esp + 0x54]
movsd qword [esp], xmm0
push edi
push eax
lea eax, [esp + 0x1f0]
push str._s__04d:_pos___8.2f__8.2f___uv___.6f__.6f___col__08X_n
sub eax, ecx
push eax
push ecx
call fcn.0040ba30
add dword [esp + 0x68], eax
add esp, 0x38
mov eax, dword [esp + 0x24]
inc edi
add dword [esp + 0x18], 8
inc eax
mov esi, dword [esp + 0x34]
mov dword [esp + 0x24], eax
cmp eax, 3
jl 0x43e030
lea eax, [esp + 0x70]
xor dl, dl
push eax
push 0
lea ecx, [esp + 0xa0]
call fcn.004a1e90
add esp, 8
cmp dword [esp + 0x20], 0
je 0x43e14c
xor ecx, ecx
call fcn.00411480
test al, al
je 0x43e14c
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp], 0x3f800000
push 1
mov esi, dword [ecx + 0x24]
mov eax, esi
and eax, 0xfffffffe
push 0xff00ffff
mov dword [ecx + 0x24], eax
lea eax, [esp + 0x8c]
push 3
push eax
call fcn.00474550
mov eax, dword [esp + 0x20]
mov dword [eax + 0x24], esi
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x58]
jl 0x43dff0
lea ecx, [esp + 0x50]
call fcn.0040dcc0
test al, al
jne 0x43dfc0
call fcn.004a19f0
lea ecx, [esp + 0x50]
call fcn.0040d130
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add esi, 0x28
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], esi
mov eax, dword [eax + 8]
add eax, dword [esp + 0x38]
cmp esi, eax
jb 0x43dd03
call fcn.004a19f0
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
xor ecx, esp
call fcn.004bee44
mov esp, ebp
pop ebp
ret