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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
mov esi, dword [0x1006f180]
mov dword [esp + 0xe8], ecx
mov ecx, esi
push edi
mov dword [esp + 0x38], edx
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + 0x1928]
mov byte [eax + 0x78], 1
mov edi, dword [ecx + 0x1928]
mov dword [esp + 0x48], edi
cmp byte [edi + 0x7b], 0
jne 0x10020d00
mov eax, dword [ebp + 0x10]
mov edx, eax
shr edx, 0xe
mov ecx, eax
not dl
mov dword [esp + 0x44], eax
and edx, 0xffffff01
shr ecx, 0x14
mov dword [esp + 0x50], edx
and ecx, 0xffffff01
mov edx, eax
mov dword [esp + 0x34], ecx
shr eax, 0x10
shr edx, 0xf
not al
and edx, 0xffffff01
and eax, 0xffffff01
mov dword [esp + 0xbc], edx
mov dword [esp + 0x74], eax
test cl, cl
je 0x100209c9
call fcn.10025a80
mov esi, dword [0x1006f180]
mov ecx, dword [edi + 0x1c8]
xor edx, edx
mov eax, dword [edi + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0xf0]
call fcn.1000c630
add esp, 4
mov dword [esp + 0x14], eax
cmp dword [esi + 0x1944], eax
jne 0x100209fd
mov byte [esi + 0x1950], 1
cmp dword [esi + 0x1948], eax
jne 0x10020a0c
mov byte [esi + 0x1954], 1
mov edx, dword [esp + 0xec]
mov ecx, edx
cmp edx, 0xffffffff
jae 0x10020a3d
nop word [eax + eax]
mov dl, byte [ecx]
test dl, dl
je 0x10020a36
cmp dl, 0x23
jne 0x10020a30
cmp byte [ecx + 1], dl
je 0x10020a36
inc ecx
cmp ecx, 0xffffffff
jb 0x10020a20
mov edx, dword [esp + 0xec]
movss xmm0, dword [esi + 0x1854]
movss xmm1, dword [0x10043d74]
mov eax, dword [esi + 0x1850]
mov dword [esp + 0x54], eax
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0xfc], xmm1
cmp edx, ecx
jne 0x10020a7b
xorps xmm4, xmm4
movss dword [esp + 0xf4], xmm4
jmp 0x10020ae5
movss xmm3, dword [0x10043d68]
movaps xmm2, xmm0
push ecx
push ecx
push edx
push ecx
lea ecx, [esp + 0x88]
mov dword [esp], 0xbf800000
push ecx
mov ecx, eax
call fcn.100371f0
movss xmm1, dword [esp + 0x78]
xorps xmm4, xmm4
comiss xmm1, xmm4
jbe 0x10020ac3
mov eax, dword [esp + 0x54]
movss xmm0, dword [esp + 0xf0]
divss xmm0, dword [eax]
subss xmm1, xmm0
addss xmm1, dword [0x10043c70]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0x7c]
cmp byte [esp + 0x34], 0
je 0x10020afc
movss xmm0, dword [esi + 0x1854]
mulss xmm0, dword [0x10043ce8]
mov eax, dword [esp + 0xc]
mov esi, dword [esi + 0x1928]
movss xmm5, dword [0x10043c74]
movss xmm1, dword [eax + 0x1540]
movss xmm2, dword [esi + 0x168]
movaps xmm3, xmm1
comiss xmm4, xmm2
addss xmm3, xmm1
addss xmm3, xmm0
jbe 0x10020b95
movss xmm4, dword [esi + 0xc8]
movss xmm1, dword [esi + 0x21c]
mov edi, dword [esi + 0x1c4]
subss xmm4, dword [esi + 0xc]
subss xmm1, dword [esi + 0xc]
test edi, edi
je 0x10020b82
mov edx, dword [edi + 0xc]
movss xmm1, dword [edi + 0x18]
subss xmm1, dword [edi + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
mov eax, dword [edi + 0x34]
lea ecx, [edx*8]
sub ecx, edx
mulss xmm1, dword [eax + ecx*4]
addss xmm1, dword [edi + 0x14]
subss xmm1, dword [esi + 0x3c]
mov edi, dword [esp + 0x48]
subss xmm1, xmm4
addss xmm1, xmm2
movaps xmm2, xmm5
maxss xmm2, xmm1
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x78]
push dword [eax + 4]
push dword [eax]
cvttss2si eax, xmm2
movaps xmm2, xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1000e7c0
movss xmm3, dword [edi + 0xc8]
xorps xmm5, xmm5
movss xmm1, dword [esp + 0x80]
movaps xmm0, xmm3
movss xmm4, dword [edi + 0xcc]
addss xmm0, xmm1
movss xmm2, dword [esp + 0x84]
add esp, 8
mov eax, dword [esp + 0xc]
movss dword [esp + 0x6c], xmm1
movaps xmm1, xmm4
addss xmm1, xmm2
movss dword [esp + 0x60], xmm2
movss xmm2, dword [esp + 0xf4]
comiss xmm2, xmm5
movss dword [esp + 0xac], xmm3
movss dword [esp + 0xb0], xmm4
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0xb8], xmm1
jbe 0x10020c36
addss xmm2, dword [eax + 0x1554]
jmp 0x10020c39
xorps xmm2, xmm2
cmp byte [esp + 0x34], 0
addss xmm0, xmm2
addss xmm1, xmm5
movss dword [esp + 0xc0], xmm3
movss dword [esp + 0xc4], xmm4
mov dword [esp + 0x64], edi
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xcc], xmm1
je 0x10020d41
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xc4]
call fcn.1000e290
movss xmm0, dword [esp + 0xb8]
lea edx, [esp + 0x7c]
movss xmm1, dword [esp + 0xb0]
mov ecx, dword [esp + 0x18]
movss dword [esp + 0xf4], xmm0
subss xmm0, xmm1
movss dword [esp + 0xac], xmm1
movss xmm1, dword [esp + 0xb4]
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0xbc]
subss xmm0, xmm1
movss dword [esp + 0x80], xmm0
call fcn.100157d0
add esp, 4
test al, al
jne 0x10020d08
call fcn.10015620
call fcn.10025ba0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [0x1006f180]
movss xmm0, dword [esp + 0x6c]
mov eax, dword [esi + 0x1928]
mov byte [eax + 0x78], 1
mov edi, dword [esi + 0x1928]
mov dword [esp + 0x64], edi
subss xmm0, dword [edi + 0x6c]
mov eax, dword [edi + 0x134]
or dword [edi + 0x13c], eax
movss dword [esp + 0x6c], xmm0
jmp 0x10020dbf
subss xmm1, xmm4
subss xmm0, xmm3
lea ecx, [esp + 0x78]
movss dword [esp + 0x7c], xmm1
movss xmm1, dword [eax + 0x1540]
movss dword [esp + 0x78], xmm0
call fcn.1000d990
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xc4]
call fcn.1000e290
add esp, 4
test al, al
je 0x10020d00
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0xa8], xmm0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xac]
call fcn.1000e4d0
mov edx, dword [esp + 0xc]
mov byte [esp + 0x2e], al
test al, al
je 0x10020de5
mov dword [edx + 0x1bd4], 1
cmp byte [esp + 0xbc], 0
je 0x10020e7d
mov esi, dword [edx + 0x1850]
cmp dword [esi + 0x28], 0x2a
jg 0x10020e04
mov edi, dword [esi + 0x34]
jmp 0x10020e23
mov eax, dword [esi + 0x30]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x10020e1a
mov edi, dword [esi + 0x34]
jmp 0x10020e23
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x18]
lea edi, [eax + ecx*8]
mov eax, dword [esi]
add edx, 0x2abc
mov dword [edx], eax
mov eax, dword [esi + 4]
mov esi, dword [esp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x1850]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, edx
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x1850]
mov eax, dword [eax + 0x48]
mov dword [edx + 0x48], eax
mov eax, dword [esi + 0x1850]
mov eax, dword [eax + 0x4c]
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x1850]
mov eax, dword [eax + 0x44]
mov dword [edx + 0x44], eax
mov dword [edx + 0x34], edi
mov eax, dword [edi + 4]
mov dword [edx + 0x38], eax
call fcn.1001ba70
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
add edi, 0x1c58
test dword [esp + 0x44], 0x440
mov edx, dword [esp + 0x14]
sete al
mov dword [esp + 0x4c], edi
movzx eax, al
push eax
call fcn.1000e660
mov dl, al
add esp, 4
mov byte [esp + 0x21], dl
test dl, dl
je 0x10020f3d
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x330]
cmp ecx, dword [eax + 0x338]
jne 0x10020f3d
mov byte [esp + 0x1a], 1
mov byte [esp + 0x2f], 0
cmp byte [esp + 0x2e], 0
mov edx, dword [esp + 0xc]
je 0x10020eed
cmp byte [edx + 0x3e8], 0
mov byte [esp + 0x13], 1
jne 0x10020ef2
mov byte [esp + 0x13], 0
cmp byte [esp + 0x34], 0
je 0x10020f52
cmp dword [edx + 0x1944], 0
jne 0x10020f52
mov eax, dword [esp + 0x14]
cmp dword [edi], eax
jne 0x10020f52
mov eax, dword [esp + 0x64]
xor edx, edx
mov ecx, dword [eax + 0x1c8]
mov eax, dword [eax + 0x1d0]
push dword [eax + ecx*4 - 4]
mov ecx, str.SCROLLY
call fcn.1000c630
mov edx, dword [esp + 0x10]
add esp, 4
cmp dword [edx + 0x1948], eax
jne 0x10020f52
mov cl, 1
jmp 0x10020f54
mov byte [esp + 0x1a], 0
test dl, dl
je 0x10020ecf
mov byte [esp + 0x2f], 1
mov byte [esp + 0x1a], 0
jmp 0x10020ed4
xor cl, cl
mov eax, dword [edx + 0x1944]
cmp eax, dword [esp + 0x14]
je 0x10020f8a
mov esi, dword [esp + 0x14]
cmp dword [edx + 0x1a38], esi
je 0x10020f7d
cmp dword [edx + 0x1a2c], esi
jne 0x10020f8a
cmp dword [edx + 0x1a48], 3
jne 0x10020f8a
mov dl, 1
mov byte [esp + 0x2b], 0
mov byte [esp + 0x2d], dl
jmp 0x10020f9b
xor dl, dl
mov byte [esp + 0x2b], 0
mov byte [esp + 0x2d], dl
cmp eax, dword [esp + 0x14]
je 0x10020fb2
test byte [esp + 0x44], 0x10
jne 0x10020fa6
test dl, dl
je 0x10020fb2
cmp byte [esp + 0x34], 0
mov byte [esp + 0x40], 1
je 0x10020fb7
mov byte [esp + 0x40], 0
cmp byte [esp + 0x21], 0
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov dword [esp + 0x9c], esi
mov esi, dword [0x1006f180]
jne 0x10020ffa
cmp byte [esp + 0x13], 0
jne 0x10020ffa
test cl, cl
jne 0x10020ffa
test dl, dl
jne 0x10020ffa
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x3e8], dl
je 0x100211ba
mov byte [esp + 0x2b], 1
jmp 0x100211ba
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x10021182
mov eax, dword [edi + 0x2c]
mov esi, dword [esp + 0x4c]
mov edi, dword [ebp + 8]
inc edi
mov dword [esp + 0xa0], eax
push edi
lea ecx, [esi + 4]
call fcn.10027210
push edi
lea ecx, [esi + 0x10]
call fcn.10027420
mov edi, dword [esp + 0x4c]
mov esi, dword [esi + 0x10]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x54], eax
cmp esi, 1
jb 0x10021056
push esi
push dword [esp + 0x3c]
push eax
call dword [esp + 0xa8]
mov eax, dword [esp + 0x60]
add esp, 0xc
mov byte [eax + esi - 1], 0
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x30]
mov edx, dword [edi + 4]
push eax
push ecx
mov ecx, dword [edi + 0xc]
push esi
mov dword [esp + 0x3c], 0
call fcn.1000c8e0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
sub ecx, esi
mov dword [edi + 0xe5c], 0xbe99999a
mov dword [edi + 0x28], ecx
mov edx, eax
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x2c], edx
cmp dword [edi], ecx
jne 0x100210cc
cmp dword [esp + 0xa0], edx
jne 0x100210cc
cmp dword [edi + 0x38], edx
mov ecx, edx
cmovl ecx, dword [edi + 0x38]
cmp dword [edi + 0x3c], edx
mov dword [edi + 0x38], ecx
mov ecx, edx
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
cmovl edx, dword [edi + 0x40]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x40], edx
mov edx, dword [esp + 0x34]
jmp 0x1002113c
mov edx, dword [esp + 0x34]
mov al, dl
mov dword [edi], ecx
xor al, 1
mov dword [edi + 0x34], 0
mov dword [edi + 0xe4e], 0x630000
mov dword [edi + 0xe54], 0
mov dword [edi + 0xe58], 0x3e7
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x44], 0x10000
mov dword [edi + 0x4c], 0
mov byte [edi + 0x48], al
test dl, dl
jne 0x1002113c
mov eax, dword [esp + 0x40]
mov esi, 1
cmp byte [esp + 0x1a], dl
movzx eax, al
cmovne eax, esi
mov dword [esp + 0x40], eax
test dword [esp + 0x44], 0x2000
je 0x1002114a
mov byte [edi + 0x44], 1
mov esi, dword [esp + 0xc]
test dl, dl
jne 0x10021186
cmp byte [esp + 0x2f], dl
jne 0x10021166
cmp byte [esp + 0x13], dl
je 0x10021186
cmp byte [esi + 0xf1], dl
je 0x10021186
mov edx, dword [esp + 0x48]
mov byte [esp + 0x40], 1
call fcn.1000d810
call fcn.1000d8d0
mov ecx, edx
call fcn.1001b8e0
jmp 0x100211a2
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
call fcn.1000d810
call fcn.1000d8d0
mov ecx, edx
call fcn.1001b8e0
cmp byte [esp + 0x34], 0
jne 0x100211b0
test byte [esp + 0x44], 0x80
jne 0x100211b0
or dword [esi + 0x1958], 0xc
mov eax, dword [esp + 0xc]
mov esi, dword [0x1006f180]
movss xmm0, dword [0x10043c50]
xor cl, cl
mov byte [esp + 0x5a], cl
mov byte [esp + 0x2f], cl
mov ecx, dword [esp + 0x14]
cmp dword [eax + 0x1944], ecx
jne 0x10021451
cmp byte [esp + 0x50], 0
jne 0x1002125d
cmp byte [eax + 0x1951], 0
jne 0x1002125d
mov eax, dword [ebp + 8]
lea ecx, [edi + 4]
inc eax
push eax
call fcn.10027210
mov edx, dword [edi + 4]
lea eax, [esp + 0x30]
push eax
push ecx
push dword [esp + 0x40]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x3c], 0
call fcn.1000c8e0
mov ecx, dword [esp + 0x3c]
mov esi, eax
sub ecx, dword [esp + 0x44]
add esp, 0xc
cmp dword [edi + 0x38], esi
mov edx, esi
movss xmm0, dword [0x10043c50]
cmovl edx, dword [edi + 0x38]
cmp dword [edi + 0x3c], esi
mov eax, dword [esp + 0xc]
mov dword [edi + 0x28], ecx
mov ecx, esi
cmovl ecx, dword [edi + 0x3c]
cmp dword [edi + 0x40], esi
mov dword [edi + 0x2c], esi
cmovl esi, dword [edi + 0x40]
mov dword [edi + 0x40], esi
mov esi, dword [0x1006f180]
mov dword [edi + 0x38], edx
mov dword [edi + 0x3c], ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x30], ecx
cmp byte [eax + 0xe0], 0
mov ecx, dword [esp + 0xc]
sete al
cmp byte [esp + 0x34], 0
mov byte [ecx + 0x1952], al
mov eax, ecx
mov dword [eax + 0x2d98], 1
movss xmm7, dword [eax + 0xd8]
subss xmm7, dword [esp + 0xa8]
subss xmm7, dword [eax + 0x153c]
addss xmm7, dword [edi + 0x34]
je 0x100212c6
mov ecx, dword [esp + 0x64]
movss xmm2, dword [eax + 0xdc]
subss xmm2, dword [ecx + 0xcc]
subss xmm2, dword [eax + 0x1540]
jmp 0x100212d2
movss xmm2, dword [eax + 0x1854]
mulss xmm2, xmm0
cmp byte [esp + 0x40], 0
mov dl, byte [eax + 0xbc]
mov byte [esp + 0x12], dl
jne 0x100215f4
mov cl, byte [esp + 0x2e]
test cl, cl
je 0x10021303
test dl, dl
jne 0x100214e2
cmp byte [eax + 0x3ed], dl
jne 0x100215f4
mov esi, dword [esp + 0xc]
lea edx, [edi + 0xe61]
mov al, byte [edx]
cmp byte [esi + 0x3e8], 0
mov esi, dword [0x1006f180]
je 0x10021546
test al, al
jne 0x10021546
test cl, cl
je 0x10021376
cmp byte [edi + 0x48], al
je 0x1002134f
push 0
mov edx, edi
lea ecx, [esp + 0xc4]
call fcn.1001ef10
movss xmm2, dword [esp + 0xd0]
add esp, 4
movaps xmm1, xmm7
mov ecx, edi
call fcn.1001f1a0
mov dword [edi + 0x38], eax
lea edx, [edi + 0xe61]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov byte [edi + 0x47], 0
mov dword [edi + 0xe5c], 0xbe99999a
mov ecx, edx
mov dl, byte [esp + 0x12]
cmp byte [ecx], 0
mov eax, dword [esp + 0xc]
je 0x10021391
cmp byte [eax + 0xe0], 0
jne 0x10021391
mov byte [ecx], 0
add eax, 0x2f6
mov dword [esp + 0x70], eax
cmp word [eax], 0
je 0x10021451
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0xf1], 0
je 0x100213ba
cmp byte [ecx + 0xf3], 0
je 0x10021433
test dl, dl
je 0x100213c7
cmp byte [ecx + 0xf4], 0
jne 0x10021433
cmp byte [esp + 0x50], 0
je 0x10021433
cmp byte [esp + 0x2d], 0
jne 0x10021433
xor esi, esi
movzx eax, word [eax]
test ax, ax
je 0x1002142d
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x30]
sub esp, 8
mov dword [esp + 0x38], eax
call fcn.10020790
add esp, 8
test al, al
je 0x1002141c
push dword [esp + 0x30]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1001f5c0
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
mov eax, dword [esp + 0x70]
inc esi
add eax, 2
mov dword [esp + 0x70], eax
cmp esi, 0x11
jl 0x100213d7
mov esi, dword [0x1006f180]
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
movups xmmword [eax + 0x2f6], xmm0
movups xmmword [eax + 0x306], xmm0
mov word [eax + 0x316], 0
mov ecx, dword [esp + 0xc]
xor al, al
mov edx, dword [esp + 0x14]
mov byte [esp + 0x11], al
cmp dword [ecx + 0x1944], edx
jne 0x10022a9a
cmp byte [ecx + 0x1951], al
jne 0x10022a2c
cmp byte [esp + 0x2b], al
jne 0x10022a2c
mov eax, ecx
xor esi, esi
mov ecx, 0x20000
mov al, byte [eax + 0xf2]
test al, al
mov byte [esp + 0x1a], al
mov eax, dword [esp + 0xc]
cmovne esi, ecx
mov ecx, dword [esp + 0xc]
mov ah, byte [eax + 0xbc]
mov al, byte [ecx + 0xf1]
mov byte [esp + 0x5b], ah
test ah, ah
je 0x1002161e
cmp byte [ecx + 0xf4], 0
lea edx, [ecx + 0xf4]
mov dword [esp + 0x1c], edx
je 0x10021616
test al, al
jne 0x10021616
mov ecx, 1
jmp 0x10021618
cmp byte [eax + 0x3ed], 0
je 0x10021303
push 0x1000c
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1001f5c0
add esp, 4
mov byte [edi + 0xe60], 1
lea edx, [edi + 0x38]
mov dword [edi + 0xe5c], 0xbe99999a
mov ecx, edi
push 0x3000d
call fcn.1001f5c0
mov esi, dword [0x1006f180]
lea ecx, [edi + 0xe61]
add esp, 4
mov byte [edi + 0xe60], 1
mov dword [edi + 0xe5c], 0xbe99999a
jmp 0x10021378
mov esi, dword [esp + 0xc]
mov ecx, edx
cmp byte [esi + 0xe0], 0
mov esi, dword [0x1006f180]
je 0x10021378
test al, al
jne 0x10021378
mov eax, dword [esp + 0xc]
xorps xmm1, xmm1
movss xmm0, dword [eax + 0x384]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10021598
mov eax, dword [esp + 0xc]
movss xmm0, dword [eax + 0x388]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10021378
cmp byte [edi + 0x48], 0
je 0x100215ba
push 0
mov edx, edi
lea ecx, [esp + 0xc4]
call fcn.1001ef10
movss xmm2, dword [esp + 0xd0]
add esp, 4
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x100215c8
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3c], eax
movaps xmm1, xmm7
mov ecx, edi
call fcn.1001f1a0
mov dword [edi + 0x40], eax
lea ecx, [edi + 0xe61]
mov dword [edi + 0x38], eax
mov dword [edi + 0xe5c], 0xbe99999a
mov byte [edi + 0xe60], 1
jmp 0x10021378
mov eax, dword [edi + 0x2c]
lea ecx, [edi + 0xe61]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
mov byte [ecx], 1
jmp 0x1002137c
xor ecx, ecx
test ecx, ecx
je 0x10021655
jmp 0x10021633
add ecx, 0xf4
test al, al
je 0x1002164f
cmp byte [ecx], 0
jne 0x1002164f
mov edx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0xf3], 0
mov ch, byte [esp + 0x1a]
jne 0x10021659
test ch, ch
jne 0x10021659
mov byte [esp + 0x12], 1
jmp 0x1002165e
mov edx, ecx
mov dword [esp + 0x1c], edx
mov ch, byte [esp + 0x1a]
mov byte [esp + 0x12], 0
mov cl, al
test ah, ah
je 0x100216a4
mov edx, dword [esp + 0xc]
cmp byte [edx + 0xf4], 0
mov edx, dword [esp + 0x1c]
je 0x100216a4
test ch, ch
je 0x100216a4
mov eax, dword [esp + 0xc]
mov ah, byte [eax + 0xf1]
mov byte [esp + 0x19], ah
mov cl, ah
test ah, ah
jne 0x100216a4
mov edx, dword [esp + 0xc]
cmp byte [edx + 0xf3], ah
mov edx, dword [esp + 0x1c]
jne 0x100216a4
mov byte [esp + 0x2c], 1
jmp 0x100216ba
cmp byte [esp + 0x5b], 0
mov ah, cl
mov byte [esp + 0x19], cl
mov byte [esp + 0x2c], 0
je 0x10021759
mov edx, dword [esp + 0xc]
mov al, byte [edx + 0xf3]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x1b], al
cmp byte [edx], 0
je 0x10021768
test ah, ah
jne 0x10021768
test al, al
jne 0x10021768
mov dl, 1
cmp byte [esp + 0x1a], 0
mov cl, dl
mov byte [esp + 0x2d], cl
mov byte [esp + 0x22], cl
mov byte [esp + 0x1b], al
mov byte [esp + 0x13], 0
je 0x100217a3
mov byte [esp + 0x22], cl
mov byte [esp + 0x1b], al
mov byte [esp + 0x13], 0
test ah, ah
jne 0x100217a3
mov edx, dword [esp + 0xc]
mov byte [esp + 0x22], cl
mov byte [esp + 0x1b], al
mov byte [esp + 0x13], ah
cmp byte [edx + 0xf3], ah
jne 0x100217a3
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x22], cl
mov byte [esp + 0x1b], al
mov byte [esp + 0x13], ah
cmp byte [edx], ah
jne 0x100217a3
mov byte [esp + 0x23], 1
mov byte [esp + 0x22], cl
mov byte [esp + 0x1b], al
mov byte [esp + 0x13], ah
jmp 0x100217a8
mov al, ah
mov byte [esp + 0x1b], ah
mov byte [esp + 0x2c], 0
mov byte [esp + 0x19], ah
xor dl, dl
mov byte [esp + 0x22], dl
test ah, ah
je 0x100216e7
test ch, ch
jne 0x100216e7
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0xf3], dl
jne 0x100216e7
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], dl
jne 0x100216e7
mov byte [esp + 0x13], 1
mov byte [esp + 0x2d], dl
mov byte [esp + 0x23], 0
cmp byte [esp + 0x12], 0
xorps xmm4, xmm4
mov edx, dword [0x1006f180]
je 0x1002183d
mov eax, dword [edx + 0x7c]
test eax, eax
js 0x1002183d
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100218c5
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x1002183d
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100217fe
mov eax, 1
jmp 0x10021835
comiss xmm2, xmm1
jae 0x10021833
comiss xmm4, xmm3
jae 0x10021833
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10021835
xor eax, eax
test eax, eax
jg 0x100218c5
cmp byte [esp + 0x23], 0
je 0x100218ec
mov eax, dword [edx + 0x5c]
test eax, eax
js 0x100218ec
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100218c5
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x100218ec
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1002188a
mov eax, 1
jmp 0x100218c1
comiss xmm2, xmm1
jae 0x100218bf
comiss xmm4, xmm3
jae 0x100218bf
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x100218c1
xor eax, eax
test eax, eax
jle 0x100218ec
cmp byte [esp + 0x50], 0
je 0x100218ec
cmp byte [esp + 0xbc], 0
jne 0x100218ec
cmp byte [esp + 0x34], 0
je 0x100218e5
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x100218ec
mov byte [esp + 0x2e], 1
jmp 0x100218f1
mov byte [esp + 0x2e], 0
cmp byte [esp + 0x12], 0
je 0x1002197d
mov eax, dword [edx + 0x74]
test eax, eax
js 0x1002197d
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10021a05
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x1002197d
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1002193e
mov eax, 1
jmp 0x10021975
comiss xmm2, xmm1
jae 0x10021973
comiss xmm4, xmm3
jae 0x10021973
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10021975
xor eax, eax
test eax, eax
jg 0x10021a05
cmp byte [esp + 0x13], 0
je 0x10021a25
mov eax, dword [edx + 0x58]
test eax, eax
js 0x10021a25
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10021a05
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10021a25
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100219ca
mov eax, 1
jmp 0x10021a01
comiss xmm2, xmm1
jae 0x100219ff
comiss xmm4, xmm3
jae 0x100219ff
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10021a01
xor eax, eax
test eax, eax
jle 0x10021a25
cmp byte [esp + 0xbc], 0
jne 0x10021a25
cmp byte [esp + 0x34], 0
je 0x10021a1e
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
je 0x10021a25
mov byte [esp + 0x13], 1
jmp 0x10021a2a
mov byte [esp + 0x13], 0
cmp byte [esp + 0x12], 0
je 0x10021ab6
mov eax, dword [edx + 0x78]
test eax, eax
js 0x10021ab6
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10021b3a
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10021ab6
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10021a77
mov eax, 1
jmp 0x10021aae
comiss xmm2, xmm1
jae 0x10021aac
comiss xmm4, xmm3
jae 0x10021aac
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10021aae
xor eax, eax
test eax, eax
jg 0x10021b3a
cmp byte [esp + 0x23], 0
je 0x10021b46
mov eax, dword [edx + 0x58]
test eax, eax
js 0x10021b46
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10021b3a
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10021b46
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10021aff
mov eax, 1
jmp 0x10021b36
comiss xmm2, xmm1
jae 0x10021b34
comiss xmm4, xmm3
jae 0x10021b34
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10021b36
xor eax, eax
test eax, eax
jle 0x10021b46
cmp byte [esp + 0x50], 0
mov byte [esp + 0x21], 1
jne 0x10021b4b
mov byte [esp + 0x21], 0
mov cl, byte [esp + 0x12]
test cl, cl
je 0x10021bf0
mov eax, dword [edx + 0x84]
test eax, eax
js 0x10021bf0
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10021bdb
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10021bf0
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10021b9c
mov eax, 1
jmp 0x10021bd7
comiss xmm2, xmm1
jae 0x10021bd5
comiss xmm4, xmm3
jae 0x10021bd5
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov cl, byte [esp + 0x12]
jmp 0x10021bd7
xor eax, eax
test eax, eax
jle 0x10021bf0
cmp byte [esp + 0x50], 0
je 0x10021bf0
cmp byte [esp + 0x74], 0
je 0x10021bf0
mov byte [esp + 0x23], 1
jmp 0x10021bfd
mov byte [esp + 0x23], 0
test cl, cl
je 0x10021c81
mov eax, dword [edx + 0x80]
test eax, eax
js 0x10021c81
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10021d0c
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10021c81
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10021c42
mov eax, 1
jmp 0x10021c79
comiss xmm2, xmm1
jae 0x10021c77
comiss xmm4, xmm3
jae 0x10021c77
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10021c79
xor eax, eax
test eax, eax
jg 0x10021d0c
cmp byte [esp + 0x2c], 0
je 0x10021d1f
mov eax, dword [edx + 0x84]
test eax, eax
js 0x10021d1f
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10021d0c
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10021d1f
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10021cd1
mov eax, 1
jmp 0x10021d08
comiss xmm2, xmm1
jae 0x10021d06
comiss xmm4, xmm3
jae 0x10021d06
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10021d08
xor eax, eax
test eax, eax
jle 0x10021d1f
cmp byte [esp + 0x50], 0
je 0x10021d1f
cmp byte [esp + 0x74], 0
mov byte [esp + 0x2c], 1
jne 0x10021d24
mov byte [esp + 0x2c], 0
mov eax, dword [edx + 0x38]
test eax, eax
js 0x10021de7
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10021da5
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10021de7
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10021d6a
mov eax, 1
jmp 0x10021da1
comiss xmm2, xmm1
jae 0x10021d9f
comiss xmm4, xmm3
jae 0x10021d9f
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10021da1
xor eax, eax
test eax, eax
jle 0x10021de7
cmp byte [esp + 0x2d], 0
je 0x10021dc3
mov eax, 0x10004
lea edx, [edi + 0x38]
or eax, esi
mov ecx, edi
push eax
call fcn.1001f5c0
jmp 0x10022a06
cmp byte [esp + 0x1b], 0
lea edx, [edi + 0x38]
mov ecx, 0x1000c
mov eax, 0x10000
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.1001f5c0
jmp 0x10022a06
mov eax, dword [edx + 0x3c]
test eax, eax
js 0x10021eaa
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10021e68
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10021eaa
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10021e2d
mov eax, 1
jmp 0x10021e64
comiss xmm2, xmm1
jae 0x10021e62
comiss xmm4, xmm3
jae 0x10021e62
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10021e64
xor eax, eax
test eax, eax
jle 0x10021eaa
cmp byte [esp + 0x2d], 0
je 0x10021e86
mov eax, 0x10005
lea edx, [edi + 0x38]
or eax, esi
mov ecx, edi
push eax
call fcn.1001f5c0
jmp 0x10022a06
cmp byte [esp + 0x1b], 0
lea edx, [edi + 0x38]
mov ecx, 0x1000d
mov eax, 0x10001
cmovne eax, ecx
mov ecx, edi
or eax, esi
push eax
call fcn.1001f5c0
jmp 0x10022a06
mov eax, dword [edx + 0x40]
test eax, eax
js 0x10021f91
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10021f2b
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10021f91
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10021ef0
mov eax, 1
jmp 0x10021f27
comiss xmm2, xmm1
jae 0x10021f25
comiss xmm4, xmm3
jae 0x10021f25
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10021f27
xor eax, eax
test eax, eax
jle 0x10021f91
cmp byte [esp + 0x34], 0
je 0x10021f91
cmp byte [esp + 0x19], 0
je 0x10021f73
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0xc]
movss xmm1, dword [ecx + 0x58]
movaps xmm0, xmm1
subss xmm0, dword [eax + 0x1854]
addss xmm1, dword [ecx + 0xe4]
maxss xmm0, xmm4
subss xmm1, xmm0
movss dword [ecx + 0x58], xmm0
movss dword [ecx + 0xe4], xmm1
jmp 0x10022a1a
movzx eax, byte [esp + 0x22]
lea edx, [edi + 0x38]
mov ecx, edi
lea eax, [eax*4 + 0x10002]
or eax, esi
push eax
call fcn.1001f5c0
jmp 0x10022a06
mov eax, dword [edx + 0x44]
test eax, eax
js 0x1002209c
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10022016
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x1002209c
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10021fd7
mov eax, 1
jmp 0x1002200e
comiss xmm2, xmm1
jae 0x1002200c
comiss xmm4, xmm3
jae 0x1002200c
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x1002200e
xor eax, eax
test eax, eax
jle 0x1002209c
cmp byte [esp + 0x34], 0
je 0x1002209c
cmp byte [esp + 0x19], 0
je 0x1002207e
mov eax, dword [edx + 0x1928]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0xc]
movss xmm0, dword [eax + 0x20]
subss xmm0, dword [eax + 0x70]
movss xmm1, dword [eax + 0x30]
movss xmm3, dword [ecx + 0x58]
movaps xmm2, xmm3
addss xmm2, dword [esi + 0x1854]
addss xmm3, dword [ecx + 0xe4]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
minss xmm2, xmm0
subss xmm3, xmm2
movss dword [ecx + 0x58], xmm2
movss dword [ecx + 0xe4], xmm3
jmp 0x10022a1a
movzx eax, byte [esp + 0x22]
lea edx, [edi + 0x38]
mov ecx, edi
lea eax, [eax*4 + 0x10003]
or eax, esi
push eax
call fcn.1001f5c0
jmp 0x10022a06
mov eax, dword [edx + 0x50]
test eax, eax
js 0x1002213e
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10022119
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x1002213e
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100220de
mov eax, 1
jmp 0x10022115
comiss xmm2, xmm1
jae 0x10022113
comiss xmm4, xmm3
jae 0x10022113
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10022115
xor eax, eax
test eax, eax
jle 0x1002213e
mov eax, esi
lea edx, [edi + 0x38]
or eax, 0x10006
or esi, 0x10004
cmp byte [esp + 0x19], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.1001f5c0
jmp 0x10022a06
mov eax, dword [edx + 0x54]
test eax, eax
js 0x100221e0
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100221bb
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x100221e0
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10022180
mov eax, 1
jmp 0x100221b7
comiss xmm2, xmm1
jae 0x100221b5
comiss xmm4, xmm3
jae 0x100221b5
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x100221b7
xor eax, eax
test eax, eax
jle 0x100221e0
mov eax, esi
lea edx, [edi + 0x38]
or eax, 0x10007
or esi, 0x10005
cmp byte [esp + 0x19], 0
mov ecx, edi
cmovne esi, eax
push esi
call fcn.1001f5c0
jmp 0x10022a06
mov eax, dword [edx + 0x5c]
test eax, eax
js 0x1002227a
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1002225d
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x1002227a
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10022222
mov eax, 1
jmp 0x10022259
comiss xmm2, xmm1
jae 0x10022257
comiss xmm4, xmm3
jae 0x10022257
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10022259
xor eax, eax
test eax, eax
jle 0x1002227a
cmp byte [esp + 0x50], 0
je 0x1002227a
or esi, 0x10008
lea edx, [edi + 0x38]
push esi
mov ecx, edi
call fcn.1001f5c0
jmp 0x10022a06
mov eax, dword [edx + 0x60]
test eax, eax
js 0x10022375
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100222fb
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10022375
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100222c0
mov eax, 1
jmp 0x100222f7
comiss xmm2, xmm1
jae 0x100222f5
comiss xmm4, xmm3
jae 0x100222f5
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x100222f7
xor eax, eax
test eax, eax
jle 0x10022375
cmp byte [esp + 0x50], 0
je 0x10022375
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x40]
jne 0x1002235f
cmp byte [esp + 0x1b], 0
je 0x10022318
push 0x3000c
jmp 0x10022341
cmp byte [esp + 0x5b], 0
je 0x1002235f
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x1002235f
mov eax, dword [esp + 0xc]
cmp byte [eax + 0xf3], 0
jne 0x1002235f
cmp byte [esp + 0x19], 0
jne 0x1002235f
push 0x30004
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1001f5c0
mov dword [edi + 0xe5c], 0xbe99999a
add esp, 4
mov byte [edi + 0xe60], 1
or esi, 0x10009
lea edx, [edi + 0x38]
push esi
mov ecx, edi
call fcn.1001f5c0
jmp 0x10022a06
mov eax, dword [edx + 0x68]
test eax, eax
js 0x10022468
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100223f6
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10022468
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100223bb
mov eax, 1
jmp 0x100223f2
comiss xmm2, xmm1
jae 0x100223f0
comiss xmm4, xmm3
jae 0x100223f0
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x100223f2
xor eax, eax
test eax, eax
jle 0x10022468
mov ecx, dword [esp + 0x44]
mov eax, ecx
shr eax, 0xb
and al, 1
cmp byte [esp + 0x34], 0
je 0x10022413
test al, al
je 0x10022422
cmp byte [esp + 0x19], 0
jne 0x10022429
mov byte [esp + 0x2b], 1
mov byte [esp + 0x2f], 1
jmp 0x10022a1a
cmp byte [esp + 0x19], 0
jne 0x10022413
cmp byte [esp + 0x50], 0
je 0x10022a1a
mov dword [esp + 0x30], 0xa
sub esp, 8
mov edx, ecx
lea ecx, [esp + 0x38]
call fcn.10020790
add esp, 8
test al, al
je 0x10022a1a
push dword [esp + 0x30]
lea edx, [edi + 0x38]
mov ecx, edi
call fcn.1001f5c0
jmp 0x10022a06
mov ecx, dword [esp + 0x44]
test ecx, 0x400
je 0x1002252c
mov eax, dword [edx + 0x34]
test eax, eax
js 0x1002252c
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100224fd
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x1002252c
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100224be
mov eax, 1
jmp 0x100224f9
comiss xmm2, xmm1
jae 0x100224f7
comiss xmm4, xmm3
jae 0x100224f7
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x44]
jmp 0x100224f9
xor eax, eax
test eax, eax
jle 0x1002252c
cmp byte [esp + 0x19], 0
mov esi, dword [esp + 0xc]
jne 0x10022530
cmp byte [esp + 0x1a], 0
jne 0x10022530
cmp byte [esi + 0xf3], 0
jne 0x10022530
cmp byte [esp + 0x50], 0
je 0x10022530
mov dword [esp + 0x30], 9
jmp 0x1002243c
mov esi, dword [esp + 0xc]
mov eax, dword [edx + 0x6c]
test eax, eax
js 0x100225b4
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x100225a9
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x100225b4
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1002256e
mov eax, 1
jmp 0x100225a5
comiss xmm2, xmm1
jae 0x100225a3
comiss xmm4, xmm3
jae 0x100225a3
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x100225a5
xor eax, eax
test eax, eax
jle 0x100225b4
mov al, 1
mov byte [esp + 0x2b], al
jmp 0x10022a1e
mov al, byte [esp + 0x23]
test al, al
jne 0x100229e7
cmp byte [esp + 0x2c], al
jne 0x100229e7
cmp byte [esp + 0x12], al
je 0x1002266a
mov eax, dword [edx + 0x70]
test eax, eax
js 0x1002266a
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10022651
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x1002266a
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10022616
mov eax, 1
jmp 0x1002264d
comiss xmm2, xmm1
jae 0x1002264b
comiss xmm4, xmm3
jae 0x1002264b
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x1002264d
xor eax, eax
test eax, eax
jle 0x1002266a
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x38], eax
mov byte [edi + 0x47], 0
jmp 0x10022a13
cmp byte [esp + 0x2e], 0
jne 0x100228c5
cmp byte [esp + 0x13], 0
jne 0x100228c5
cmp byte [esp + 0x21], 0
je 0x10022a1a
mov eax, dword [edx + 0xc0]
test eax, eax
je 0x100226ab
push dword [edx + 0xc8]
call eax
mov esi, eax
add esp, 4
test esi, esi
jne 0x100226b0
jmp 0x10022a1a
mov esi, 0x1003d3e0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100226b5
inc dword [0x1006f1a4]
sub ecx, edx
lea eax, [ecx*2 + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], eax
cmp byte [esi], al
je 0x10022740
push 0
mov edx, esi
lea ecx, [esp + 0x6c]
call fcn.1000c750
add esi, eax
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
je 0x10022738
cmp eax, 0x10000
jae 0x10022733
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x68]
sub esp, 8
call fcn.10020790
add esp, 8
test al, al
je 0x10022733
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ax, word [esp + 0x68]
mov word [edx + ecx*2], ax
inc ecx
mov dword [esp + 0x48], ecx
cmp byte [esi], 0
jne 0x100226e5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
xor edx, edx
mov word [ecx + eax*2], dx
test eax, eax
jle 0x100228ac
mov ecx, dword [edi + 0x40]
lea esi, [edi + 0x38]
mov eax, dword [esi + 4]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], ecx
cmp eax, ecx
je 0x100227af
mov dword [esp + 0x1c], eax
cmp eax, edx
mov eax, edx
jle 0x1002277a
mov dword [edi + 0x3c], eax
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jle 0x1002278e
mov dword [edi + 0x40], eax
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x3c], eax
jmp 0x10022792
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
cmp eax, esi
lea esi, [edi + 0x38]
jne 0x100227af
mov ecx, dword [esp + 0x3c]
mov dword [esi], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi]
mov esi, ecx
cmp esi, dword [esp + 0x40]
lea esi, [edi + 0x38]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x5c]
jle 0x100227d2
mov ecx, dword [esp + 0x40]
mov dword [esi], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
je 0x10022819
mov dword [esp + 0x5c], eax
cmp eax, edx
jle 0x100227e5
mov dword [esi + 4], edx
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], ecx
cmp ecx, edx
jle 0x100227f8
mov dword [esi + 8], edx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x3c]
mov esi, ecx
cmp dword [esp + 0x5c], esi
lea esi, [edi + 0x38]
jne 0x10022819
mov eax, dword [esp + 0x5c]
mov dword [esi], eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], edx
jle 0x10022821
mov dword [esi], edx
cmp eax, ecx
je 0x10022856
mov edx, esi
jge 0x1002283c
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.1001f480
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x1002284d
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.1001f480
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
add esp, 8
mov byte [esi + 0xf], 0
push dword [esp + 0x48]
mov edx, dword [esi]
mov ecx, edi
push dword [esp + 0x28]
call fcn.1001f0f0
add esp, 8
test al, al
je 0x1002288d
push dword [esp + 0x48]
mov edx, dword [esi]
lea ecx, [esi + 0x18]
push 0
call fcn.100202d0
mov eax, dword [esp + 0x50]
add esp, 8
add dword [esi], eax
mov byte [esi + 0xf], 0
jmp 0x100228a1
movzx eax, word [esi + 0xe16]
test ax, ax
je 0x100228a1
dec eax
mov word [esi + 0xe16], ax
mov ecx, dword [esp + 0x24]
mov byte [edi + 0xe60], 1
test ecx, ecx
je 0x100228b6
dec dword [0x1006f1a4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10022a1a
cmp dword [esi + 0xc4], 0
je 0x10022940
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
cmp ecx, eax
je 0x100228e2
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x100228e7
mov eax, dword [edi + 0x2c]
xor edx, edx
mov dword [esp + 0x30], eax
lea ecx, [edi + 0x1c]
sub eax, edx
mov dword [esp + 0x70], edx
lea eax, [eax*4 + 1]
push eax
call fcn.10027420
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x30]
mov edx, dword [edi + 0x1c]
lea eax, [ecx + eax*2]
push eax
mov eax, dword [esp + 0x74]
lea eax, [ecx + eax*2]
mov ecx, dword [edi + 0x24]
push eax
call fcn.1000c950
mov edx, dword [0x1006f180]
add esp, 8
mov eax, dword [edx + 0xc4]
test eax, eax
je 0x10022940
push dword [edi + 0x24]
push dword [edx + 0xc8]
call eax
add esp, 8
cmp byte [esp + 0x2e], 0
je 0x10022a1a
mov eax, dword [edi + 0x3c]
lea esi, [edi + 0x38]
cmp eax, dword [edi + 0x40]
jne 0x10022969
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], eax
mov dword [esi], eax
mov byte [edi + 0x47], 0
mov byte [edi + 0xe60], 1
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x10022a1a
mov edx, dword [edi + 0x2c]
cmp eax, edx
jle 0x1002298a
mov dword [esi + 4], edx
mov eax, edx
cmp ecx, edx
jle 0x10022993
mov dword [esi + 8], edx
mov ecx, edx
cmp eax, ecx
jne 0x10022999
mov dword [esi], eax
cmp dword [esi], edx
jle 0x1002299f
mov dword [esi], edx
cmp eax, ecx
je 0x100229e1
mov edx, esi
jge 0x100229c7
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.1001f480
mov eax, dword [esi + 4]
add esp, 8
mov dword [esi + 8], eax
mov dword [esi], eax
mov byte [esi + 0xf], 0
mov byte [esi + 0xf], 0
jmp 0x10022a1a
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.1001f480
mov eax, dword [esi + 8]
add esp, 8
mov dword [esi + 4], eax
mov dword [esi], eax
mov byte [esi + 0xf], 0
mov byte [esi + 0xf], 0
jmp 0x10022a1a
movzx eax, al
lea edx, [edi + 0x38]
xor eax, 1
mov ecx, edi
add eax, 0x1000a
push eax
call fcn.1001f5c0
mov eax, dword [edi + 0x38]
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], eax
add esp, 4
mov dword [edi + 0xe5c], 0xbe99999a
mov byte [edi + 0xe60], 1
mov al, byte [esp + 0x11]
mov esi, dword [0x1006f180]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
cmp dword [ecx + 0x1944], edx
jne 0x10022a9a
test al, al
je 0x10022b81
cmp byte [esp + 0x50], 0
je 0x10022a86
mov esi, dword [ebp + 8]
push esi
push dword [edi + 0x18]
push dword [esp + 0x40]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x10022a80
cmp esi, 1
jb 0x10022a7b
push esi
push dword [edi + 0x18]
push dword [esp + 0x40]
call dword [esp + 0xa8]
mov eax, dword [esp + 0x44]
add esp, 0xc
mov byte [eax + esi - 1], 0
mov byte [esp + 0x5a], 1
mov esi, dword [0x1006f180]
cmp byte [esp + 0x2f], 0
je 0x10022a9a
mov ecx, dword [esp + 0x44]
test cl, 0x20
jne 0x10022b85
mov edi, dword [esp + 0x4c]
cmp byte [esp + 0x2b], 0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
je 0x10022b04
cmp dword [edx + 0x1944], eax
jne 0x10022b04
mov ecx, dword [esi + 0x1944]
test ecx, ecx
setne al
mov byte [esi + 0x1951], al
test ecx, ecx
je 0x10022adb
mov dword [esi + 0x194c], 0
mov byte [esi + 0x1953], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1944], 0
mov dword [esi + 0x1958], 0
mov byte [esi + 0x1952], 0
mov dword [esi + 0x1964], 0
mov edx, dword [edx + 0x1944]
cmp edx, eax
jne 0x10022b1c
cmp byte [esp + 0x50], 0
je 0x10022b1c
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x38], ecx
cmp byte [esp + 0x34], 0
movss xmm4, dword [0x10043d30]
jne 0x100231ce
push 1
mov edx, eax
lea ecx, [esp + 0xb0]
call fcn.10014ba0
mov eax, dword [0x1006f180]
xorps xmm3, xmm3
movss xmm6, dword [0x10043c74]
add esp, 4
movups xmm2, xmmword [eax + 0x1610]
comiss xmm3, xmm2
movaps xmm1, xmm2
movaps xmmword [esp + 0xc0], xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [eax + 0x1508]
jbe 0x10023060
xorps xmm0, xmm0
jmp 0x10023067
mov ecx, dword [esp + 0x44]
cmp byte [esp + 0x50], 0
je 0x10022bb8
mov eax, dword [edi + 4]
lea ecx, [edi + 0x1c]
shl eax, 2
push eax
call fcn.10027420
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x24]
push 0
push dword [edi + 0xc]
call fcn.1000c950
mov esi, dword [0x1006f180]
add esp, 8
mov ecx, dword [esp + 0x44]
test ecx, 0x1c0
je 0x10022fea
mov edx, dword [0x1006f180]
xor esi, esi
xorps xmm4, xmm4
test cl, 0x40
je 0x10022c67
mov eax, dword [edx + 0x34]
test eax, eax
js 0x10022c67
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10022c57
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10022c67
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10022c18
lea eax, [esi + 1]
jmp 0x10022c53
comiss xmm2, xmm1
jae 0x10022c51
comiss xmm4, xmm3
jae 0x10022c51
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x44]
jmp 0x10022c53
xor eax, eax
test eax, eax
jle 0x10022c67
mov eax, dword [esp + 0x44]
mov esi, 0x40
xor ecx, ecx
jmp 0x10022d9e
test cl, cl
jns 0x10022d88
mov eax, dword [edx + 0x40]
test eax, eax
js 0x10022cfd
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10022cec
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10022cfd
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10022cb1
mov eax, 1
jmp 0x10022ce8
comiss xmm2, xmm1
jae 0x10022ce6
comiss xmm4, xmm3
jae 0x10022ce6
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10022ce8
xor eax, eax
test eax, eax
jle 0x10022cfd
mov eax, dword [esp + 0x44]
mov esi, 0x80
lea ecx, [esi - 0x7d]
jmp 0x10022d9e
mov eax, dword [edx + 0x44]
test eax, eax
js 0x10022d88
movss xmm1, dword [edx + eax*4 + 0x460]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10022d7a
movss xmm2, dword [edx + 0x88]
comiss xmm1, xmm2
jbe 0x10022d88
movss xmm3, dword [edx + 0x8c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10022d3f
mov eax, 1
jmp 0x10022d76
comiss xmm2, xmm1
jae 0x10022d74
comiss xmm4, xmm3
jae 0x10022d74
movaps xmm0, xmm1
subss xmm1, xmm2
subss xmm0, dword [edx + 0x18]
divss xmm1, xmm3
subss xmm0, xmm2
cvttss2si ecx, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovg eax, ecx
jmp 0x10022d76
xor eax, eax
test eax, eax
jle 0x10022d88
mov eax, dword [esp + 0x44]
mov esi, 0x80
lea ecx, [esi - 0x7c]
jmp 0x10022d9e
mov eax, dword [esp + 0x44]
mov ecx, 0x100
test eax, 0x100
cmovne esi, ecx
mov ecx, 0x15
test esi, esi
je 0x10022fe4
mov dword [esp + 0x104], eax
xor edx, edx
mov al, byte [esp + 0x50]
xor al, 1
mov dword [esp + 0x100], esi
mov esi, dword [edi + 0xc]
mov byte [esp + 0x10c], al
mov eax, dword [edi + 0x24]
mov dword [esp + 0x114], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x118], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 0x38]
mov word [esp + 0x10d], dx
mov byte [esp + 0x10f], dl
mov word [esp + 0x121], dx
mov byte [esp + 0x123], dl
mov dword [esp + 0x108], edx
mov dword [esp + 0x110], ecx
mov ecx, esi
mov byte [esp + 0x120], dl
lea edx, [esi + eax*2]
call fcn.1000ca80
mov edi, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x124], edi
mov ecx, dword [eax + 0x1c94]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.1000ca80
mov dword [esp + 0xa0], eax
mov ecx, esi
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x1c98]
lea edx, [esi + edx*2]
call fcn.1000ca80
mov dword [esp + 0x70], eax
mov dword [esp + 0x12c], eax
lea eax, [esp + 0x100]
push eax
xor eax, eax
call eax
mov ecx, dword [esp + 0x128]
add esp, 4
cmp ecx, edi
je 0x10022ee1
mov eax, dword [esp + 0x114]
mov esi, eax
lea edi, [ecx + eax]
xor eax, eax
mov dword [esp + 0x24], eax
nop word [eax + eax]
test edi, edi
je 0x10022ea8
cmp esi, edi
jae 0x10022ed8
cmp byte [esi], 0
je 0x10022ed8
push edi
mov edx, esi
lea ecx, [esp + 0x58]
call fcn.1000c750
add esi, eax
add esp, 4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x10022ed4
cmp eax, 0x10000
mov eax, dword [esp + 0x24]
jae 0x10022ea0
inc eax
jmp 0x10022e96
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
mov dword [esi + 0x38], eax
jmp 0x10022ee5
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x128]
cmp eax, dword [esp + 0xa0]
je 0x10022f4b
add eax, dword [esp + 0x114]
xor ecx, ecx
mov edi, dword [esp + 0x114]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
nop dword [eax]
test eax, eax
je 0x10022f18
cmp edi, eax
jae 0x10022f48
cmp byte [edi], 0
je 0x10022f48
push eax
mov edx, edi
lea ecx, [esp + 0x58]
call fcn.1000c750
mov ecx, dword [esp + 0x28]
add edi, eax
mov eax, dword [esp + 0x58]
add esp, 4
test eax, eax
je 0x10022f48
cmp eax, 0x10000
mov eax, dword [esp + 0x30]
jae 0x10022f10
inc ecx
jmp 0x10022f09
mov dword [esi + 0x3c], ecx
mov eax, dword [esp + 0x12c]
cmp eax, dword [esp + 0x70]
je 0x10022fab
add eax, dword [esp + 0x114]
xor ecx, ecx
mov edi, dword [esp + 0x114]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
test eax, eax
je 0x10022f78
cmp edi, eax
jae 0x10022fa8
cmp byte [edi], 0
je 0x10022fa8
push eax
mov edx, edi
lea ecx, [esp + 0x58]
call fcn.1000c750
mov ecx, dword [esp + 0x28]
add edi, eax
mov eax, dword [esp + 0x58]
add esp, 4
test eax, eax
je 0x10022fa8
cmp eax, 0x10000
mov eax, dword [esp + 0x30]
jae 0x10022f70
inc ecx
jmp 0x10022f6c
mov dword [esi + 0x40], ecx
cmp byte [esp + 0x120], 0
je 0x10022fe4
mov edx, dword [esi + 4]
push 0
push ecx
push dword [esp + 0x11c]
mov ecx, dword [esi + 0xc]
call fcn.1000c8e0
mov dword [esi + 0x2c], eax
add esp, 0xc
mov eax, dword [esp + 0x118]
mov dword [esi + 0x28], eax
mov dword [esi + 0xe5c], 0xbe99999a
mov esi, dword [0x1006f180]
cmp byte [esp + 0x50], 0
mov edi, dword [esp + 0x4c]
je 0x10022a9e
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10023020
test dl, dl
je 0x1002301c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10023020
add eax, 2
add ecx, 2
test dl, dl
jne 0x10023000
xor eax, eax
jmp 0x10023025
sbb eax, eax
or eax, 1
test eax, eax
je 0x10022a9e
mov eax, dword [ebp + 8]
cmp eax, 1
jb 0x10023056
mov esi, dword [esp + 0x38]
push eax
push dword [edi + 0x24]
push esi
call dword [esp + 0xa8]
mov eax, dword [ebp + 8]
add esp, 0xc
mov byte [esi + eax - 1], 0
mov esi, dword [0x1006f180]
mov byte [esp + 0x5a], 1
jmp 0x10022a9e
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm4, dword [0x10043d30]
movss xmm5, dword [0x10043c50]
movss xmm2, dword [esp + 0xc4]
comiss xmm3, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x10023096
xorps xmm0, xmm0
jmp 0x1002309d
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [esp + 0xc8]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm3, xmm2
jbe 0x100230c1
xorps xmm0, xmm0
jmp 0x100230c8
movaps xmm0, xmm6
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm3, xmm1
jbe 0x100230e3
xorps xmm0, xmm0
jmp 0x100230ea
movaps xmm0, xmm6
minss xmm0, xmm1
push dword [esp + 0xb8]
mov eax, dword [esp + 0x10]
push dword [esp + 0xb8]
mulss xmm0, xmm4
push dword [esp + 0xb8]
movss xmm2, dword [eax + 0x1544]
push dword [esp + 0xb8]
addss xmm0, xmm5
cvttss2si ecx, xmm0
shl ecx, 0x18
or ecx, edx
mov dl, 1
call fcn.10014330
mov ecx, dword [esp + 0x1c]
add esp, 0x10
movss xmm3, dword [esp + 0xa8]
movss xmm5, dword [esp + 0x98]
movaps xmm0, xmm3
movss xmm6, dword [esp + 0x6c]
movaps xmm2, xmm3
addss xmm0, dword [ecx + 0x153c]
movss xmm1, dword [esp + 0x60]
addss xmm2, xmm6
mov edx, dword [ecx + 0x1944]
addss xmm1, xmm5
movss xmm4, dword [0x10043d30]
mov esi, dword [0x1006f180]
movss dword [esp + 0xac], xmm0
movaps xmm0, xmm5
addss xmm0, dword [ecx + 0x1540]
movss dword [esp + 0xc0], xmm3
movss dword [esp + 0xc4], xmm5
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0xb0], xmm0
jmp 0x10023252
movss xmm0, dword [esp + 0xa8]
movss xmm6, dword [esp + 0x6c]
movaps xmm2, xmm0
movss xmm3, dword [esp + 0x98]
addss xmm2, xmm6
movss xmm1, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
addss xmm1, xmm3
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm3
movaps xmm0, xmm2
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm1
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0xc]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0xcc], xmm0
mov dword [esp + 0xac], eax
lea eax, [esp + 0xac]
movss dword [esp + 0x9c], xmm1
movss xmm0, dword [eax]
xorps xmm7, xmm7
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x7c], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x30], xmm7
cmp dword [edi], eax
jne 0x100232dd
cmp byte [esp + 0x34], 0
je 0x100232dd
mov eax, dword [esp + 0x64]
mov ecx, str.SCROLLY
mov edx, dword [eax + 0x1c8]
mov eax, dword [eax + 0x1d0]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.1000c630
mov ecx, dword [esp + 0x10]
add esp, 4
mov edx, dword [ecx + 0x1944]
cmp edx, eax
jne 0x100232dd
mov al, 1
jmp 0x100232df
xor al, al
cmp edx, dword [esp + 0x14]
je 0x10023711
test al, al
jne 0x10023711
xor edx, edx
cmp byte [esp + 0x34], dl
je 0x1002335d
mov edx, dword [esp + 0x38]
xor ecx, ecx
mov al, byte [edx]
inc edx
mov byte [esp + 0x21], al
test al, al
je 0x10023328
nop word [eax + eax]
cmp byte [esp + 0x21], 0xa
lea eax, [ecx + 1]
cmovne eax, ecx
mov ecx, eax
mov al, byte [edx]
inc edx
mov byte [esp + 0x21], al
test al, al
jne 0x10023310
mov al, byte [edx - 1]
dec edx
cmp al, 0xa
je 0x10023335
cmp al, 0xd
je 0x10023335
inc ecx
mov edi, dword [esp + 0xc]
movaps xmm0, xmm6
movd xmm5, ecx
cvtdq2ps xmm5, xmm5
movss xmm3, dword [edi + 0x1854]
mulss xmm5, xmm3
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x30], xmm5
jmp 0x10023369
movss xmm3, dword [ecx + 0x1854]
mov edi, dword [esp + 0xc]
movups xmm2, xmmword [esi + 0x15a0]
mov eax, dword [esp + 0x64]
movss xmm6, dword [0x10043c74]
comiss xmm7, xmm2
mov eax, dword [eax + 0x27c]
mov dword [esp + 0x60], eax
movaps xmm1, xmm2
movaps xmmword [esp + 0x80], xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [esi + 0x1508]
jbe 0x100233a7
movaps xmm0, xmm7
jmp 0x100233ae
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm5, dword [0x10043c50]
movss xmm2, dword [esp + 0x84]
comiss xmm7, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si ecx, xmm0
jbe 0x100233d5
movaps xmm0, xmm7
jmp 0x100233dc
movaps xmm0, xmm6
minss xmm0, xmm2
movss xmm2, dword [esp + 0x88]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm2
jbe 0x10023400
movaps xmm0, xmm7
jmp 0x10023407
movaps xmm0, xmm6
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm1
jbe 0x10023422
movaps xmm6, xmm7
jmp 0x10023426
minss xmm6, xmm1
mulss xmm6, xmm4
mov dword [esp + 0x54], 0
addss xmm6, xmm5
cvttss2si eax, xmm6
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x1850]
cmp byte [esp + 0x34], 0
lea edi, [esp + 0xc0]
mov dword [esp + 0xa0], eax
cmovne edi, dword [esp + 0x54]
mov dword [esp + 0x68], ecx
test eax, 0xff000000
je 0x10023581
test edx, edx
jne 0x1002348d
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023477
mov eax, dword [esp + 0x38]
sub ecx, edx
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x68]
jmp 0x10023491
mov eax, dword [esp + 0x38]
cmp eax, edx
je 0x10023581
mov esi, dword [esp + 0x60]
test ecx, ecx
jne 0x100234ab
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x68], eax
ucomiss xmm3, xmm7
lahf
test ah, 0x44
jp 0x100234bc
mov eax, dword [esi + 0x28]
movss xmm3, dword [eax + 0xc]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x44]
shl ecx, 4
movups xmm0, xmmword [eax + ecx - 0x10]
movups xmmword [esp + 0x80], xmm0
test edi, edi
je 0x1002353f
movss xmm1, dword [edi]
movss xmm0, dword [esp + 0x80]
comiss xmm0, xmm1
jae 0x100234f1
movss dword [esp + 0x80], xmm1
movss xmm1, dword [edi + 4]
movss xmm0, dword [esp + 0x84]
comiss xmm0, xmm1
jae 0x1002350d
movss dword [esp + 0x84], xmm1
movss xmm0, dword [edi + 8]
comiss xmm0, dword [esp + 0x88]
ja 0x10023525
movss dword [esp + 0x88], xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm0, dword [esp + 0x8c]
ja 0x1002353d
movss dword [esp + 0x8c], xmm0
test edi, edi
setne al
movaps xmm2, xmm3
movzx eax, al
push eax
push ecx
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x88]
mov dword [esp], 0
push edx
push dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x5c]
push dword [esp + 0xb4]
push dword [eax + 4]
push dword [eax]
push esi
call fcn.100373a0
mov esi, dword [0x1006f180]
xorps xmm7, xmm7
mov edi, dword [esp + 0xc]
cmp byte [esp + 0x34], 0
je 0x1002364a
mov eax, dword [esi + 0x1928]
movss xmm2, dword [edi + 0x1854]
mov byte [eax + 0x78], 1
mov eax, dword [esi + 0x1928]
cmp byte [eax + 0x7b], 0
jne 0x1002363a
movss xmm3, dword [esp + 0x70]
lea ecx, [esp + 0xac]
addss xmm2, dword [esp + 0x30]
movss xmm1, dword [eax + 0xc8]
addss xmm3, xmm7
movss xmm0, dword [eax + 0xcc]
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc4], xmm0
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [esp + 0xcc], xmm2
subss xmm2, xmm0
movss dword [esp + 0xc8], xmm3
subss xmm3, xmm1
movaps xmm1, xmm7
movss dword [esp + 0xb0], xmm2
movss dword [esp + 0xac], xmm3
call fcn.1000d990
push 0
xor edx, edx
lea ecx, [esp + 0xc4]
call fcn.1000e290
add esp, 4
call fcn.10015620
call fcn.10025ba0
mov esi, dword [0x1006f180]
mov eax, dword [esp + 0xbc]
test al, al
je 0x10023667
call fcn.1001bb70
mov esi, dword [0x1006f180]
mov eax, dword [esp + 0xbc]
cmp byte [edi + 0x2b8c], 0
je 0x1002368c
test al, al
jne 0x1002368c
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x78]
push 0
call fcn.100138b0
mov esi, dword [0x1006f180]
add esp, 4
movss xmm0, dword [esp + 0xf4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100236ec
movss xmm0, dword [esp + 0xf0]
xor edx, edx
addss xmm0, dword [edi + 0x1554]
mov ecx, dword [esp + 0xec]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x98]
addss xmm0, dword [edi + 0x1540]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push 1
call fcn.100139d0
mov esi, dword [0x1006f180]
add esp, 0xc
mov al, byte [esp + 0x5a]
test al, al
je 0x100236fb
mov byte [esi + 0x1953], 1
test byte [esp + 0x44], 0x20
movzx ecx, byte [esp + 0x2f]
movzx eax, al
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [ecx + 0x18]
or esi, 0xffffffff
mov ecx, dword [edi + 0xc]
xorps xmm6, xmm6
mov eax, dword [edi + 0x38]
xorps xmm4, xmm4
addss xmm0, dword [edi + 0xe5c]
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x4c], ecx
lea eax, [ecx + eax*2]
mov dword [esp + 0x24], 0
mov dword [esp + 0x74], eax
mov ecx, 1
mov eax, dword [edi + 0x40]
movss dword [edi + 0xe5c], xmm0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], 0xfffffc19
cmp edx, eax
je 0x1002377a
mov ecx, dword [esp + 0x4c]
cmovl eax, edx
mov dword [esp + 0x1c], esi
lea eax, [ecx + eax*2]
mov ecx, 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
movzx eax, al
add ecx, eax
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov edx, eax
movzx eax, word [eax]
test ax, ax
je 0x100237ed
mov esi, eax
nop dword [eax]
cmp si, 0xa
jne 0x100237db
mov eax, dword [esp + 0x14]
inc eax
cmp dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x14], eax
jne 0x100237c5
cmp edx, dword [esp + 0x74]
jb 0x100237c5
dec ecx
mov dword [esp + 0x3c], eax
test ecx, ecx
jle 0x100237e9
cmp dword [esp + 0x1c], 0xffffffff
jne 0x100237db
cmp edx, dword [esp + 0x24]
jb 0x100237db
dec ecx
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x100237e9
movzx eax, word [edx + 2]
add edx, 2
mov esi, eax
test ax, ax
jne 0x100237a0
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
inc eax
cmp esi, 0xffffffff
mov ecx, eax
mov dword [esp + 0x14], eax
cmovne ecx, esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x54], ecx
mov edx, esi
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
cmove ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x4c]
cmp esi, ecx
jbe 0x1002382e
nop
cmp word [edx - 2], 0xa
je 0x1002382e
add edx, 0xfffffffe
cmp edx, ecx
ja 0x10023820
mov ecx, dword [0x1006f180]
movaps xmm1, xmm7
movaps xmm5, xmm7
mov eax, dword [ecx + 0x1850]
movss xmm3, dword [ecx + 0x1854]
mov dword [esp + 0x3c], eax
divss xmm3, dword [eax]
cmp edx, esi
jae 0x1002389b
mov ecx, eax
movzx eax, word [edx]
add edx, 2
mov esi, eax
cmp eax, 0xa
jne 0x1002386c
maxss xmm1, xmm5
movaps xmm5, xmm7
jmp 0x1002388f
cmp esi, 0xd
je 0x1002388f
mov esi, eax
cmp esi, dword [ecx + 0x1c]
jge 0x10023882
mov eax, dword [ecx + 0x24]
movss xmm0, dword [eax + esi*4]
jmp 0x10023887
movss xmm0, dword [ecx + 0x38]
mulss xmm0, xmm3
addss xmm5, xmm0
cmp edx, dword [esp + 0x74]
jb 0x10023856
mov ecx, dword [0x1006f180]
cmp dword [esp + 0x1c], 0
maxss xmm5, xmm1
movd xmm0, dword [esp + 0x54]
mov edx, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [edx + 0x1854]
mulss xmm0, xmm2
movss dword [esp + 0xf8], xmm5
movss dword [esp + 0x54], xmm0
jl 0x1002395e
mov esi, dword [esp + 0x24]
mov edx, esi
cmp esi, dword [esp + 0x4c]
jbe 0x100238f6
mov ecx, dword [esp + 0x4c]
cmp word [edx - 2], 0xa
je 0x100238f0
add edx, 0xfffffffe
cmp edx, ecx
ja 0x100238e2
mov ecx, dword [0x1006f180]
movaps xmm1, xmm7
movaps xmm4, xmm7
cmp edx, esi
jae 0x10023949
mov ecx, dword [esp + 0x3c]
movzx eax, word [edx]
add edx, 2
cmp eax, 0xa
jne 0x10023918
maxss xmm1, xmm4
movaps xmm4, xmm7
jmp 0x1002393f
cmp eax, 0xd
je 0x1002393f
mov esi, eax
cmp esi, dword [ecx + 0x1c]
jge 0x1002392e
mov eax, dword [ecx + 0x24]
movss xmm0, dword [eax + esi*4]
jmp 0x10023933
movss xmm0, dword [ecx + 0x38]
mov esi, dword [esp + 0x24]
mulss xmm0, xmm3
addss xmm4, xmm0
cmp edx, esi
jb 0x10023904
mov ecx, dword [0x1006f180]
movd xmm6, dword [esp + 0x1c]
maxss xmm4, xmm1
mov edx, dword [esp + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm2
cmp byte [esp + 0x34], 0
movss xmm3, dword [esp + 0x6c]
je 0x10023987
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm3
movss dword [esp + 0x70], xmm0
cmp byte [edi + 0xe60], 0
je 0x10023a4a
test dword [esp + 0x44], 0x1000
jne 0x100239e5
movss xmm1, dword [edi + 0x34]
movaps xmm2, xmm3
comiss xmm1, xmm5
mulss xmm2, dword [0x10043c38]
jbe 0x100239c3
movaps xmm1, xmm5
movaps xmm0, xmm7
subss xmm1, xmm2
maxss xmm0, xmm1
jmp 0x100239d3
movaps xmm0, xmm5
subss xmm0, xmm3
comiss xmm0, xmm1
jb 0x100239ec
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x34], xmm0
jmp 0x100239ec
mov dword [edi + 0x34], 0
cmp byte [esp + 0x34], 0
je 0x10023a4a
movss xmm0, dword [esp + 0x54]
mov eax, dword [esp + 0x64]
movaps xmm1, xmm0
subss xmm1, dword [edx + 0x1854]
movss xmm2, dword [eax + 0x58]
comiss xmm2, xmm1
jbe 0x10023a1b
movaps xmm0, xmm7
maxss xmm0, xmm1
jmp 0x10023a25
subss xmm0, dword [esp + 0x60]
maxss xmm0, xmm2
subss xmm2, xmm0
movss dword [eax + 0x58], xmm0
addss xmm2, dword [eax + 0xcc]
movss dword [esp + 0x40], xmm2
movss dword [eax + 0xcc], xmm2
movss dword [esp + 0x7c], xmm2
movss xmm5, dword [edi + 0x34]
mov edx, dword [edi + 0x40]
mov esi, dword [edi + 0x3c]
mov byte [edi + 0xe60], 0
movss dword [esp + 0x3c], xmm5
cmp esi, edx
je 0x10023dde
mov eax, edx
cmovl eax, esi
mov esi, dword [esp + 0x4c]
cmp dword [edi + 0x3c], edx
cmovge edx, dword [edi + 0x3c]
cmp byte [esp + 0x34], 0
lea esi, [esi + eax*2]
mov eax, dword [esp + 0x4c]
lea edx, [eax + edx*2]
mov dword [esp + 0x1c], edx
je 0x10023aa0
movss dword [esp + 0xfc], xmm7
movss dword [esp + 0x60], xmm7
jmp 0x10023aae
movss xmm0, dword [0x10043cb4]
movss dword [esp + 0x60], xmm0
movups xmm1, xmmword [ecx + 0x17f0]
comiss xmm7, xmm1
movaps xmm2, xmm1
movaps xmmword [esp + 0x80], xmm1
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [ecx + 0x1508]
jbe 0x10023ad6
movaps xmm0, xmm7
jmp 0x10023ae2
movss xmm0, dword [0x10043c74]
minss xmm0, xmm1
movss xmm3, dword [0x10043d30]
movss xmm1, dword [esp + 0x84]
comiss xmm7, xmm1
mulss xmm0, xmm3
addss xmm0, dword [0x10043c50]
cvttss2si eax, xmm0
mov dword [esp + 0x6c], eax
jbe 0x10023b11
movaps xmm0, xmm7
jmp 0x10023b1d
movss xmm0, dword [0x10043c74]
minss xmm0, xmm1
movss xmm1, dword [esp + 0x88]
mulss xmm0, xmm3
addss xmm0, dword [0x10043c50]
cvttss2si eax, xmm0
shl eax, 8
or dword [esp + 0x6c], eax
comiss xmm7, xmm1
jbe 0x10023b47
movaps xmm0, xmm7
jmp 0x10023b53
movss xmm0, dword [0x10043c74]
minss xmm0, xmm1
movss xmm1, dword [0x10043c50]
mulss xmm0, xmm3
addss xmm0, xmm1
cvttss2si eax, xmm0
shl eax, 0x10
or dword [esp + 0x6c], eax
comiss xmm7, xmm2
jbe 0x10023b78
movaps xmm0, xmm7
jmp 0x10023b84
movss xmm0, dword [0x10043c74]
minss xmm0, xmm2
mulss xmm0, xmm3
addss xmm0, xmm1
cvttss2si eax, xmm0
shl eax, 0x18
or eax, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
movss xmm3, dword [eax]
addss xmm3, xmm4
movss xmm4, dword [esp + 0x40]
subss xmm3, xmm5
movaps xmm5, xmm4
addss xmm5, xmm6
subss xmm5, xmm7
movss dword [esp + 0x74], xmm5
cmp esi, edx
jae 0x10023e21
movss xmm4, dword [esp + 0x5c]
mov eax, dword [esp + 0xc]
movaps xmm0, xmm4
movss xmm6, dword [eax + 0x1854]
addss xmm0, xmm6
comiss xmm5, xmm0
ja 0x10023dd8
movss xmm0, dword [esp + 0x98]
comiss xmm0, xmm5
jbe 0x10023c1b
cmp esi, edx
jae 0x10023daa
mov ax, word [esi]
add esi, 2
cmp ax, 0xa
je 0x10023daa
cmp esi, edx
jb 0x10023c02
jmp 0x10023daa
movaps xmm4, xmm7
mov edx, dword [ecx + 0x1850]
movaps xmm1, xmm7
movss xmm2, dword [ecx + 0x1854]
divss xmm2, dword [edx]
cmp esi, dword [esp + 0x1c]
jae 0x10023c84
nop dword [eax]
movzx eax, word [esi]
add esi, 2
cmp eax, 0xa
je 0x10023c76
cmp eax, 0xd
je 0x10023c6e
mov ecx, eax
cmp ecx, dword [edx + 0x1c]
jge 0x10023c61
mov eax, dword [edx + 0x24]
movss xmm0, dword [eax + ecx*4]
jmp 0x10023c66
movss xmm0, dword [edx + 0x38]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp esi, dword [esp + 0x1c]
jb 0x10023c40
jmp 0x10023c80
movaps xmm4, xmm7
maxss xmm4, xmm1
movaps xmm1, xmm7
mov eax, dword [esp + 0xc]
maxss xmm1, xmm4
comiss xmm7, xmm1
jb 0x10023cbe
mov eax, dword [eax + 0x1850]
cmp dword [eax + 0x1c], 0x20
jle 0x10023ca6
mov eax, dword [eax + 0x24]
movss xmm0, dword [eax + 0x80]
jmp 0x10023cab
movss xmm0, dword [eax + 0x38]
mulss xmm0, dword [0x10043c50]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [esp + 0xfc]
addss xmm1, xmm3
movss xmm0, dword [esp + 0x60]
subss xmm2, xmm6
movss xmm4, dword [esp + 0x5c]
addss xmm0, xmm5
movss xmm6, dword [esp + 0xa0]
addss xmm3, xmm7
minss xmm1, xmm6
addss xmm2, xmm5
minss xmm0, xmm4
maxss xmm3, dword [esp + 0xa8]
movss dword [esp + 0x88], xmm1
maxss xmm2, dword [esp + 0x98]
comiss xmm0, dword [esp + 0x98]
movss dword [esp + 0x80], xmm3
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x8c], xmm0
jbe 0x10023da6
comiss xmm4, xmm2
jbe 0x10023da6
comiss xmm1, dword [esp + 0xa8]
jbe 0x10023da6
comiss xmm6, xmm3
jbe 0x10023da6
push 0xf
push ecx
mov dword [esp], 0
lea eax, [esp + 0x90]
push dword [esp + 0x2c]
push eax
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x27c]
call fcn.10034be0
movss xmm0, dword [esp + 0x68]
xorps xmm7, xmm7
movss xmm5, dword [esp + 0x74]
movss xmm4, dword [esp + 0x5c]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x9c], xmm0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
movss xmm3, dword [ecx]
mov ecx, dword [esp + 0xc]
subss xmm3, dword [esp + 0x3c]
addss xmm5, dword [ecx + 0x1854]
mov ecx, dword [0x1006f180]
movss dword [esp + 0x74], xmm5
cmp esi, edx
jb 0x10023bd0
movss xmm5, dword [esp + 0x3c]
movss xmm4, dword [esp + 0x40]
movups xmm1, xmmword [ecx + 0x15a0]
mov eax, dword [esp + 0x64]
mov esi, dword [edi + 0x28]
add esi, dword [esp + 0x38]
movaps xmm2, xmm1
comiss xmm7, xmm1
mov eax, dword [eax + 0x27c]
mov dword [esp + 0x24], eax
shufps xmm2, xmm1, 0xff
mulss xmm2, dword [ecx + 0x1508]
movaps xmmword [esp + 0x80], xmm1
jbe 0x10023e29
movaps xmm0, xmm7
jmp 0x10023e35
movss xmm5, dword [esp + 0x3c]
jmp 0x10023de4
movss xmm0, dword [0x10043c74]
minss xmm0, xmm1
movss xmm3, dword [0x10043d30]
movss xmm6, dword [0x10043c50]
movss xmm1, dword [esp + 0x84]
comiss xmm7, xmm1
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x10023e64
movaps xmm0, xmm7
jmp 0x10023e70
movss xmm0, dword [0x10043c74]
minss xmm0, xmm1
movss xmm1, dword [esp + 0x88]
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm1
jbe 0x10023e94
movaps xmm0, xmm7
jmp 0x10023ea0
movss xmm0, dword [0x10043c74]
minss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm2
jbe 0x10023ebb
movaps xmm0, xmm7
jmp 0x10023ec7
movss xmm0, dword [0x10043c74]
minss xmm0, xmm2
mov eax, dword [esp + 0x48]
lea edx, [esp + 0xc0]
mulss xmm0, xmm3
addss xmm0, xmm6
cvttss2si edi, xmm0
movss xmm0, dword [eax]
mov eax, dword [esp + 0xc]
subss xmm0, xmm5
shl edi, 0x18
or edi, ecx
xor ecx, ecx
cmp byte [esp + 0x34], cl
movss xmm2, dword [eax + 0x1854]
mov eax, dword [eax + 0x1850]
cmovne edx, ecx
movss dword [esp + 0xa0], xmm0
movaps xmm0, xmm4
mov dword [esp + 0x60], eax
subss xmm0, xmm7
movss dword [esp + 0xa4], xmm0
test edi, 0xff000000
je 0x10024042
test esi, esi
jne 0x10023f53
mov ecx, dword [esp + 0x38]
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023f40
mov eax, dword [esp + 0x60]
sub ecx, esi
mov esi, dword [esp + 0x38]
add esi, ecx
cmp dword [esp + 0x38], esi
je 0x10024042
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x10023f6f
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
ucomiss xmm2, xmm7
lahf
test ah, 0x44
jp 0x10023f80
mov eax, dword [ecx + 0x28]
movss xmm2, dword [eax + 0xc]
mov eax, dword [esp + 0x24]
mov ecx, dword [ecx + 0x3c]
shl ecx, 4
mov eax, dword [eax + 0x44]
movups xmm0, xmmword [ecx + eax - 0x10]
movups xmmword [esp + 0x80], xmm0
test edx, edx
je 0x10024007
movss xmm1, dword [edx]
movss xmm0, dword [esp + 0x80]
comiss xmm0, xmm1
jae 0x10023fb9
movss dword [esp + 0x80], xmm1
movss xmm1, dword [edx + 4]
movss xmm0, dword [esp + 0x84]
comiss xmm0, xmm1
jae 0x10023fd5
movss dword [esp + 0x84], xmm1
movss xmm0, dword [edx + 8]
comiss xmm0, dword [esp + 0x88]
ja 0x10023fed
movss dword [esp + 0x88], xmm0
movss xmm0, dword [edx + 0xc]
comiss xmm0, dword [esp + 0x8c]
ja 0x10024005
movss dword [esp + 0x8c], xmm0
test edx, edx
setne al
movzx eax, al
push eax
push ecx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x88]
mov dword [esp], 0
push esi
push dword [esp + 0x44]
push eax
push edi
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0x44]
call fcn.100373a0
xorps xmm7, xmm7
mov edi, dword [esp + 0xc]
cmp byte [edi + 0xbd], 0
je 0x1002409f
movss xmm0, dword [edi + 0x2ab4]
comiss xmm7, xmm0
jae 0x1002409f
cvtps2pd xmm0, xmm0
movsd qword [esp + 0xa0], xmm0
fld qword [esp + 0xa0]
fld qword [0x10043ca0]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x10043c68]
fstp qword [esp + 0xa0]
movsd xmm1, qword [esp + 0xa0]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x1002409f
xor al, al
jmp 0x100240a1
mov al, 1
movss xmm2, dword [esp + 0x40]
xorps xmm7, xmm7
mov ecx, dword [esp + 0x48]
movss xmm6, dword [0x10043c50]
movss xmm4, dword [0x10043c74]
addss xmm2, dword [esp + 0x54]
movss xmm5, dword [ecx]
addss xmm5, dword [esp + 0xf8]
subss xmm2, xmm7
subss xmm5, dword [esp + 0x3c]
movss dword [esp + 0x40], xmm2
movaps xmm0, xmm2
movaps xmm3, xmm2
movss dword [esp + 0xf8], xmm5
movaps xmm1, xmm5
movss dword [esp + 0xc0], xmm5
addss xmm1, xmm4
subss xmm0, dword [edi + 0x1854]
subss xmm3, dword [0x10043c7c]
movss dword [esp + 0xc8], xmm1
addss xmm0, xmm6
movss dword [esp + 0xcc], xmm3
movss dword [esp + 0xc4], xmm0
test al, al
je 0x1002429d
comiss xmm3, dword [esp + 0x98]
jbe 0x1002429d
movss xmm4, dword [esp + 0x9c]
comiss xmm4, xmm0
jbe 0x10024295
comiss xmm1, dword [esp + 0xa8]
jbe 0x10024295
movss xmm0, dword [esp + 0x68]
comiss xmm0, xmm5
jbe 0x10024295
mov esi, dword [0x1006f180]
movups xmm2, xmmword [esi + 0x15a0]
comiss xmm7, xmm2
movaps xmm1, xmm2
movaps xmmword [esp + 0x80], xmm2
shufps xmm1, xmm2, 0xff
mulss xmm1, dword [esi + 0x1508]
jbe 0x100241a2
xorps xmm0, xmm0
jmp 0x100241ae
movss xmm0, dword [0x10043c74]
minss xmm0, xmm2
movss xmm4, dword [0x10043d30]
movss xmm2, dword [esp + 0x84]
comiss xmm7, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x100241d5
xorps xmm0, xmm0
jmp 0x100241e1
movss xmm0, dword [0x10043c74]
minss xmm0, xmm2
movss xmm2, dword [esp + 0x88]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm7, xmm2
jbe 0x10024205
xorps xmm0, xmm0
jmp 0x10024211
movss xmm0, dword [0x10043c74]
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm7, xmm1
jbe 0x1002422c
xorps xmm0, xmm0
jmp 0x10024238
movss xmm0, dword [0x10043c74]
minss xmm0, xmm1
mulss xmm0, xmm4
push ecx
mov dword [esp], 0x3f800000
movss dword [esp + 0xb0], xmm5
addss xmm0, xmm6
movss dword [esp + 0xb4], xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xcc]
push eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x27c]
call fcn.10034990
movss xmm2, dword [esp + 0x40]
xorps xmm7, xmm7
movss xmm5, dword [esp + 0xf8]
movss xmm4, dword [0x10043c74]
cmp byte [esp + 0x50], 0
mov esi, dword [0x1006f180]
je 0x10023585
subss xmm2, dword [edi + 0x1854]
subss xmm5, xmm4
movss dword [edi + 0x2b54], xmm2
movss dword [edi + 0x2b50], xmm5
jmp 0x10023585