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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
mov eax, dword [0x10045040]
xor eax, esp
mov dword [esp + 0x1a4], eax
push esi
push edi
mov edi, ecx
xor eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x50], eax
cmp dword [edi + 0x4c], eax
jg 0x10020f72
push 0x75e
push str.E:Sources_C__ImGui__Git__TrainerTrainerimguiimgui_draw.cpp
push str.atlas__ConfigData.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
xor eax, eax
cmp dword [edi + 0x58], eax
jge 0x10020f97
test byte [edi + 4], 2
jne 0x10020f86
push 0x1b
push 0xd9
jmp 0x10020f8a
push 2
push 2
push ecx
mov ecx, edi
call fcn.10020c84
mov dword [edi + 0x58], eax
xor eax, eax
xorps xmm0, xmm0
mov dword [edi + 8], eax
mov ecx, edi
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], eax
movups xmmword [edi + 0x24], xmm0
call fcn.10020646
mov esi, dword [edi + 0x4c]
xor eax, eax
mov dword [esp + 0x64], eax
mov edx, eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x2c], esi
push 8
pop edx
test esi, esi
jle 0x10021005
cmp esi, edx
mov eax, esi
cmovl eax, edx
mov dword [esp + 0x28], eax
test eax, eax
jle 0x10021005
imul ecx, eax, 0xc4
call fcn.1000b704
mov ecx, dword [esp + 0x28]
push 8
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
pop edx
lea eax, [edi + 0x34]
mov dword [esp + 0x60], esi
mov ecx, dword [eax]
mov dword [esp + 0x24], eax
mov dword [esp + 8], ecx
test ecx, ecx
jle 0x10021045
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
mov dword [esp + 0x28], eax
test eax, eax
jle 0x10021045
imul ecx, eax, 0x18
call fcn.1000b704
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ecx
imul ecx, esi, 0xc4
xor esi, esi
push ecx
push esi
push dword [esp + 0x74]
call sub.VCRUNTIME140.dll_memset
imul eax, dword [esp + 0x14], 0x18
add esp, 0xc
push eax
push esi
push dword [esp + 0x50]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
add esp, 0xc
mov ecx, edx
mov dword [esp + 0x10], edx
cmp dword [edi + 0x4c], edx
jle 0x1002122c
push ecx
lea ecx, [esp + 0x64]
call fcn.10023a79
push dword [esp + 0x10]
lea ecx, [edi + 0x4c]
mov esi, eax
call fcn.100181d7
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x74]
test eax, eax
je 0x100210b1
cmp dword [eax + 0x38], 0
je 0x100210c9
cmp dword [eax + 0x38], edi
je 0x100210c9
push 0x776
push str.E:Sources_C__ImGui__Git__TrainerTrainerimguiimgui_draw.cpp
push str.cfg.DstFont____cfg.DstFont__IsLoaded____cfg.DstFont__ContainerAtlas__atlas_
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
or dword [esi + 0xa0], 0xffffffff
lea ecx, [edi + 0x34]
xor eax, eax
cmp dword [ecx], eax
jle 0x10021108
mov edi, eax
cmp dword [esi + 0xa0], 0xffffffff
jne 0x10021104
push edi
call fcn.10017ca5
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x74]
cmp ecx, dword [eax]
jne 0x100210fb
mov dword [esi + 0xa0], edi
mov ecx, dword [esp + 0x24]
inc edi
cmp edi, dword [ecx]
jl 0x100210db
mov edi, dword [esp + 0x34]
cmp dword [esi + 0xa0], 0xffffffff
jne 0x10021136
push 0x77d
push str.E:Sources_C__ImGui__Git__TrainerTrainerimguiimgui_draw.cpp
push str.src_tmp.DstIndex____1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp dword [esi + 0xa0], 0xffffffff
je 0x10021f57
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
call fcn.10019098
mov dword [esp + 0x28], eax
test eax, eax
jns 0x10021168
push 0x783
push str.E:Sources_C__ImGui__Git__TrainerTrainerimguiimgui_draw.cpp
push str.font_offset___0___FontData_is_incorrect__or_FontNo_cannot_be_found._
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x34]
add esp, 0xc
push eax
mov eax, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [eax]
call fcn.100191ed
pop ecx
test eax, eax
je 0x10021f57
mov eax, dword [esi + 0xa0]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 8]
jl 0x100211ab
push 0x4f8
push str.E:Sources_C__ImGui__Git__TrainerTrainerimguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x1c]
imul ecx, eax, 0x18
mov eax, 0x1003faa4
add ecx, dword [esp + 0x48]
cmp dword [edx + 0x30], 0
mov dword [esp + 0x28], ecx
cmovne eax, dword [edx + 0x30]
xor edx, edx
mov dword [esi + 0x9c], eax
mov dword [esp + 0x30], eax
cmp word [eax], dx
je 0x10021208
movzx eax, word [eax + 2]
test ax, ax
je 0x10021204
mov ecx, eax
mov eax, dword [esi + 0xa4]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [esi + 0xa4], ecx
mov dword [esp + 0x30], eax
cmp word [eax], dx
jne 0x100211d8
mov ecx, dword [esp + 0x28]
inc dword [ecx]
mov eax, dword [esi + 0xa4]
cmp dword [ecx + 4], eax
cmovge eax, dword [ecx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [edi + 0x4c]
jl 0x10021083
cmp dword [esp + 0x2c], 0
mov ecx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 1
jle 0x100214de
mov edi, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x64]
call fcn.10023a79
mov esi, eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x14], esi
push dword [esi + 0xa0]
call fcn.10017942
mov ecx, dword [esi + 0xa4]
add ecx, 0x20
mov dword [esp + 0x30], eax
sar ecx, 5
lea eax, [esi + 0xac]
push ecx
mov ecx, eax
mov dword [esp + 0x28], eax
call fcn.10017cd7
lea ecx, [esi + 0xac]
xor esi, esi
mov eax, dword [ecx]
shl eax, 2
push eax
push esi
push dword [ecx + 8]
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x3c]
xor eax, eax
add esp, 0xc
lea edx, [ecx + 0xc]
mov dword [esp + 0x10], edx
cmp dword [edx], eax
jne 0x100212e2
mov eax, dword [ecx + 4]
mov ecx, edx
add eax, 0x20
sar eax, 5
push eax
call fcn.10017cd7
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
shl eax, 2
push eax
push esi
push dword [ecx + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x9c]
cmp word [esi], ax
je 0x100213c1
movzx ecx, word [esi + 2]
test cx, cx
je 0x100213bd
movzx edi, word [esi]
cmp edi, ecx
ja 0x100213af
xor edx, edx
mov ecx, edi
inc edx
and ecx, 0x1f
shl edx, cl
mov eax, edi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
sar eax, 5
mov dword [esp + 0x18], eax
cmp eax, dword [edx]
jl 0x10021348
push 0x4f9
push str.E:Sources_C__ImGui__Git__TrainerTrainerimguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
test dword [eax + ecx*4], edx
jne 0x100213a2
mov ecx, dword [esp + 0x14]
mov edx, edi
call fcn.100195bb
test eax, eax
je 0x100213a2
mov eax, dword [esp + 0x14]
push dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
inc dword [eax + 0xa8]
mov eax, dword [esp + 0x34]
inc dword [eax + 8]
call fcn.10017ca5
mov ecx, dword [esp + 0xc]
push dword [esp + 0x18]
or dword [eax], ecx
mov ecx, dword [esp + 0x14]
call fcn.10017ca5
mov ecx, dword [esp + 0xc]
or dword [eax], ecx
inc dword [esp + 0x1c]
movzx eax, word [esi + 2]
inc edi
cmp edi, eax
jbe 0x1002130d
add esi, 4
xor eax, eax
cmp word [esi], ax
jne 0x100212f5
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, edi
jl 0x1002124d
mov edi, dword [esp + 0x34]
mov dword [esp + 0x30], eax
push eax
lea ecx, [esp + 0x64]
call fcn.10023a79
mov esi, eax
mov dword [esp + 0xc], esi
push dword [esi + 0xa8]
lea eax, [esi + 0xb8]
mov ecx, eax
mov dword [esp + 0x44], eax
call fcn.10017bf4
mov ecx, dword [esi + 0xb4]
mov eax, dword [esi + 0xac]
mov dword [esp + 0x20], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x14], eax
cmp ecx, eax
jae 0x10021476
xor esi, esi
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
test edx, edx
je 0x10021460
xor edi, edi
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
test edx, eax
je 0x10021452
mov ecx, dword [esp + 0x40]
mov eax, esi
and eax, 0xffffffe0
add eax, edi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
call fcn.10017d22
mov edx, dword [esp + 0x18]
inc edi
cmp edi, 0x20
jl 0x1002142a
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add ecx, 4
add esi, 0x20
mov dword [esp + 0x20], ecx
cmp ecx, eax
jb 0x1002141e
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0xb4]
test ecx, ecx
je 0x100214a1
xor eax, eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xac], eax
call fcn.1000b71c
mov eax, dword [esp + 0xc]
xor esi, esi
mov dword [eax + 0xb4], esi
mov esi, eax
mov eax, dword [esi + 0xb8]
cmp eax, dword [esi + 0xa8]
je 0x100214c7
push 0x7b2
push str.E:Sources_C__ImGui__Git__TrainerTrainerimguiimgui_draw.cpp
push str.src_tmp.GlyphsList.Size__src_tmp.GlyphsCount
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x2c]
jl 0x100213da
xor edx, edx
jmp 0x100214e2
mov dword [esp + 0x1c], edx
cmp dword [esp + 8], 0
mov eax, edx
mov dword [esp + 0x20], edx
jle 0x1002152d
mov edi, dword [esp + 8]
push eax
lea ecx, [esp + 0x58]
call fcn.10017942
mov esi, eax
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1002151a
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
call fcn.1000b71c
xor edx, edx
mov dword [esi + 0x14], edx
jmp 0x1002151c
xor edx, edx
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, edi
jl 0x100214f3
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10021542
mov ecx, eax
call fcn.1000b71c
xor edx, edx
mov dword [esp + 0x48], edx
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
push esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x14], edx
call fcn.100239d7
test esi, esi
jle 0x1002157e
push 8
pop ecx
cmp esi, ecx
mov eax, esi
cmovl eax, ecx
test eax, eax
jle 0x1002157e
imul ecx, eax, 0x1c
call fcn.1000b704
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x54]
xor esi, esi
mov eax, dword [esp + 0x5c]
shl ecx, 4
push ecx
push esi
push eax
mov dword [esp + 0x3c], eax
call sub.VCRUNTIME140.dll_memset
imul eax, dword [esp + 0x28], 0x1c
add esp, 0xc
push eax
push esi
push dword [esp + 0x18]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov edx, eax
mov dword [esp + 0xc], eax
mov ecx, eax
mov dword [esp + 8], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x2c], eax
jle 0x1002182c
push ecx
lea ecx, [esp + 0x64]
call fcn.10023a79
mov esi, eax
xor eax, eax
mov dword [esp + 0x20], esi
cmp dword [esi + 0xa8], eax
je 0x10021815
push dword [esp + 0xc]
lea ecx, [esp + 0x58]
call fcn.10023a45
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x94], eax
cmp ecx, dword [esp + 0x1c]
jl 0x10021624
push 0x4f8
push str.E:Sources_C__ImGui__Git__TrainerTrainerimguiimgui.h
push str.i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push dword [esp + 0x14]
imul eax, ecx, 0x1c
add eax, dword [esp + 0x14]
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0xa8]
add ecx, eax
add dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
lea ecx, [edi + 0x4c]
call fcn.100181d7
mov edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], edx
mov ecx, dword [edx + 0x10]
mov dword [esi + 0x7c], ecx
xor esi, esi
mov dword [eax + 0x80], esi
mov esi, eax
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0xc0]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x98]
mov dword [esi + 0x84], ecx
mov dword [esi + 0x8c], eax
mov al, byte [edx + 0x14]
mov byte [esi + 0x90], al
mov al, byte [edx + 0x18]
mov byte [esi + 0x91], al
movss xmm1, dword [edx + 0x10]
comiss xmm1, dword [0x100415d8]
jbe 0x100216ba
mov ecx, esi
call fcn.1001b23a
movss dword [esp + 0x20], xmm0
jmp 0x100216e7
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 4]
xorps xmm1, xmmword [0x100418a0]
movzx ecx, byte [edx + eax + 0x12]
movzx eax, byte [edx + eax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x20], xmm1
mov edx, dword [edi + 0x10]
xor eax, eax
mov ecx, eax
mov dword [esp + 0x40], ecx
cmp dword [esi + 0xb8], eax
jle 0x10021815
mov edi, dword [esp + 0x70]
mov dword [esp + 0x24], eax
movzx eax, dx
mov edx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], edx
lea eax, [esi + 0xb8]
push ecx
mov ecx, eax
call fcn.10017ca5
mov ecx, esi
mov edx, dword [eax]
call fcn.100195bb
mov dword [esp + 0x70], eax
test eax, eax
jne 0x1002174e
push 0x7e1
push str.E:Sources_C__ImGui__Git__TrainerTrainerimguiimgui_draw.cpp
push str.glyph_index_in_font___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x7c]
add esp, 0xc
movd xmm3, dword [edi + 0x18]
lea ecx, [esp + 0x44]
movd xmm2, dword [edi + 0x14]
mov edx, eax
push ecx
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x80]
cvtdq2ps xmm3, xmm3
push ecx
push ecx
push ecx
and dword [esp + 4], 0
mov ecx, esi
and dword [esp], 0
mulss xmm3, dword [esp + 0x38]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [esp + 0x38]
call fcn.1001b26f
mov cx, word [edi + 0x14]
add esp, 0x18
sub cx, word [esp + 0x74]
mov edx, dword [esp + 0x24]
dec cx
add cx, word [esp + 0x78]
add cx, word [esp + 0x4c]
mov eax, dword [esi + 0x94]
mov word [edx + eax + 4], cx
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x94]
dec cx
add cx, word [edi + 0x18]
add cx, word [esp + 0x3c]
mov word [edx + eax + 6], cx
mov eax, dword [esi + 0x94]
movzx ecx, word [edx + eax + 6]
movzx eax, word [edx + eax + 4]
add edx, 0x10
imul ecx, eax
lea eax, [esi + 0xb8]
mov dword [esp + 0x24], edx
add dword [esp + 8], ecx
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x40], ecx
cmp ecx, dword [eax]
jl 0x10021719
mov edi, dword [esp + 0x34]
xor eax, eax
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x2c]
jl 0x100215cd
mov edx, dword [esp + 8]
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x20], eax
test ecx, ecx
jg 0x10021889
movd xmm0, edx
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
mov ecx, 0x200
cvttss2si eax, xmm0
inc eax
movd xmm0, eax
mov eax, 0x400
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x10041704]
cmovae ecx, eax
mov eax, 0x800
comiss xmm0, dword [0x10041710]
cmovae ecx, eax
mov eax, 0x1000
comiss xmm0, dword [0x10041714]
cmovae ecx, eax
xor eax, eax
push 0x2c
push eax
lea eax, [esp + 0x84]
mov dword [edi + 0x1c], ecx
push eax
call sub.VCRUNTIME140.dll_memset
pop ecx
pop ecx
push dword [edi + 0x10]
push ecx
push ecx
push dword [edi + 0x1c]
lea ecx, [esp + 0x90]
call fcn.1001ce8b
mov edx, dword [esp + 0x94]
add esp, 0x14
mov ecx, edi
call fcn.10021faf
xor esi, esi
mov eax, esi
mov dword [esp + 0x40], esi
cmp dword [esp + 0x2c], eax
jle 0x10021968
push eax
lea ecx, [esp + 0x64]
call fcn.10023a79
mov esi, eax
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x10021953
mov edx, dword [esi + 0x94]
mov ecx, dword [esp + 0x80]
push eax
call fcn.10018aa6
xor eax, eax
pop ecx
mov ecx, eax
mov dword [esp + 0x24], ecx
cmp dword [esi + 0xa8], eax
jle 0x10021953
mov edx, eax
mov edi, dword [esi + 0x94]
cmp dword [edi + edx + 0xc], eax
mov edi, dword [esp + 0x34]
je 0x10021943
mov eax, dword [esi + 0x94]
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
cmp dword [edi + 0x20], ecx
cmovge ecx, dword [edi + 0x20]
xor eax, eax
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x24]
inc ecx
add edx, 0x10
mov dword [esp + 0x24], ecx
cmp ecx, dword [esi + 0xa8]
jl 0x10021911
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x2c]
jl 0x100218d5
xor esi, esi
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x10021996
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
mov ecx, dword [edi + 0x1c]
inc eax
movss xmm1, dword [0x1004164c]
movaps xmm2, xmm1
mov dword [edi + 0x20], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
call fcn.1000b704
mov ecx, dword [edi + 0x20]
imul ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
push ecx
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 0x14]
add esp, 0xc
cmp dword [esp + 0x2c], 0
mov dword [esp + 0xa0], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x88], eax
mov eax, esi
mov dword [esp + 0x1c], esi
jle 0x10021b96
lea ecx, [edi + 0x4c]
push eax
call fcn.100181d7
push dword [esp + 0x1c]
lea ecx, [esp + 0x64]
mov dword [esp + 0x40], eax
call fcn.10023a79
mov dword [esp + 8], eax
cmp dword [eax + 0xa8], esi
je 0x10021b80
push dword [eax + 0x94]
mov edx, eax
push ecx
lea ecx, [eax + 0x7c]
push ecx
lea ecx, [esp + 0x88]
call fcn.1001d3f1
mov eax, dword [esp + 0x48]
add esp, 0xc
movss xmm1, dword [eax + 0x44]
ucomiss xmm1, dword [0x1004164c]
movss dword [esp + 0x3c], xmm1
lahf
test ah, 0x44
jnp 0x10021b72
mov edi, 0xff
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10041870]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10035d80
movss xmm1, dword [esp + 0x3c]
cmp eax, edi
movzx ecx, al
cmova ecx, edi
mov byte [esp + esi + 0xa8], cl
inc esi
cmp esi, 0x100
jb 0x10021a75
mov esi, dword [esp + 8]
xor ecx, ecx
mov edi, dword [esp + 0x34]
mov edx, ecx
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x94]
cmp dword [esi + 0xa8], ecx
jle 0x10021b78
add eax, 4
mov dword [esp + 0x14], eax
cmp dword [eax + 8], ecx
je 0x10021b58
movzx edx, word [eax]
mov esi, dword [edi + 0x1c]
mov dword [esp + 0x3c], edx
movzx edx, word [eax + 6]
movzx eax, word [eax + 4]
imul edx, esi
mov dword [esp + 0x38], esi
add edx, eax
mov eax, dword [esp + 0x14]
add edx, dword [edi + 0x14]
movzx esi, word [eax + 2]
mov dword [esp + 0xc], esi
test esi, esi
mov esi, dword [esp + 8]
je 0x10021b54
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x3c]
mov edi, ecx
test esi, esi
je 0x10021b3b
movzx eax, byte [edi + edx]
mov al, byte [esp + eax + 0xa8]
mov byte [edi + edx], al
inc edi
cmp edi, esi
jl 0x10021b24
mov eax, dword [esp + 0xc]
add edx, dword [esp + 0x38]
dec eax
mov dword [esp + 0xc], eax
test eax, eax
jg 0x10021b1e
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc edx
add eax, 0x10
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
cmp edx, dword [esi + 0xa8]
jl 0x10021adf
jmp 0x10021b78
mov esi, dword [esp + 8]
xor ecx, ecx
mov dword [esi + 0x94], ecx
xor esi, esi
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 0x4c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x2c]
jl 0x10021a0d
mov ecx, dword [esp + 0xa4]
call fcn.1000b71c
mov ecx, dword [esp + 0x80]
call fcn.1000b71c
mov edx, dword [esp + 0x30]
test edx, edx
je 0x10021bc5
mov ecx, edx
call fcn.1000b71c
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x10021bc7
xor eax, eax
mov esi, dword [esp + 0x2c]
mov ecx, eax
mov dword [esp + 0x14], ecx
test esi, esi
jle 0x10021f2b
lea eax, [edi + 0x4c]
mov dword [esp + 0x3c], eax
push ecx
lea ecx, [esp + 0x64]
call fcn.10023a79
mov ecx, eax
xor eax, eax
mov dword [esp + 8], ecx
cmp dword [ecx + 0xa8], eax
je 0x10021ef8
push dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
call fcn.100181d7
mov esi, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [eax + 0x74]
movss xmm1, dword [eax + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, esi
call fcn.1001b23a
mov edi, dword [esi + 0x1c]
mov esi, dword [esi + 4]
movss dword [esp + 0x78], xmm0
lea ecx, [esi + 4]
add ecx, edi
call fcn.10018f7d
cwde
lea ecx, [esi + 6]
add ecx, edi
mov dword [esp + 0x4c], eax
call fcn.10018f7d
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x38]
cwde
mov dword [esp + 0x44], eax
lea eax, [edx + 0x4c]
cmp byte [esi + 0x3c], 0
mov dword [esp + 0x74], eax
jne 0x10021d2f
mov ecx, edx
call fcn.1002254b
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov eax, dword [esi + 0x10]
xorps xmm5, xmm5
and dword [esp + 0x38], 0
mov edi, dword [esp + 0x34]
mov dword [edx + 0x10], eax
xor eax, eax
movd xmm0, ecx
mov ecx, dword [esp + 0x44]
and dword [esp + 0x44], 0
movd xmm3, eax
mov eax, dword [esp + 0x4c]
movd xmm1, ecx
punpckldq xmm1, xmm3
movd xmm3, dword [esp + 0x38]
movd xmm2, eax
punpckldq xmm2, xmm0
movd xmm0, ecx
or ecx, 0xffffffff
cvtdq2ps xmm0, xmm0
mov dword [edx + 0x3c], esi
mov dword [edx + 0x38], edi
punpckldq xmm2, xmm1
comiss xmm0, xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cmova ecx, dword [esp + 0x28]
or eax, 0xffffffff
cvtdq2ps xmm4, xmm2
movss xmm2, dword [esp + 0x78]
comiss xmm0, xmm5
movd xmm0, dword [esp + 0x44]
movaps xmm1, xmm2
unpcklps xmm2, xmm1
cmova eax, dword [esp + 0x28]
mulps xmm4, xmm2
movd xmm1, ecx
movd xmm2, eax
mov eax, dword [esp + 0x74]
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
cvtdq2ps xmm0, xmm2
addps xmm4, xmm0
cvttps2dq xmm0, xmm4
cvtdq2ps xmm0, xmm0
movss dword [eax], xmm0
shufps xmm0, xmm0, 0x55
movss dword [edx + 0x50], xmm0
jmp 0x10021d33
mov edi, dword [esp + 0x34]
inc word [edx + 0x40]
movss xmm0, dword [esi + 0x28]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax]
addss xmm0, dword [0x1004161c]
mov ecx, dword [esp + 8]
cvttss2si eax, xmm0
movd xmm0, eax
xor eax, eax
mov edx, eax
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x24], edx
addss xmm0, dword [esi + 0x2c]
movss dword [esp + 0x44], xmm0
cmp dword [ecx + 0xa8], eax
jle 0x10021ef4
add ecx, 0xb8
mov dword [esp + 0x18], eax
push edx
call fcn.10017ca5
mov ecx, dword [esp + 0x18]
movss xmm7, dword [esi + 0x34]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 8]
mov edx, dword [eax + 0x98]
movss xmm0, dword [edx + ecx + 0x10]
comiss xmm7, xmm0
ja 0x10021db9
movss xmm7, dword [esi + 0x38]
minss xmm7, xmm0
movss xmm1, dword [esp + 0x38]
ucomiss xmm0, xmm7
movaps xmm6, xmm1
lahf
test ah, 0x44
jnp 0x10021def
cmp byte [esi + 0x1c], 0
movaps xmm6, xmm7
subss xmm6, xmm0
mulss xmm6, dword [0x1004161c]
je 0x10021deb
cvttss2si eax, xmm6
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, xmm1
movd xmm0, dword [edi + 0x1c]
sub esp, 0x1c
movss xmm3, dword [0x1004164c]
movss xmm2, dword [0x1004164c]
movzx eax, word [edx + ecx]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
divss xmm3, xmm0
movzx eax, word [edx + ecx + 2]
movd xmm0, dword [edi + 0x20]
cvtdq2ps xmm0, xmm0
movd xmm4, eax
movzx eax, word [edx + ecx + 4]
divss xmm2, xmm0
movd xmm1, eax
movzx eax, word [edx + ecx + 6]
cvtdq2ps xmm4, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
mulss xmm4, xmm2
movss xmm2, dword [edx + ecx + 8]
mulss xmm1, xmm3
movss dword [esp + 0x18], xmm7
movss dword [esp + 0x14], xmm0
movss xmm0, dword [edx + ecx + 0x18]
movss dword [esp + 0x10], xmm1
movss dword [esp + 0xc], xmm4
xorps xmm4, xmm4
addss xmm0, xmm4
cvtdq2ps xmm5, xmm5
addss xmm0, dword [esp + 0x60]
mulss xmm5, xmm3
addss xmm2, xmm4
movss xmm3, dword [edx + ecx + 0xc]
addss xmm3, xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm0
addss xmm2, xmm6
movss xmm0, dword [edx + ecx + 0x14]
mov ecx, dword [esp + 0x28]
addss xmm0, xmm4
addss xmm3, dword [esp + 0x60]
addss xmm0, xmm6
movss dword [esp], xmm0
push dword [esp + 0x68]
call fcn.100227d7
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x24]
add dword [esp + 0x18], 0x1c
inc edx
mov dword [esp + 0x24], edx
lea ecx, [eax + 0xb8]
cmp edx, dword [eax + 0xa8]
jl 0x10021d86
xor eax, eax
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, esi
jl 0x10021be0
test esi, esi
jle 0x10021f2b
push eax
lea ecx, [esp + 0x64]
call fcn.10023a79
mov ecx, eax
call fcn.10021f8d
mov eax, dword [esp + 0x50]
inc eax
mov dword [esp + 0x50], eax
cmp eax, esi
jl 0x10021f0d
mov ecx, edi
call fcn.10022338
xor eax, eax
inc eax
mov byte [esp + 0x50], al
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10021f48
mov ecx, eax
call fcn.1000b71c
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10021f57
mov ecx, eax
call fcn.1000b71c
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10021f66
mov ecx, eax
call fcn.1000b71c
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10021f75
mov ecx, eax
call fcn.1000b71c
mov ecx, dword [esp + 0x1ac]
mov al, byte [esp + 0x50]
pop edi
pop esi
xor ecx, esp
call fcn.10034bf9
mov esp, ebp
pop ebp
ret