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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov ebx, edx
mov esi, ecx
mov eax, dword [edx + 0x2c]
test eax, eax
mov ecx, 0x103ac95b
cmovne ecx, eax
push dword [edx]
push dword [edx + 0xc]
push dword [edx + 0x18]
push ecx
push str.DrawList
push str._s:__s__d_vtx___d_indices___d_cmds
push edx
call fcn.10289d60
add esp, 0x1c
mov edx, eax
mov ecx, dword [0x1042dd60]
mov eax, dword [ecx + 0x19b4]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b4]
cmp dword [eax + 0x27c], ebx
je 0x10256115
mov dword [esp + 0x54], ecx
lea eax, [ecx + 0x1cbc]
mov dword [esp + 0x18], eax
test esi, esi
je 0x102561a2
mov byte [esp + 8], dl
push 0
call fcn.1023cf40
add esp, 4
test al, al
je 0x102560ee
lea eax, [esi + 0xc]
movss xmm0, dword [esi + 0x14]
movss xmm1, dword [esi + 0x18]
addss xmm1, dword [esi + 0x10]
addss xmm0, dword [esi + 0xc]
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x64], xmm1
sub esp, 0x18
movaps xmm0, xmmword [0x1035a550]
movups xmmword [esp + 8], xmm0
lea ecx, [esp + 0x78]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
call fcn.1025ca40
cmp byte [esp + 8], 0
je 0x10256759
cmp byte [esi + 0x7b], 0
jne 0x102561aa
push str._Note:_owning_Window_is_inactive:_DrawList_is_not_being_rendered__
call fcn.10274700
add esp, 4
jmp 0x102561aa
mov ebx, edx
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x19b4]
cmp byte [eax + 0x7f], 0
jne 0x10256177
movss xmm0, dword [eax + 0xd0]
movss xmm1, dword [eax + 0xd4]
addss xmm0, dword [ecx + 0x1560]
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm1
mov ecx, dword [eax + 0xf0]
mov edx, dword [eax + 0xf4]
mov dword [eax + 0xec], edx
mov dword [eax + 0xe8], ecx
movss xmm0, dword [eax + 0xfc]
movss dword [eax + 0xf8], xmm0
movaps xmm0, xmmword [0x1035a7a0]
movups xmmword [esp + 0x60], xmm0
lea eax, [esp + 0x60]
push str.CURRENTLY_APPENDING
push eax
call fcn.102747b0
add esp, 8
test bl, bl
jne 0x10256754
jmp 0x10256759
test dl, dl
je 0x10256759
cmp dword [ebx], 0
jle 0x10256754
mov esi, dword [ebx + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ebx
jmp 0x102561fc
push dword [esi + 0x24]
push eax
push str.Callback__p__user_data__p
call fcn.10274c30
add esp, 0xc
mov eax, dword [esp + 0xc]
add eax, dword [esi]
mov dword [esp + 0xc], eax
imul eax, dword [ebx], 0x2c
add esi, 0x2c
add eax, dword [ebx + 8]
cmp esi, eax
jae 0x10256754
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x102561d0
mov eax, dword [esi]
test eax, eax
je 0x102561e1
cmp dword [ebx + 0xc], 0
jle 0x10256218
mov ecx, dword [ebx + 0x14]
mov dword [esp + 8], ecx
jmp 0x10256220
mov dword [esp + 8], 0
movss xmm0, dword [esi + 0x10]
cvtss2sd xmm0, xmm0
movss xmm1, dword [esi + 0xc]
cvtss2sd xmm1, xmm1
movss xmm2, dword [esi + 4]
movss xmm3, dword [esi + 8]
cvtss2sd xmm3, xmm3
cvtss2sd xmm2, xmm2
mov ecx, dword [esi + 0x14]
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
sub esp, 0x34
movsd qword [esp + 0x2c], xmm0
movsd qword [esp + 0x24], xmm1
movsd qword [esp + 0x1c], xmm3
movsd qword [esp + 0x14], xmm2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
lea edi, [esp + 0x94]
mov dword [esp], edi
mov dword [esp + 8], str.Draw__4d_triangles__tex_0x_p__clip_rect___4.0f__4.0f____4.0f__4.0f_
mov dword [esp + 4], 0x12c
call fcn.102376e0
add esp, 0x34
mov eax, esi
sub eax, dword [ebx + 8]
sar eax, 2
imul eax, eax, 0xba2e8ba3
push edi
push 0x103a5a9f
push eax
call fcn.10289d60
add esp, 0xc
cmp byte [0x103c5578], 0
mov dword [esp + 0x14], esi
je 0x10256404
push 0
mov byte [esp + 0x14], al
call fcn.1023cf40
add esp, 4
test al, al
mov al, byte [esp + 0x10]
je 0x10256404
movups xmm0, xmmword [esi + 4]
movups xmmword [esp + 0x38], xmm0
movaps xmm1, xmmword [0x1035a4f0]
movups xmmword [esp + 0x20], xmm1
cmp dword [esi], 0
mov edi, dword [esp + 8]
jle 0x10256394
mov eax, dword [ebx + 0x20]
movss xmm2, dword [0x1035a660]
movaps xmm1, xmm2
movss xmm4, dword [0x10357548]
movaps xmm3, xmm4
mov ecx, dword [esp + 0xc]
jmp 0x1025632d
add ecx, 1
mov edx, dword [edx]
add edx, dword [esp + 0xc]
cmp ecx, edx
jge 0x10256394
mov edx, ecx
test edi, edi
je 0x10256337
movzx edx, word [edi + ecx*2]
lea edx, [edx + edx*4]
movss xmm5, dword [eax + edx*4]
ucomiss xmm4, xmm5
jbe 0x1025634d
movss dword [esp + 0x20], xmm5
movaps xmm4, xmm5
movss xmm5, dword [eax + edx*4 + 4]
ucomiss xmm3, xmm5
jbe 0x10256361
movss dword [esp + 0x24], xmm5
movaps xmm3, xmm5
lea esi, [eax + edx*4]
movss xmm5, dword [esi]
ucomiss xmm2, xmm5
jae 0x10256376
movss dword [esp + 0x28], xmm5
movaps xmm2, xmm5
lea edx, [eax + edx*4]
add edx, 4
movss xmm5, dword [edx]
ucomiss xmm1, xmm5
mov edx, dword [esp + 0x14]
jae 0x10256320
movss dword [esp + 0x2c], xmm5
movaps xmm1, xmm5
jmp 0x10256320
cvttps2dq xmm0, xmm0
cvtdq2ps xmm0, xmm0
movups xmmword [esp + 0x38], xmm0
sub esp, 0x18
movaps xmm0, xmmword [0x1035a780]
movups xmmword [esp + 8], xmm0
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.1025ca40
cvttps2dq xmm0, xmmword [esp + 0x20]
cvtdq2ps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
sub esp, 0x18
movaps xmm0, xmmword [0x1035a550]
movups xmmword [esp + 8], xmm0
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
mov ecx, esi
mov esi, dword [esp + 0x2c]
call fcn.1025ca40
mov al, byte [esp + 0x10]
test al, al
je 0x102561e1
mov ecx, dword [esi]
mov eax, ecx
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
push dword [esi + 0x1c]
push dword [esi + 0x18]
push edx
push ecx
push str.ElemCount:__d__ElemCount_3:__d__VtxOffset:__d__IdxOffset:__d
call fcn.10274700
add esp, 0x14
mov eax, 0xaaaaaaab
mul dword [esi]
shr edx, 1
mov eax, dword [0x1042dd60]
mov eax, dword [eax + 0x19b4]
movss xmm0, dword [eax + 0xcc]
movss dword [esp + 0x38], xmm0
mov dword [esp + 0x3c], 0xbf800000
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.10239a40
test al, al
mov edi, dword [esp + 8]
je 0x10256746
mov eax, dword [esp + 0xc]
add eax, 2
mov dword [esp + 0x50], eax
jmp 0x102564b1
lea ecx, [esp + 0x38]
call fcn.10239a40
test al, al
je 0x10256746
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jge 0x102564a0
lea esi, [eax + eax*2]
add esi, dword [esp + 0x50]
sub ecx, eax
jmp 0x102564dc
add esi, 3
mov ecx, dword [esp + 0x10]
add ecx, 0xffffffff
je 0x102564a0
mov dword [esp + 0x10], ecx
lea eax, [esi - 2]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov ecx, eax
test edi, edi
je 0x10256506
movzx ecx, word [edi + esi*2 - 4]
mov edx, dword [ebx + 0x20]
lea ecx, [ecx + ecx*4]
movsd xmm0, qword [edx + ecx*4]
movsd qword [esp + 0x20], xmm0
mov edi, dword [edx + ecx*4 + 0x10]
movss xmm0, dword [edx + ecx*4 + 0xc]
cvtss2sd xmm0, xmm0
movss xmm1, dword [edx + ecx*4 + 8]
cvtss2sd xmm1, xmm1
movss xmm2, dword [edx + ecx*4]
movss xmm3, dword [edx + ecx*4 + 4]
cvtss2sd xmm3, xmm3
cvtss2sd xmm2, xmm2
sub esp, 0x38
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x40]
movsd qword [esp + 0x2c], xmm0
movsd qword [esp + 0x24], xmm1
movsd qword [esp + 0x1c], xmm3
movsd qword [esp + 0x14], xmm2
mov dword [esp + 0x10], eax
lea eax, [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 0xc], str.elem
mov dword [esp + 8], str._s__04d:_pos___8.2f__8.2f___uv___.6f__.6f___col__08X_n
mov dword [esp + 4], 0x12c
call fcn.102376e0
add esp, 0x38
lea ecx, [esi - 1]
mov edx, ecx
test edi, edi
je 0x102565a1
movzx edx, word [edi + esi*2 - 2]
mov edi, dword [ebx + 0x20]
lea edx, [edx + edx*4]
movsd xmm0, qword [edi + edx*4]
movsd qword [esp + 0x28], xmm0
movss xmm0, dword [edi + edx*4 + 0xc]
movss xmm1, dword [edi + edx*4 + 8]
movss xmm2, dword [edi + edx*4]
movss xmm3, dword [edi + edx*4 + 4]
mov edx, dword [edi + edx*4 + 0x10]
mov edi, 0x12c
sub edi, eax
lea ebx, [esp + eax]
add ebx, 0x60
cvtss2sd xmm0, xmm0
cvtss2sd xmm1, xmm1
cvtss2sd xmm3, xmm3
cvtss2sd xmm2, xmm2
sub esp, 0x38
mov dword [esp + 0x34], edx
movsd qword [esp + 0x2c], xmm0
movsd qword [esp + 0x24], xmm1
movsd qword [esp + 0x1c], xmm3
movsd qword [esp + 0x14], xmm2
mov dword [esp + 0x10], ecx
mov dword [esp + 4], edi
mov edi, dword [esp + 0x40]
mov dword [esp], ebx
mov dword [esp + 0xc], 0x103ac8ba
mov dword [esp + 8], str._s__04d:_pos___8.2f__8.2f___uv___.6f__.6f___col__08X_n
call fcn.102376e0
add esp, 0x38
add eax, ebx
mov ecx, esi
test edi, edi
je 0x1025663c
movzx ecx, word [edi + esi*2]
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x20]
lea ecx, [ecx + ecx*4]
movsd xmm0, qword [edx + ecx*4]
movsd qword [esp + 0x30], xmm0
movss xmm0, dword [edx + ecx*4 + 0xc]
movss xmm1, dword [edx + ecx*4 + 8]
movss xmm2, dword [edx + ecx*4]
movss xmm3, dword [edx + ecx*4 + 4]
mov ecx, dword [edx + ecx*4 + 0x10]
cvtss2sd xmm0, xmm0
cvtss2sd xmm1, xmm1
cvtss2sd xmm3, xmm3
cvtss2sd xmm2, xmm2
lea edx, [esp + 0x18c]
sub edx, eax
sub esp, 0x38
mov dword [esp + 0x34], ecx
movsd qword [esp + 0x2c], xmm0
movsd qword [esp + 0x24], xmm1
movsd qword [esp + 0x1c], xmm3
movsd qword [esp + 0x14], xmm2
mov dword [esp + 0x10], esi
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0x103ac8ba
mov dword [esp + 8], str._s__04d:_pos___8.2f__8.2f___uv___.6f__.6f___col__08X_n
call fcn.102376e0
add esp, 0x38
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x58]
push eax
push 0
push 0
lea eax, [esp + 0x6c]
push eax
call fcn.1027b4c0
add esp, 0x10
push 0
call fcn.1023cf40
add esp, 4
test al, al
je 0x102564d0
mov ebx, dword [esp + 0x54]
mov edi, dword [ebx + 0x1ce0]
mov eax, edi
and eax, 0xfffffffe
mov dword [ebx + 0x1ce0], eax
sub esp, 0x14
movaps xmm0, xmmword [0x1035a790]
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
call fcn.1025ad30
mov dword [ebx + 0x1ce0], edi
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x1c]
jmp 0x102564d0
call fcn.1028ac00
mov esi, dword [esp + 0x14]
jmp 0x102561e1
call fcn.1028ac00
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret