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

Disassembly:
sub esp, 0x1a4
mov eax, dword [edx + 0x2c]
test eax, eax
push ebx
push esi
push edi
push dword [edx]
mov esi, 0x101b2abe
mov dword [esp + 0x20], edx
push dword [edx + 0xc]
cmovne esi, eax
mov edi, ecx
push dword [edx + 0x18]
push esi
push str.DrawList
push str._s:__s__d_vtx___d_indices___d_cmds
push edx
call fcn.1007e7a0
mov edx, dword [0x102062d4]
mov bl, al
mov eax, dword [esp + 0x38]
add esp, 0x1c
mov ecx, dword [edx + 0x1a18]
mov byte [ecx + 0x84], 1
mov ecx, dword [edx + 0x1a18]
cmp eax, dword [ecx + 0x294]
jne 0x10020c93
movss xmm1, dword [0x101c7564]
xorps xmm0, xmm0
call fcn.10017c10
movaps xmm0, xmmword [0x101c7ba0]
lea eax, [esp + 0x74]
push str.CURRENTLY_APPENDING
push eax
movups xmmword [esp + 0x7c], xmm0
call fcn.1006b620
add esp, 8
test bl, bl
je 0x100214e2
pop edi
pop esi
pop ebx
add esp, 0x1a4
jmp fcn.1007f7c0
lea esi, [edx + 0x1d70]
mov dword [esp + 0x24], esi
test edi, edi
je 0x10020d87
cmp byte [edx + 0x1ba3], 0
je 0x10020cd9
cmp byte [edx + 0x1ba2], 0
jne 0x10020cd9
mov eax, dword [edx + 0x1b54]
test eax, eax
je 0x10020ccd
cmp eax, dword [ecx + 0x114]
jne 0x10020ccd
mov al, 1
jmp 0x10020ccf
xor al, al
test al, al
je 0x10020d87
jmp 0x10020d40
test byte [ecx + 0x118], 1
je 0x10020d87
mov eax, dword [edx + 0x1a20]
cmp eax, dword [ecx + 0x338]
jne 0x10020d87
mov eax, dword [edx + 0x1a50]
test eax, eax
je 0x10020d18
cmp eax, dword [ecx + 0x114]
je 0x10020d18
cmp byte [edx + 0x1a5d], 0
jne 0x10020d18
cmp eax, dword [ecx + 0x48]
jne 0x10020d87
xor edx, edx
call fcn.1000cb00
test al, al
je 0x10020d87
test byte [ecx + 0x1a8], 4
jne 0x10020d87
mov eax, dword [ecx + 0x114]
cmp eax, dword [ecx + 0x48]
jne 0x10020d40
cmp byte [ecx + 0x84], 0
jne 0x10020d87
movss xmm0, dword [edi + 0xc]
lea eax, [edi + 0xc]
addss xmm0, dword [edi + 0x14]
push ecx
mov dword [esp], 0x3f800000
push 0xf
push ecx
movss dword [esp + 0x58], xmm0
lea ecx, [esp + 0x58]
movss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 0x18]
mov dword [esp], 0
push 0xff00ffff
push ecx
push eax
mov ecx, esi
movss dword [esp + 0x68], xmm0
call fcn.1005e980
test bl, bl
je 0x100214e2
test edi, edi
je 0x10020da9
cmp byte [edi + 0x83], 0
jne 0x10020da9
push str.Warning:_owning_Window_is_inactive._This_DrawList_is_not_being_rendered_
call fcn.1006b740
add esp, 4
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov edx, dword [edi + 8]
mov eax, dword [edi]
mov dword [esp + 0x10], edx
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
cmp edx, eax
jae 0x100214d4
nop dword [eax]
mov eax, dword [edx + 0x20]
lea ebx, [edx + 0x1c]
mov dword [esp + 0x20], ebx
test eax, eax
jne 0x10021499
mov ecx, dword [ebx]
mov eax, ebx
test ecx, ecx
je 0x100214b0
cmp dword [edi + 0xc], 0
jle 0x10020df9
mov ebx, dword [edi + 0x14]
jmp 0x10020dfb
xor ebx, ebx
movss xmm0, dword [edx + 0xc]
sub esp, 0x20
cvtps2pd xmm0, xmm0
mov eax, 0xaaaaaaab
mov dword [esp + 0x48], ebx
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [edx + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [edx + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [edx]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [edx + 0x10]
mul ecx
lea eax, [esp + 0xa8]
shr edx, 1
push edx
push str.DrawCmd:_5d_triangles__Tex_0x_p__ClipRect___4.0f__4.0f____4.0f__4.0f_
push 0x12c
push eax
call fcn.10008310
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xb8]
sub ecx, dword [edi + 8]
push eax
mov eax, 0x66666667
imul ecx
push 0x101b30b0
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.1007e7a0
mov edx, dword [0x102062d4]
add esp, 0x40
mov byte [esp + 0x1b], al
cmp byte [edx + 0x1ba3], 0
mov ecx, dword [edx + 0x1a18]
je 0x10020ece
cmp byte [edx + 0x1ba2], 0
jne 0x10020ece
mov eax, dword [edx + 0x1b54]
test eax, eax
je 0x10020ec2
cmp eax, dword [ecx + 0x114]
jne 0x10020ec2
mov al, 1
jmp 0x10020ec4
xor al, al
test al, al
je 0x10020f62
jmp 0x10020f31
test byte [ecx + 0x118], 1
je 0x10020f62
mov eax, dword [edx + 0x1a20]
cmp eax, dword [ecx + 0x338]
jne 0x10020f62
mov eax, dword [edx + 0x1a50]
test eax, eax
je 0x10020f09
cmp eax, dword [ecx + 0x114]
je 0x10020f09
cmp byte [edx + 0x1a5d], 0
jne 0x10020f09
cmp eax, dword [ecx + 0x48]
jne 0x10020f62
xor edx, edx
call fcn.1000cb00
test al, al
je 0x10020f62
test byte [ecx + 0x1a8], 4
jne 0x10020f62
mov eax, dword [ecx + 0x114]
cmp eax, dword [ecx + 0x48]
jne 0x10020f31
cmp byte [ecx + 0x84], 0
jne 0x10020f62
mov cl, byte [0x101e69f8]
mov al, byte [0x101e69f0]
test cl, cl
jne 0x10020f44
test al, al
je 0x10020f62
test esi, esi
je 0x10020f62
movzx eax, al
mov edx, edi
push eax
movzx eax, cl
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.10020890
add esp, 0x10
cmp byte [esp + 0x1b], 0
mov edx, dword [esp + 0x20]
mov eax, edx
je 0x100214ac
mov ecx, dword [esp + 0xc]
xorps xmm5, xmm5
mov eax, dword [edx]
mov edi, ecx
add eax, ecx
cmp ecx, eax
jae 0x100210a2
mov eax, dword [esp + 0x1c]
lea esi, [ecx + 2]
lea esi, [ebx + esi*2]
mov dword [esp + 0x14], esi
mov edx, dword [eax + 0x20]
nop dword [eax]
lea eax, [esp + 0x2c]
mov ecx, 3
nop dword [eax]
mov dword [eax + 4], 0
lea eax, [eax + 8]
mov dword [eax - 8], 0
sub ecx, 1
jne 0x10020fb0
test ebx, ebx
je 0x10020ff3
movzx eax, word [esi - 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edx + ecx*4 + 4]
mov dword [esp + 0x2c], eax
movzx eax, word [esi - 2]
movzx esi, word [esi]
mov dword [esp + 0x30], ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edx + ecx*4 + 4]
jmp 0x10021013
lea ecx, [edi + edi*4]
mov eax, dword [edx + ecx*4]
lea esi, [edi + 2]
mov ecx, dword [edx + ecx*4 + 4]
mov dword [esp + 0x30], ecx
lea ecx, [esi + esi*4]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + ecx*4 - 0x14]
mov ecx, dword [edx + ecx*4 - 0x10]
movss xmm3, dword [esp + 0x30]
add edi, 3
mov dword [esp + 0x38], ecx
lea ecx, [esi + esi*4]
movss xmm0, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [edx + ecx*4]
mov ecx, dword [edx + ecx*4 + 4]
add dword [esp + 0x14], 6
mov dword [esp + 0x40], ecx
movss xmm4, dword [esp + 0x40]
subss xmm0, dword [esp + 0x40]
subss xmm4, xmm3
mov ebx, dword [esp + 0x28]
subss xmm3, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esi]
mulss xmm0, dword [esp + 0x2c]
add eax, dword [esp + 0xc]
mulss xmm4, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mulss xmm3, dword [esp + 0x3c]
addss xmm4, xmm0
addss xmm4, xmm3
andps xmm4, xmmword [0x101c7de0]
mulss xmm4, dword [0x101c7324]
addss xmm5, xmm4
cmp edi, eax
jb 0x10020fa0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
sub esp, 8
cvtps2pd xmm0, xmm5
movsd qword [esp], xmm0
push dword [eax + 0x18]
push dword [eax + 0x14]
mov eax, dword [edx]
push eax
push str.Mesh:_ElemCount:__d__VtxOffset:__d__IdxOffset:__d__Area:__0.f_px
lea eax, [esp + 0x9c]
push 0x12c
push eax
call fcn.10008310
lea eax, [esp + 0x8c]
mov dword [esp + 0x8c], 0
push eax
push 0
xor dl, dl
mov dword [esp + 0x98], 0
lea ecx, [esp + 0xac]
call fcn.1007fb10
mov esi, dword [0x102062d4]
add esp, 0x28
cmp byte [esi + 0x1ba3], 0
mov ecx, dword [esi + 0x1a18]
je 0x10021217
cmp byte [esi + 0x1ba2], 0
jne 0x10021217
mov eax, dword [esi + 0x1b54]
test eax, eax
je 0x1002113e
cmp eax, dword [ecx + 0x114]
jne 0x1002113e
mov al, 1
jmp 0x10021140
xor al, al
test al, al
jne 0x1002128e
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 0x1a18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x64], 0xbf800000
mov dword [esp + 0x60], 0
movss xmm0, dword [eax + 0xd4]
mov eax, 0xaaaaaaab
mul dword [ecx]
movss dword [esp + 0x68], xmm0
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0xffffffff
shr edx, 1
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], 0
call fcn.1000a100
test al, al
je 0x10021486
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
lea edi, [edi + eax*2]
add edi, eax
cmp eax, edx
jge 0x10021471
sub edx, eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x4c], edx
nop dword [eax]
lea eax, [esp + 0x84]
mov ecx, 3
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [eax + 4], 0
lea eax, [eax + 8]
mov dword [eax - 8], 0
sub ecx, 1
jne 0x100211e4
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x100212bd
movzx eax, word [ebx + edi*2]
jmp 0x100212bf
test byte [ecx + 0x118], 1
je 0x10021148
mov eax, dword [esi + 0x1a20]
cmp eax, dword [ecx + 0x338]
jne 0x10021148
mov eax, dword [esi + 0x1a50]
test eax, eax
je 0x1002125a
cmp eax, dword [ecx + 0x114]
je 0x1002125a
cmp byte [esi + 0x1a5d], 0
jne 0x1002125a
cmp eax, dword [ecx + 0x48]
jne 0x10021148
xor edx, edx
call fcn.1000cb00
test al, al
je 0x10021148
test byte [ecx + 0x1a8], 4
jne 0x10021148
mov eax, dword [ecx + 0x114]
cmp eax, dword [ecx + 0x48]
jne 0x1002128e
cmp byte [ecx + 0x84], 0
jne 0x10021148
cmp dword [esp + 0x24], 0
mov edi, dword [esp + 0xc]
je 0x1002114c
mov edx, dword [esp + 0x1c]
push 0
push 1
push edi
push dword [esp + 0x1c]
call fcn.10020890
mov esi, dword [0x102062d4]
add esp, 0x10
jmp 0x1002114c
mov eax, edi
mov ebx, dword [esp + 0x14]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [edx + esi*4]
mov ecx, dword [edx + esi*4 + 4]
mov dword [ebx], eax
mov eax, ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, 0x101b3104
push dword [edx + esi*4 + 0x10]
movss xmm0, dword [edx + esi*4 + 0xc]
mov eax, str.Vert:
cvtps2pd xmm0, xmm0
sub esp, 0x20
movsd qword [esp + 0x18], xmm0
movss xmm0, dword [edx + esi*4 + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [edx + esi*4 + 4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [edx + esi*4]
mov esi, dword [esp + 0x6c]
test esi, esi
cvtps2pd xmm0, xmm0
cmovne eax, ecx
movsd qword [esp], xmm0
push edi
push eax
lea eax, [esp + 0x1dc]
push str._s__04d:_pos___8.2f__8.2f___uv___.6f__.6f___col__08X_n
sub eax, ebx
push eax
push ebx
call fcn.10008310
add dword [esp + 0x4c], 8
add ebx, eax
inc esi
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x60]
add esp, 0x38
inc edi
mov dword [esp + 0x48], esi
cmp esi, 3
jl 0x10021206
lea eax, [esp + 0x74]
xor dl, dl
push eax
push 0
lea ecx, [esp + 0x8c]
call fcn.1007fb10
add esp, 8
cmp dword [esp + 0x24], 0
je 0x10021466
mov edx, dword [0x102062d4]
cmp byte [edx + 0x1ba3], 0
mov ecx, dword [edx + 0x1a18]
je 0x100213ce
cmp byte [edx + 0x1ba2], 0
jne 0x100213ce
mov eax, dword [edx + 0x1b54]
test eax, eax
je 0x100213c2
cmp eax, dword [ecx + 0x114]
jne 0x100213c2
mov al, 1
jmp 0x100213c4
xor al, al
test al, al
je 0x10021466
jmp 0x10021435
test byte [ecx + 0x118], 1
je 0x10021466
mov eax, dword [edx + 0x1a20]
cmp eax, dword [ecx + 0x338]
jne 0x10021466
mov eax, dword [edx + 0x1a50]
test eax, eax
je 0x1002140d
cmp eax, dword [ecx + 0x114]
je 0x1002140d
cmp byte [edx + 0x1a5d], 0
jne 0x1002140d
cmp eax, dword [ecx + 0x48]
jne 0x10021466
xor edx, edx
call fcn.1000cb00
test al, al
je 0x10021466
test byte [ecx + 0x1a8], 4
jne 0x10021466
mov eax, dword [ecx + 0x114]
cmp eax, dword [ecx + 0x48]
jne 0x10021435
cmp byte [ecx + 0x84], 0
jne 0x10021466
mov ecx, dword [esp + 0x24]
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 + 0x38]
push 3
push eax
call fcn.1005cd50
mov eax, dword [esp + 0x24]
mov dword [eax + 0x24], esi
sub dword [esp + 0x4c], 1
jne 0x100211d0
lea ecx, [esp + 0x54]
call fcn.1000a100
mov edi, dword [esp + 0xc]
test al, al
jne 0x100211a2
call fcn.1007f7c0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
jmp 0x100214ac
push dword [edx + 0x24]
push eax
push str.Callback__p__user_data__p
call fcn.1006bc90
add esp, 0xc
mov eax, ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add edx, 0x28
add ecx, dword [eax]
mov eax, dword [edi]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
lea eax, [eax + ecx*8]
cmp edx, eax
jb 0x10020dd0
pop edi
pop esi
pop ebx
add esp, 0x1a4
jmp fcn.1007f7c0
pop edi
pop esi
pop ebx
add esp, 0x1a4
ret