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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push esi
mov esi, ecx
mov ecx, dword [0x1020f4b0]
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esi + 0x14]
mov dword [esp + 8], eax
mov dword [esi + 0x1c], eax
mov eax, dword fs:[0x2c]
mov byte [esi + 0x18], 1
mov dword [esp + 0xc], eax
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10217148]
cmp eax, dword [edi + 4]
jle 0x100a4f3c
push 0x10217148
call fcn.100d7b67
add esp, 4
cmp dword [0x10217148], 0xffffffff
jne 0x100a4f3c
mov eax, dword [0x10217098]
push 0x10217148
mov dword [0x10217144], eax
call fcn.100d7b16
add esp, 4
mov eax, dword [0x10217144]
mov ecx, dword [esp + 8]
mov eax, dword [eax + ecx]
mov dword [esi + 0x38], eax
mov eax, dword [0x102175e0]
cmp eax, dword [edi + 4]
jle 0x100a4f89
push 0x102175e0
call fcn.100d7b67
add esp, 4
cmp dword [0x102175e0], 0xffffffff
jne 0x100a4f85
mov eax, dword [0x102170c4]
push 0x102175e0
mov dword [0x102175f0], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x102175f0]
mov eax, dword [eax + ecx]
mov dword [esi + 0x3c], eax
mov eax, dword [0x10216f98]
cmp eax, dword [edi + 4]
jle 0x100a4fd2
push 0x10216f98
call fcn.100d7b67
add esp, 4
cmp dword [0x10216f98], 0xffffffff
jne 0x100a4fce
mov eax, dword [0x10216f6c]
push 0x10216f98
mov dword [0x10216fb4], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10216fb4]
mov eax, dword [eax + ecx]
mov dword [esi + 0x44], eax
mov eax, dword [0x102175d0]
cmp eax, dword [edi + 4]
jle 0x100a501e
push 0x102175d0
call fcn.100d7b67
add esp, 4
cmp dword [0x102175d0], 0xffffffff
jne 0x100a501a
mov eax, dword [0x10216f6c]
add eax, 4
push 0x102175d0
mov dword [0x102175f4], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x102175f4]
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 8]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call eax
movq xmm0, qword [eax]
movq qword [esi + 0x58], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x60], eax
mov eax, dword [0x10216f24]
cmp eax, dword [edi + 4]
jle 0x100a5081
push 0x10216f24
call fcn.100d7b67
add esp, 4
cmp dword [0x10216f24], 0xffffffff
jne 0x100a5081
mov eax, dword [0x10216f1c]
push 0x10216f24
mov dword [0x10216f20], eax
call fcn.100d7b16
add esp, 4
mov eax, dword [0x10216f20]
mov ecx, dword [esp + 8]
movq xmm0, qword [eax + ecx]
movq qword [esi + 0x64], xmm0
mov eax, dword [eax + ecx + 8]
mov dword [esi + 0x6c], eax
mov eax, dword [0x102172f0]
cmp eax, dword [edi + 4]
jle 0x100a50d9
push 0x102172f0
call fcn.100d7b67
add esp, 4
cmp dword [0x102172f0], 0xffffffff
jne 0x100a50d5
mov eax, dword [0x1021705c]
push 0x102172f0
mov dword [0x102172bc], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x102172bc]
movq xmm0, qword [eax + ecx]
movq qword [esi + 0x88], xmm0
mov eax, dword [eax + ecx + 8]
mov dword [esi + 0x90], eax
mov eax, dword [0x102172b4]
cmp eax, dword [edi + 4]
jle 0x100a5133
push 0x102172b4
call fcn.100d7b67
add esp, 4
cmp dword [0x102172b4], 0xffffffff
jne 0x100a512f
mov eax, dword [0x10217058]
push 0x102172b4
mov dword [0x102172a8], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x102172a8]
movq xmm0, qword [eax + ecx]
movq qword [esi + 0x94], xmm0
mov eax, dword [eax + ecx + 8]
mov dword [esi + 0x9c], eax
mov eax, dword [0x102175ec]
cmp eax, dword [edi + 4]
jle 0x100a518d
push 0x102175ec
call fcn.100d7b67
add esp, 4
cmp dword [0x102175ec], 0xffffffff
jne 0x100a5189
mov eax, dword [0x10217090]
push 0x102175ec
mov dword [0x102175e4], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x102175e4]
movq xmm0, qword [eax + ecx]
movq qword [esi + 0xa0], xmm0
mov eax, dword [eax + ecx + 8]
mov dword [esi + 0xa8], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
movq xmm0, qword [eax]
movq qword [esi + 0xac], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0xb4], eax
mov eax, dword [0x10216e6c]
cmp eax, dword [edi + 4]
jle 0x100a51ff
push 0x10216e6c
call fcn.100d7b67
add esp, 4
cmp dword [0x10216e6c], 0xffffffff
jne 0x100a51ff
mov eax, dword [0x10216e5c]
push 0x10216e6c
mov dword [0x10216e44], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10216e44]
mov eax, dword [eax + ecx]
mov dword [esi + 0x20], eax
mov eax, ecx
mov eax, dword [eax + 0xe4]
mov dword [esi + 0x24], eax
mov eax, dword [0x102175d4]
cmp eax, dword [edi + 4]
jle 0x100a5253
push 0x102175d4
call fcn.100d7b67
add esp, 4
cmp dword [0x102175d4], 0xffffffff
jne 0x100a5253
mov eax, dword [0x10217068]
push 0x102175d4
mov dword [0x102175dc], eax
call fcn.100d7b16
add esp, 4
mov eax, dword [0x102175dc]
mov ecx, dword [esp + 8]
mov eax, dword [eax + ecx]
mov dword [esi + 0x34], eax
mov eax, dword [0x10217134]
cmp eax, dword [edi + 4]
jle 0x100a529c
push 0x10217134
call fcn.100d7b67
add esp, 4
cmp dword [0x10217134], 0xffffffff
jne 0x100a529c
mov eax, dword [0x10216fe4]
push 0x10217134
mov dword [0x10217120], eax
call fcn.100d7b16
add esp, 4
mov edi, dword [esp + 8]
lea ecx, [esp + 0x14]
mov eax, dword [0x10217120]
movss xmm1, dword [esi + 0x44]
subss xmm1, dword [esi + 0x48]
mov dword [esp + 0x24], 0x40
movq xmm0, qword [eax + edi]
movq qword [esi + 0x70], xmm0
mov eax, dword [eax + edi + 8]
mov edi, dword [0x1020f4ec]
mov dword [esi + 0x78], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
maxss xmm1, dword [edi + 0x20]
divss xmm1, dword [edi + 0x20]
mov dword [esi + 0x50], 0
mov byte [esi + 0x57], 0
mov byte [esi + 0x1a], 0
addss xmm1, dword [0x10155b64]
cvttss2si edx, xmm1
test edx, edx
mov dword [esp + 0x18], edx
cmovns ecx, eax
cmp edx, 0x40
lea eax, [esp + 0x24]
cmovle eax, ecx
mov ecx, 0xb6
mov eax, dword [eax]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x10]
lea edi, [esi + 0x19b0]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 8]
mov esi, dword [eax + 0x2970]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov al, byte [edi + 0x20]
and al, 1
mov byte [edi + 0x54], al
mov edx, dword [edi + 0x3500]
test edx, edx
je 0x100a5390
mov ecx, dword [edi + 0x34f8]
mov eax, dword [edi + 0x34f4]
dec ecx
and ecx, dword [edi + 0x34fc]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x34e8], eax
cmp edx, 3
jb 0x100a5390
mov eax, dword [edi + 0x34fc]
mov ecx, dword [edi + 0x34f8]
add eax, 2
dec ecx
and ecx, eax
mov eax, dword [edi + 0x34f4]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x34ec], eax
mov eax, dword [edi + 0x3500]
lea esi, [edi + 0x34f0]
inc eax
cmp dword [esi + 8], eax
ja 0x100a53aa
push ecx
mov ecx, esi
call fcn.100a7060
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea ecx, [eax - 1]
and edx, ecx
mov dword [esi + 0xc], edx
cmove edx, eax
mov eax, dword [esi + 4]
dec edx
mov dword [esp + 0x18], edx
and edx, ecx
mov dword [esp + 0x24], edx
cmp dword [eax + edx*4], 0
jne 0x100a53f7
push 0x34f3
call fcn.100d7bcb
add esp, 4
test eax, eax
je 0x100a593b
mov edx, dword [esp + 0x24]
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
mov eax, dword [esi + 4]
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 4]
push 0x34d0
push 0
mov esi, dword [eax + edx*4]
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.100a7310
inc dword [edi + 0x3500]
mov eax, dword [esp + 0x18]
mov edx, dword [0x1020f4b0]
mov dword [edi + 0x34fc], eax
mov ecx, dword [edi + 0x34f8]
dec ecx
and ecx, eax
mov eax, dword [edi + 0x34f4]
mov esi, dword [eax + ecx*4]
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov byte [esi], 1
mov dword [esi + 4], eax
mov edi, dword [ecx + edx*4]
mov eax, dword [0x10217148]
mov dword [esp + 0x14], esi
cmp eax, dword [edi + 4]
jle 0x100a548e
push 0x10217148
call fcn.100d7b67
add esp, 4
cmp dword [0x10217148], 0xffffffff
jne 0x100a548e
mov eax, dword [0x10217098]
push 0x10217148
mov dword [0x10217144], eax
call fcn.100d7b16
add esp, 4
mov eax, dword [0x10217144]
mov ecx, dword [esp + 8]
mov eax, dword [ecx + eax]
mov dword [esi + 0x20], eax
mov eax, dword [0x102175e0]
cmp eax, dword [edi + 4]
jle 0x100a54db
push 0x102175e0
call fcn.100d7b67
add esp, 4
cmp dword [0x102175e0], 0xffffffff
jne 0x100a54d7
mov eax, dword [0x102170c4]
push 0x102175e0
mov dword [0x102175f0], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x102175f0]
mov eax, dword [ecx + eax]
mov dword [esi + 0x24], eax
mov eax, dword [0x10216f98]
cmp eax, dword [edi + 4]
jle 0x100a5524
push 0x10216f98
call fcn.100d7b67
add esp, 4
cmp dword [0x10216f98], 0xffffffff
jne 0x100a5520
mov eax, dword [0x10216f6c]
push 0x10216f98
mov dword [0x10216fb4], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10216fb4]
mov eax, dword [ecx + eax]
mov dword [esi + 0x2c], eax
mov eax, dword [0x102175d0]
cmp eax, dword [edi + 4]
jle 0x100a5570
push 0x102175d0
call fcn.100d7b67
add esp, 4
cmp dword [0x102175d0], 0xffffffff
jne 0x100a556c
mov eax, dword [0x10216f6c]
add eax, 4
push 0x102175d0
mov dword [0x102175f4], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x102175f4]
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 8]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call eax
movq xmm0, qword [eax]
movq qword [esi + 0x40], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x48], eax
mov eax, dword [0x10216f24]
cmp eax, dword [edi + 4]
jle 0x100a55d3
push 0x10216f24
call fcn.100d7b67
add esp, 4
cmp dword [0x10216f24], 0xffffffff
jne 0x100a55d3
mov eax, dword [0x10216f1c]
push 0x10216f24
mov dword [0x10216f20], eax
call fcn.100d7b16
add esp, 4
mov eax, dword [0x10216f20]
mov ecx, dword [esp + 8]
movq xmm0, qword [ecx + eax]
movq qword [esi + 0x4c], xmm0
mov eax, dword [ecx + eax + 8]
mov dword [esi + 0x54], eax
mov eax, dword [0x102172f0]
cmp eax, dword [edi + 4]
jle 0x100a562b
push 0x102172f0
call fcn.100d7b67
add esp, 4
cmp dword [0x102172f0], 0xffffffff
jne 0x100a5627
mov eax, dword [0x1021705c]
push 0x102172f0
mov dword [0x102172bc], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x102172bc]
movq xmm0, qword [ecx + eax]
movq qword [esi + 0x70], xmm0
mov eax, dword [ecx + eax + 8]
mov dword [esi + 0x78], eax
mov eax, dword [0x102172b4]
cmp eax, dword [edi + 4]
jle 0x100a567f
push 0x102172b4
call fcn.100d7b67
add esp, 4
cmp dword [0x102172b4], 0xffffffff
jne 0x100a567b
mov eax, dword [0x10217058]
push 0x102172b4
mov dword [0x102172a8], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x102172a8]
movq xmm0, qword [ecx + eax]
movq qword [esi + 0x7c], xmm0
mov eax, dword [ecx + eax + 8]
mov dword [esi + 0x84], eax
mov eax, dword [0x102175ec]
cmp eax, dword [edi + 4]
jle 0x100a56d6
push 0x102175ec
call fcn.100d7b67
add esp, 4
cmp dword [0x102175ec], 0xffffffff
jne 0x100a56d2
mov eax, dword [0x10217090]
push 0x102175ec
mov dword [0x102175e4], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x102175e4]
movq xmm0, qword [ecx + eax]
movq qword [esi + 0x88], xmm0
mov eax, dword [ecx + eax + 8]
mov dword [esi + 0x90], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
movq xmm0, qword [eax]
movq qword [esi + 0x94], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 0x9c], eax
mov eax, dword [0x10216e6c]
cmp eax, dword [edi + 4]
jle 0x100a5748
push 0x10216e6c
call fcn.100d7b67
add esp, 4
cmp dword [0x10216e6c], 0xffffffff
jne 0x100a5748
mov eax, dword [0x10216e5c]
push 0x10216e6c
mov dword [0x10216e44], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10216e44]
mov eax, dword [ecx + eax]
mov dword [esi + 8], eax
mov eax, ecx
mov eax, dword [eax + 0xe4]
mov dword [esi + 0xc], eax
mov eax, dword [0x102175d4]
cmp eax, dword [edi + 4]
jle 0x100a579c
push 0x102175d4
call fcn.100d7b67
add esp, 4
cmp dword [0x102175d4], 0xffffffff
jne 0x100a579c
mov eax, dword [0x10217068]
push 0x102175d4
mov dword [0x102175dc], eax
call fcn.100d7b16
add esp, 4
mov eax, dword [0x102175dc]
mov ecx, dword [esp + 8]
mov eax, dword [ecx + eax]
mov dword [esi + 0x1c], eax
mov eax, dword [0x10217134]
cmp eax, dword [edi + 4]
jle 0x100a57e5
push 0x10217134
call fcn.100d7b67
add esp, 4
cmp dword [0x10217134], 0xffffffff
jne 0x100a57e5
mov eax, dword [0x10216fe4]
push 0x10217134
mov dword [0x10217120], eax
call fcn.100d7b16
add esp, 4
mov edi, dword [esp + 8]
lea ecx, [esp + 0x24]
mov eax, dword [0x10217120]
movss xmm1, dword [esi + 0x2c]
subss xmm1, dword [esi + 0x30]
mov dword [esp + 0x28], 0x40
movq xmm0, qword [edi + eax]
movq qword [esi + 0x58], xmm0
mov eax, dword [edi + eax + 8]
mov edi, dword [0x1020f4ec]
mov dword [esi + 0x60], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
maxss xmm1, dword [edi + 0x20]
divss xmm1, dword [edi + 0x20]
mov dword [esi + 0x38], 0
mov byte [esi + 0x3f], 0
mov byte [esi + 2], 0
addss xmm1, dword [0x10155b64]
cvttss2si edx, xmm1
test edx, edx
mov dword [esp + 0x18], edx
cmovns ecx, eax
cmp edx, 0x40
lea eax, [esp + 0x28]
cmovle eax, ecx
mov ecx, 0xb6
mov eax, dword [eax]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x10]
lea edi, [esi + 0x1998]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 8]
mov esi, dword [eax + 0x2970]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov al, byte [edi + 8]
mov ecx, dword [edi + 4]
and al, 1
mov byte [edi + 0x3c], al
cmp dword [esi + 4], 1
setl al
mov byte [edi + 1], al
mov eax, dword [esi + 0x34e8]
mov dword [esp + 8], eax
call fcn.10056f70
mov edx, dword [esp + 8]
mov dword [esp + 0x28], eax
test edx, edx
je 0x100a5946
test eax, eax
je 0x100a5946
mov esi, dword [esp + 0xc]
mov edi, dword [0x1020f4b0]
mov ecx, dword [0x1021716c]
mov eax, dword [esi + edi*4]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp ecx, dword [eax + 4]
jle 0x100a5919
push 0x1021716c
call fcn.100d7b67
add esp, 4
cmp dword [0x1021716c], 0xffffffff
jne 0x100a5915
mov eax, dword [0x1021708c]
push 0x1021716c
mov dword [0x10217168], eax
call fcn.100d7b16
add esp, 4
mov edx, dword [esp + 8]
mov eax, dword [0x10217168]
mov ecx, dword [esp + 0x28]
movss xmm0, dword [edi + 0x2c]
movss xmm1, dword [ecx + eax]
comiss xmm0, xmm1
jb 0x100a5941
comiss xmm1, dword [edx + 0x2c]
jbe 0x100a5941
mov al, 1
jmp 0x100a5943
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor al, al
mov byte [edi + 0x3e], al
mov eax, dword [esi + 4]
cmp eax, 1
jge 0x100a5952
inc eax
mov dword [esi + 4], eax
cmp dword [esi + 0x34e8], 0
je 0x100a5cc6
mov edi, dword [0x1020f4b0]
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [0x10216e6c]
mov ecx, dword [edx + edi*4]
mov edi, dword [esp + 0x14]
cmp eax, dword [ecx + 4]
jle 0x100a59b1
push 0x10216e6c
call fcn.100d7b67
add esp, 4
cmp dword [0x10216e6c], 0xffffffff
jne 0x100a59b1
mov eax, dword [0x10216e5c]
push 0x10216e6c
mov dword [0x10216e44], eax
call fcn.100d7b16
add esp, 4
mov eax, dword [0x10216e44]
mov ecx, dword [esp + 0x28]
mov al, byte [ecx + eax]
and al, 1
mov byte [edi + 0x3c], 0
mov byte [edi + 0x3d], al
je 0x100a59d8
mov eax, dword [esi + 0x34e8]
cmp byte [eax + 0x3d], 0
je 0x100a59d8
mov byte [edi + 0x3c], 1
cmp dword [esi + 0x34e8], 0
je 0x100a5cc6
mov ecx, dword [esi + 0x14]
call fcn.10056f70
mov edx, eax
mov dword [esp + 8], edx
test edx, edx
je 0x100a5cc6
mov eax, dword [edi + 0x10]
movss xmm6, dword [0x10155bc0]
lea ecx, [eax - 1]
cmp ecx, 0xe
ja 0x100a5a77
mov ecx, dword [esi + 0x34e8]
test ecx, ecx
je 0x100a5a77
cmp byte [ecx + 1], 0
jne 0x100a5a77
movd xmm0, eax
movaps xmm1, xmm6
mov eax, dword [0x1020f4ec]
cvtdq2ps xmm0, xmm0
movss xmm4, dword [edi + 0x50]
mulss xmm0, dword [eax + 0x20]
movss xmm2, dword [ecx + 0x50]
movss xmm5, dword [edi + 0x54]
subss xmm4, xmm2
movss xmm3, dword [ecx + 0x54]
divss xmm1, xmm0
movss xmm0, dword [edi + 0x4c]
subss xmm5, xmm3
subss xmm0, dword [ecx + 0x4c]
mulss xmm4, xmm1
mulss xmm5, xmm1
mulss xmm0, xmm1
movss dword [edi + 0x58], xmm0
movss dword [edi + 0x5c], xmm4
movss dword [edi + 0x60], xmm5
test byte [edi + 8], 1
movq xmm0, qword [edi + 0x58]
mov eax, dword [edi + 0x60]
movq qword [edi + 0x64], xmm0
mov dword [edi + 0x6c], eax
je 0x100a5ae4
movss xmm1, dword [edi + 0x5c]
movaps xmm2, xmm0
movss xmm0, dword [edi + 0x60]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
movss xmm1, dword [0x10155ae0]
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
comiss xmm0, xmm1
jbe 0x100a5ae4
movss xmm0, dword [edi + 0x1c58]
ucomiss xmm0, dword [0x10155a64]
lahf
test ah, 0x44
jp 0x100a5ae4
comiss xmm1, dword [edi + 0x1b08]
jbe 0x100a5ae4
mov byte [edi + 0x3f], 1
mov eax, dword [esi + 0x14]
mov ecx, dword [0x1020f4b0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10216e6c]
cmp eax, dword [ecx + 4]
jle 0x100a5b3e
push 0x10216e6c
call fcn.100d7b67
add esp, 4
cmp dword [0x10216e6c], 0xffffffff
jne 0x100a5b32
mov eax, dword [0x10216e5c]
push 0x10216e6c
mov dword [0x10216e44], eax
call fcn.100d7b16
add esp, 4
mov edx, dword [esp + 8]
movss xmm6, dword [0x10155bc0]
mov eax, dword [0x10216e44]
mov ecx, dword [esp + 0x28]
test byte [ecx + eax], 1
je 0x100a5c60
movss xmm0, dword [edi + 0x1c20]
comiss xmm0, dword [0x10155a64]
jbe 0x100a5c60
comiss xmm6, xmm0
jbe 0x100a5c60
mov eax, dword [esi + 0x34e8]
movss xmm0, dword [edi + 0x1c2c]
comiss xmm0, dword [eax + 0x1c2c]
jbe 0x100a5c60
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x6f8]
call eax
mov edx, eax
mov dword [esp + 8], edx
test edx, edx
je 0x100a5c1e
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0xc]
mov edi, dword [0x1020f4b0]
mov ecx, dword [0x10216e68]
mov dword [esp + 0x28], eax
mov eax, dword [esi + edi*4]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp ecx, dword [eax + 4]
jle 0x100a5bfb
push 0x10216e68
call fcn.100d7b67
add esp, 4
cmp dword [0x10216e68], 0xffffffff
jne 0x100a5bf7
mov eax, dword [0x10216e58]
push 0x10216e68
mov dword [0x10216e38], eax
call fcn.100d7b16
add esp, 4
mov edx, dword [esp + 8]
mov eax, dword [0x10216e38]
mov ecx, dword [esp + 0x28]
cmp byte [ecx + eax], 0
je 0x100a5c14
movss xmm1, dword [edx + 0x130]
jmp 0x100a5c26
movss xmm1, dword [edx + 0x12c]
jmp 0x100a5c26
movss xmm1, dword [0x10155e10]
movss xmm2, dword [0x10155bc0]
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x1c20]
mulss xmm0, dword [0x10155b48]
comiss xmm0, dword [0x10155a64]
jbe 0x100a5c60
comiss xmm2, xmm0
jbe 0x100a5c60
addss xmm0, dword [0x10155b6c]
mulss xmm0, xmm1
movss dword [edi + 0x38], xmm0
movss xmm2, dword [edi + 0x38]
comiss xmm2, dword [0x10155a64]
jbe 0x100a5cab
movss xmm0, dword [edi + 0x5c]
movss xmm1, dword [edi + 0x58]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
divss xmm2, xmm0
movaps xmm0, xmm2
movss dword [edi + 0x38], xmm2
mulss xmm0, dword [edi + 0x64]
mulss xmm2, dword [edi + 0x68]
movss dword [edi + 0x64], xmm0
movss dword [edi + 0x68], xmm2
cmp byte [edi + 0x3f], 0
je 0x100a5cc6
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
push edi
mov ecx, esi
call fcn.100a4900
mov eax, dword [esi + 0x78]
mov ecx, dword [0x1020f4b0]
movq xmm0, qword [esi + 0x70]
mov edi, dword [esi + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], edi
movq qword [esp + 0x18], xmm0
mov eax, dword [eax + ecx*4]
mov dword [esp + 8], eax
mov ecx, eax
mov eax, dword [0x10217134]
cmp eax, dword [ecx + 4]
jle 0x100a5d3e
push 0x10217134
call fcn.100d7b67
add esp, 4
cmp dword [0x10217134], 0xffffffff
jne 0x100a5d34
mov eax, dword [0x10216fe4]
push 0x10217134
mov dword [0x10217120], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
movq xmm0, qword [esp + 0x18]
mov eax, dword [0x10217120]
mov edx, dword [esp + 0x28]
movq qword [edi + eax], xmm0
mov dword [edi + eax + 8], edx
mov eax, dword [esi + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [0x10216e6c]
cmp eax, dword [ecx + 4]
jle 0x100a5d95
push 0x10216e6c
call fcn.100d7b67
add esp, 4
cmp dword [0x10216e6c], 0xffffffff
jne 0x100a5d91
mov eax, dword [0x10216e5c]
push 0x10216e6c
mov dword [0x10216e44], eax
call fcn.100d7b16
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [0x10216e44]
mov edx, dword [esp + 0x28]
mov dword [edi + eax], edx
movss xmm0, dword [esi + 0x34]
mov eax, dword [0x102175d4]
movss dword [esp + 0xc], xmm0
cmp eax, dword [ecx + 4]
jle 0x100a5dec
push 0x102175d4
call fcn.100d7b67
add esp, 4
cmp dword [0x102175d4], 0xffffffff
jne 0x100a5de6
mov eax, dword [0x10217068]
push 0x102175d4
mov dword [0x102175dc], eax
call fcn.100d7b16
add esp, 4
movss xmm0, dword [esp + 0xc]
mov eax, dword [0x102175dc]
add esi, 0x19b0
mov ecx, 0xb6
movss dword [edi + eax], xmm0
mov edi, dword [edi + 0x2970]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 8]
mov eax, dword [0x10217148]
movss xmm0, dword [edi + 0x38]
movss dword [esp + 0x10], xmm0
cmp eax, dword [esi + 4]
jle 0x100a5e5c
push 0x10217148
call fcn.100d7b67
add esp, 4
cmp dword [0x10217148], 0xffffffff
jne 0x100a5e56
mov eax, dword [0x10217098]
push 0x10217148
mov dword [0x10217144], eax
call fcn.100d7b16
add esp, 4
movss xmm0, dword [esp + 0x10]
mov eax, dword [0x10217144]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 8]
movss dword [esi + eax], xmm0
movss xmm0, dword [edi + 0x3c]
mov eax, dword [0x102175e0]
movss dword [esp + 0x10], xmm0
cmp eax, dword [ecx + 4]
jle 0x100a5eb9
push 0x102175e0
call fcn.100d7b67
add esp, 4
cmp dword [0x102175e0], 0xffffffff
jne 0x100a5eb3
mov eax, dword [0x102170c4]
push 0x102175e0
mov dword [0x102175f0], eax
call fcn.100d7b16
add esp, 4
movss xmm0, dword [esp + 0x10]
mov eax, dword [0x102175f0]
mov ecx, esi
movss dword [esi + eax], xmm0
lea eax, [edi + 0x64]
push eax
call dword [0x1020f61c]
cmp byte [0x1020dc01], 0
je 0x100a5f56
mov eax, dword [edi + 0x34e8]
test eax, eax
je 0x100a5f56
mov esi, dword [esp + 0x14]
movss xmm0, dword [eax + 0x2c]
mov eax, dword [0x1020f4ec]
movss xmm1, dword [esi + 0x2c]
comiss xmm0, xmm1
jbe 0x100a5f15
subss xmm0, xmm1
andps xmm0, xmmword [0x10156220]
addss xmm0, xmm1
addss xmm0, dword [eax + 0x20]
movss dword [edi + 0xc], xmm0
jmp 0x100a5f53
movss xmm2, dword [edi + 0xc]
movaps xmm0, xmm2
subss xmm0, xmm1
andps xmm0, xmmword [0x10156220]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10155b64]
cvttss2si eax, xmm0
cmp eax, 0x11
jle 0x100a5f4d
movss xmm2, dword [0x10155edc]
mov dword [edi + 0xc], 0xbf800000
comiss xmm2, dword [esi + 0x2c]
jbe 0x100a5f56
mov byte [esi], 0
cmp byte [edi], 0
mov eax, 3
mov edx, dword [0x1020dbb4]
mov ecx, dword [edi + 0x3500]
cmovne edx, eax
cmp ecx, edx
jbe 0x100a5f8a
lea eax, [ecx - 1]
mov dword [edi + 0x3500], eax
mov ecx, eax
test eax, eax
jne 0x100a5f86
mov dword [edi + 0x34fc], eax
cmp ecx, edx
ja 0x100a5f71
pop edi
pop esi
mov esp, ebp
pop ebp
ret