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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1b8
mov eax, dword [0x100b3140]
xor eax, esp
mov dword [esp + 0x1b4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x100b7d54]
push edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
call fcn.1001fae0
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x34], ecx
mov edi, ecx
sete byte [esp + 0x40]
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], edi
test ecx, ecx
jne 0x100222dc
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
call fcn.1001fc90
mov edi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], edi
mov ecx, dword [esi + 0x1248]
cmp ecx, dword [eax + 8]
jne 0x100222e8
int3
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0x30200
cmp eax, 0x30200
jne 0x10022301
or edx, 6
mov dword [esp + 0x14], edx
cmp dword [esi + 0x1224], 0
mov ecx, dword [esi + 0x11c8]
mov eax, dword [edi + 0x244]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], eax
jne 0x1002232b
cmp byte [esi + 0x11d5], 0
je 0x1002232b
mov al, 1
jmp 0x1002232d
xor al, al
mov byte [edi + 0xb6], al
lea eax, [ecx - 1]
cmp dword [edi + 0x244], eax
setl ch
mov byte [esp + 0x1f], ch
test edx, 0x4000000
je 0x10022381
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x1ccc]
mov edx, dword [edx + 0x1cc8]
lea esi, [eax + eax*4]
mov eax, dword [edi + 0xc8]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
setne al
or cl, al
or ch, cl
mov byte [esp + 0x1f], ch
mov byte [edi + 0xb4], ch
test ch, ch
je 0x100223a0
or byte [edi + 0xd8], 8
or byte [edi + 0xd9], 8
or byte [edi + 0xda], 8
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x3c]
je 0x1002252d
mov dword [esp + 0x28], edi
test edx, 0x1000000
je 0x100223cc
mov eax, edx
and eax, 0x14000000
cmp eax, 0x4000000
je 0x100223cc
mov al, 1
jmp 0x100223ce
xor al, al
cmp dword [esp + 0x34], 0
mov cl, byte [edi + 0xb7]
mov byte [esp + 0x11], al
je 0x100223e7
cmp al, cl
je 0x100224ce
test al, al
jne 0x10022413
mov esi, dword [0x100b7d54]
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x120c]
call fcn.1002e340
mov ax, word [esi + 0x120c]
mov esi, dword [esp + 0x20]
dec ax
jmp 0x100224bf
cmp dword [esp + 0x34], 0
je 0x100224ce
cmp al, cl
je 0x100224ce
test al, al
je 0x100224ce
mov edx, dword [0x100b7d54]
movsx ecx, word [edi + 0xc4]
inc ecx
mov eax, dword [edx + 0x120c]
mov dword [esp + 0x2c], eax
cmp ecx, eax
jge 0x10022473
nop word [eax + eax]
mov eax, dword [edx + 0x1214]
mov eax, dword [eax + ecx*4]
inc ecx
dec word [eax + 0xc4]
mov esi, dword [edx + 0x120c]
mov dword [esp + 0x2c], esi
cmp ecx, esi
jl 0x10022450
mov esi, dword [esp + 0x20]
mov eax, dword [0x100b7d54]
movsx ecx, word [edi + 0xc4]
mov edx, dword [edx + 0x1214]
mov eax, dword [eax + 0x1214]
lea eax, [eax + ecx*4]
sub eax, edx
sar eax, 2
lea ecx, [edx + eax*4]
mov edx, dword [esp + 0x2c]
sub edx, eax
lea eax, [edx*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.100560d0
mov eax, dword [0x100b7d54]
add esp, 0xc
dec dword [eax + 0x120c]
or eax, 0xffffffff
mov edx, dword [esp + 0x14]
mov word [edi + 0xc4], ax
mov al, byte [esp + 0x11]
mov byte [edi + 0xb7], al
mov dword [edi + 0xc], edx
test dword [esi + 0x1c0c], 0x100
je 0x100224eb
mov eax, dword [esi + 0x1c44]
jmp 0x100224ed
xor eax, eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x244], eax
xor eax, eax
movsd xmm0, qword [esi + 0x11c0]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x248], xmm0
mov word [edi + 0xc0], ax
movzx eax, word [esi + 0x123c]
inc dword [esi + 0x123c]
mov word [edi + 0xc2], ax
jmp 0x10022534
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x1224]
test eax, eax
jne 0x10022542
xor ecx, ecx
jmp 0x1002254f
imul ecx, eax, 0x64
mov eax, dword [esi + 0x122c]
mov ecx, dword [ecx + eax - 0x64]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
cmp eax, dword [esp + 0x3c]
je 0x1002256c
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x10022572
mov eax, dword [edi + 0x304]
cmp dword [edi + 0xec], 0
lea ecx, [edi + 0xec]
mov dword [esp + 0x30], eax
jne 0x1002258e
lea eax, [edi + 8]
push eax
call fcn.1002e340
lea ecx, [esp + 0x104]
mov dword [esi + 0x124c], edi
call fcn.100148a0
mov eax, dword [esi + 0x1c08]
xorps xmm0, xmm0
mov dword [esp + 0x14c], eax
mov eax, dword [esi + 0x124c]
movups xmmword [esp + 0x150], xmm0
mov ecx, dword [esi + 0x1228]
movups xmm0, xmmword [esi + 0x1bc0]
movzx eax, word [eax + 0xec]
mov word [esp + 0x150], ax
movzx eax, word [esi + 0x1c78]
mov word [esp + 0x152], ax
movzx eax, word [esi + 0x1c84]
mov word [esp + 0x154], ax
movzx eax, word [esi + 0x1c90]
movups xmmword [esp + 0x104], xmm0
mov word [esp + 0x156], ax
movups xmm0, xmmword [esi + 0x1bd0]
movzx eax, word [esi + 0x1c9c]
mov word [esp + 0x158], ax
movzx eax, word [esi + 0x1cb4]
movups xmmword [esp + 0x114], xmm0
mov word [esp + 0x15a], ax
movups xmm0, xmmword [esi + 0x1be0]
movzx eax, word [esi + 0x1ca8]
mov word [esp + 0x15c], ax
movzx eax, word [esi + 0x1ccc]
movups xmmword [esp + 0x124], xmm0
mov dword [esp + 0x100], edi
movups xmm0, xmmword [esi + 0x1bf0]
mov edi, dword [esi + 0x1224]
mov word [esp + 0x15e], ax
movzx eax, word [esi + 0x2fd4]
mov word [esp + 0x160], 0
mov word [esp + 0x160], ax
movups xmmword [esp + 0x134], xmm0
movq xmm0, qword [esi + 0x1c00]
movq qword [esp + 0x144], xmm0
cmp edi, ecx
jne 0x1002271b
inc edi
test ecx, ecx
je 0x100226c3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100226c8
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1002271b
imul eax, edi, 0x64
push eax
call fcn.10058203
mov edx, dword [esi + 0x122c]
add esp, 4
mov dword [esp + 0x24], eax
test edx, edx
je 0x1002270f
imul ecx, dword [esi + 0x1224], 0x64
push ecx
push edx
push eax
call fcn.100560d0
add esp, 0xc
push dword [esi + 0x122c]
call fcn.10057e7b
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x122c], eax
mov dword [esi + 0x1228], edi
imul edi, dword [esi + 0x1224], 0x64
mov ecx, 0x19
mov eax, dword [esp + 0x20]
add edi, dword [esi + 0x122c]
lea esi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
inc dword [eax + 0x1224]
mov ecx, dword [esp + 0x14]
test ecx, 0x10000000
je 0x10022752
inc dword [eax + 0x2f44]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
cmp edx, dword [esp + 0x3c]
je 0x10022819
mov edx, dword [esp + 0x30]
mov dword [edi + 0x304], edx
mov dword [edi + 0x318], edi
mov dword [edi + 0x314], edi
mov dword [edi + 0x310], edi
mov dword [edi + 0x30c], edi
test edx, edx
je 0x100227d4
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x100227a4
mov eax, dword [edx + 0x30c]
mov dword [edi + 0x30c], eax
test ecx, 0x4000000
je 0x100227b8
mov eax, dword [edx + 0x310]
mov dword [edi + 0x310], eax
test ecx, 0x8000000
jne 0x100227d4
test ecx, 0x5000000
je 0x100227d4
mov eax, dword [edx + 0x314]
mov dword [edi + 0x314], eax
test dword [edi + 0xc], 0x800000
je 0x100227f8
mov edx, edi
lea esi, [edx + 0x318]
mov eax, dword [edx + 0x304]
mov edx, eax
mov dword [esi], eax
test dword [edx + 0xc], 0x800000
jne 0x100227e5
mov edx, dword [esp + 0x2c]
mov eax, ecx
and eax, 0x1000000
mov dword [edi + 0x308], edx
neg eax
sbb eax, eax
and eax, edx
mov dword [edi + 0x31c], eax
mov eax, dword [esp + 0x20]
test ecx, 0x800000
je 0x10022829
mov eax, dword [eax + 0x1b94]
jmp 0x1002282c
mov eax, dword [edi + 8]
mov esi, dword [0x100b7d54]
mov dword [esp + 0x18], eax
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x124c]
lea ecx, [esi + 0x1c9c]
mov eax, dword [eax + 8]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
push eax
call fcn.1002e1a0
test dword [esp + 0x14], 0x4000000
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1b94], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x1b94]
mov dword [edi + 0x35c], eax
je 0x100228ba
mov eax, dword [esi + 0x1ccc]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x1cc8]
mov dword [eax + ecx*8 + 4], edi
lea esi, [eax + ecx*8]
mov eax, dword [esp + 0x2c]
push esi
lea ecx, [edx + 0x1ccc]
mov eax, dword [eax + 0x150]
mov dword [esi + 0xc], eax
call fcn.1002dfe0
mov eax, dword [esi]
mov esi, dword [esp + 0x20]
mov dword [edi + 0xc8], eax
xor dl, dl
mov byte [esp + 0x11], 0
test byte [esi + 0x1c0c], 1
mov byte [esp + 0x13], dl
mov byte [esp + 0x12], dl
je 0x10022976
movsx eax, byte [edi + 0xd8]
mov ecx, dword [esi + 0x1c10]
test ecx, eax
setne byte [esp + 0x11]
test ecx, eax
je 0x10022965
movss xmm1, dword [esi + 0x1c28]
movss xmm0, dword [esi + 0x1c24]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100a6f40]
jbe 0x10022965
mov eax, dword [esi + 0x1c1c]
mov ecx, dword [esi + 0x1c20]
mov dword [edi + 0xdc], eax
mov dword [edi + 0xe0], ecx
mov eax, dword [esi + 0x1c24]
mov ecx, dword [esi + 0x1c28]
mov dword [edi + 0xe4], eax
mov dword [edi + 0xe8], ecx
movzx ecx, byte [edi + 0xd8]
mov eax, dword [edi + 0xd8]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edi + 0xd8], ecx
jmp 0x10022976
push ecx
lea edx, [esi + 0x1c1c]
mov ecx, edi
call fcn.10025020
add esp, 4
test byte [esi + 0x1c0c], 2
xorps xmm1, xmm1
je 0x10022a18
mov cl, byte [edi + 0xd9]
movsx eax, cl
and eax, dword [esi + 0x1c14]
je 0x100229ab
movss xmm0, dword [esi + 0x1c2c]
comiss xmm0, xmm1
jbe 0x100229ab
mov byte [esp + 0x13], 1
jmp 0x100229b4
mov byte [esp + 0x13], 0
test eax, eax
je 0x100229c8
movss xmm0, dword [esi + 0x1c30]
comiss xmm0, xmm1
jbe 0x100229ce
mov byte [esp + 0x12], 1
jmp 0x100229d3
xor dl, dl
mov byte [esp + 0x13], dl
mov byte [esp + 0x12], 0
test byte [edi + 0x10], 4
je 0x100229e7
test cl, 4
jne 0x100229e7
mov eax, dword [edi + 0x28]
mov dword [esi + 0x1c2c], eax
test byte [edi + 0x10], 8
je 0x100229ff
test byte [edi + 0xd9], 4
jne 0x100229ff
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1c30], eax
push dword [esi + 0x1c14]
lea edx, [esi + 0x1c2c]
mov ecx, edi
call fcn.10025180
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x1c0c], 0x80
je 0x10022a5f
movss xmm0, dword [esi + 0x1c3c]
comiss xmm0, xmm1
jb 0x10022a40
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
movss xmm0, dword [esi + 0x1c40]
comiss xmm0, xmm1
jb 0x10022a5f
movss dword [edi + 0x90], xmm0
mov dword [edi + 0x98], 0
test byte [esi + 0x1c0c], 4
je 0x10022a7c
mov eax, dword [esi + 0x1c34]
mov ecx, dword [esi + 0x1c38]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x10022a94
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x3c]
je 0x10022a94
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x1c0c], 8
je 0x10022ae1
mov ecx, dword [esi + 0x1c18]
mov dl, byte [esi + 0x1c48]
test ecx, ecx
je 0x10022ab8
movsx eax, byte [edi + 0xda]
test ecx, eax
je 0x10022ae1
movzx ecx, byte [edi + 0xda]
mov eax, dword [edi + 0xd8]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xb1], dl
mov dword [edi + 0xd8], ecx
test byte [esi + 0x1c0c], 0x20
je 0x10022af3
xor edx, edx
mov ecx, edi
call fcn.10024a10
cmp byte [edi + 0xb4], 0
je 0x10022b11
and byte [edi + 0xd8], 0xf7
and byte [edi + 0xd9], 0xf7
and byte [edi + 0xda], 0xf7
mov eax, dword [esp + 0x48]
mov dword [esi + 0x124c], 0
cmp eax, dword [esp + 0x3c]
je 0x100244cf
mov eax, dword [esp + 0x14]
and eax, 0x3000000
cmp dword [esp + 0x50], 0
mov dword [esp + 0x2c], eax
mov al, byte [edi + 0xd5]
mov byte [edi + 0xae], 1
mov byte [esp + 0x3b], al
setne al
mov byte [edi + 0xb8], al
mov dword [edi + 0x21c], 0xff7fffff
mov dword [edi + 0x220], 0xff7fffff
mov dword [edi + 0x224], 0x7f7fffff
mov dword [edi + 0x228], 0x7f7fffff
mov edi, dword [esp + 0x44]
push 1
lea ecx, [edi + 0xec]
call fcn.1002e530
mov ecx, dword [edi + 0x270]
call fcn.100363d0
mov dword [edi + 0x19c], 0xffffffff
cmp byte [edi + 0x368], 0
je 0x10022ca6
mov byte [edi + 0x368], 0
mov eax, dword [edi + 0x270]
mov ecx, dword [edi + 0x360]
add eax, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
cmp ecx, dword [eax + 4]
jle 0x10022c21
lea eax, [ecx + ecx]
push eax
call fcn.10058203
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], edx
cmp dword [eax + 8], 0
je 0x10022c17
mov ecx, dword [eax]
add ecx, ecx
push ecx
push dword [eax + 8]
push edx
call fcn.100560d0
mov eax, dword [esp + 0x24]
add esp, 0xc
push dword [eax + 8]
call fcn.10057e7b
mov eax, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x270]
mov ecx, dword [edi + 0x364]
add eax, 0x18
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
cmp ecx, dword [eax + 4]
jle 0x10022c92
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call fcn.10058203
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], edx
cmp dword [eax + 8], 0
je 0x10022c88
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push dword [eax + 8]
push edx
call fcn.100560d0
mov eax, dword [esp + 0x24]
add esp, 0xc
push dword [eax + 8]
call fcn.10057e7b
mov eax, dword [esp + 0x1c]
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
mov dword [edi + 0x364], 0
mov dword [edi + 0x360], 0
cmp dword [esi + 0x1ec0], 0
je 0x10022d60
test dword [edi + 0xc], 0x20000
jne 0x10022d60
cmp dword [esp + 0x34], 0
je 0x10022d60
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x4c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10022cf2
test dl, dl
je 0x10022cee
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10022cf2
add eax, 2
add ecx, 2
test dl, dl
jne 0x10022cd2
xor eax, eax
jmp 0x10022cf7
sbb eax, eax
or eax, 1
test eax, eax
je 0x10022d60
mov ecx, dword [esp + 0x4c]
mov edx, dword [edi + 0x70]
mov dword [esp + 0x28], edx
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022d10
sub ecx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
cmp edx, eax
jae 0x10022d48
push ecx
call fcn.10057e7b
add esp, 4
push dword [esp + 0x18]
call fcn.10058203
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
push eax
push dword [esp + 0x50]
push ecx
call fcn.100560d0
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [edi + 0x70], eax
lea eax, [edi + 0x38]
mov ecx, edi
push eax
lea edx, [edi + 0x30]
call fcn.100200f0
mov al, byte [edi + 0xd4]
add esp, 4
test al, al
jle 0x10022d83
dec al
mov byte [edi + 0xd4], al
mov al, byte [edi + 0xd5]
test al, al
jle 0x10022d95
dec al
mov byte [edi + 0xd5], al
mov al, byte [edi + 0xd6]
test al, al
jle 0x10022da7
dec al
mov byte [edi + 0xd6], al
cmp dword [esp + 0x34], 0
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x12]
jne 0x10022dc5
test al, al
je 0x10022dbe
test cl, cl
jne 0x10022dc5
mov byte [edi + 0xd5], 1
cmp byte [esp + 0x1f], 0
mov edx, dword [esp + 0x14]
je 0x10022e24
test edx, 0x6000000
je 0x10022e24
mov byte [edi + 0xd5], 1
test dl, 0x40
je 0x10022e24
test al, al
jne 0x10022df6
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x10022e08
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov ecx, dword [0x100b7d54]
mov eax, dword [ecx + 0x1cec]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [ecx + 0x124c], edi
mov eax, dword [edi + 0x19c]
cmp eax, 0xffffffff
je 0x10022e55
shl eax, 9
add eax, dword [ecx + 0x1fb8]
jmp 0x10022e57
xor eax, eax
mov dword [ecx + 0x1f98], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0xfb8]
mov eax, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x10022e85
mulss xmm0, dword [eax + 0x268]
cmp dword [esp + 0x18], 0
movss dword [ecx + 0xfc8], xmm0
movss dword [ecx + 0xfb4], xmm0
jne 0x10022ea9
cmp dword [edi + 0x198], 0
jne 0x10022ea9
mov al, 1
jmp 0x10022eab
xor al, al
mov byte [edi + 0x158], al
test edx, 0x1000000
je 0x10022ec4
mov eax, dword [esi + 0xb98]
mov dword [edi + 0x54], eax
jmp 0x10022eeb
test edx, 0x6000000
je 0x10022ede
test edx, 0x8000000
jne 0x10022ede
movss xmm0, dword [esi + 0xba0]
jmp 0x10022ee6
movss xmm0, dword [esi + 0xb7c]
movss dword [edi + 0x54], xmm0
mov eax, dword [esi + 0xb70]
mov ecx, dword [esi + 0xb74]
mov dword [edi + 0x48], eax
mov eax, edx
and eax, 0x5000000
mov dword [edi + 0x4c], ecx
cmp eax, 0x1000000
jne 0x10022f43
test byte [edi + 0x10], 2
jne 0x10022f43
movss xmm0, dword [edi + 0x54]
xorps xmm2, xmm2
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10022f43
test edx, 0x400
je 0x10022f34
movss xmm0, dword [esi + 0xb74]
jmp 0x10022f37
xorps xmm0, xmm0
mov dword [edi + 0x48], 0
movss dword [edi + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [esi + 0xbb4]
maxss xmm0, dword [esi + 0x1c68]
movss dword [edi + 0x15c], xmm0
mov eax, dword [esi + 0x1c6c]
mov dword [edi + 0x160], eax
mov eax, dword [esp + 0x40]
mov byte [esp + 0x28], al
test dl, 0x21
jne 0x1002308f
lea eax, [esp + 0xa0]
mov ecx, edi
push eax
call fcn.10016340
cmp dword [esi + 0x1250], edi
jne 0x10023057
cmp dword [esi + 0x1288], 0
jne 0x10023057
cmp dword [esi + 0x128c], 0
jne 0x10023057
mov ecx, dword [0x100b7d54]
movss xmm0, dword [esp + 0xa0]
movss xmm4, dword [esp + 0xa4]
movss xmm3, dword [esp + 0xa8]
mov eax, dword [ecx + 0x124c]
movss xmm6, dword [ecx + 0xbcc]
movss xmm7, dword [ecx + 0xbc]
movss xmm1, dword [esp + 0xac]
maxss xmm0, dword [eax + 0x21c]
maxss xmm4, dword [eax + 0x220]
minss xmm3, dword [eax + 0x224]
minss xmm1, dword [eax + 0x228]
subss xmm0, xmm6
comiss xmm7, xmm0
jb 0x10023057
movss xmm0, dword [ecx + 0xbd0]
movss xmm5, dword [ecx + 0xc0]
subss xmm4, xmm0
comiss xmm5, xmm4
jb 0x10023057
addss xmm3, xmm6
comiss xmm3, xmm7
jbe 0x10023057
addss xmm1, xmm0
comiss xmm1, xmm5
jbe 0x10023057
cmp word [esi + 0xaea], 2
jne 0x10023057
mov byte [edi + 0xb2], 1
cmp byte [edi + 0xb2], 0
je 0x10023096
mov cl, byte [edi + 0xb1]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xb1], al
mov ecx, 1
mov eax, dword [esp + 0x28]
movzx eax, al
cmovne eax, ecx
mov ecx, edi
mov dword [esp + 0x28], eax
call fcn.1002d020
jmp 0x10023096
mov byte [edi + 0xb1], 0
mov byte [edi + 0xb2], 0
movss xmm0, dword [edi + 0xa4]
mov ecx, dword [edi]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [edi + 0xa8]
mov dword [edi + 0x58], 0
mov dword [edi + 0x60], 0
mov edx, dword [edi + 0xc]
movss dword [esp + 0x54], xmm0
test dl, 1
je 0x100230d6
xorps xmm3, xmm3
jmp 0x1002310b
movss xmm0, dword [edi + 0x268]
mov edx, dword [edi + 0x304]
mulss xmm0, dword [ecx + 0xfb8]
test edx, edx
je 0x100230f8
mulss xmm0, dword [edx + 0x268]
movss xmm3, dword [ecx + 0xba8]
mov edx, dword [edi + 0xc]
addss xmm3, xmm3
addss xmm3, xmm0
test edx, 0x400
je 0x1002314f
movss xmm1, dword [edi + 0x268]
mov eax, dword [edi + 0x304]
mulss xmm1, dword [ecx + 0xfb8]
test eax, eax
je 0x10023135
mulss xmm1, dword [eax + 0x268]
movss xmm0, dword [ecx + 0xba8]
addss xmm1, dword [edi + 0x160]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x10023152
xorps xmm1, xmm1
addss xmm1, xmm3
mov edx, edi
lea eax, [edi + 0x38]
push eax
lea ecx, [esp + 0x5c]
movss dword [edi + 0x5c], xmm1
mov dword [edi + 0x64], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
call fcn.10020220
add esp, 4
test byte [esp + 0x14], 0x40
je 0x100231cf
cmp byte [edi + 0xb1], 0
jne 0x100231cf
cmp byte [esp + 0x13], 0
jne 0x100231af
movss xmm0, dword [esp + 0x58]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x40], 1
cmp byte [esp + 0x12], 0
jne 0x1002327a
movss xmm0, dword [esp + 0x5c]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x28], 1
jmp 0x1002327a
mov al, byte [edi + 0xcc]
test al, al
jg 0x100231e6
cmp byte [edi + 0xcd], 0
jle 0x1002327a
cmp byte [esp + 0x13], 0
jne 0x10023217
test al, al
jle 0x10023217
cmp byte [edi + 0xce], 0
je 0x10023207
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x58]
jmp 0x1002320d
movss xmm0, dword [esp + 0x58]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x40], 1
cmp byte [esp + 0x12], 0
jne 0x1002324d
cmp byte [edi + 0xcd], 0
jle 0x1002324d
cmp byte [edi + 0xce], 0
je 0x1002323d
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [esp + 0x5c]
jmp 0x10023243
movss xmm0, dword [esp + 0x5c]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x28], 1
cmp byte [edi + 0xb1], 0
jne 0x1002327a
test dword [edi + 0xc], 0x100
mov ecx, dword [0x100b7d54]
jne 0x1002327a
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x3078]
jb 0x1002327a
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x3078], eax
lea esi, [edi + 0x28]
mov edx, edi
push esi
lea ecx, [esp + 0x16c]
call fcn.1001ffc0
add esp, 4
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [edi + 0xb1], 0
je 0x100232d6
test dword [esp + 0x14], 0x1000000
jne 0x100232d6
lea eax, [esp + 0x190]
mov ecx, edi
push eax
call fcn.10016340
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
subss xmm0, dword [eax]
subss xmm1, dword [eax + 4]
cmp byte [esp + 0x1f], 0
mov edx, dword [esp + 0x14]
movss dword [edi + 0x20], xmm0
movss dword [edi + 0x24], xmm1
je 0x10023337
mov eax, edx
mov dword [edi + 0xd0], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10023337
cmp byte [esp + 0x11], 0
jne 0x10023337
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1ccc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x1cd4]
mov edx, dword [esp + 0x14]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
test edx, 0x1000000
je 0x10023393
mov esi, dword [esp + 0x30]
mov ax, word [esi + 0x188]
lea ecx, [esi + 0x188]
mov word [edi + 0xc0], ax
lea eax, [esp + 0x44]
push eax
call fcn.1002e340
mov edx, dword [esp + 0x14]
mov al, byte [esp + 0x11]
mov ecx, dword [esp + 0x2c]
test edx, 0x4000000
jne 0x1002339b
test al, al
jne 0x1002339b
cmp ecx, 0x3000000
je 0x1002339b
mov eax, dword [esi + 0xf8]
mov ecx, dword [esi + 0xfc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov al, byte [esp + 0x11]
movss xmm1, dword [edi + 0xdc]
ucomiss xmm1, dword [0x100a7114]
lahf
test ah, 0x44
jnp 0x1002340a
cmp byte [edi + 0xd5], 0
jne 0x1002340a
movss xmm0, dword [edi + 0xe4]
lea edx, [esp + 0x98]
mulss xmm0, dword [edi + 0x20]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xe0]
movss dword [esp + 0x9c], xmm1
movss xmm1, dword [edi + 0xe8]
mulss xmm1, dword [edi + 0x24]
subss xmm0, xmm1
movss dword [esp + 0xa0], xmm0
call fcn.10025020
add esp, 4
jmp 0x1002346b
test edx, 0x10000000
je 0x1002341b
lea ecx, [esp + 0x170]
jmp 0x10023451
test edx, 0x4000000
je 0x10023436
test al, al
jne 0x10023436
cmp byte [esp + 0x3b], al
jle 0x10023436
lea ecx, [esp + 0x178]
jmp 0x10023451
test edx, 0x2000000
je 0x1002346f
test al, al
jne 0x1002346f
cmp ecx, 0x3000000
je 0x1002346f
lea ecx, [esp + 0x180]
mov edx, edi
call fcn.10028cd0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov edx, dword [esp + 0x14]
cmp byte [esp + 0x11], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
movss xmm7, dword [eax + 0x18]
movss xmm6, dword [eax + 0x1c]
addss xmm7, dword [eax + 0x20]
addss xmm6, dword [eax + 0x24]
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
movaps xmm5, xmm0
movss xmm3, dword [ecx + 0xc30]
movaps xmm4, xmm1
movss xmm2, dword [ecx + 0xc2c]
maxss xmm3, dword [ecx + 0xc38]
maxss xmm2, dword [ecx + 0xc34]
addss xmm5, dword [eax + 0x10]
addss xmm4, dword [eax + 0x14]
movss dword [esp + 0xc0], xmm0
subss xmm6, xmm3
movss dword [esp + 0xc4], xmm1
addss xmm3, dword [eax + 0x1c]
subss xmm7, xmm2
movss dword [esp + 0xc8], xmm5
addss xmm2, dword [eax + 0x18]
movss dword [esp + 0xcc], xmm4
movss dword [esp + 0xbc], xmm6
movss dword [esp + 0xb4], xmm3
movss dword [esp + 0xb8], xmm7
movss dword [esp + 0xb0], xmm2
jne 0x100235ce
test edx, 0x1000000
jne 0x100235ce
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x100235ce
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x100235ce
mov eax, dword [0x100b7d54]
movss xmm1, dword [edi + 0x24]
cmp byte [eax + 0x4b], 0
je 0x10023599
test byte [edi + 0xc], 1
jne 0x10023599
mov esi, dword [edi]
mov eax, dword [edi + 0x304]
movss xmm0, dword [esi + 0xfb8]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x10023589
mulss xmm0, dword [eax + 0x268]
movss xmm1, dword [esi + 0xba8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x1c]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x20]
comiss xmm3, xmm0
ja 0x100235b3
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x100235c4
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x18], xmm2
movss dword [edi + 0x1c], xmm3
cvttss2si eax, dword [edi + 0x18]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x18], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1c], xmm0
test edx, 0x1000000
je 0x10023602
movss xmm0, dword [ecx + 0xb94]
jmp 0x10023622
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1002361a
movss xmm0, dword [ecx + 0xb9c]
jmp 0x10023622
movss xmm0, dword [ecx + 0xb78]
xor al, al
movss dword [edi + 0x50], xmm0
mov dword [esp + 0x18], eax
cmp byte [esp + 0x1f], al
je 0x1002365f
test edx, 0x1000
jne 0x1002365f
test edx, 0x4000000
je 0x1002364a
mov byte [esp + 0x18], 1
jmp 0x1002365f
test edx, 0x3000000
movzx eax, al
mov esi, 1
cmove eax, esi
mov dword [esp + 0x18], eax
mov eax, edx
mov dword [esp + 0x70], 0xffffffff
and eax, 0x5000000
mov dword [esp + 0x74], 0xffffffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x1a0], xmm0
cmp eax, 0x1000000
jne 0x1002368c
xor eax, eax
jmp 0x10023695
xor eax, eax
cmp byte [ecx + 0x4a], al
setne al
inc eax
cmp byte [edi + 0xb1], 0
movss xmm2, dword [ecx + 0xfb4]
movss xmm0, dword [edi + 0x50]
movaps xmm1, xmm2
addss xmm0, dword [0x100a6fc8]
mulss xmm2, dword [0x100a6f68]
mov dword [esp + 0x24], eax
mulss xmm1, dword [0x100a6fcc]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x10023736
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x1a4]
push ecx
push eax
lea eax, [esp + 0x80]
mov ecx, edi
push eax
lea eax, [esp + 0x80]
push eax
lea edx, [esp + 0x6c]
call fcn.10020530
add esp, 0x14
test eax, eax
je 0x1002372e
mov ecx, dword [esp + 0x40]
test al, 1
mov edx, 1
movzx ecx, cl
cmovne ecx, edx
test al, 2
mov eax, dword [esp + 0x28]
movzx eax, al
cmovne eax, edx
mov dword [esp + 0x40], ecx
mov byte [esp + 0x28], al
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov al, byte [esp + 0x70]
mov byte [edi + 0xb9], al
mov al, byte [esp + 0x74]
mov byte [edi + 0xba], al
cmp byte [edi + 0xb1], 0
jne 0x100238b6
cmp dword [esp + 0x34], 0
movss xmm0, dword [edi + 0x64]
addss xmm0, dword [edi + 0x5c]
movss xmm3, dword [edi + 0x1e4]
movss xmm4, dword [edi + 0x1e8]
subss xmm3, dword [edi + 0x1dc]
subss xmm4, dword [edi + 0x1e0]
movss xmm5, dword [edi + 0x2c]
movss xmm6, dword [edi + 0x28]
subss xmm5, xmm0
xorps xmm0, xmm0
addss xmm3, dword [esp + 0x78]
addss xmm4, dword [esp + 0x54]
jne 0x100237ad
xorps xmm2, xmm2
xorps xmm1, xmm1
jmp 0x100237c9
movss xmm2, dword [edi + 0x48]
movss xmm1, dword [edi + 0x4c]
addss xmm2, xmm2
addss xmm1, xmm1
addss xmm2, dword [edi + 0x30]
addss xmm1, dword [edi + 0x34]
cmp byte [esp + 0x40], 0
jne 0x100237d3
movaps xmm6, xmm3
mov eax, dword [esp + 0x28]
test al, al
jne 0x100237de
movaps xmm5, xmm4
test edx, 0x4000
jne 0x100237f4
comiss xmm1, xmm5
jbe 0x100237f0
test dl, 8
je 0x100237f4
xor al, al
jmp 0x100237f6
mov al, 1
mov byte [edi + 0xad], al
test edx, 0x8000
jne 0x10023835
test al, al
je 0x10023812
movss xmm3, dword [ecx + 0xbdc]
jmp 0x10023815
xorps xmm3, xmm3
subss xmm6, xmm3
comiss xmm2, xmm6
jbe 0x1002382c
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x10023835
mov byte [edi + 0xac], 0
jmp 0x1002385b
mov byte [edi + 0xac], 1
cmp byte [edi + 0xad], 0
jne 0x1002385b
comiss xmm1, xmm5
jbe 0x10023853
test dl, 8
jne 0x10023853
mov al, 1
jmp 0x10023855
xor al, al
mov byte [edi + 0xad], al
cmp byte [edi + 0xac], 0
je 0x1002386e
movss xmm1, dword [ecx + 0xbdc]
jmp 0x10023871
xorps xmm1, xmm1
cmp byte [edi + 0xad], 0
je 0x10023882
movss xmm0, dword [ecx + 0xbdc]
movss dword [edi + 0xa4], xmm0
movss dword [edi + 0xa8], xmm1
movss xmm0, dword [edi + 0xa4]
addss xmm0, dword [edi + 0x60]
movss dword [edi + 0x60], xmm0
movss xmm0, dword [edi + 0xa8]
addss xmm0, dword [edi + 0x64]
movss dword [edi + 0x64], xmm0
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x100238d9
cmp dword [esp + 0x2c], 0x3000000
je 0x100238d9
mov eax, dword [esp + 0x30]
add eax, 0x21c
jmp 0x100238e0
lea eax, [esp + 0xc0]
test byte [edi + 0xc], 1
movups xmm0, xmmword [eax]
mov eax, dword [edi]
movss xmm1, dword [edi + 0x1c]
movss xmm7, dword [edi + 0x18]
movaps xmm6, xmm1
addss xmm6, dword [edi + 0x24]
movaps xmm5, xmm7
movss dword [esp + 0x54], xmm1
addss xmm5, dword [edi + 0x20]
movups xmmword [esp + 0x80], xmm0
je 0x10023918
xorps xmm4, xmm4
jmp 0x1002394c
movss xmm0, dword [eax + 0xfb8]
mov eax, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x1002393a
mulss xmm0, dword [eax + 0x268]
mov eax, dword [edi]
movss xmm4, dword [eax + 0xba8]
addss xmm4, xmm4
addss xmm4, xmm0
movss xmm0, dword [edi + 0x1c]
addss xmm1, xmm4
movss dword [esp + 0x64], xmm0
movaps xmm2, xmm7
addss xmm2, dword [edi + 0x28]
movss xmm0, dword [esp + 0x54]
mov eax, edx
movss dword [esp + 0x60], xmm7
and eax, 0x401
movss dword [esp + 0x6c], xmm1
xorps xmm3, xmm3
movss dword [esp + 0x68], xmm2
movss dword [edi + 0x1cc], xmm7
movss dword [edi + 0x1d0], xmm0
movss dword [edi + 0x1d4], xmm5
movss dword [edi + 0x1d8], xmm6
mov edi, dword [esp + 0x44]
movss xmm4, dword [esp + 0x80]
movss xmm5, dword [esp + 0x84]
movss xmm7, dword [esp + 0x8c]
movss xmm1, dword [edi + 0x1cc]
movss xmm0, dword [edi + 0x1d0]
maxss xmm1, xmm4
maxss xmm0, xmm5
movss dword [edi + 0x1cc], xmm1
movss dword [edi + 0x1d0], xmm0
movss xmm0, dword [edi + 0x1d8]
movss xmm1, dword [edi + 0x1d4]
minss xmm0, xmm7
minss xmm1, dword [esp + 0x88]
movss dword [edi + 0x1d8], xmm0
movss dword [edi + 0x1d4], xmm1
movss xmm0, dword [edi + 0x58]
addss xmm0, dword [edi + 0x18]
movss dword [edi + 0x1dc], xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x1c]
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [edi + 0x20]
addss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x60]
movss dword [edi + 0x1e4], xmm0
movss xmm0, dword [edi + 0x24]
addss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x64]
movss dword [edi + 0x1e8], xmm0
cmp eax, 1
jne 0x10023a77
movss xmm6, dword [edi + 0x54]
jmp 0x10023a7f
movss xmm6, dword [ecx + 0xbb0]
movss xmm0, dword [edi + 0x48]
movss xmm2, dword [0x100a6f8c]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x1dc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x54]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [edi + 0x1e0]
addss xmm0, xmm2
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x48]
mulss xmm0, xmm2
movss xmm1, dword [edi + 0x1e4]
addss xmm1, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [edi + 0x54]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
movss xmm0, dword [edi + 0x1e8]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f8], xmm0
movss xmm0, dword [edi + 0x1f0]
comiss xmm5, xmm0
jbe 0x10023b58
movaps xmm1, xmm5
jmp 0x10023b5f
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1ec]
comiss xmm4, xmm2
movss xmm6, dword [esp + 0x88]
jbe 0x10023b7a
movaps xmm0, xmm4
jmp 0x10023b81
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm1
movss xmm0, dword [edi + 0x1f8]
comiss xmm5, xmm0
ja 0x10023ba5
movaps xmm5, xmm7
minss xmm5, xmm0
movss xmm0, dword [edi + 0x1f4]
comiss xmm4, xmm0
ja 0x10023bb9
movaps xmm4, xmm6
minss xmm4, xmm0
movss dword [edi + 0x1f4], xmm4
movss dword [edi + 0x1f8], xmm5
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm3
jbe 0x10023be5
test edx, 0x2000040
jne 0x10023be5
mulss xmm0, dword [0x100a6f94]
jmp 0x10023bf5
movss xmm0, dword [ecx + 0xfb4]
mulss xmm0, dword [0x100a7080]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0x188]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x24c], xmm0
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1e4]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1dc]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x84], xmm0
movss xmm1, dword [edi + 0x4c]
movss xmm0, dword [edi + 0x1e8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1e0]
addss xmm1, dword [edi + 0x34]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x88], xmm0
call fcn.10027da0
mov edx, dword [esp + 0x20]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x7c], xmm0
movss dword [edi + 0x80], xmm1
mov dword [edi + 0x8c], 0x7f7fffff
mov dword [edi + 0x90], 0x7f7fffff
mov ecx, dword [edi + 0x270]
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov eax, dword [edx + 0xfb0]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call fcn.10036ad0
mov ecx, dword [0x100b7d54]
push 0
mov eax, dword [ecx + 0x124c]
mov byte [eax + 0xb0], 1
lea eax, [esp + 0x8c]
mov edi, dword [ecx + 0x124c]
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, dword [edi + 0x270]
call fcn.10036960
mov eax, dword [edi + 0x270]
mov byte [esp + 0x12], 0
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edi + 0x21c], eax
mov eax, dword [esp + 0x14]
movss dword [edi + 0x220], xmm0
and eax, 0x5000000
movss dword [edi + 0x224], xmm1
movss dword [edi + 0x228], xmm2
mov edi, dword [esp + 0x44]
cmp eax, 0x1000000
jne 0x10023e59
cmp dword [esp + 0x2c], 0x3000000
je 0x10023e59
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x188]
cmp ecx, 2
jl 0x10023e1d
mov eax, dword [eax + 0x190]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x10023e1d
movss xmm1, dword [eax + 0x18]
lea ecx, [esp + 0xe0]
movss xmm0, dword [eax + 0x1c]
movss dword [esp + 0xe0], xmm1
addss xmm1, dword [eax + 0x20]
movss dword [esp + 0xe4], xmm0
addss xmm0, dword [eax + 0x24]
lea eax, [esp + 0xd0]
push eax
movss dword [esp + 0xec], xmm1
movss xmm1, dword [edi + 0x18]
movss dword [esp + 0xf0], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0xd4], xmm1
addss xmm1, dword [edi + 0x20]
movss dword [esp + 0xd8], xmm0
addss xmm0, dword [edi + 0x24]
movss dword [esp + 0xdc], xmm1
movss dword [esp + 0xe0], xmm0
call fcn.10014860
mov byte [esp + 0x11], al
jmp 0x10023e22
mov byte [esp + 0x11], 0
mov edx, dword [edi + 0x270]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x10023e59
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x270]
cmp dword [eax + 0x18], 0
je 0x10023e59
cmp byte [esp + 0x11], 0
jne 0x10023e59
mov byte [esp + 0x12], 1
mov dword [edi + 0x270], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1eb8]
test ecx, ecx
jne 0x10023e6d
mov ecx, dword [eax + 0x1cf0]
cmp byte [esp + 0x18], 0
jne 0x10023e8d
test ecx, ecx
je 0x10023e86
mov eax, dword [edi + 0x314]
cmp eax, dword [ecx + 0x314]
je 0x10023e8d
mov byte [esp + 0x34], 0
jmp 0x10023e92
mov byte [esp + 0x34], 1
movd xmm0, esi
lea eax, [esp + 0x1a0]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x64]
movss dword [esp], xmm0
push eax
push dword [esp + 0x2c]
push ecx
push dword [esp + 0x44]
mov ecx, edi
call fcn.10021880
add esp, 0x14
cmp byte [esp + 0x12], 0
je 0x10023ed1
lea eax, [edi + 0x274]
mov dword [edi + 0x270], eax
mov ecx, dword [esp + 0x14]
xorps xmm4, xmm4
movss xmm3, dword [edi + 0x40]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x10023f2c
movss xmm0, dword [edi + 0x48]
mov eax, ecx
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
addss xmm0, dword [edi + 0x58]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x10023f25
movss xmm3, dword [edi + 0x30]
jmp 0x10023f28
xorps xmm3, xmm3
maxss xmm3, xmm1
movss xmm2, dword [edi + 0x44]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x10023f6c
movss xmm0, dword [edi + 0x4c]
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x64]
addss xmm0, dword [edi + 0x5c]
subss xmm1, xmm0
test dl, dl
je 0x10023f65
movss xmm2, dword [edi + 0x34]
jmp 0x10023f68
xorps xmm2, xmm2
maxss xmm2, xmm1
movss xmm1, dword [edi + 0x1dc]
subss xmm1, dword [edi + 0x7c]
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [edi + 0x54]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1fc], xmm0
movss xmm1, dword [edi + 0x4c]
movss xmm0, dword [edi + 0x1e0]
subss xmm0, dword [edi + 0x80]
maxss xmm1, dword [edi + 0x54]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
addss xmm3, dword [edi + 0x1fc]
movss dword [edi + 0x204], xmm3
addss xmm2, dword [edi + 0x200]
movss dword [edi + 0x208], xmm2
movups xmm0, xmmword [edi + 0x1fc]
movups xmmword [edi + 0x20c], xmm0
movss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x7c]
addss xmm0, dword [edi + 0x48]
addss xmm0, dword [edi + 0x58]
movss dword [edi + 0x22c], xmm0
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x80]
addss xmm0, dword [edi + 0x4c]
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0x230], xmm0
movss xmm1, dword [edi + 0x40]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10024062
movss xmm0, dword [edi + 0x48]
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
addss xmm0, dword [edi + 0x58]
subss xmm1, xmm0
addss xmm1, dword [edi + 0x22c]
movss dword [edi + 0x234], xmm1
movss xmm1, dword [edi + 0x44]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x100240a0
movss xmm0, dword [edi + 0x4c]
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x64]
addss xmm0, dword [edi + 0x5c]
subss xmm1, xmm0
addss xmm1, dword [edi + 0x230]
mov esi, dword [esp + 0x20]
movss dword [edi + 0x238], xmm1
movss xmm0, dword [edi + 0x48]
addss xmm0, dword [edi + 0x58]
subss xmm0, dword [edi + 0x7c]
movss dword [edi + 0x13c], xmm0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 0
movss xmm3, dword [edi + 0x18]
movss xmm0, dword [edi + 0x48]
movss xmm2, dword [edi + 0x4c]
cvtps2pd xmm0, xmm0
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm2
addsd xmm3, xmm0
movss xmm0, dword [edi + 0x7c]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x58]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
movss xmm0, dword [edi + 0x1c]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x100a6f30]
addsd xmm2, xmm0
movss xmm0, dword [edi + 0x80]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
movss xmm0, dword [edi + 0x5c]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x108], xmm0
movss dword [edi + 0x10c], xmm1
movss xmm0, dword [edi + 0x108]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x10c]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x148], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x14c], xmm0
movss xmm0, dword [edi + 0x108]
movss xmm1, dword [edi + 0x10c]
movss dword [edi + 0xf8], xmm0
movss dword [edi + 0xfc], xmm1
movss dword [edi + 0x100], xmm0
movss dword [edi + 0x104], xmm1
mov eax, dword [edi + 0x108]
mov ecx, dword [edi + 0x10c]
mov dword [edi + 0x110], eax
mov dword [edi + 0x114], ecx
mov eax, dword [edi + 0x108]
mov ecx, dword [edi + 0x10c]
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], ecx
lea ecx, [edi + 0x164]
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x130], 0
mov word [edi + 0x138], 0
mov dword [edi + 0x150], 0
mov ax, word [edi + 0x156]
mov word [edi + 0x154], ax
mov dword [edi + 0x156], 0x10000
movss xmm0, dword [edi + 0x88]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x1f], 0
mov byte [edi + 0x15a], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x15b], 0
movss xmm1, dword [esi + 0xbb4]
mov dword [esp + 0x24], eax
je 0x10024297
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x1002429b
mov dword [esp + 0x24], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.100494d0
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
push ecx
lea ecx, [edi + 0x188]
movq qword [eax], xmm0
mov eax, dword [edi + 0x168]
mov dword [edi + 0x164], eax
mov dword [edi + 0x168], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 0
call fcn.1002e3c0
lea eax, [edi + 0x250]
mov dword [edi + 0x194], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x198], 0
mov dword [edi + 0x1a0], 1
test eax, eax
je 0x1002431a
mov eax, dword [eax + 0x1a0]
jmp 0x1002431f
mov eax, 1
mov dword [edi + 0x1a4], eax
mov eax, dword [edi + 0x24c]
push ecx
mov dword [edi + 0x1ac], eax
lea ecx, [edi + 0x1b4]
mov dword [edi + 0x1b0], 0xbf800000
call fcn.1002e3c0
push ecx
lea ecx, [edi + 0x1c0]
call fcn.1002e3c0
test dword [esp + 0x14], 0x8000000
je 0x10024374
mov ecx, dword [0x100b7d54]
lea ecx, [ecx + 0xf8c]
call fcn.1001a070
mov dword [edi + 0x1a8], eax
mov al, byte [edi + 0xcc]
test al, al
jle 0x10024386
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x10024398
dec al
mov byte [edi + 0xcd], al
cmp byte [esp + 0x18], 0
je 0x100243bc
mov edx, 2
mov ecx, edi
call fcn.10024a10
cmp edi, dword [esi + 0x1cf0]
jne 0x100243bc
xor dl, dl
mov ecx, edi
call fcn.10029ef0
test byte [esp + 0x14], 1
movss xmm2, dword [esp + 0x6c]
movss xmm3, dword [esp + 0x68]
movss xmm4, dword [esp + 0x64]
movss xmm0, dword [esp + 0x60]
jne 0x1002443d
addss xmm0, dword [edi + 0x54]
push dword [esp + 0x50]
lea edx, [esp + 0xf4]
movss dword [esp + 0xf8], xmm4
push dword [esp + 0x50]
mov ecx, edi
movss dword [esp + 0x104], xmm2
movss dword [esp + 0xf8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x54]
movss dword [esp + 0x100], xmm0
call fcn.10021de0
movss xmm2, dword [esp + 0x74]
add esp, 8
movss xmm3, dword [esp + 0x68]
movss xmm4, dword [esp + 0x64]
movss xmm0, dword [esp + 0x60]
mov edx, dword [0x100b7d54]
xor eax, eax
mov dword [edi + 0x23c], eax
movss xmm5, dword [edx + 0xbcc]
movss xmm6, dword [edx + 0xbc]
subss xmm0, xmm5
comiss xmm6, xmm0
jb 0x10024497
movss xmm0, dword [edx + 0xbd0]
movss xmm1, dword [edx + 0xc0]
subss xmm4, xmm0
comiss xmm1, xmm4
jb 0x10024497
addss xmm3, xmm5
comiss xmm3, xmm6
jbe 0x10024497
addss xmm2, xmm0
mov dword [esp + 0x50], 1
comiss xmm2, xmm1
ja 0x1002449b
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x74]
mov ecx, dword [esi + 0x1b98]
movaps xmm0, xmmword [esp + 0x60]
mov dword [edx + 0x1bc0], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x1bc4], ecx
mov dword [edx + 0x1bc8], eax
movups xmmword [edx + 0x1bdc], xmm0
movups xmmword [edx + 0x1bcc], xmm0
jmp 0x10024545
mov edx, dword [0x100b7d54]
mov dword [edx + 0x124c], edi
mov ecx, dword [edi + 0x19c]
cmp ecx, 0xffffffff
je 0x100244f1
shl ecx, 9
add ecx, dword [edx + 0x1fb8]
jmp 0x100244f3
xor ecx, ecx
mov dword [edx + 0x1f98], ecx
mov eax, dword [edi]
movss xmm0, dword [eax + 0xfb8]
mov eax, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x1002451d
mulss xmm0, dword [eax + 0x268]
movss dword [edx + 0xfc8], xmm0
movss dword [edx + 0xfb4], xmm0
test ecx, ecx
jne 0x1002453d
cmp dword [edi + 0x198], ecx
jne 0x1002453d
mov al, 1
jmp 0x1002453f
xor al, al
mov byte [edi + 0x158], al
mov eax, dword [edx + 0x124c]
push 1
mov byte [eax + 0xb0], 1
lea eax, [edi + 0x1f4]
mov esi, dword [edx + 0x124c]
push eax
lea eax, [edi + 0x1ec]
push eax
mov ecx, dword [esi + 0x270]
call fcn.10036960
mov eax, dword [esi + 0x270]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x21c], eax
mov eax, dword [esp + 0x48]
movss dword [esi + 0x220], xmm0
movss dword [esi + 0x224], xmm1
movss dword [esi + 0x228], xmm2
mov esi, dword [esp + 0x44]
mov byte [esi + 0xb0], 0
inc word [esi + 0xbc]
mov dword [ecx + 0x1c0c], 0
cmp eax, dword [esp + 0x3c]
je 0x10024749
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0x11000000
cmp eax, 0x1000000
jne 0x100246b3
test edx, 0x800000
je 0x10024626
cmp byte [ecx + 0x1d4c], 0
je 0x10024626
mov eax, dword [ecx + 0x1cf0]
test eax, eax
je 0x10024626
mov eax, dword [eax + 0x318]
cmp eax, dword [esi + 0x318]
jne 0x10024626
mov al, 1
jmp 0x10024628
xor al, al
cmp byte [ecx + 0x30dc], 0
jne 0x10024679
test al, al
jne 0x10024679
movss xmm0, dword [esi + 0x1cc]
comiss xmm0, dword [esi + 0x1d4]
jae 0x10024657
movss xmm0, dword [esi + 0x1d0]
comiss xmm0, dword [esi + 0x1d8]
jb 0x10024679
cmp byte [esi + 0xcc], 0
jg 0x10024672
cmp byte [esi + 0xcd], 0
jg 0x10024672
mov byte [esi + 0xd4], 1
jmp 0x10024679
mov byte [esi + 0xd5], 1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100246b3
cmp byte [eax + 0xb1], 0
jne 0x10024693
cmp byte [eax + 0xd4], 0
jle 0x1002469a
mov byte [esi + 0xd4], 1
cmp byte [eax + 0xb1], 0
jne 0x100246ac
cmp byte [eax + 0xd5], 0
jle 0x100246b3
mov byte [esi + 0xd5], 1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0xb68]
jb 0x100246c6
mov byte [esi + 0xd4], 1
cmp byte [esi + 0xd4], 0
jg 0x100246e6
cmp byte [esi + 0xd5], 0
jg 0x100246e6
xor cl, cl
cmp byte [esi + 0xd6], cl
jg 0x100246e8
xor al, al
jmp 0x100246ea
mov cl, 1
mov al, 1
mov byte [esi + 0xb5], al
mov al, byte [esi + 0xd7]
test al, al
jle 0x10024709
dec al
mov byte [esi + 0xd7], al
or dword [esi + 0xc], 0x30200
xor al, al
cmp byte [esi + 0xb1], al
jne 0x1002471f
cmp byte [esi + 0xae], al
je 0x1002471f
test cl, cl
je 0x10024743
cmp byte [esi + 0xcc], 0
jg 0x10024743
cmp byte [esi + 0xcd], 0
jg 0x10024743
cmp byte [esi + 0xd5], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [esi + 0xb3], al
cmp byte [esi + 0xb3], 0
mov ecx, dword [esp + 0x1bc]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.10054171
mov esp, ebp
pop ebp
ret