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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
push esi
mov esi, dword [0x100bc128]
mov eax, ecx
push edi
mov dword [esp + 0xac], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x28], esi
call fcn.100187e0
mov edi, eax
mov dword [esp + 0x3c], eax
test edi, edi
sete cl
test eax, eax
mov eax, dword [ebp + 8]
mov byte [esp + 0x1f], cl
jne 0x1001ad60
mov ecx, dword [esp + 0x78]
mov edx, eax
call fcn.10018830
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, eax
and ecx, 0xc0200
or edx, 6
cmp ecx, 0xc0200
lea ecx, [esi + 0x1a50]
mov dword [esp + 0x30], ecx
cmovne edx, eax
cmp dword [ecx], 0
mov eax, dword [esi + 0x1a10]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x25c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], eax
jne 0x1001adaa
cmp byte [esi + 0x1a1d], 0
je 0x1001adaa
mov al, 1
jmp 0x1001adac
xor al, al
mov edx, dword [esp + 0x18]
mov byte [edi + 0x92], al
mov eax, dword [esp + 0x4c]
dec eax
cmp dword [esp + 0x48], eax
mov al, byte [edi + 0xa9]
setl ah
mov byte [esp + 0x12], al
mov byte [esp + 0x16], ah
test edx, 0x4000000
je 0x1001ae16
mov eax, dword [esi + 0x1bb8]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x1bb4]
mov eax, dword [edi + 0x9c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov ah, byte [esp + 0x16]
mov esi, dword [esp + 0x28]
setne al
mov edx, dword [esp + 0x18]
or cl, al
mov al, byte [esp + 0x12]
or ah, cl
mov byte [esp + 0x16], ah
test ah, ah
jne 0x1001ae26
test al, al
jg 0x1001ae26
mov byte [edi + 0x90], ah
jmp 0x1001ae50
mov al, byte [edi + 0xac]
or byte [edi + 0xad], 8
or al, 8
mov byte [edi + 0xac], al
mov al, byte [edi + 0xae]
or al, 8
mov byte [edi + 0x90], 1
mov byte [edi + 0xae], al
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x48], eax
je 0x1001ae96
mov dword [edi + 0x25c], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x1a08]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x98], ax
movss dword [edi + 0x260], xmm0
movzx eax, word [esi + 0x1a68]
inc dword [esi + 0x1a68]
mov word [edi + 0x9a], ax
jmp 0x1001ae9d
mov edx, dword [edi + 8]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x30]
cmp dword [ecx], 0
jne 0x1001aeaa
xor eax, eax
jmp 0x1001aeb6
mov eax, dword [esi + 0x1a58]
mov esi, dword [ecx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0x48]
cmp esi, dword [esp + 0x4c]
je 0x1001aed2
and edx, 0x5000000
neg edx
sbb edx, edx
and edx, eax
mov dword [esp + 0x40], edx
jmp 0x1001aedc
mov eax, dword [edi + 0x31c]
mov dword [esp + 0x40], eax
cmp dword [edi + 0xc0], 0
lea edx, [edi + 0xc0]
mov esi, dword [esp + 0x28]
jne 0x1001af2f
cmp dword [edx + 4], 0
mov dword [esp + 0x2c], 0
jne 0x1001af16
push 8
mov ecx, edx
call fcn.10024570
mov eax, dword [edi + 0xc0]
lea edx, [edi + 0xc0]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0x2c]
mov eax, dword [edi + 4]
mov dword [ecx + esi*4], eax
mov esi, dword [esp + 0x28]
inc dword [edx]
lea ecx, [esi + 0x1a50]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1001af6b
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x1001af4f
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001af54
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10024570
mov edx, dword [esi + 0x1a50]
lea ecx, [esi + 0x1a50]
mov eax, dword [ecx + 8]
mov dword [eax + edx*4], edi
inc dword [ecx]
mov ecx, dword [0x100bc128]
mov dword [esi + 0x1a6c], edi
mov eax, dword [ecx + 0x1a6c]
movzx eax, word [eax + 0xc0]
mov word [edi + 0x1d4], ax
movzx eax, word [ecx + 0x1b64]
mov word [edi + 0x1d6], ax
movzx eax, word [ecx + 0x1b70]
mov word [edi + 0x1d8], ax
movzx eax, word [ecx + 0x1b7c]
mov word [edi + 0x1da], ax
movzx eax, word [ecx + 0x1b88]
mov word [edi + 0x1dc], ax
movzx eax, word [ecx + 0x1ba0]
mov word [edi + 0x1de], ax
movzx eax, word [ecx + 0x1bb8]
mov ecx, dword [esp + 0x18]
mov word [edi + 0x1e0], ax
mov eax, ecx
and eax, 0x4000000
mov dword [esi + 0x1a6c], 0
mov dword [esp + 0x2c], eax
je 0x1001b034
mov eax, dword [esi + 0x1bb8]
lea ecx, [esi + 0x1bb8]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1bb4]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.10024300
mov eax, dword [esi]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x9c], eax
cmp byte [esp + 0x12], 0
jle 0x1001b04d
test ecx, 0x1000000
jne 0x1001b04d
mov dword [edi + 0x330], 0
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x1001b0d7
mov edx, dword [esp + 0x40]
mov dword [edi + 0x31c], edx
mov dword [edi + 0x328], edi
mov dword [edi + 0x324], edi
mov dword [edi + 0x320], edi
test edx, edx
je 0x1001b0b1
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1001b095
mov eax, dword [edx + 0x320]
mov dword [edi + 0x320], eax
test ecx, 0x8000000
jne 0x1001b0b1
test ecx, 0x5000000
je 0x1001b0b1
mov eax, dword [edx + 0x324]
mov dword [edi + 0x324], eax
test dword [edi + 8], 0x800000
je 0x1001b0d7
mov ecx, edi
nop dword [eax]
mov eax, dword [ecx + 0x31c]
mov ecx, eax
mov dword [edi + 0x328], ecx
test dword [eax + 8], 0x800000
jne 0x1001b0c0
test byte [esi + 0x1af0], 1
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x13], 0
je 0x1001b18e
mov dl, byte [edi + 0xac]
mov ecx, dword [esi + 0x1af4]
movsx eax, dl
and eax, ecx
setne byte [esp + 0x14]
test ecx, eax
je 0x1001b180
movss xmm1, dword [esi + 0x1b0c]
movss xmm0, dword [esi + 0x1b08]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100afdfc]
jbe 0x1001b180
mov eax, dword [esi + 0x1b00]
mov ecx, dword [esi + 0x1b04]
mov dword [edi + 0xb4], ecx
mov dword [edi + 0xb0], eax
mov eax, dword [esi + 0x1b08]
mov ecx, dword [esi + 0x1b0c]
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xb8], eax
mov eax, dword [edi + 0xac]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xac], ecx
jmp 0x1001b18e
push ecx
lea edx, [esi + 0x1b00]
mov ecx, edi
call fcn.1001d530
mov eax, dword [esi + 0x1af0]
xorps xmm1, xmm1
movss dword [esp + 0x34], xmm1
test al, 2
je 0x1001b1fc
movsx eax, byte [edi + 0xad]
lea edx, [esi + 0x1b10]
mov ecx, dword [esi + 0x1af8]
and eax, ecx
je 0x1001b1c8
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x1001b1c8
mov byte [esp + 0x15], 1
jmp 0x1001b1d1
mov byte [esp + 0x15], 0
test eax, eax
je 0x1001b1e3
movss xmm0, dword [esi + 0x1b14]
comiss xmm0, xmm1
mov byte [esp + 0x13], 1
ja 0x1001b1e8
mov byte [esp + 0x13], 0
push ecx
mov ecx, edi
call fcn.1001d630
mov eax, dword [esi + 0x1af0]
movss xmm1, dword [esp + 0x34]
test al, al
jns 0x1001b232
movss xmm0, dword [esi + 0x1b20]
comiss xmm0, xmm1
jb 0x1001b219
movss dword [edi + 0x68], xmm0
mov dword [edi + 0x70], 0
movss xmm0, dword [esi + 0x1b24]
comiss xmm0, xmm1
jb 0x1001b232
movss dword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
test byte [esi + 0x1af0], 4
je 0x1001b24f
mov eax, dword [esi + 0x1b18]
mov ecx, dword [esi + 0x1b1c]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
jmp 0x1001b267
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x1001b267
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [esi + 0x1af0]
test cl, 8
je 0x1001b2c4
mov edx, dword [esi + 0x1afc]
mov al, byte [esi + 0x1b28]
mov byte [esp + 0x17], al
test edx, edx
je 0x1001b291
movsx eax, byte [edi + 0xae]
test edx, eax
je 0x1001b2c4
movzx ecx, byte [edi + 0xae]
mov eax, dword [edi + 0xac]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov al, byte [esp + 0x17]
mov dword [edi + 0xac], ecx
mov byte [edi + 0x8d], al
mov ecx, dword [esi + 0x1af0]
test cl, 0x20
je 0x1001b2d0
mov ecx, edi
call fcn.1001d240
cmp byte [edi + 0x90], 0
je 0x1001b2fc
mov al, byte [edi + 0xac]
and byte [edi + 0xad], 0xf7
and al, 0xf7
mov byte [edi + 0xac], al
mov al, byte [edi + 0xae]
and al, 0xf7
mov byte [edi + 0xae], al
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x1001ccea
mov eax, dword [esp + 0x18]
and eax, 0x3000000
mov byte [edi + 0x8a], 1
cmp dword [esp + 0xac], 0
mov dword [esp + 0x80], eax
setne al
mov byte [edi + 0x93], al
mov dword [edi + 0x234], 0xff7fffff
mov dword [edi + 0x238], 0xff7fffff
mov dword [edi + 0x23c], 0x7f7fffff
mov dword [edi + 0x240], 0x7f7fffff
mov eax, dword [edi + 0xc4]
cmp eax, 1
jge 0x1001b398
test eax, eax
je 0x1001b37b
cdq
sub eax, edx
lea edx, [edi + 0xc0]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1001b386
mov ecx, 8
lea edx, [edi + 0xc0]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10024570
mov dword [edi + 0xc0], 1
mov ecx, dword [edi + 0x288]
call fcn.1002c720
cmp byte [edi + 0x360], 0
mov dword [edi + 0x19c], 0xffffffff
je 0x1001b403
mov ecx, dword [edi + 0x288]
push dword [edi + 0x358]
add ecx, 0xc
mov byte [edi + 0x360], 0
call fcn.10024910
mov ecx, dword [edi + 0x288]
push dword [edi + 0x35c]
add ecx, 0x18
call fcn.100246b0
mov dword [edi + 0x35c], 0
mov dword [edi + 0x358], 0
cmp dword [esi + 0x1cd4], 0
je 0x1001b4e5
test dword [edi + 8], 0x80000
jne 0x1001b4e5
cmp dword [esp + 0x3c], 0
je 0x1001b4e5
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x78]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001b454
test dl, dl
je 0x1001b450
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001b454
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001b434
xor eax, eax
jmp 0x1001b459
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001b4e5
mov ecx, dword [esp + 0x78]
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x68], edx
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b473
sub ecx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
cmp edx, eax
jae 0x1001b4ce
test ecx, ecx
je 0x1001b4a0
mov eax, dword [0x100bc128]
test eax, eax
je 0x1001b4a0
dec dword [eax + 0x370]
push ecx
call fcn.1007998a
mov eax, dword [0x100bc128]
add esp, 4
test eax, eax
je 0x1001b4b8
inc dword [eax + 0x370]
push dword [esp + 0x38]
call fcn.10080319
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
push eax
push dword [esp + 0x7c]
push ecx
call fcn.10074650
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x68]
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2c]
mov ecx, edi
lea edx, [edi + 0x24]
push eax
call fcn.10018da0
mov al, byte [edi + 0xa8]
test al, al
jle 0x1001b505
dec al
mov byte [edi + 0xa8], al
mov al, byte [edi + 0xa9]
test al, al
jle 0x1001b517
dec al
mov byte [edi + 0xa9], al
mov al, byte [edi + 0xaa]
test al, al
jle 0x1001b529
dec al
mov byte [edi + 0xaa], al
cmp dword [esp + 0x3c], 0
mov al, byte [esp + 0x15]
mov cl, byte [esp + 0x13]
jne 0x1001b547
test al, al
je 0x1001b540
test cl, cl
jne 0x1001b547
mov byte [edi + 0xa9], 1
cmp byte [esp + 0x16], 0
mov edx, dword [esp + 0x18]
je 0x1001b5a4
test edx, 0x6000000
je 0x1001b5a4
mov byte [edi + 0xa9], 1
test dl, 0x40
je 0x1001b5a4
test al, al
jne 0x1001b578
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x1001b58a
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x30], 0
mov ecx, dword [edi + 0x30]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ecx
mov eax, dword [0x100bc128]
mov dword [eax + 0x1a6c], edi
mov ecx, dword [edi + 0x19c]
cmp ecx, 0xffffffff
je 0x1001b5c8
imul ecx, ecx, 0x228
add ecx, dword [eax + 0x1f08]
jmp 0x1001b5ca
xor ecx, ecx
movss xmm0, dword [eax + 0x1934]
mov dword [eax + 0x1efc], ecx
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x1001b5f2
mulss xmm0, dword [ecx + 0x280]
movss dword [eax + 0x1944], xmm0
movss dword [eax + 0x1930], xmm0
mov eax, edx
and eax, 0x1000000
mov dword [esp + 0x38], eax
je 0x1001b619
movss xmm0, dword [esi + 0x1544]
jmp 0x1001b63b
test edx, 0x6000000
je 0x1001b633
test edx, 0x8000000
jne 0x1001b633
movss xmm0, dword [esi + 0x154c]
jmp 0x1001b63b
movss xmm0, dword [esi + 0x1528]
movss dword [edi + 0x48], xmm0
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
mov dword [edi + 0x3c], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x40], ecx
cmp eax, 0x1000000
jne 0x1001b690
movss xmm0, dword [edi + 0x48]
movss xmm1, dword [esp + 0x34]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001b690
test edx, 0x400
je 0x1001b684
movss xmm1, dword [esi + 0x1520]
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm1
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x1560]
maxss xmm0, dword [esi + 0x1b48]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x1b4c]
mov dword [edi + 0x158], eax
test dl, 0x21
jne 0x1001b73b
lea eax, [esp + 0x98]
mov ecx, edi
push eax
call fcn.10011740
cmp dword [esi + 0x1a70], edi
jne 0x1001b714
cmp dword [esi + 0x1a90], 0
jne 0x1001b714
cmp dword [esi + 0x1a94], 0
jne 0x1001b714
push 1
lea edx, [esp + 0xa4]
lea ecx, [esp + 0x9c]
call fcn.100180e0
test al, al
je 0x1001b714
cmp byte [esi + 0x3dd], 0
je 0x1001b714
mov byte [edi + 0x8e], 1
cmp byte [edi + 0x8e], 0
je 0x1001b742
cmp byte [edi + 0x8d], 0
mov ecx, edi
sete al
mov byte [edi + 0x8d], al
call fcn.100232b0
call fcn.1001d240
jmp 0x1001b742
mov byte [edi + 0x8d], 0
lea edx, [edi + 0x2c]
mov byte [edi + 0x8e], 0
mov ecx, edi
call fcn.10018ed0
test byte [esp + 0x18], 0x40
mov al, byte [esp + 0x1f]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x84], xmm0
mov byte [esp + 0x17], al
je 0x1001b7b1
cmp byte [edi + 0x8d], 0
jne 0x1001b7b1
cmp byte [esp + 0x15], 0
jne 0x1001b78e
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x1f], 1
cmp byte [esp + 0x13], 0
jne 0x1001b86b
movss xmm0, dword [esp + 0x88]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x17], 1
jmp 0x1001b86b
mov al, byte [edi + 0xa0]
test al, al
jg 0x1001b7c8
cmp byte [edi + 0xa1], 0
jle 0x1001b86b
cmp byte [esp + 0x15], 0
jne 0x1001b7ff
test al, al
jle 0x1001b7ff
cmp byte [edi + 0xa3], 0
je 0x1001b7ec
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x84]
jmp 0x1001b7f5
movss xmm0, dword [esp + 0x84]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x1f], 1
cmp byte [esp + 0x13], 0
jne 0x1001b83b
cmp byte [edi + 0xa1], 0
jle 0x1001b83b
cmp byte [edi + 0xa3], 0
je 0x1001b828
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x88]
jmp 0x1001b831
movss xmm0, dword [esp + 0x88]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x17], 1
cmp byte [edi + 0x8d], 0
jne 0x1001b86b
test dword [edi + 8], 0x100
mov ecx, dword [0x100bc128]
jne 0x1001b86b
movss xmm0, dword [esp + 0x34]
comiss xmm0, dword [ecx + 0x2ec4]
jb 0x1001b86b
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2ec4], eax
movss xmm0, dword [edi + 0x1c]
mov ecx, edi
movss xmm1, dword [edi + 0x20]
call fcn.10018b80
cmp byte [edi + 0x8d], 0
movss dword [esp + 0x20], xmm0
movss dword [edi + 0x1c], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
movss dword [edi + 0x20], xmm0
je 0x1001b8d5
cmp dword [esp + 0x38], 0
jne 0x1001b8d5
lea eax, [esp + 0xb0]
mov ecx, edi
push eax
call fcn.10011740
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [esp + 0x24], xmm0
jmp 0x1001b8e3
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov edx, dword [edi + 8]
lea ecx, [esp + 0x20]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov eax, dword [0x100bc128]
mov dword [edi + 0x18], ecx
test dl, 1
je 0x1001b90a
movss xmm0, dword [esp + 0x34]
movaps xmm1, xmm0
jmp 0x1001b942
movss xmm0, dword [eax + 0x1934]
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x1001b92c
mulss xmm0, dword [ecx + 0x280]
movss xmm1, dword [eax + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [esp + 0x34]
test edx, 0x400
je 0x1001b986
movss xmm0, dword [eax + 0x1934]
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x1001b96c
mulss xmm0, dword [ecx + 0x280]
movss xmm2, dword [eax + 0x1554]
addss xmm0, dword [edi + 0x158]
addss xmm2, xmm2
addss xmm2, xmm0
jmp 0x1001b989
movaps xmm2, xmm0
cmp byte [esp + 0x16], 0
addss xmm2, xmm1
movss dword [esp + 0x44], xmm2
je 0x1001b9e0
mov eax, dword [esp + 0x18]
and eax, 0xc000000
mov dword [edi + 0xa4], 0xffffffff
cmp eax, 0x4000000
jne 0x1001b9e0
cmp byte [esp + 0x14], 0
jne 0x1001b9e0
mov eax, dword [esi + 0x1bb8]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1bc0]
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 [esp + 0x38], 0
je 0x1001ba78
mov ecx, dword [esp + 0x40]
add ecx, 0x188
mov ax, word [ecx]
mov word [edi + 0x98], ax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1001ba3b
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x1001ba1f
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001ba24
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10024570
mov ecx, dword [esp + 0x40]
add ecx, 0x188
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [eax + edx*4], edi
inc dword [ecx]
mov edx, dword [esp + 0x2c]
mov al, byte [esp + 0x14]
test edx, edx
jne 0x1001ba80
test al, al
jne 0x1001ba80
cmp dword [esp + 0x80], 0x3000000
je 0x1001ba80
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0xcc]
mov ecx, dword [ecx + 0xd0]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
jmp 0x1001ba7c
mov edx, dword [esp + 0x2c]
mov al, byte [esp + 0x14]
movss xmm2, dword [edi + 0xb0]
ucomiss xmm2, dword [0x100affe4]
lahf
test ah, 0x44
jnp 0x1001bae6
cmp byte [edi + 0xa9], 0
jne 0x1001bae6
movss xmm0, dword [edi + 0xb8]
lea edx, [esp + 0x20]
mulss xmm0, dword [edi + 0x14]
mov ecx, edi
push 0
movss xmm1, dword [edi + 0xbc]
mulss xmm1, dword [edi + 0x18]
subss xmm2, xmm0
movss xmm0, dword [edi + 0xb4]
subss xmm0, xmm1
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x28], xmm0
call fcn.1001d530
jmp 0x1001bb73
mov ecx, dword [esp + 0x18]
test ecx, 0x10000000
je 0x1001bb0f
mov ecx, edi
call fcn.1001f810
movss dword [esp + 0x20], xmm0
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
jmp 0x1001bb6e
test edx, edx
je 0x1001bb3a
test al, al
jne 0x1001bb3a
cmp byte [esp + 0x12], al
jle 0x1001bb3a
mov ecx, edi
call fcn.1001f810
movss dword [esp + 0x20], xmm0
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
jmp 0x1001bb6e
test ecx, 0x2000000
je 0x1001bb77
test al, al
jne 0x1001bb77
cmp dword [esp + 0x80], 0x3000000
je 0x1001bb77
mov ecx, edi
call fcn.1001f810
movss dword [esp + 0x20], xmm0
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
movss dword [edi + 0x10], xmm0
mov ecx, dword [esp + 0x18]
cmp byte [esp + 0x14], 0
mov eax, dword [0x100bc128]
movss xmm0, dword [esi + 0x15c4]
movss xmm2, dword [esi + 0x15c0]
maxss xmm0, dword [esi + 0x15bc]
movss xmm1, dword [eax + 0x10]
movss xmm4, dword [eax + 0x14]
movaps xmm6, xmm1
maxss xmm2, dword [esi + 0x15c8]
movss xmm3, dword [esp + 0x34]
movaps xmm5, xmm4
subss xmm6, xmm0
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x98], xmm3
subss xmm5, xmm2
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0xa0], xmm1
movss dword [esp + 0xa4], xmm4
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm2
movss dword [esp + 0xc8], xmm6
movss dword [esp + 0xcc], xmm5
jne 0x1001bccb
cmp dword [esp + 0x38], 0
jne 0x1001bccb
cmp byte [edi + 0xa0], 0
jg 0x1001bccb
cmp byte [edi + 0xa1], 0
jg 0x1001bccb
comiss xmm1, xmm3
jbe 0x1001bccb
comiss xmm4, xmm3
jbe 0x1001bccb
cmp byte [eax + 0xb5], 0
movss xmm4, dword [edi + 0x18]
je 0x1001bc96
test byte [edi + 8], 1
jne 0x1001bc96
movss xmm1, dword [eax + 0x1934]
mov edx, dword [edi + 0x31c]
mulss xmm1, dword [edi + 0x280]
test edx, edx
je 0x1001bc86
mulss xmm1, dword [edx + 0x280]
movss xmm4, dword [eax + 0x1554]
addss xmm4, xmm4
addss xmm4, xmm1
movss xmm1, dword [edi + 0x10]
subss xmm2, xmm4
subss xmm0, dword [edi + 0x14]
comiss xmm2, xmm1
ja 0x1001bcb0
movaps xmm2, xmm5
minss xmm2, xmm1
movss xmm1, dword [edi + 0xc]
comiss xmm0, xmm1
ja 0x1001bcc1
movaps xmm0, xmm6
minss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm2
cmp dword [esp + 0x38], 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 0x1001bcfe
movss xmm2, dword [esi + 0x1540]
jmp 0x1001bd1e
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1001bd16
movss xmm2, dword [esi + 0x1548]
jmp 0x1001bd1e
movss xmm2, dword [esi + 0x1524]
xor dl, dl
movss dword [edi + 0x44], xmm2
mov dword [esp + 0x38], edx
cmp byte [esp + 0x16], dl
je 0x1001bd5c
test ecx, 0x1000
jne 0x1001bd5c
cmp dword [esp + 0x2c], 0
je 0x1001bd45
mov byte [esp + 0x38], 1
jmp 0x1001bd5c
cmp dword [esp + 0x80], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [esp + 0x38], edx
movss xmm1, dword [esi + 0x1930]
xorps xmm0, xmm0
movaps xmmword [esp + 0xe0], xmm0
xor eax, eax
cmp byte [esi + 0xb4], al
movaps xmm0, xmm1
mulss xmm0, dword [0x100afe48]
setne al
mov dword [esp + 0xa8], 0xffffffff
mulss xmm1, dword [0x100afec4]
inc eax
cmp byte [edi + 0x8d], 0
addss xmm0, xmm2
mov dword [esp + 0x7c], eax
addss xmm0, dword [0x100afebc]
maxss xmm0, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0xdc], esi
jne 0x1001bdf8
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0xe4]
push ecx
push eax
lea eax, [esp + 0xb4]
mov ecx, edi
push eax
lea edx, [esp + 0x94]
call fcn.10019250
movss xmm3, dword [esp + 0x34]
test al, al
je 0x1001bdf8
mov cl, 1
mov dl, cl
jmp 0x1001be00
mov dl, byte [esp + 0x1f]
mov cl, byte [esp + 0x17]
cmp byte [edi + 0x8d], 0
mov al, byte [esp + 0xa8]
mov byte [edi + 0x94], al
jne 0x1001bf70
cmp dword [esp + 0x3c], 0
lea eax, [esp + 0x20]
movss xmm2, dword [edi + 0x1fc]
movss xmm4, dword [edi + 0x200]
subss xmm2, dword [edi + 0x1f4]
subss xmm4, dword [edi + 0x1f8]
movss xmm5, dword [edi + 0x20]
movss xmm6, dword [edi + 0x1c]
subss xmm5, dword [esp + 0x44]
addss xmm2, dword [edi + 0x80]
addss xmm4, dword [edi + 0x84]
jne 0x1001be77
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
jmp 0x1001be9f
movss xmm1, dword [edi + 0x3c]
movss xmm0, dword [edi + 0x40]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [edi + 0x24]
addss xmm0, dword [edi + 0x28]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm0
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x1001beaf
movaps xmm6, xmm2
test cl, cl
jne 0x1001beb6
movaps xmm5, xmm4
mov ecx, dword [esp + 0x18]
test ecx, 0x4000
jne 0x1001bed0
comiss xmm1, xmm5
jbe 0x1001becc
test cl, 8
je 0x1001bed0
xor al, al
jmp 0x1001bed2
mov al, 1
mov byte [esp + 0x12], al
mov byte [edi + 0x89], al
test ecx, 0x8000
jne 0x1001bf20
mov edx, dword [esp + 0x28]
test al, al
je 0x1001bef6
movss xmm0, dword [edx + 0x1588]
jmp 0x1001bef9
movaps xmm0, xmm3
subss xmm6, xmm0
comiss xmm7, xmm6
jbe 0x1001bf14
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0x12]
je 0x1001bf20
mov byte [edi + 0x88], 0
movaps xmm1, xmm3
jmp 0x1001bf4d
mov byte [edi + 0x88], 1
test al, al
jne 0x1001bf41
comiss xmm1, xmm5
jbe 0x1001bf39
test cl, 8
jne 0x1001bf39
mov al, 1
jmp 0x1001bf3b
xor al, al
mov byte [edi + 0x89], al
mov edx, dword [esp + 0x28]
movss xmm1, dword [edx + 0x1588]
test al, al
je 0x1001bf5b
movss xmm0, dword [edx + 0x1588]
jmp 0x1001bf5e
movaps xmm0, xmm3
movss dword [edi + 0x80], xmm0
movss dword [edi + 0x84], xmm1
jmp 0x1001bf78
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov eax, ecx
and eax, 0x5000000
mov dword [esp + 0x8c], eax
cmp eax, 0x1000000
jne 0x1001bfa5
cmp dword [esp + 0x80], 0x3000000
je 0x1001bfa5
mov eax, dword [esp + 0x40]
add eax, 0x234
jmp 0x1001bfac
lea eax, [esp + 0x98]
test byte [edi + 8], 1
movss xmm6, dword [edi + 0xc]
movups xmm0, xmmword [eax]
movss xmm5, dword [edi + 0x10]
movaps xmm2, xmm6
addss xmm2, dword [edi + 0x14]
movaps xmm4, xmm5
movss dword [esp + 0x20], xmm6
addss xmm4, dword [edi + 0x18]
movups xmmword [esp + 0x50], xmm0
je 0x1001bfdf
movaps xmm1, xmm3
jmp 0x1001c023
cmp dword [edi + 0x31c], 0
mov eax, dword [0x100bc128]
mov edx, dword [esp + 0x28]
movss xmm0, dword [eax + 0x1934]
mulss xmm0, dword [edi + 0x280]
je 0x1001c013
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [ecx + 0x280]
mov ecx, dword [esp + 0x18]
movss xmm1, dword [eax + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movaps xmm0, xmm5
movss dword [esp + 0xb0], xmm6
addss xmm0, xmm1
movaps xmm7, xmm6
addss xmm7, dword [edi + 0x1c]
and ecx, 0x401
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0x90], xmm7
movss dword [esp + 0xb8], xmm7
movss dword [edi + 0x1e4], xmm6
movss dword [edi + 0x1e8], xmm5
movss dword [edi + 0x1ec], xmm2
movss dword [edi + 0x1f0], xmm4
movss xmm4, dword [esp + 0x50]
movss xmm5, dword [esp + 0x54]
movaps xmm1, xmm4
movaps xmm0, xmm5
maxss xmm1, dword [edi + 0x1e4]
maxss xmm0, dword [edi + 0x1e8]
movss dword [edi + 0x1e4], xmm1
movss xmm1, dword [esp + 0x58]
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [edi + 0x1f0]
minss xmm1, dword [edi + 0x1ec]
minss xmm0, dword [esp + 0x5c]
movss dword [edi + 0x1ec], xmm1
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x10]
movss xmm2, dword [edi + 0xc]
movaps xmm1, xmm0
movss dword [edi + 0x1f4], xmm2
addss xmm1, dword [esp + 0x44]
addss xmm0, dword [edi + 0x18]
movss dword [esp + 0x68], xmm1
movss dword [edi + 0x1f8], xmm1
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x14]
subss xmm0, dword [edi + 0x84]
subss xmm1, dword [edi + 0x80]
movss dword [esp + 0x2c], xmm0
movss dword [edi + 0x200], xmm0
movss dword [esp + 0x3c], xmm1
movss dword [edi + 0x1fc], xmm1
cmp ecx, 1
jne 0x1001c165
movss xmm6, dword [edi + 0x48]
movaps xmm7, xmm6
jmp 0x1001c172
movss xmm6, dword [edx + 0x155c]
movss xmm7, dword [edi + 0x48]
movss xmm2, dword [0x100afe7c]
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, xmm7
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x204], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, xmm2
addss xmm0, xmm6
movss xmm6, dword [esp + 0x5c]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm2
subss xmm0, xmm7
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
movss xmm0, dword [edi + 0x208]
comiss xmm5, xmm0
jbe 0x1001c22d
movaps xmm1, xmm5
jmp 0x1001c234
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm7, dword [esp + 0x58]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x1001c24b
movaps xmm0, xmm4
jmp 0x1001c252
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x204], xmm0
movss dword [edi + 0x208], xmm1
movss xmm0, dword [edi + 0x210]
comiss xmm5, xmm0
ja 0x1001c276
movaps xmm5, xmm6
minss xmm5, xmm0
movss xmm0, dword [edi + 0x20c]
comiss xmm4, xmm0
ja 0x1001c28a
movaps xmm4, xmm7
minss xmm4, xmm0
movss dword [edi + 0x20c], xmm4
movss dword [edi + 0x210], xmm5
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm3
jbe 0x1001c2b8
test dword [esp + 0x18], 0x2000040
jne 0x1001c2b8
mulss xmm0, dword [0x100afe8c]
jmp 0x1001c2c8
movss xmm0, dword [edx + 0x1930]
mulss xmm0, dword [0x100aff54]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x264], xmm0
movss xmm1, dword [edi + 0x3c]
movss xmm0, dword [edi + 0x1fc]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1f4]
addss xmm1, dword [edi + 0x24]
subss xmm1, xmm0
maxss xmm1, xmm3
movss dword [edi + 0x60], xmm1
movss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x200]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1f8]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
maxss xmm1, xmm3
movss dword [edi + 0x64], xmm1
call fcn.1001e410
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x288]
movss dword [edi + 0x58], xmm0
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm1
movss dword [edi + 0x5c], xmm0
mov dword [edi + 0x68], 0x7f7fffff
mov dword [edi + 0x6c], 0x7f7fffff
mov eax, dword [eax + 0x192c]
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x68], ecx
add ecx, 0x48
movss dword [esp + 0x6c], xmm1
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1001c3ba
inc edx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x1001c3a1
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001c3a6
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10024570
mov ecx, dword [esp + 0x68]
add ecx, 0x48
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0x3c]
mov dword [eax + edx*4], esi
mov eax, dword [esp + 0x68]
inc dword [ecx]
mov ecx, esi
mov dword [eax + 0x70], ecx
mov ecx, eax
call fcn.1002cb40
push 0
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x54]
call fcn.10017540
test dword [esp + 0x18], 0x8000000
mov esi, dword [esp + 0xdc]
je 0x1001c40c
call fcn.1001eaa0
cmp edi, eax
jne 0x1001c40c
cmp byte [edi + 0xa9], 0
jg 0x1001c40c
mov dl, 1
jmp 0x1001c40e
xor dl, dl
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x1cd0]
test ecx, ecx
je 0x1001c428
cmp edi, dword [ecx + 0x320]
jne 0x1001c428
mov cl, 1
jmp 0x1001c42a
xor cl, cl
mov byte [esp + 0x12], cl
test dl, dl
jne 0x1001c43a
test cl, cl
je 0x1001c548
movss xmm0, dword [eax + 0x1d44]
push 0xf
push ecx
movzx ecx, dl
add ecx, 0x33
mov dword [esp], 0
call fcn.10012e10
mov ecx, dword [edi + 0x288]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.1002e880
cmp byte [esp + 0x12], 0
mov eax, dword [esp + 0x28]
je 0x1001c548
cmp edi, dword [eax + 0x1cd0]
jne 0x1001c548
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [eax + 0x1930]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [esp + 0x34]
comiss xmm0, xmm1
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm4
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xa4], xmm3
jb 0x1001c502
comiss xmm0, xmm4
jb 0x1001c502
comiss xmm2, dword [esp + 0x70]
jb 0x1001c502
comiss xmm3, dword [esp + 0x74]
jae 0x1001c548
movss xmm0, dword [eax + 0x1524]
push 0xf
push ecx
movss dword [esp], xmm0
mov ecx, 0x32
movss xmm0, dword [eax + 0x1cdc]
mulss xmm0, dword [0x100afe4c]
call fcn.10012e10
mov ecx, dword [edi + 0x288]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.1002e880
cmp dword [esp + 0x8c], 0x1000000
mov byte [esp + 0x12], 0
jne 0x1001c597
cmp dword [esp + 0x80], 0x3000000
je 0x1001c597
mov edx, dword [edi + 0x288]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x1001c597
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x288]
cmp dword [eax + 0x18], 0
jle 0x1001c597
mov byte [esp + 0x12], 1
mov dword [edi + 0x288], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x1ccc]
test ecx, ecx
jne 0x1001c5ab
mov ecx, dword [eax + 0x1bc4]
cmp byte [esp + 0x38], 0
jne 0x1001c5cb
test ecx, ecx
je 0x1001c5c4
mov eax, dword [edi + 0x324]
cmp eax, dword [ecx + 0x324]
je 0x1001c5cb
mov byte [esp + 0x68], 0
jmp 0x1001c5d0
mov byte [esp + 0x68], 1
lea eax, [esp + 0xe0]
movd xmm0, esi
push eax
push dword [esp + 0x80]
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0xb8]
mov ecx, edi
push dword [esp + 0x70]
call fcn.1001a1b0
cmp byte [esp + 0x12], 0
je 0x1001c60b
lea eax, [edi + 0x28c]
mov dword [edi + 0x288], eax
mov esi, dword [esp + 0x28]
cmp dword [esi + 0x1cd0], edi
jne 0x1001c70f
movss xmm3, dword [edi + 0xc]
movss xmm2, dword [edi + 0x10]
movaps xmm5, xmm3
movss xmm1, dword [esi + 0x1930]
movaps xmm4, xmm2
addss xmm3, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
movss xmm0, dword [esp + 0x34]
subss xmm5, xmm1
movss xmm7, dword [edi + 0x44]
subss xmm4, xmm1
movss xmm6, dword [esi + 0x1524]
addss xmm3, xmm1
addss xmm2, xmm1
comiss xmm0, xmm5
maxss xmm6, xmm7
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x5c], xmm2
jb 0x1001c6d1
comiss xmm0, xmm4
jb 0x1001c6d1
comiss xmm3, dword [esp + 0x70]
jb 0x1001c6d1
comiss xmm2, dword [esp + 0x74]
jb 0x1001c6d1
xorps xmm1, xmmword [0x100b05c0]
movaps xmm6, xmm7
subss xmm1, dword [0x100afebc]
movaps xmm0, xmm1
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm0, xmm3
addss xmm1, xmm2
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x5c], xmm1
movss xmm0, dword [esi + 0x1cdc]
push ecx
mov dword [esp], 0x40400000
mov ecx, 0x32
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm6
call fcn.10012e10
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.1002e7a0
mov ecx, dword [esp + 0x18]
mov edx, ecx
movss xmm6, dword [edi + 0x34]
movss xmm7, dword [esp + 0x34]
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm7
lahf
test ah, 0x44
jnp 0x1001c739
movss dword [esp + 0x74], xmm6
jmp 0x1001c775
movss xmm0, dword [edi + 0x3c]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x80]
cmp eax, 0x800
jne 0x1001c768
movss xmm0, dword [edi + 0x24]
jmp 0x1001c76b
movaps xmm0, xmm7
maxss xmm1, xmm0
movss dword [esp + 0x74], xmm1
movss xmm3, dword [edi + 0x38]
movss xmm4, dword [edi + 0x40]
ucomiss xmm3, xmm7
movaps xmm0, xmm4
movss dword [esp + 0x70], xmm0
lahf
test ah, 0x44
jnp 0x1001c796
movaps xmm5, xmm3
jmp 0x1001c7c6
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm4
addss xmm0, xmm4
subss xmm5, xmm0
subss xmm5, dword [esp + 0x44]
subss xmm5, dword [edi + 0x84]
test dl, dl
je 0x1001c7bf
movss xmm0, dword [edi + 0x28]
jmp 0x1001c7c2
movaps xmm0, xmm7
maxss xmm5, xmm0
movss xmm0, dword [edi + 0x58]
movss xmm1, dword [edi + 0x3c]
movss xmm2, dword [edi + 0x48]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edi + 0x1f4]
subss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x7c], xmm1
maxss xmm1, xmm2
maxss xmm2, xmm4
ucomiss xmm6, xmm7
addss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [edi + 0x1f8]
subss xmm0, dword [esp + 0x2c]
cvttss2si eax, xmm1
addss xmm0, xmm2
movd xmm1, eax
cvttss2si eax, xmm0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x214], xmm1
addss xmm1, dword [esp + 0x74]
movss dword [edi + 0x218], xmm0
addss xmm0, xmm5
movss xmm5, dword [edi + 0x10]
subss xmm5, dword [esp + 0x2c]
lahf
movss dword [edi + 0x21c], xmm1
movss xmm1, dword [esp + 0x7c]
movss dword [edi + 0x220], xmm0
addss xmm5, xmm4
movups xmm0, xmmword [edi + 0x214]
movups xmmword [edi + 0x224], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x8c], xmm0
movaps xmm2, xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm2, xmm0
addss xmm5, dword [esp + 0x44]
addss xmm2, xmm1
movss dword [edi + 0x248], xmm5
movss dword [edi + 0x244], xmm2
test ah, 0x44
jp 0x1001c8d7
movss xmm6, dword [edi + 0x14]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm6, xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm6, dword [edi + 0x80]
ucomiss xmm3, xmm7
addss xmm2, xmm6
lahf
movss dword [edi + 0x24c], xmm2
movss xmm2, dword [esp + 0x44]
test ah, 0x44
jp 0x1001c90b
movss xmm3, dword [edi + 0x18]
addss xmm4, xmm4
subss xmm3, xmm4
subss xmm3, xmm2
subss xmm3, dword [edi + 0x84]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x70]
addss xmm0, xmm2
addss xmm5, xmm3
subss xmm0, dword [esp + 0x2c]
movss dword [edi + 0x250], xmm5
movss dword [edi + 0x10c], xmm1
mov dword [edi + 0x114], 0
mov dword [edi + 0x110], 0
addss xmm0, dword [edi + 0x10]
addss xmm1, dword [esp + 0x8c]
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xe0], xmm0
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xe0]
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd0], ecx
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xe0]
mov dword [edi + 0xd4], eax
mov dword [edi + 0xd8], ecx
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xe0]
mov dword [edi + 0xe4], eax
mov dword [edi + 0xe8], ecx
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xe0]
mov dword [edi + 0xec], eax
mov dword [edi + 0xf0], ecx
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov eax, dword [edi + 0xfc]
mov ecx, dword [edi + 0x100]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], ecx
lea ecx, [edi + 0x174]
mov dword [edi + 0x108], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x140], 0
mov eax, dword [edi + 0x148]
mov dword [edi + 0x144], eax
mov dword [edi + 0x148], 0
mov byte [edi + 0x150], 0
movss xmm0, dword [edi + 0x64]
comiss xmm0, xmm7
seta al
cmp byte [esp + 0x16], 0
mov byte [edi + 0x151], al
mov byte [edi + 0x152], 0
movss xmm0, dword [esi + 0x1560]
mov dword [edi + 0x164], 0
mov dword [edi + 0x160], 0
movss dword [edi + 0x15c], xmm0
je 0x1001ca83
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
xor edx, edx
test edx, edx
je 0x1001caaa
movss xmm0, dword [ecx]
comiss xmm0, xmm7
jbe 0x1001caaa
movss xmm0, dword [edi + 0x15c]
addss xmm0, dword [edi + 0x160]
movss dword [edi + 0x160], xmm0
cvttss2si eax, dword [edi + 0x160]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x160]
movss dword [edi + 0x160], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, 3
jl 0x1001ca85
mov dword [edi + 0x180], 0
lea eax, [edi + 0x188]
mov dword [edi + 0x184], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001cb24
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 + 0x188]
call fcn.10024570
lea eax, [edi + 0x188]
mov dword [eax], 0
lea eax, [edi + 0x268]
mov dword [edi + 0x194], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x198], 0
mov dword [edi + 0x1a0], 1
test eax, eax
je 0x1001cb5a
mov eax, dword [eax + 0x1a0]
jmp 0x1001cb5f
mov eax, 1
mov dword [edi + 0x1a4], eax
mov dword [edi + 0x1ac], 0xffffffff
mov dword [edi + 0x1a8], 0xffffffff
mov eax, dword [edi + 0x264]
mov dword [edi + 0x1b4], eax
lea eax, [edi + 0x1bc]
mov dword [edi + 0x1b8], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001cbbe
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 + 0x1bc]
call fcn.10024570
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001cbf3
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 + 0x1c8]
call fcn.10024570
lea eax, [edi + 0x1c8]
mov dword [eax], 0
mov al, byte [edi + 0xa0]
test al, al
jle 0x1001cc0b
dec al
mov byte [edi + 0xa0], al
mov al, byte [edi + 0xa1]
test al, al
jle 0x1001cc1d
dec al
mov byte [edi + 0xa1], al
cmp byte [esp + 0x38], 0
je 0x1001cc34
mov ecx, edi
call fcn.1001d240
xor dl, dl
mov ecx, edi
call fcn.10020440
test byte [esp + 0x18], 1
jne 0x1001cc54
push dword [esp + 0xac]
lea edx, [esp + 0xb4]
mov ecx, edi
push dword [esp + 0x7c]
call fcn.1001a7a0
movss xmm4, dword [esp + 0x20]
xor eax, eax
movss xmm5, dword [esp + 0xb4]
mov dword [edi + 0x254], eax
mov eax, dword [0x100bc128]
movss xmm1, dword [eax + 0x1578]
movss xmm0, dword [eax + 0x157c]
subss xmm4, xmm1
movaps xmm2, xmm1
subss xmm5, xmm0
movss xmm1, dword [eax + 0xe4]
movaps xmm3, xmm0
addss xmm2, dword [esp + 0x90]
addss xmm3, dword [esp + 0x30]
comiss xmm1, xmm4
jb 0x1001ccc8
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm5
jb 0x1001ccc8
comiss xmm2, xmm1
jbe 0x1001ccc8
comiss xmm3, xmm0
jbe 0x1001ccc8
mov ecx, 1
jmp 0x1001ccca
xor ecx, ecx
mov eax, dword [edi + 0x50]
movups xmm0, xmmword [esp + 0xb0]
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], ecx
movups xmmword [edi + 0x120], xmm0
jmp 0x1001cd4e
mov ecx, dword [0x100bc128]
mov dword [ecx + 0x1a6c], edi
mov eax, dword [edi + 0x19c]
cmp eax, 0xffffffff
je 0x1001cd0f
imul eax, eax, 0x228
add eax, dword [ecx + 0x1f08]
jmp 0x1001cd11
xor eax, eax
mov dword [ecx + 0x1efc], eax
mov eax, dword [0x100bc128]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x1001cd3e
mulss xmm0, dword [eax + 0x280]
movss dword [ecx + 0x1944], xmm0
movss dword [ecx + 0x1930], xmm0
mov ecx, dword [esi + 0x1b94]
mov eax, dword [esi + 0x1b9c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x1b0], eax
mov eax, dword [esp + 0x18]
and eax, 0x1000000
mov dword [esp + 0x7c], eax
je 0x1001cd7f
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x14c]
jmp 0x1001cd81
xor eax, eax
mov ecx, dword [0x100bc128]
mov dword [edi + 0x14c], eax
mov eax, dword [ecx + 0x1a6c]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1a6c]
movss xmm1, dword [edi + 0x204]
movss xmm2, dword [edi + 0x20c]
movss xmm3, dword [edi + 0x210]
movss xmm0, dword [edi + 0x208]
mov dword [esp + 0x90], eax
mov eax, dword [eax + 0x288]
mov dword [esp + 0x30], eax
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x54], xmm0
movups xmm4, xmmword [eax + 0x60]
movss dword [esp + 0x58], xmm2
comiss xmm4, xmm1
movss dword [esp + 0x5c], xmm3
movaps xmmword [esp + 0xc0], xmm4
jbe 0x1001ce03
movaps xmm1, xmm4
movss dword [esp + 0x50], xmm1
movss xmm4, dword [esp + 0xc4]
comiss xmm4, xmm0
jbe 0x1001ce1a
movaps xmm0, xmm4
movss dword [esp + 0x54], xmm0
movss xmm4, dword [esp + 0xc8]
comiss xmm2, xmm4
jbe 0x1001ce31
movaps xmm2, xmm4
movss dword [esp + 0x58], xmm2
movss xmm4, dword [esp + 0xcc]
comiss xmm3, xmm4
jbe 0x1001ce48
movaps xmm3, xmm4
movss dword [esp + 0x5c], xmm3
comiss xmm1, xmm2
jb 0x1001ce53
movss dword [esp + 0x58], xmm1
comiss xmm0, xmm3
jb 0x1001ce5e
movss dword [esp + 0x5c], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1001ce9b
inc edx
mov dword [esp + 0x20], edx
test eax, eax
je 0x1001ce82
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001ce87
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10033760
mov ecx, dword [esp + 0x30]
add ecx, 0x3c
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
add edx, edx
movaps xmm0, xmmword [esp + 0x50]
movups xmmword [eax + edx*8], xmm0
mov eax, dword [esp + 0x30]
inc dword [ecx]
mov ecx, eax
movups xmmword [eax + 0x60], xmm0
call fcn.1002caa0
mov edx, dword [esp + 0x90]
mov eax, dword [edx + 0x288]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [ecx + eax - 0xc]
movss xmm1, dword [ecx + eax - 8]
movss xmm2, dword [ecx + eax - 4]
mov eax, dword [ecx + eax - 0x10]
mov dword [edx + 0x234], eax
mov eax, dword [esp + 0x48]
movss dword [edx + 0x238], xmm0
movss dword [edx + 0x23c], xmm1
movss dword [edx + 0x240], xmm2
mov byte [edi + 0x8c], 0
inc word [edi + 0x96]
mov dword [esi + 0x1af0], 0
cmp eax, dword [esp + 0x4c]
je 0x1001d045
cmp dword [esp + 0x7c], 0
je 0x1001cfba
test byte [esp + 0x18], 0x40
jne 0x1001cf80
cmp byte [edi + 0xa0], 0
jg 0x1001cf80
cmp byte [edi + 0xa1], 0
jg 0x1001cf80
cmp byte [esi + 0x2f04], 0
jne 0x1001cf80
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jae 0x1001cf79
movss xmm0, dword [edi + 0x1e8]
comiss xmm0, dword [edi + 0x1f0]
jb 0x1001cf80
mov byte [edi + 0xa8], 1
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1001cfba
cmp byte [eax + 0x8d], 0
jne 0x1001cf9a
cmp byte [eax + 0xa8], 0
jle 0x1001cfaa
mov byte [edi + 0xa8], 1
cmp byte [eax + 0x8d], 0
jne 0x1001cfb3
cmp byte [eax + 0xa9], 0
jle 0x1001cfba
mov byte [edi + 0xa9], 1
movss xmm0, dword [esp + 0x34]
comiss xmm0, dword [esi + 0x1518]
jb 0x1001d025
mov byte [edi + 0xa8], 1
mov cl, 1
xor al, al
mov byte [edi + 0x91], cl
cmp byte [edi + 0x8d], al
jne 0x1001cfee
cmp byte [edi + 0x8a], al
je 0x1001cfee
test cl, cl
je 0x1001d012
cmp byte [edi + 0xa0], 0
jg 0x1001d012
cmp byte [edi + 0xa1], 0
jg 0x1001d012
cmp byte [edi + 0xa9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
test al, al
mov byte [edi + 0x8f], al
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov al, byte [edi + 0xa8]
test al, al
jg 0x1001cfd0
cmp byte [edi + 0xa9], 0
jg 0x1001cfd0
cmp byte [edi + 0xaa], 0
jg 0x1001cfd0
xor cl, cl
jmp 0x1001cfd2
mov al, byte [edi + 0x8f]
test al, al
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret 4