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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x101114bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
push esi
mov esi, dword [0x101132e0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 8]
push edi
push eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x30], esi
call fcn.10027bd0
add esp, 4
mov dword [ebp - 0x78], eax
test eax, eax
mov edi, eax
mov dword [ebp - 0x38], edi
sete cl
mov byte [ebp - 0x25], cl
test eax, eax
jne 0x100218ed
test byte [esi + 0x1a30], 2
je 0x100218b0
mov eax, dword [esi + 0x1a50]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x1a54]
mov dword [ebp - 0x38], eax
jmp 0x100218be
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x3c]
movss xmm0, dword [eax]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x54], xmm0
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x74]
call fcn.10026140
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x6c]
mov ecx, eax
mov edx, eax
and ecx, 0xc0200
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [esi + 0x1970]
mov esi, dword [edi + 0x9c]
cmovne edx, eax
mov eax, dword [edi + 0x224]
mov dword [ebp - 0x48], eax
lea eax, [ecx - 1]
mov dword [ebp - 0x6c], esi
cmp dword [ebp - 0x48], eax
mov esi, dword [ebp - 0x30]
setl al
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x70], al
test edx, 0x4000000
je 0x10021973
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + 0x1ac8]
mov edx, dword [ecx + 0x1ac4]
lea esi, [eax + eax*8]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
setne al
or cl, al
mov al, byte [ebp - 0x70]
or al, cl
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 0x70], al
test al, al
jne 0x10021985
cmp dword [ebp - 0x6c], 0
jg 0x10021985
mov byte [edi + 0x80], al
jmp 0x100219a1
mov byte [edi + 0x80], 1
or dword [edi + 0xa0], 8
or dword [edi + 0xa4], 8
or dword [edi + 0xa8], 8
cmp dword [ebp - 0x48], ecx
je 0x100219e2
mov dword [edi + 8], edx
xor eax, eax
mov dword [edi + 0x224], ecx
movsd xmm0, qword [esi + 0x1968]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x228], xmm0
mov word [edi + 0x86], ax
movzx eax, word [esi + 0x19b8]
inc dword [esi + 0x19b8]
mov word [edi + 0x88], ax
jmp 0x100219e8
mov edx, dword [edi + 8]
mov dword [ebp - 0x2c], edx
cmp dword [esi + 0x19a0], 0
jne 0x100219f5
xor eax, eax
jmp 0x10021a08
mov eax, dword [esi + 0x19a8]
mov esi, dword [esi + 0x19a0]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x48], ecx
je 0x10021a20
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x64], ecx
jmp 0x10021a29
mov eax, dword [edi + 0x2f0]
mov dword [ebp - 0x64], eax
mov edx, dword [edi + 0xbc]
lea ecx, [edi + 0xbc]
test edx, edx
jne 0x10021a80
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10021a71
inc edx
mov dword [ebp - 0x34], edx
test eax, eax
je 0x10021a55
cdq
sub eax, edx
mov edx, dword [ebp - 0x34]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10021a5a
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003ad00
mov edx, dword [edi + 0xbc]
lea ecx, [edi + 0xbc]
mov ecx, dword [ecx + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xbc]
mov edx, dword [esi + 0x19a0]
lea ecx, [esi + 0x19a0]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10021ac4
inc edx
mov dword [ebp - 0x34], edx
test eax, eax
je 0x10021aa8
cdq
sub eax, edx
mov edx, dword [ebp - 0x34]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10021aad
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003aeb0
mov edx, dword [esi + 0x19a0]
lea ecx, [esi + 0x19a0]
mov eax, dword [ecx + 8]
mov dword [eax + edx*4], edi
lea edx, [edi + 0x1a8]
inc dword [ecx]
mov dword [esi + 0x19bc], 0
mov ecx, dword [0x101132e0]
movzx eax, word [edi + 0xbc]
mov word [edx], ax
movzx eax, word [edi + 0x19c]
mov word [edx + 2], ax
movzx eax, word [ecx + 0x1ac8]
mov word [edx + 4], ax
movzx eax, word [ecx + 0x1a98]
mov word [edx + 6], ax
movzx eax, word [ecx + 0x1aa4]
mov word [edx + 8], ax
movzx eax, word [ecx + 0x1ab0]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 0x2c]
mov ecx, eax
and ecx, 0x4000000
mov dword [ebp - 0x7c], ecx
je 0x10021b63
mov eax, dword [esi + 0x1ac8]
lea ecx, [esi + 0x1ac8]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1ac4]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.1003aa40
mov eax, dword [esi]
mov esi, dword [ebp - 0x30]
mov dword [edi + 0x8c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x6c], 0
jle 0x10021b7a
test eax, 0x1000000
jne 0x10021b7a
mov dword [edi + 0x304], 0
test byte [esi + 0x1a30], 1
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x22], 0
je 0x10021c18
mov eax, dword [edi + 0xa0]
mov ecx, dword [esi + 0x1a34]
and eax, ecx
setne byte [ebp - 0x23]
test eax, eax
je 0x10021c07
movss xmm1, dword [esi + 0x1a4c]
movss xmm0, dword [esi + 0x1a48]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100f0b00]
jbe 0x10021c07
mov eax, dword [esi + 0x1a40]
mov dword [edi + 0xac], eax
mov eax, dword [esi + 0x1a44]
mov dword [edi + 0xb0], eax
mov eax, dword [esi + 0x1a48]
mov dword [edi + 0xb4], eax
mov eax, dword [esi + 0x1a4c]
mov dword [edi + 0xb8], eax
and dword [edi + 0xa0], 0xfffffff1
jmp 0x10021c18
push ecx
lea eax, [esi + 0x1a40]
push eax
push edi
call fcn.10037740
add esp, 0xc
mov eax, dword [esi + 0x1a30]
test al, 2
je 0x10021c78
mov eax, dword [edi + 0xa4]
lea ecx, [esi + 0x1a50]
mov edx, dword [esi + 0x1a38]
xorps xmm1, xmm1
and eax, edx
je 0x10021c4a
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x10021c4a
mov byte [ebp - 0x24], 1
jmp 0x10021c52
mov byte [ebp - 0x24], 0
test eax, eax
je 0x10021c63
movss xmm0, dword [esi + 0x1a54]
comiss xmm0, xmm1
mov byte [ebp - 0x22], 1
ja 0x10021c67
mov byte [ebp - 0x22], 0
push edx
push ecx
push edi
call fcn.10037860
mov eax, dword [esi + 0x1a30]
add esp, 0xc
test al, 4
je 0x10021c90
mov eax, dword [esi + 0x1a58]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x1a5c]
mov dword [edi + 0x30], eax
jmp 0x10021ca6
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x40]
je 0x10021ca6
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov eax, dword [esi + 0x1a30]
test al, 8
je 0x10021cd8
mov ecx, dword [esi + 0x1a3c]
mov dl, byte [esi + 0x1a60]
test ecx, ecx
je 0x10021cc8
test dword [edi + 0xa8], ecx
je 0x10021cd8
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0x7d], dl
mov eax, dword [esi + 0x1a30]
test al, 0x20
je 0x10021ce5
push edi
call fcn.10027e70
add esp, 4
cmp byte [edi + 0x80], 0
je 0x10021d03
and dword [edi + 0xa0], 0xfffffff7
and dword [edi + 0xa4], 0xfffffff7
and dword [edi + 0xa8], 0xfffffff7
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x40]
je 0x10023735
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
mov eax, dword [ebp - 0x64]
and edx, 0x3000000
mov dword [ebp - 0x48], edx
mov dword [edi + 0x2f0], eax
mov dword [edi + 0x2fc], edi
mov dword [edi + 0x2f8], edi
mov dword [edi + 0x2f4], edi
test eax, eax
je 0x10021d6f
cmp edx, 0x1000000
jne 0x10021d53
mov eax, dword [eax + 0x2f4]
mov dword [edi + 0x2f4], eax
mov eax, dword [ebp - 0x64]
test ecx, 0x8000000
jne 0x10021d6f
test ecx, 0x5000000
je 0x10021d6f
mov eax, dword [eax + 0x2f8]
mov dword [edi + 0x2f8], eax
test dword [edi + 8], 0x800000
je 0x10021d97
mov ecx, edi
nop word [eax + eax]
mov eax, dword [ecx + 0x2f0]
mov ecx, eax
mov dword [edi + 0x2fc], ecx
test dword [eax + 8], 0x800000
jne 0x10021d80
cmp dword [ebp - 0x90], 0
mov byte [edi + 0x7a], 1
setne al
mov byte [edi + 0x82], al
mov dword [edi + 0x204], 0xff7fffff
mov dword [edi + 0x208], 0xff7fffff
mov dword [edi + 0x20c], 0x7f7fffff
mov dword [edi + 0x210], 0x7f7fffff
mov eax, dword [edi + 0xc0]
cmp eax, 1
jge 0x10021e11
test eax, eax
je 0x10021df4
cdq
sub eax, edx
lea edx, [edi + 0xbc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10021dff
mov ecx, 8
lea edx, [edi + 0xbc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1003ad00
mov dword [edi + 0xbc], 1
cmp byte [edi + 0x32c], 0
je 0x10021ef0
mov byte [edi + 0x32c], 0
mov ecx, dword [edi + 0x274]
push dword [edi + 0x330]
add ecx, 0xc
call fcn.1003abf0
mov eax, dword [edi + 0x274]
mov ecx, dword [edi + 0x334]
add eax, 0x18
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x68], ecx
cmp ecx, dword [eax + 4]
jle 0x10021edc
mov eax, dword [0x101132e0]
test eax, eax
je 0x10021e6c
inc dword [eax + 0x378]
push dword [0x101132e8]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x101112b8]
mov dword [ebp - 0x34], eax
add esp, 8
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 8]
test edx, edx
je 0x10021ed0
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0x34]
call fcn.10088120
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10021ebd
mov eax, dword [0x101132e0]
test eax, eax
je 0x10021ebd
dec dword [eax + 0x378]
push dword [0x101132e8]
push ecx
call dword [0x101112bc]
mov eax, dword [ebp - 0x40]
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 4], ecx
mov dword [edi + 0x334], 0
mov dword [edi + 0x330], 0
cmp dword [esi + 0x1b1c], 0
je 0x10021fd8
test dword [edi + 8], 0x80000
jne 0x10021fd8
cmp dword [ebp - 0x78], 0
je 0x10021fd8
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x74]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10021f40
test dl, dl
je 0x10021f3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10021f40
add eax, 2
add ecx, 2
test dl, dl
jne 0x10021f20
xor eax, eax
jmp 0x10021f45
sbb eax, eax
or eax, 1
test eax, eax
je 0x10021fd8
mov ecx, dword [ebp - 0x74]
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x68], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x40], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021f60
sub ecx, dword [ebp - 0x40]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
cmp edx, eax
jae 0x10021fc3
test ecx, ecx
je 0x10021f8a
mov eax, dword [0x101132e0]
test eax, eax
je 0x10021f8a
dec dword [eax + 0x378]
push dword [0x101132e8]
push ecx
call dword [0x101112bc]
mov eax, dword [0x101132e0]
add esp, 8
test eax, eax
je 0x10021fa9
inc dword [eax + 0x378]
push dword [0x101132e8]
push dword [ebp - 0x40]
call dword [0x101112b8]
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x68], eax
push eax
push dword [ebp - 0x74]
push ecx
call fcn.10088120
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x44], eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.100252a0
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
mov eax, dword [edi + 0x98]
test eax, eax
jle 0x10022009
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x1002201a
dec eax
mov dword [edi + 0x9c], eax
cmp dword [ebp - 0x78], 0
mov al, byte [ebp - 0x24]
mov dl, byte [ebp - 0x22]
jne 0x10022038
test al, al
je 0x1002202e
test dl, dl
jne 0x10022038
mov dword [edi + 0x9c], 1
cmp byte [ebp - 0x70], 0
mov ecx, dword [ebp - 0x2c]
je 0x1002208a
test ecx, 0x6000000
je 0x1002208a
mov dword [edi + 0x9c], 1
test cl, 0x40
je 0x1002208a
test al, al
jne 0x1002206a
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test dl, dl
jne 0x1002207c
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov edx, dword [0x101132e0]
mov dword [edx + 0x19bc], edi
mov eax, dword [0x101132e0]
movss xmm1, dword [eax + 0x18d8]
mov eax, dword [edi + 0x2f0]
mulss xmm1, dword [edi + 0x26c]
test eax, eax
je 0x100220bd
mulss xmm1, dword [eax + 0x26c]
mov eax, ecx
movss dword [edx + 0x18e8], xmm1
and eax, 0x1000000
movss dword [edx + 0x18d4], xmm1
mov dword [ebp - 0x68], eax
je 0x100220e4
mov eax, dword [esi + 0x154c]
mov dword [edi + 0x40], eax
jmp 0x1002210b
test ecx, 0x6000000
je 0x100220fe
test ecx, 0x8000000
jne 0x100220fe
movss xmm0, dword [esi + 0x1554]
jmp 0x10022106
movss xmm0, dword [esi + 0x1530]
movss dword [edi + 0x40], xmm0
mov eax, dword [esi + 0x1524]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x1528]
mov dword [edi + 0x38], eax
mov eax, ecx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x1002215d
movss xmm0, dword [edi + 0x40]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002215d
test ecx, 0x400
je 0x1002214e
movss xmm0, dword [esi + 0x1528]
jmp 0x10022151
xorps xmm0, xmm0
mov dword [edi + 0x34], 0
movss dword [edi + 0x38], xmm0
movss xmm0, dword [edi + 0x34]
maxss xmm0, dword [esi + 0x1568]
maxss xmm0, dword [esi + 0x1a80]
movss dword [edi + 0x144], xmm0
mov eax, dword [esi + 0x1a84]
mov dword [edi + 0x148], eax
test cl, 0x21
jne 0x100221f4
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.10038d40
cmp dword [esi + 0x19c0], edi
jne 0x100221d3
cmp dword [esi + 0x19dc], 0
jne 0x100221d3
cmp dword [esi + 0x19e4], 0
jne 0x100221d3
push 1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1002be60
add esp, 0xc
test al, al
je 0x100221d3
cmp byte [esi + 0x3e5], 0
je 0x100221d3
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x100221f8
cmp byte [edi + 0x7d], 0
push edi
sete al
mov byte [edi + 0x7d], al
call fcn.1002d290
push edi
call fcn.10027e70
add esp, 8
jmp 0x100221f8
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x7e], 0
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.10025060
mov al, byte [ebp - 0x25]
add esp, 0xc
test byte [ebp - 0x2c], 0x40
mov byte [ebp - 0x21], al
je 0x10022250
cmp byte [edi + 0x7d], 0
jne 0x10022250
cmp byte [ebp - 0x24], 0
jne 0x10022233
movss xmm0, dword [ebp - 0x58]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x25], 1
cmp byte [ebp - 0x22], 0
jne 0x100222f0
movss xmm0, dword [ebp - 0x54]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x21], 1
jmp 0x100222f0
mov al, byte [edi + 0x90]
test al, al
jg 0x10022267
cmp byte [edi + 0x91], 0
jle 0x100222f0
cmp byte [ebp - 0x24], 0
jne 0x10022294
test al, al
jle 0x10022294
cmp byte [edi + 0x93], 0
je 0x10022286
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x58]
jmp 0x1002228b
movss xmm0, dword [ebp - 0x58]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x25], 1
cmp byte [ebp - 0x22], 0
jne 0x100222c6
cmp byte [edi + 0x91], 0
jle 0x100222c6
cmp byte [edi + 0x93], 0
je 0x100222b8
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x54]
jmp 0x100222bd
movss xmm0, dword [ebp - 0x54]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x21], 1
cmp byte [edi + 0x7d], 0
jne 0x100222f0
test dword [edi + 8], 0x100
mov ecx, dword [0x101132e0]
jne 0x100222f0
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2d2c]
jb 0x100222f0
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2d2c], eax
push dword [edi + 0x20]
lea eax, [ebp - 0x44]
push dword [edi + 0x1c]
push edi
push eax
call fcn.10025390
add esp, 0x10
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x1c], xmm0
movss dword [edi + 0x20], xmm1
cmp byte [edi + 0x7d], 0
je 0x1002234c
cmp dword [ebp - 0x68], 0
jne 0x1002234c
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.10038d40
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [ebp - 0x40], xmm0
jmp 0x10022358
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
mov eax, dword [ecx]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 8]
mov edx, dword [0x101132e0]
test cl, 1
je 0x10022379
xorps xmm2, xmm2
jmp 0x100223b0
mov eax, dword [0x101132e0]
movss xmm1, dword [eax + 0x18d8]
mov eax, dword [edi + 0x2f0]
mulss xmm1, dword [edi + 0x26c]
test eax, eax
je 0x100223a0
mulss xmm1, dword [eax + 0x26c]
movss xmm2, dword [edx + 0x155c]
addss xmm2, xmm2
addss xmm2, xmm1
xorps xmm0, xmm0
test ecx, 0x400
je 0x100223fa
mov eax, dword [0x101132e0]
movss xmm1, dword [eax + 0x18d8]
mov eax, dword [edi + 0x2f0]
mulss xmm1, dword [edi + 0x26c]
test eax, eax
je 0x100223e2
mulss xmm1, dword [eax + 0x26c]
movss xmm0, dword [edx + 0x155c]
addss xmm1, dword [edi + 0x148]
addss xmm0, xmm0
addss xmm0, xmm1
cmp byte [ebp - 0x70], 0
addss xmm0, xmm2
mov edx, dword [ebp - 0x7c]
movss dword [ebp - 0x34], xmm0
je 0x10022445
mov dword [edi + 0x94], 0xffffffff
test edx, edx
je 0x10022445
cmp byte [ebp - 0x23], 0
jne 0x10022445
mov eax, dword [esi + 0x1ac8]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1ad0]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cmp dword [ebp - 0x68], 0
je 0x10022493
mov ecx, dword [ebp - 0x64]
add ecx, 0x14c
mov ax, word [ecx]
mov word [edi + 0x86], ax
lea eax, [ebp - 0x38]
push eax
call fcn.1003a920
mov edx, dword [ebp - 0x7c]
mov al, byte [ebp - 0x23]
test edx, edx
jne 0x10022496
test al, al
jne 0x10022496
cmp dword [ebp - 0x48], 0x3000000
je 0x10022496
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 0xc8]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 0xcc]
mov dword [edi + 0x10], eax
mov al, byte [ebp - 0x23]
movss xmm1, dword [edi + 0xac]
ucomiss xmm1, dword [0x100f0ba4]
lahf
test ah, 0x44
jnp 0x100224f9
cmp dword [edi + 0x9c], 0
jne 0x100224f9
movss xmm0, dword [edi + 0x1c]
lea eax, [ebp - 0x3c]
mulss xmm0, dword [edi + 0xb4]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xb0]
movss dword [ebp - 0x3c], xmm1
movss xmm1, dword [edi + 0x20]
mulss xmm1, dword [edi + 0xb8]
subss xmm0, xmm1
movss dword [ebp - 0x38], xmm0
call fcn.10037740
add esp, 0xc
jmp 0x10022547
mov ecx, dword [ebp - 0x2c]
test ecx, 0x10000000
jne 0x10022527
test edx, edx
je 0x10022512
test al, al
jne 0x10022512
cmp dword [ebp - 0x6c], 0
jg 0x10022527
test ecx, 0x2000000
je 0x1002254a
test al, al
jne 0x1002254a
cmp dword [ebp - 0x48], 0x3000000
je 0x1002254a
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.10027300
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov ecx, dword [ebp - 0x2c]
cmp byte [ebp - 0x23], 0
mov eax, dword [0x101132e0]
movss xmm5, dword [eax + 0x10]
movss xmm6, dword [eax + 0x14]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
movss dword [ebp - 0x84], xmm5
movss dword [ebp - 0x80], xmm6
jne 0x1002268e
cmp dword [ebp - 0x68], 0
jne 0x1002268e
cmp byte [edi + 0x90], 0
jg 0x1002268e
cmp byte [edi + 0x91], 0
jg 0x1002268e
movss xmm0, dword [esi + 0x10]
xorps xmm7, xmm7
comiss xmm0, xmm7
jbe 0x1002268e
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm7
jbe 0x1002268e
cmp byte [eax + 0xb4], 0
movss xmm4, dword [esi + 0x15b8]
movss xmm3, dword [esi + 0x15b4]
maxss xmm4, dword [esi + 0x15c0]
maxss xmm3, dword [esi + 0x15bc]
je 0x10022639
test byte [edi + 8], 1
jne 0x10022639
movss xmm2, dword [eax + 0x18d8]
mov edx, dword [edi + 0x2f0]
mulss xmm2, dword [edi + 0x26c]
test edx, edx
je 0x10022618
mulss xmm2, dword [edx + 0x26c]
movss xmm1, dword [eax + 0x155c]
movss xmm0, dword [edi + 0x14]
addss xmm1, xmm1
movss dword [ebp - 0x3c], xmm0
addss xmm1, xmm2
movss dword [ebp - 0x38], xmm1
jmp 0x10022645
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
movss xmm0, dword [eax]
subss xmm5, xmm3
addss xmm0, dword [edi + 0xc]
addss xmm3, xmm7
subss xmm6, xmm4
addss xmm4, xmm7
maxss xmm0, xmm3
subss xmm0, dword [eax]
minss xmm5, xmm0
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [eax + 4]
movss dword [edi + 0xc], xmm5
maxss xmm0, xmm4
subss xmm0, dword [eax + 4]
minss xmm6, xmm0
movss dword [edi + 0x10], xmm6
cmp dword [ebp - 0x68], 0
cvttss2si eax, dword [edi + 0xc]
movd xmm0, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
je 0x100226c0
movss xmm2, dword [esi + 0x1548]
jmp 0x100226e0
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100226d8
movss xmm2, dword [esi + 0x1550]
jmp 0x100226e0
movss xmm2, dword [esi + 0x152c]
xor dl, dl
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x40], edx
cmp byte [ebp - 0x70], dl
je 0x10022715
test ecx, 0x1000
jne 0x10022715
cmp dword [ebp - 0x7c], 0
je 0x10022703
mov byte [ebp - 0x40], 1
jmp 0x10022715
cmp dword [ebp - 0x48], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [ebp - 0x40], edx
movss xmm1, dword [esi + 0x18d4]
xorps xmm0, xmm0
addss xmm2, dword [0x100f0b58]
movaps xmmword [ebp - 0x20], xmm0
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x100f0b20]
setne al
mov dword [ebp - 0x38], 0xffffffff
mulss xmm0, dword [0x100f0b5c]
inc eax
cmp byte [edi + 0x7d], 0
addss xmm2, xmm1
mov dword [ebp - 0x6c], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x10022787
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.10039180
add esp, 0x14
test al, al
je 0x10022787
mov cl, 1
mov dl, cl
jmp 0x1002278d
mov dl, byte [ebp - 0x25]
mov cl, byte [ebp - 0x21]
mov al, byte [ebp - 0x38]
mov byte [edi + 0x83], al
cmp byte [edi + 0x7d], 0
jne 0x100228df
cmp dword [ebp - 0x78], 0
lea eax, [ebp - 0x58]
movss xmm2, dword [edi + 0x1dc]
movss xmm3, dword [edi + 0x1e0]
subss xmm2, dword [edi + 0x1d4]
subss xmm3, dword [edi + 0x1d8]
movss xmm4, dword [edi + 0x20]
movss xmm5, dword [edi + 0x1c]
subss xmm4, dword [ebp - 0x34]
addss xmm2, dword [edi + 0x70]
addss xmm3, dword [edi + 0x74]
jne 0x100227f2
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
jmp 0x10022818
movss xmm0, dword [edi + 0x34]
movss xmm1, dword [edi + 0x38]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x54], xmm1
movss xmm6, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x10022828
movaps xmm5, xmm2
test cl, cl
jne 0x1002282f
movaps xmm4, xmm3
mov edx, dword [ebp - 0x2c]
test edx, 0x4000
jne 0x10022848
comiss xmm1, xmm4
jbe 0x10022844
test dl, 8
je 0x10022848
xor al, al
jmp 0x1002284a
mov al, 1
mov byte [edi + 0x79], al
test edx, 0x8000
jne 0x1002288c
test al, al
je 0x10022866
mov ecx, dword [ebp - 0x30]
movss xmm0, dword [ecx + 0x1588]
jmp 0x10022869
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x10022880
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x1002288c
mov eax, dword [ebp - 0x30]
xorps xmm1, xmm1
mov byte [edi + 0x78], 0
jmp 0x100228c2
mov byte [edi + 0x78], 1
cmp byte [edi + 0x79], 0
jne 0x100228b7
comiss xmm1, xmm4
jbe 0x100228a4
test dl, 8
jne 0x100228a4
mov al, 1
jmp 0x100228a6
xor al, al
mov byte [edi + 0x79], al
cmp byte [edi + 0x78], 0
jne 0x100228b7
mov eax, dword [ebp - 0x30]
xorps xmm1, xmm1
jmp 0x100228c2
mov eax, dword [ebp - 0x30]
movss xmm1, dword [eax + 0x1588]
cmp byte [edi + 0x79], 0
xorps xmm0, xmm0
je 0x100228d3
movss xmm0, dword [eax + 0x1588]
movss dword [edi + 0x70], xmm0
movss dword [edi + 0x74], xmm1
jmp 0x100228e2
mov edx, dword [ebp - 0x2c]
mov eax, edx
and eax, 0x5000000
mov dword [ebp - 0x78], eax
cmp eax, 0x1000000
jne 0x10022906
cmp dword [ebp - 0x48], 0x3000000
je 0x10022906
mov eax, dword [ebp - 0x64]
add eax, 0x204
jmp 0x1002290c
lea eax, [ebp - 0x8c]
test byte [edi + 8], 1
movups xmm0, xmmword [eax]
mov ecx, dword [0x101132e0]
movss xmm6, dword [edi + 0xc]
movss xmm7, dword [edi + 0x10]
movaps xmm3, xmm6
movss xmm4, dword [edi + 0x18]
addss xmm3, dword [edi + 0x14]
movups xmmword [ebp - 0x60], xmm0
addss xmm4, xmm7
je 0x1002293f
xorps xmm2, xmm2
jmp 0x10022971
movss xmm1, dword [ecx + 0x18d8]
mov eax, dword [edi + 0x2f0]
mulss xmm1, dword [edi + 0x26c]
test eax, eax
je 0x10022961
mulss xmm1, dword [eax + 0x26c]
movss xmm2, dword [ecx + 0x155c]
addss xmm2, xmm2
addss xmm2, xmm1
movaps xmm1, xmm6
mov ecx, dword [ebp - 0x30]
addss xmm1, dword [edi + 0x1c]
movss dword [ebp - 0xa0], xmm6
addss xmm2, xmm7
movss xmm0, dword [edi + 0x10]
xorps xmm5, xmm5
movss dword [ebp - 0x9c], xmm0
movss dword [ebp - 0x98], xmm1
movss dword [ebp - 0x94], xmm2
movss dword [edi + 0x1c4], xmm6
movss dword [edi + 0x1c8], xmm7
movss dword [edi + 0x1cc], xmm3
movss dword [edi + 0x1d0], xmm4
movss xmm1, dword [edi + 0x1c4]
movss xmm0, dword [edi + 0x1c8]
movss xmm3, dword [ebp - 0x60]
movss xmm4, dword [ebp - 0x5c]
maxss xmm1, xmm3
movss xmm7, dword [ebp - 0x54]
maxss xmm0, xmm4
movss dword [edi + 0x1c4], xmm1
movss dword [edi + 0x1c8], xmm0
movss xmm0, dword [edi + 0x1d0]
movss xmm1, dword [edi + 0x1cc]
minss xmm0, xmm7
minss xmm1, dword [ebp - 0x58]
movss dword [edi + 0x1d0], xmm0
movss dword [edi + 0x1cc], xmm1
mov eax, dword [edi + 0xc]
mov dword [edi + 0x1d4], eax
mov eax, edx
movss xmm0, dword [edi + 0x10]
and eax, 0x401
addss xmm0, dword [ebp - 0x34]
movss dword [edi + 0x1d8], xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, dword [edi + 0x14]
subss xmm0, dword [edi + 0x70]
movss dword [edi + 0x1dc], xmm0
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x74]
movss dword [edi + 0x1e0], xmm0
cmp eax, 1
jne 0x10022a84
movss xmm6, dword [edi + 0x40]
jmp 0x10022a8c
movss xmm6, dword [ecx + 0x1564]
movss xmm0, dword [edi + 0x34]
movss xmm2, dword [0x100f0b30]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x1d4]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x40]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e4], xmm0
movss xmm0, dword [edi + 0x1d8]
addss xmm0, xmm2
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [edi + 0x34]
mulss xmm0, xmm2
movss xmm1, dword [edi + 0x1dc]
addss xmm1, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [edi + 0x40]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [edi + 0x1e0]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x40]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x1e8]
comiss xmm4, xmm0
jbe 0x10022b65
movaps xmm1, xmm4
jmp 0x10022b6c
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1e4]
comiss xmm3, xmm2
movss xmm6, dword [ebp - 0x58]
jbe 0x10022b83
movaps xmm0, xmm3
jmp 0x10022b8a
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x1e4], xmm0
movss dword [edi + 0x1e8], xmm1
movss xmm0, dword [edi + 0x1f0]
comiss xmm4, xmm0
ja 0x10022bae
movaps xmm4, xmm7
minss xmm4, xmm0
movss xmm0, dword [edi + 0x1ec]
comiss xmm3, xmm0
ja 0x10022bc2
movaps xmm3, xmm6
minss xmm3, xmm0
movss dword [edi + 0x1ec], xmm3
movss dword [edi + 0x1f0], xmm4
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm5
jbe 0x10022bee
test edx, 0x2000040
jne 0x10022bee
mulss xmm0, dword [0x100f0b38]
jmp 0x10022bfe
movss xmm0, dword [ecx + 0x18d4]
mulss xmm0, dword [0x100f0b84]
cvttss2si eax, xmm0
movss xmm3, dword [0x100f0ba4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x22c], xmm0
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x1dc]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1d4]
addss xmm1, dword [edi + 0x24]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x58], xmm0
movss xmm1, dword [edi + 0x38]
movss xmm0, dword [edi + 0x1e0]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1d8]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x5c], xmm0
mov eax, dword [0x101132e0]
movss xmm2, dword [edi + 0x50]
movss xmm1, dword [edi + 0x54]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [edi + 0x60]
comiss xmm3, xmm0
jbe 0x10022cfb
movss xmm4, dword [edi + 0x68]
movaps xmm2, xmm0
comiss xmm5, xmm4
jb 0x10022caf
movss xmm0, dword [edi + 0x34]
comiss xmm0, xmm2
jb 0x10022caf
xorps xmm2, xmm2
jmp 0x10022ce9
comiss xmm4, dword [0x100f0b58]
jb 0x10022ce9
movss xmm6, dword [edi + 0x24]
movss xmm3, dword [edi + 0x34]
movaps xmm0, xmm6
addss xmm0, xmm3
addss xmm0, dword [eax + 0x1568]
comiss xmm2, xmm0
jb 0x10022ce1
movaps xmm2, xmm3
addss xmm2, xmm3
addss xmm2, xmm6
movss xmm3, dword [0x100f0ba4]
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x70]
mulss xmm0, xmm4
subss xmm2, xmm0
movss xmm7, dword [edi + 0x64]
comiss xmm3, xmm7
jbe 0x10022df9
mov edx, dword [edi + 8]
test dl, 1
je 0x10022d16
xorps xmm1, xmm1
jmp 0x10022d48
movss xmm3, dword [eax + 0x18d8]
mov ecx, dword [edi + 0x2f0]
mulss xmm3, dword [edi + 0x26c]
test ecx, ecx
je 0x10022d38
mulss xmm3, dword [ecx + 0x26c]
movss xmm1, dword [eax + 0x155c]
addss xmm1, xmm1
addss xmm1, xmm3
test edx, 0x400
je 0x10022d90
movss xmm4, dword [eax + 0x18d8]
mov ecx, dword [edi + 0x2f0]
mulss xmm4, dword [edi + 0x26c]
test ecx, ecx
je 0x10022d72
mulss xmm4, dword [ecx + 0x26c]
movss xmm0, dword [eax + 0x155c]
movss xmm3, dword [edi + 0x148]
addss xmm0, xmm0
addss xmm3, xmm4
addss xmm3, xmm0
jmp 0x10022d93
xorps xmm3, xmm3
movss xmm6, dword [edi + 0x6c]
addss xmm3, xmm1
comiss xmm5, xmm6
movaps xmm1, xmm7
jb 0x10022db1
movss xmm0, dword [edi + 0x38]
comiss xmm0, xmm1
jb 0x10022db1
xorps xmm1, xmm1
comiss xmm6, dword [0x100f0b58]
jb 0x10022de3
movss xmm7, dword [edi + 0x28]
movss xmm4, dword [edi + 0x38]
movaps xmm0, xmm7
addss xmm0, xmm4
addss xmm0, dword [eax + 0x156c]
comiss xmm1, xmm0
jb 0x10022de3
movaps xmm1, xmm4
addss xmm1, xmm4
addss xmm1, xmm7
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x74]
subss xmm0, xmm3
mulss xmm0, xmm6
subss xmm1, xmm0
cmp byte [edi + 0x7d], 0
maxss xmm2, xmm5
maxss xmm1, xmm5
jne 0x10022e27
cmp byte [edi + 0x7f], 0
jne 0x10022e27
movss xmm0, dword [edi + 0x58]
comiss xmm0, xmm2
ja 0x10022e1a
movaps xmm2, xmm0
movss xmm0, dword [ebp - 0x38]
comiss xmm0, xmm1
ja 0x10022e27
movaps xmm1, xmm0
movss dword [edi + 0x50], xmm2
movss dword [edi + 0x54], xmm1
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
mov ecx, dword [edi + 0x274]
call fcn.1003eb30
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x18d0]
mov ecx, dword [edi + 0x274]
mov eax, dword [eax + 0x38]
push dword [eax + 8]
call fcn.10042da0
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10032c40
add esp, 0xc
test dword [ebp - 0x2c], 0x8000000
je 0x10022e95
call fcn.10029ca0
cmp edi, eax
jne 0x10022e95
cmp dword [edi + 0x9c], 0
jg 0x10022e95
mov dl, 1
jmp 0x10022e97
xor dl, dl
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1b18]
test ecx, ecx
je 0x10022eb0
cmp edi, dword [ecx + 0x2f4]
jne 0x10022eb0
mov cl, 1
jmp 0x10022eb2
xor cl, cl
mov byte [ebp - 0x21], cl
test dl, dl
jne 0x10022ec1
test cl, cl
je 0x10022fd9
movss xmm0, dword [eax + 0x1c40]
push ecx
movzx eax, dl
add eax, 0x2e
movss dword [esp], xmm0
push eax
call fcn.10028880
add esp, 8
push 0xf
push ecx
mov ecx, dword [edi + 0x274]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.1003dcb0
cmp byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x30]
je 0x10022fd9
cmp edi, dword [eax + 0x1b18]
jne 0x10022fd9
movss xmm5, dword [edi + 0x10]
movss xmm4, dword [edi + 0xc]
movaps xmm6, xmm5
movss xmm0, dword [edi + 0x14]
movaps xmm3, xmm4
movss xmm2, dword [edi + 0x18]
addss xmm4, xmm0
movss xmm1, dword [eax + 0x18d4]
addss xmm5, xmm2
movss xmm0, dword [ebp - 0x8c]
subss xmm3, xmm1
subss xmm6, xmm1
addss xmm4, xmm1
addss xmm5, xmm1
comiss xmm0, xmm3
movss dword [ebp - 0x60], xmm3
movss dword [ebp - 0x5c], xmm6
movss dword [ebp - 0x58], xmm4
movss dword [ebp - 0x54], xmm5
jb 0x10022f92
movss xmm0, dword [ebp - 0x88]
comiss xmm0, xmm6
jb 0x10022f92
comiss xmm4, dword [ebp - 0x84]
jb 0x10022f92
comiss xmm5, dword [ebp - 0x80]
jae 0x10022fd9
movss xmm0, dword [eax + 0x1b24]
mulss xmm0, dword [0x100f0b24]
push ecx
movss dword [esp], xmm0
push 0x2d
call fcn.10028880
add esp, 8
push 0xf
push ecx
mov ecx, dword [ebp - 0x30]
movss xmm0, dword [ecx + 0x152c]
mov ecx, dword [edi + 0x274]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1003dcb0
cmp dword [ebp - 0x78], 0x1000000
mov byte [ebp - 0x21], 0
jne 0x1002301d
cmp dword [ebp - 0x48], 0x3000000
je 0x1002301d
mov edx, dword [edi + 0x274]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0x28], 0
jne 0x1002301d
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x274]
cmp dword [eax + 0x18], 0
jle 0x1002301d
mov byte [ebp - 0x21], 1
mov dword [edi + 0x274], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1b14]
test ecx, ecx
jne 0x10023030
mov ecx, dword [eax + 0x1ad4]
cmp byte [ebp - 0x40], 0
jne 0x1002304e
test ecx, ecx
je 0x10023048
mov eax, dword [edi + 0x2f8]
cmp eax, dword [ecx + 0x2f8]
je 0x1002304e
mov byte [ebp - 0x38], 0
jmp 0x10023052
mov byte [ebp - 0x38], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0xa0]
push dword [ebp - 0x38]
push eax
push edi
call fcn.10034b30
add esp, 0x18
cmp byte [ebp - 0x21], 0
je 0x1002308b
lea eax, [edi + 0x278]
mov dword [edi + 0x274], eax
mov esi, dword [ebp - 0x30]
cmp dword [esi + 0x1b18], edi
jne 0x100231a3
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x152c]
movss xmm1, dword [edi + 0x10]
movss xmm5, dword [edi + 0x14]
movaps xmm3, xmm1
movss xmm6, dword [edi + 0x18]
movss xmm2, dword [esi + 0x18d4]
addss xmm6, xmm1
movss dword [ebp - 0x38], xmm0
subss xmm3, xmm2
movss xmm0, dword [edi + 0xc]
addss xmm5, xmm0
movaps xmm4, xmm0
movss xmm0, dword [ebp - 0x8c]
subss xmm4, xmm2
addss xmm6, xmm2
movss dword [ebp - 0x5c], xmm3
addss xmm5, xmm2
comiss xmm0, xmm4
movss dword [ebp - 0x60], xmm4
movss dword [ebp - 0x58], xmm5
movss dword [ebp - 0x54], xmm6
jb 0x10023163
movss xmm0, dword [ebp - 0x88]
comiss xmm0, xmm3
jb 0x10023163
comiss xmm5, dword [ebp - 0x84]
jb 0x10023163
comiss xmm6, dword [ebp - 0x80]
jb 0x10023163
xorps xmm2, xmmword [0x100f0c60]
subss xmm2, dword [0x100f0b58]
movaps xmm0, xmm2
subss xmm4, xmm2
subss xmm3, xmm2
addss xmm0, xmm5
addss xmm2, xmm6
movss dword [ebp - 0x60], xmm4
movss dword [ebp - 0x5c], xmm3
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x54], xmm2
movss xmm0, dword [edi + 0x3c]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [esi + 0x1b24]
push ecx
movss dword [esp], xmm0
push 0x2d
call fcn.10028880
movss xmm0, dword [ebp - 0x38]
add esp, 4
mov dword [esp], 0x40400000
push 0xffffffffffffffff
push ecx
mov ecx, dword [edi + 0x274]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1003dbd0
mov ecx, dword [ebp - 0x2c]
xorps xmm4, xmm4
movss xmm3, dword [edi + 0x2c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x100231f4
movss xmm0, dword [edi + 0x34]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x70]
cmp eax, 0x800
jne 0x100231ed
movss xmm3, dword [edi + 0x24]
jmp 0x100231f0
xorps xmm3, xmm3
maxss xmm3, xmm1
movss xmm2, dword [edi + 0x30]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x10023230
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x34]
subss xmm1, dword [edi + 0x74]
test dl, dl
je 0x10023229
movss xmm2, dword [edi + 0x28]
jmp 0x1002322c
xorps xmm2, xmm2
maxss xmm2, xmm1
movss xmm1, dword [edi + 0x34]
maxss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x1d4]
subss xmm0, dword [edi + 0x50]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
movss xmm1, dword [edi + 0x38]
movss xmm0, dword [edi + 0x1d8]
subss xmm0, dword [edi + 0x54]
maxss xmm1, dword [edi + 0x40]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f8], xmm0
addss xmm3, dword [edi + 0x1f4]
movss dword [edi + 0x1fc], xmm3
addss xmm2, dword [edi + 0x1f8]
movss dword [edi + 0x200], xmm2
movss xmm0, dword [edi + 0xc]
subss xmm0, dword [edi + 0x50]
movss xmm2, dword [ebp - 0x34]
addss xmm0, dword [edi + 0x34]
movss dword [edi + 0x214], xmm0
movss xmm0, dword [edi + 0x10]
subss xmm0, dword [edi + 0x54]
addss xmm0, dword [edi + 0x38]
addss xmm0, xmm2
movss dword [edi + 0x218], xmm0
movss xmm1, dword [edi + 0x2c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10023308
movss xmm0, dword [edi + 0x34]
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [edi + 0x70]
addss xmm1, dword [edi + 0x214]
movss dword [edi + 0x21c], xmm1
movss xmm1, dword [edi + 0x30]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10023341
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm2
subss xmm1, dword [edi + 0x74]
movss xmm0, dword [edi + 0x218]
addss xmm0, xmm1
movss dword [edi + 0x220], xmm0
movss xmm0, dword [edi + 0x34]
addss xmm0, xmm4
subss xmm0, dword [edi + 0x50]
movss dword [edi + 0x1b4], xmm0
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
addss xmm2, dword [edi + 0x38]
movss xmm0, dword [edi + 0x1b4]
addss xmm0, xmm4
subss xmm2, dword [edi + 0x54]
addss xmm0, dword [edi + 0xc]
addss xmm2, dword [edi + 0x10]
movss dword [edi + 0xd8], xmm0
movss dword [edi + 0xdc], xmm2
mov eax, dword [edi + 0xd8]
mov dword [edi + 0xc8], eax
mov eax, dword [edi + 0xdc]
mov dword [edi + 0xcc], eax
mov eax, dword [edi + 0xd8]
mov dword [edi + 0xd0], eax
mov eax, dword [edi + 0xdc]
mov dword [edi + 0xd4], eax
mov eax, dword [edi + 0xd8]
mov dword [edi + 0xe0], eax
mov eax, dword [edi + 0xdc]
mov dword [edi + 0xe4], eax
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov eax, dword [edi + 0xf0]
mov dword [edi + 0xe8], eax
mov eax, dword [edi + 0xf4]
mov dword [edi + 0xec], eax
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov byte [edi + 0x140], 0
movss xmm0, dword [edi + 0x5c]
comiss xmm0, xmm4
seta al
mov byte [edi + 0x141], al
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x138], eax
lea eax, [edi + 0x14c]
mov dword [edi + 0x13c], 0
mov byte [edi + 0x142], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1002349b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x14c]
call fcn.1003aeb0
lea eax, [edi + 0x14c]
mov ecx, dword [ebp - 0x64]
mov dword [eax], 0
mov dword [edi + 0x15c], 1
test ecx, ecx
je 0x100234da
mov eax, dword [ecx + 0x15c]
mov dword [edi + 0x160], eax
mov dword [edi + 0x168], 0xffffffff
mov dword [edi + 0x164], 0xffffffff
mov eax, dword [ecx + 0x16c]
jmp 0x100234fa
mov dword [edi + 0x160], 1
xor eax, eax
mov dword [edi + 0x168], 0xffffffff
mov dword [edi + 0x164], 0xffffffff
mov dword [edi + 0x16c], eax
mov eax, dword [edi + 0x22c]
mov dword [edi + 0x170], eax
lea eax, [edi + 0x178]
mov dword [edi + 0x174], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10023545
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x178]
call fcn.1003ac70
lea eax, [edi + 0x178]
mov dword [eax], 0
lea eax, [edi + 0x184]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1002357a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x184]
call fcn.1003ad90
lea eax, [edi + 0x184]
mov dword [eax], 0
lea eax, [edi + 0x190]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100235af
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x190]
call fcn.1003ad90
lea eax, [edi + 0x190]
mov dword [eax], 0
lea ecx, [edi + 0x19c]
mov dword [edi + 0x1c0], 0
lea eax, [edi + 0x254]
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
push 0
mov dword [edi + 0x158], eax
call fcn.1003b160
push dword [ebp - 0x70]
movss xmm0, dword [esi + 0x1568]
push ecx
movss dword [esp], xmm0
lea ecx, [edi + 0x230]
push 3
call fcn.10069030
cmp dword [ebp - 0x68], 0
je 0x10023631
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x16c]
lea eax, [edi + 0x16c]
cmp dword [eax], ecx
je 0x10023631
mov dword [eax], ecx
lea ecx, [edi + 0x178]
push eax
call fcn.1003a8d0
mov al, byte [edi + 0x90]
test al, al
jle 0x10023643
dec al
mov byte [edi + 0x90], al
mov al, byte [edi + 0x91]
test al, al
jle 0x10023655
dec al
mov byte [edi + 0x91], al
cmp byte [ebp - 0x40], 0
je 0x1002366c
push edi
call fcn.10027e70
push 0
push edi
call fcn.1002d500
add esp, 0xc
test byte [ebp - 0x2c], 1
jne 0x1002368b
push dword [ebp - 0x90]
lea eax, [ebp - 0xa0]
push dword [ebp - 0x74]
push eax
push edi
call fcn.10035810
add esp, 0x10
mov eax, dword [edi + 0x48]
mov dword [edi + 0x108], eax
mov eax, dword [0x101132e0]
movss xmm2, dword [ebp - 0xa0]
movss xmm4, dword [ebp - 0x98]
movss xmm3, dword [ebp - 0x94]
movss xmm1, dword [eax + 0x1578]
movss xmm0, dword [eax + 0x157c]
subss xmm2, xmm1
movss xmm5, dword [eax + 0xe8]
addss xmm4, xmm1
movss xmm1, dword [ebp - 0x9c]
addss xmm3, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x10023704
movss xmm0, dword [eax + 0xec]
comiss xmm0, xmm1
jb 0x10023704
comiss xmm4, xmm5
jbe 0x10023704
comiss xmm3, xmm0
jbe 0x10023704
mov eax, 1
jmp 0x10023706
xor eax, eax
mov dword [edi + 0x10c], eax
lea eax, [edi + 0x1ec]
movups xmm0, xmmword [ebp - 0xa0]
push 1
push eax
lea eax, [edi + 0x1e4]
push eax
movups xmmword [edi + 0x110], xmm0
call fcn.10032c40
mov byte [edi + 0x7c], 0
jmp 0x1002378d
mov ecx, dword [0x101132e0]
mov dword [ecx + 0x19bc], edi
mov eax, dword [0x101132e0]
movss xmm1, dword [eax + 0x18d8]
mov eax, dword [edi + 0x2f0]
mulss xmm1, dword [edi + 0x26c]
test eax, eax
je 0x10023768
mulss xmm1, dword [eax + 0x26c]
push 1
lea eax, [edi + 0x1ec]
movss dword [ecx + 0x18e8], xmm1
push eax
lea eax, [edi + 0x1e4]
movss dword [ecx + 0x18d4], xmm1
push eax
call fcn.10032c40
inc word [edi + 0x84]
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1a30], 0
test eax, 0x1000000
je 0x10023826
test al, 0x40
jne 0x100237ed
cmp byte [edi + 0x90], 0
jg 0x100237ed
cmp byte [edi + 0x91], 0
jg 0x100237ed
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jae 0x100237e3
movss xmm0, dword [edi + 0x1c8]
comiss xmm0, dword [edi + 0x1d0]
jb 0x100237ed
mov dword [edi + 0x98], 1
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x10023826
cmp byte [eax + 0x7d], 0
jne 0x10023803
cmp dword [eax + 0x98], 0
jle 0x10023813
mov dword [edi + 0x98], 1
cmp byte [eax + 0x7d], 0
jne 0x1002381c
cmp dword [eax + 0x9c], 0
jle 0x10023826
mov dword [edi + 0x9c], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1520]
jb 0x1002383c
mov dword [edi + 0x98], 1
cmp dword [edi + 0x98], 0
jg 0x10023852
cmp dword [edi + 0x9c], 0
jg 0x10023852
xor cl, cl
jmp 0x10023854
mov cl, 1
xor al, al
mov byte [edi + 0x81], cl
cmp byte [edi + 0x7d], al
jne 0x1002386a
cmp byte [edi + 0x7a], al
je 0x1002386a
test cl, cl
je 0x1002388e
cmp byte [edi + 0x90], 0
jg 0x1002388e
cmp byte [edi + 0x91], 0
jg 0x1002388e
cmp dword [edi + 0x9c], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov ecx, dword [ebp - 4]
mov byte [edi + 0x7f], al
xor ecx, ebp
pop edi
xor al, 1
pop esi
call fcn.10085c29
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret