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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x101def00]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x101e3554]
push edi
push 0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
push 0
push ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], esi
call fcn.10045050
push eax
call fcn.10042540
add esp, 0x10
mov dword [ebp - 0x38], eax
mov edi, eax
test edi, edi
sete cl
mov byte [ebp - 0x22], cl
test eax, eax
jne 0x1003bed4
push dword [ebp - 0x1c]
push dword [ebp - 0x68]
call fcn.10040de0
add esp, 8
mov edi, eax
mov edx, dword [ebp - 0x1c]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x1003beed
or edx, 6
mov dword [ebp - 0x1c], edx
cmp dword [esi + 0x19ec], 0
mov ecx, dword [esi + 0x19b0]
mov eax, dword [edi + 0x24c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], eax
jne 0x1003bf15
cmp byte [esi + 0x19bd], 0
je 0x1003bf15
mov al, 1
jmp 0x1003bf17
xor al, al
mov edx, dword [edi + 0x9c]
mov byte [edi + 0x82], al
lea eax, [ecx - 1]
cmp dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x1c]
setl al
mov byte [ebp - 0x64], al
test edx, 0x4000000
je 0x1003bf75
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + 0x1b2c]
mov edx, dword [ecx + 0x1b28]
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 - 0x1c]
setne al
or cl, al
mov al, byte [ebp - 0x64]
or al, cl
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x64], al
test al, al
jne 0x1003bf87
cmp dword [ebp - 0x3c], 0
jg 0x1003bf87
mov byte [edi + 0x80], al
jmp 0x1003bfa3
or dword [edi + 0xa0], 8
or dword [edi + 0xa4], 8
or dword [edi + 0xa8], 8
mov byte [edi + 0x80], 1
cmp dword [ebp - 0x2c], ecx
je 0x1003bfe4
mov dword [edi + 8], edx
xor eax, eax
mov dword [edi + 0x24c], ecx
movsd xmm0, qword [esi + 0x19a8]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x88], ax
movss dword [edi + 0x250], xmm0
mov ax, word [esi + 0x1a04]
mov word [edi + 0x8a], ax
inc dword [esi + 0x1a04]
jmp 0x1003bfea
mov edx, dword [edi + 8]
mov dword [ebp - 0x1c], edx
cmp dword [esi + 0x19ec], 0
jne 0x1003bffc
mov dword [ebp - 0x28], 0
jmp 0x1003c012
mov eax, dword [esi + 0x19f4]
mov esi, dword [esi + 0x19ec]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x2c], ecx
je 0x1003c027
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x1003c02d
mov eax, dword [edi + 0x2f4]
cmp dword [edi + 0xbc], 0
mov dword [ebp - 0x48], eax
lea eax, [edi + 0xbc]
jne 0x1003c065
cmp dword [eax + 4], 0
jne 0x1003c054
push 8
mov ecx, eax
call fcn.10055940
lea eax, [edi + 0xbc]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xbc]
mov ecx, dword [esi + 0x19f0]
lea edx, [esi + 0x19ec]
cmp dword [edx], ecx
jne 0x1003c0a8
test ecx, ecx
je 0x1003c08a
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x19ec]
sar eax, 1
add eax, ecx
jmp 0x1003c08f
mov eax, 8
mov ecx, dword [edx]
mov esi, dword [ebp - 0x30]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10055af0
lea edx, [esi + 0x19ec]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
lea edx, [edi + 0x1e0]
mov dword [esi + 0x1a08], 0
mov ecx, dword [0x101e3554]
movzx eax, word [edi + 0xbc]
mov word [edx], ax
movzx eax, word [edi + 0x1d4]
mov word [edx + 2], ax
movzx eax, word [ecx + 0x1b2c]
mov word [edx + 4], ax
movzx eax, word [ecx + 0x1afc]
mov word [edx + 6], ax
add edx, 8
movzx eax, word [ecx + 0x1b08]
mov word [edx], ax
movzx eax, word [ecx + 0x1b14]
mov ecx, dword [ebp - 0x1c]
mov word [edx + 2], ax
test ecx, 0x4000000
je 0x1003c146
mov eax, dword [esi + 0x1b2c]
lea ecx, [esi + 0x1b2c]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1b28]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.10055680
mov eax, dword [esi]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x8c], eax
cmp dword [ebp - 0x3c], 0
jle 0x1003c15e
test ecx, 0x1000000
jne 0x1003c15e
mov dword [edi + 0x308], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x34]
je 0x1003c1e7
mov edx, dword [ebp - 0x48]
mov dword [edi + 0x2f4], edx
mov dword [edi + 0x300], edi
mov dword [edi + 0x2fc], edi
mov dword [edi + 0x2f8], edi
test edx, edx
je 0x1003c1bf
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1003c1a3
mov eax, dword [edx + 0x2f8]
mov dword [edi + 0x2f8], eax
test ecx, 0x8000000
jne 0x1003c1bf
test ecx, 0x5000000
je 0x1003c1bf
mov eax, dword [edx + 0x2fc]
mov dword [edi + 0x2fc], eax
test dword [edi + 8], 0x800000
je 0x1003c1e7
mov ecx, edi
nop word [eax + eax]
mov eax, dword [ecx + 0x2f4]
mov ecx, eax
mov dword [edi + 0x300], eax
test dword [ecx + 8], 0x800000
jne 0x1003c1d0
xor dl, dl
mov byte [ebp - 0x17], 0
test byte [esi + 0x1a88], 1
mov byte [ebp - 0x21], dl
mov byte [ebp - 0x16], dl
je 0x1003c289
mov ecx, dword [esi + 0x1a8c]
mov edx, dword [edi + 0xa0]
test ecx, edx
mov eax, edx
setne byte [ebp - 0x17]
test ecx, eax
je 0x1003c278
movss xmm1, dword [esi + 0x1aa4]
movss xmm0, dword [esi + 0x1aa0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10135d40]
jbe 0x1003c278
mov eax, dword [esi + 0x1a98]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1a9c]
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], ecx
mov eax, dword [esi + 0x1aa0]
mov ecx, dword [esi + 0x1aa4]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xa0], edx
jmp 0x1003c289
push ecx
lea eax, [esi + 0x1a98]
push eax
push edi
call fcn.10051c10
add esp, 0xc
test byte [esi + 0x1a88], 2
xorps xmm1, xmm1
je 0x1003c2ea
mov eax, dword [edi + 0xa4]
mov ecx, dword [esi + 0x1a90]
and eax, ecx
je 0x1003c2b8
movss xmm0, dword [esi + 0x1aa8]
comiss xmm0, xmm1
jbe 0x1003c2b8
mov byte [ebp - 0x21], 1
jmp 0x1003c2c1
xor dl, dl
mov byte [ebp - 0x21], dl
test eax, eax
je 0x1003c2d2
movss xmm0, dword [esi + 0x1aac]
comiss xmm0, xmm1
mov byte [ebp - 0x16], 1
ja 0x1003c2d6
mov byte [ebp - 0x16], 0
push ecx
lea eax, [esi + 0x1aa8]
push eax
push edi
call fcn.10051d40
add esp, 0xc
xorps xmm1, xmm1
test byte [esi + 0x1a88], 0x80
je 0x1003c325
movss xmm0, dword [esi + 0x1ab8]
comiss xmm0, xmm1
jb 0x1003c30c
movss dword [edi + 0x60], xmm0
mov dword [edi + 0x68], 0
movss xmm0, dword [esi + 0x1abc]
comiss xmm0, xmm1
jb 0x1003c325
movss dword [edi + 0x64], xmm0
mov dword [edi + 0x6c], 0
test byte [esi + 0x1a88], 4
je 0x1003c342
mov eax, dword [esi + 0x1ab0]
mov ecx, dword [esi + 0x1ab4]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x1003c358
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x34]
je 0x1003c358
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test byte [esi + 0x1a88], 8
je 0x1003c383
mov eax, dword [esi + 0x1a94]
mov cl, byte [esi + 0x1ac0]
test eax, eax
je 0x1003c379
test dword [edi + 0xa8], eax
je 0x1003c383
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0x7d], cl
test byte [esi + 0x1a88], 0x20
je 0x1003c395
push edi
call fcn.100427c0
add esp, 4
cmp byte [edi + 0x80], 0
je 0x1003c3b3
and dword [edi + 0xa0], 0xfffffff7
and dword [edi + 0xa4], 0xfffffff7
and dword [edi + 0xa8], 0xfffffff7
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x34]
je 0x1003dc4f
mov eax, dword [ebp - 0x1c]
and eax, 0x3000000
mov byte [edi + 0x7a], 1
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0x34], eax
setne al
mov byte [edi + 0x83], al
mov dword [edi + 0x22c], 0xff7fffff
mov dword [edi + 0x230], 0xff7fffff
mov dword [edi + 0x234], 0x7f7fffff
mov dword [edi + 0x238], 0x7f7fffff
mov eax, dword [edi + 0xc0]
cmp eax, 1
jge 0x1003c441
test eax, eax
je 0x1003c424
cdq
sub eax, edx
lea edx, [edi + 0xbc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1003c42f
mov ecx, 8
lea edx, [edi + 0xbc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10055940
mov dword [edi + 0xbc], 1
cmp byte [edi + 0x330], 0
je 0x1003c524
mov ecx, dword [edi + 0x278]
push dword [edi + 0x334]
add ecx, 0xc
mov byte [edi + 0x330], 0
call fcn.10055830
mov eax, dword [edi + 0x278]
mov ecx, dword [edi + 0x338]
add eax, 0x18
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], eax
cmp ecx, dword [eax + 4]
jle 0x1003c510
mov eax, dword [0x101e3554]
test eax, eax
je 0x1003c4a0
inc dword [eax + 0x374]
push dword [0x101e355c]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x101de9a8]
mov dword [ebp - 0x2c], eax
add esp, 8
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 8]
test edx, edx
je 0x1003c504
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0x2c]
call fcn.100bf410
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1003c4f1
mov eax, dword [0x101e3554]
test eax, eax
je 0x1003c4f1
dec dword [eax + 0x374]
push dword [0x101e355c]
push ecx
call dword [0x101de9ac]
mov eax, dword [ebp - 0x28]
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov dword [edi + 0x338], 0
mov dword [edi + 0x334], 0
cmp dword [esi + 0x1c48], 0
mov ecx, dword [ebp - 0x38]
je 0x1003c60b
test dword [edi + 8], 0x80000
jne 0x1003c60b
test ecx, ecx
je 0x1003c60b
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003c573
test dl, dl
je 0x1003c56f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003c573
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003c553
xor eax, eax
jmp 0x1003c578
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003c608
mov ecx, dword [ebp - 0x68]
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x20], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x28], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c590
sub ecx, dword [ebp - 0x28]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
cmp edx, eax
jae 0x1003c5f3
test ecx, ecx
je 0x1003c5ba
mov eax, dword [0x101e3554]
test eax, eax
je 0x1003c5ba
dec dword [eax + 0x374]
push dword [0x101e355c]
push ecx
call dword [0x101de9ac]
mov eax, dword [0x101e3554]
add esp, 8
test eax, eax
je 0x1003c5d9
inc dword [eax + 0x374]
push dword [0x101e355c]
push dword [ebp - 0x28]
call dword [0x101de9a8]
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
push eax
push dword [ebp - 0x68]
push ecx
call fcn.100bf410
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x44], eax
mov ecx, dword [ebp - 0x38]
cmp byte [edi + 0x7d], 0
je 0x1003c635
cmp byte [edi + 0x90], 0
jg 0x1003c635
cmp byte [edi + 0x91], 0
jg 0x1003c635
movss xmm2, dword [edi + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x28]
jmp 0x1003c6b4
cmp byte [edi + 0x81], 0
je 0x1003c65f
cmp dword [edi + 0x9c], 0
jne 0x1003c65f
cmp dword [edi + 0x98], 0
jle 0x1003c65f
movss xmm2, dword [edi + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x28]
jmp 0x1003c6b4
movss xmm1, dword [edi + 0x2c]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1003c680
movss xmm1, dword [edi + 0xe0]
subss xmm1, dword [edi + 0xd8]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x30]
ucomiss xmm1, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
test ah, 0x44
jp 0x1003c6a9
movss xmm1, dword [edi + 0xe4]
subss xmm1, dword [edi + 0xdc]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [edi + 0x98]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm1
test eax, eax
jle 0x1003c6cf
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x1003c6e0
dec eax
mov dword [edi + 0x9c], eax
mov al, byte [ebp - 0x21]
test ecx, ecx
mov cl, byte [ebp - 0x16]
jne 0x1003c6fc
test al, al
je 0x1003c6f2
test cl, cl
jne 0x1003c6fc
mov dword [edi + 0x9c], 1
cmp byte [ebp - 0x64], 0
mov edx, dword [ebp - 0x1c]
je 0x1003c74e
test edx, 0x6000000
je 0x1003c74e
mov dword [edi + 0x9c], 1
test dl, 0x40
je 0x1003c74e
test al, al
jne 0x1003c72e
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x1003c740
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, dword [0x101e3554]
mov dword [ecx + 0x1a08], edi
mov eax, dword [0x101e3554]
movss xmm1, dword [eax + 0x18d8]
mov eax, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x270]
test eax, eax
je 0x1003c781
mulss xmm1, dword [eax + 0x270]
movss dword [ecx + 0x18e8], xmm1
movss dword [ecx + 0x18d4], xmm1
test edx, 0x1000000
je 0x1003c7a3
movss xmm1, dword [esi + 0x1544]
jmp 0x1003c7c5
test edx, 0x6000000
je 0x1003c7bd
test edx, 0x8000000
jne 0x1003c7bd
movss xmm1, dword [esi + 0x154c]
jmp 0x1003c7c5
movss xmm1, dword [esi + 0x1528]
mov eax, edi
movss dword [eax + 0x40], xmm1
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
mov dword [edi + 0x34], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x38], ecx
cmp eax, 0x1000000
jne 0x1003c811
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1003c811
test edx, 0x400
je 0x1003c805
movss xmm0, dword [esi + 0x1520]
mov dword [edi + 0x34], 0
movss dword [edi + 0x38], xmm0
test dl, 0x21
jne 0x1003c87f
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.10053420
cmp dword [esi + 0x1a0c], edi
jne 0x1003c85e
cmp dword [esi + 0x1a28], 0
jne 0x1003c85e
cmp dword [esi + 0x1a30], 0
jne 0x1003c85e
push 1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10046ad0
add esp, 0xc
test al, al
je 0x1003c85e
cmp byte [esi + 0x3e5], 0
je 0x1003c85e
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x1003c883
cmp byte [edi + 0x7d], 0
push edi
sete al
mov byte [edi + 0x7d], al
call fcn.10047fa0
push edi
call fcn.100427c0
add esp, 8
jmp 0x1003c883
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x7e], 0
push eax
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.1003fe00
mov cl, byte [ebp - 0x22]
add esp, 0xc
test byte [ebp - 0x1c], 0x40
mov byte [ebp - 0x15], cl
je 0x1003c8db
cmp byte [edi + 0x7d], 0
jne 0x1003c8db
cmp byte [ebp - 0x21], 0
jne 0x1003c8be
movss xmm0, dword [ebp - 0x50]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x22], 1
cmp byte [ebp - 0x16], 0
jne 0x1003c97b
movss xmm0, dword [ebp - 0x4c]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x15], 1
jmp 0x1003c97b
mov al, byte [edi + 0x90]
test al, al
jg 0x1003c8f2
cmp byte [edi + 0x91], 0
jle 0x1003c97b
cmp byte [ebp - 0x21], 0
jne 0x1003c91f
test al, al
jle 0x1003c91f
cmp byte [edi + 0x93], 0
je 0x1003c911
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x50]
jmp 0x1003c916
movss xmm0, dword [ebp - 0x50]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x22], 1
cmp byte [ebp - 0x16], 0
jne 0x1003c951
cmp byte [edi + 0x91], 0
jle 0x1003c951
cmp byte [edi + 0x93], 0
je 0x1003c943
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x4c]
jmp 0x1003c948
movss xmm0, dword [ebp - 0x4c]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x15], 1
cmp byte [edi + 0x7d], 0
jne 0x1003c97b
test dword [edi + 8], 0x100
mov ecx, dword [0x101e3554]
jne 0x1003c97b
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2dbc]
jb 0x1003c97b
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2dbc], eax
push dword [edi + 0x20]
lea eax, [ebp - 0x44]
push dword [edi + 0x1c]
push edi
push eax
call fcn.10040130
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp byte [edi + 0x7d], 0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
je 0x1003c9d5
test dword [ebp - 0x1c], 0x1000000
jne 0x1003c9d5
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10053420
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 0x1003c9e3
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov edx, dword [edi + 8]
lea ecx, [ebp - 0x44]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov eax, dword [0x101e3554]
test dl, 1
je 0x1003ca03
xorps xmm2, xmm2
jmp 0x1003ca35
movss xmm0, dword [eax + 0x18d8]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x1003ca25
mulss xmm0, dword [ecx + 0x270]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x1003ca79
movss xmm1, dword [eax + 0x18d8]
mov ecx, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x270]
test ecx, ecx
je 0x1003ca5f
mulss xmm1, dword [ecx + 0x270]
movss xmm0, dword [eax + 0x1554]
addss xmm1, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x1003ca7c
xorps xmm1, xmm1
cmp byte [ebp - 0x64], 0
addss xmm1, xmm2
mov ecx, dword [ebp - 0x1c]
movss dword [ebp - 0x2c], xmm1
je 0x1003cac6
mov dword [edi + 0x94], 0xffffffff
test ecx, 0x4000000
je 0x1003cac6
cmp byte [ebp - 0x17], 0
jne 0x1003cac6
mov eax, dword [esi + 0x1b2c]
mov ecx, dword [esi + 0x1b34]
lea edx, [eax + eax*8]
mov eax, dword [ecx + edx*4 - 0x10]
mov ecx, dword [ecx + edx*4 - 0xc]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
test ecx, 0x1000000
je 0x1003cb61
mov edx, dword [ebp - 0x48]
mov ax, word [edx + 0x180]
lea ecx, [edx + 0x180]
mov word [edi + 0x88], ax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], ecx
cmp dword [ecx], eax
jne 0x1003cb20
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0x20], edx
test eax, eax
je 0x1003cb0a
cdq
sub eax, edx
mov edx, dword [ebp - 0x20]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1003cb0f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10055af0
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x188]
mov dword [eax + ecx*4], edi
inc dword [edx + 0x180]
mov ecx, dword [ebp - 0x1c]
mov al, byte [ebp - 0x17]
test ecx, 0x4000000
jne 0x1003cb64
test al, al
jne 0x1003cb64
cmp dword [ebp - 0x34], 0x3000000
je 0x1003cb64
mov ecx, dword [edx + 0xcc]
mov eax, dword [edx + 0xc8]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
mov al, byte [ebp - 0x17]
movss xmm1, dword [edi + 0xac]
ucomiss xmm1, dword [0x10135dd4]
lahf
test ah, 0x44
jnp 0x1003cbc7
cmp dword [edi + 0x9c], 0
jne 0x1003cbc7
movss xmm0, dword [edi + 0x1c]
lea eax, [ebp - 0x44]
mulss xmm0, dword [edi + 0xb4]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xb0]
movss dword [ebp - 0x44], xmm1
movss xmm1, dword [edi + 0x20]
mulss xmm1, dword [edi + 0xb8]
subss xmm0, xmm1
movss dword [ebp - 0x40], xmm0
call fcn.10051c10
add esp, 0xc
jmp 0x1003cc0e
test ecx, 0x10000000
jne 0x1003cbf6
test ecx, 0x4000000
je 0x1003cbe1
test al, al
jne 0x1003cbe1
cmp dword [ebp - 0x3c], 0
jg 0x1003cbf6
test ecx, 0x2000000
je 0x1003cc11
test al, al
jne 0x1003cc11
cmp dword [ebp - 0x34], 0x3000000
je 0x1003cc11
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.10041eb0
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
mov ecx, dword [ebp - 0x1c]
cmp byte [ebp - 0x17], 0
mov eax, dword [0x101e3554]
movss xmm5, dword [eax + 0x10]
movss xmm4, dword [eax + 0x14]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
movss dword [ebp - 0x70], xmm5
movss dword [ebp - 0x6c], xmm4
jne 0x1003cd55
test ecx, 0x1000000
jne 0x1003cd55
cmp byte [edi + 0x90], 0
jg 0x1003cd55
cmp byte [edi + 0x91], 0
jg 0x1003cd55
movss xmm6, dword [esi + 0x15b0]
xorps xmm3, xmm3
movss xmm7, dword [esi + 0x15b4]
movaps xmm0, xmm5
maxss xmm6, dword [esi + 0x15b8]
maxss xmm7, dword [esi + 0x15bc]
subss xmm0, xmm3
comiss xmm0, xmm3
jbe 0x1003cd55
movaps xmm0, xmm4
subss xmm0, xmm3
comiss xmm0, xmm3
jbe 0x1003cd55
cmp byte [eax + 0xb4], 0
je 0x1003ccfd
test byte [edi + 8], 1
jne 0x1003ccfd
movss xmm0, dword [eax + 0x18d8]
mov edx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test edx, edx
je 0x1003ccdc
mulss xmm0, dword [edx + 0x270]
movss xmm1, dword [eax + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
movss dword [ebp - 0x44], xmm0
movss dword [ebp - 0x40], xmm1
jmp 0x1003cd0c
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
movss xmm0, dword [eax]
subss xmm5, xmm6
addss xmm0, dword [edi + 0xc]
addss xmm6, xmm3
subss xmm4, xmm7
addss xmm7, xmm3
maxss xmm0, xmm6
subss xmm0, dword [eax]
minss xmm5, xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0xc], xmm5
maxss xmm0, xmm7
subss xmm0, dword [eax + 4]
minss xmm4, xmm0
movss dword [edi + 0x10], xmm4
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test ecx, 0x1000000
je 0x1003cd89
movss xmm2, dword [esi + 0x1540]
jmp 0x1003cda9
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1003cda1
movss xmm2, dword [esi + 0x1548]
jmp 0x1003cda9
movss xmm2, dword [esi + 0x1524]
xor al, al
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x28], eax
cmp byte [ebp - 0x64], al
je 0x1003cde2
test ecx, 0x1000
jne 0x1003cde2
test ecx, 0x4000000
je 0x1003cdce
mov byte [ebp - 0x28], 1
jmp 0x1003cde2
test ecx, 0x3000000
movzx eax, al
mov edx, 1
cmove eax, edx
mov dword [ebp - 0x28], eax
movss xmm1, dword [esi + 0x18d4]
xorps xmm0, xmm0
addss xmm2, dword [0x101313a8]
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x20], 0xffffffff
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x10135d5c]
setne al
mulss xmm0, dword [0x10135d90]
inc eax
cmp byte [edi + 0x7d], 0
addss xmm2, xmm1
mov dword [ebp - 0x40], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x1003ce57
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.100544f0
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
test al, al
je 0x1003ce57
mov dl, 1
mov dh, dl
jmp 0x1003ce5d
mov dh, byte [ebp - 0x22]
mov dl, byte [ebp - 0x15]
cmp byte [edi + 0x7d], 0
mov al, byte [ebp - 0x20]
movss xmm3, dword [ebp - 0x2c]
mov byte [edi + 0x84], al
jne 0x1003cfad
cmp dword [ebp - 0x38], 0
lea eax, [ebp - 0x50]
movss xmm2, dword [edi + 0x204]
movss xmm4, dword [edi + 0x208]
subss xmm2, dword [edi + 0x1fc]
subss xmm4, dword [edi + 0x200]
movss xmm5, dword [edi + 0x20]
movss xmm6, dword [edi + 0x1c]
subss xmm5, xmm3
mov dword [ebp - 0x20], eax
addss xmm2, dword [edi + 0x70]
addss xmm4, dword [edi + 0x74]
jne 0x1003cec9
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
jmp 0x1003ceef
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 - 0x50], xmm0
movss dword [ebp - 0x4c], xmm1
movss xmm7, dword [eax + 4]
test dh, dh
jne 0x1003cefb
movaps xmm6, xmm2
test dl, dl
jne 0x1003cf02
movaps xmm5, xmm4
test ecx, 0x4000
jne 0x1003cf18
comiss xmm7, xmm5
jbe 0x1003cf14
test cl, 8
je 0x1003cf18
xor al, al
jmp 0x1003cf1a
mov al, 1
mov byte [ebp - 0x15], al
mov byte [edi + 0x79], al
test ecx, 0x8000
jne 0x1003cf6c
xorps xmm0, xmm0
test al, al
je 0x1003cf3c
mov edx, dword [ebp - 0x30]
movss xmm1, dword [edx + 0x1580]
jmp 0x1003cf3f
xorps xmm1, xmm1
mov edx, dword [ebp - 0x20]
subss xmm6, xmm1
movss xmm1, dword [edx]
comiss xmm1, xmm6
mov edx, dword [ebp - 0x30]
jbe 0x1003cf63
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0x15]
je 0x1003cf6c
mov byte [edi + 0x78], 0
xorps xmm1, xmm1
jmp 0x1003cf95
mov byte [edi + 0x78], 1
test al, al
jne 0x1003cf87
comiss xmm7, xmm5
jbe 0x1003cf82
test cl, 8
jne 0x1003cf82
mov al, 1
jmp 0x1003cf84
xor al, al
mov byte [edi + 0x79], al
mov edx, dword [ebp - 0x30]
xorps xmm0, xmm0
movss xmm1, dword [edx + 0x1580]
test al, al
je 0x1003cfa1
movss xmm0, dword [edx + 0x1580]
movss dword [edi + 0x70], xmm0
movss dword [edi + 0x74], xmm1
jmp 0x1003cfb0
mov edx, dword [ebp - 0x30]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1003cfd1
cmp dword [ebp - 0x34], 0x3000000
je 0x1003cfd1
mov eax, dword [ebp - 0x48]
add eax, 0x22c
jmp 0x1003cfd4
lea eax, [ebp - 0x78]
test byte [edi + 8], 1
movups xmm0, xmmword [eax]
movss xmm1, dword [edi + 0x10]
movups xmmword [ebp - 0x60], xmm0
movss xmm0, dword [edi + 0xc]
movaps xmm7, xmm1
addss xmm7, dword [edi + 0x18]
movaps xmm6, xmm0
movss dword [ebp - 0x20], xmm0
addss xmm6, dword [edi + 0x14]
movss dword [ebp - 0x3c], xmm1
je 0x1003d00a
xorps xmm5, xmm5
jmp 0x1003d04b
mov eax, dword [0x101e3554]
movss xmm0, dword [eax + 0x18d8]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x1003d031
mulss xmm0, dword [eax + 0x270]
mov eax, dword [0x101e3554]
movss xmm5, dword [eax + 0x1554]
addss xmm5, xmm5
addss xmm5, xmm0
movss xmm0, dword [ebp - 0x20]
movaps xmm2, xmm0
movss dword [ebp - 0x8c], xmm0
addss xmm2, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x10]
addss xmm1, xmm5
movss dword [ebp - 0x88], xmm0
mov eax, ecx
movss xmm0, dword [ebp - 0x20]
and eax, 0x401
xorps xmm4, xmm4
movss dword [ebp - 0x84], xmm2
movss dword [ebp - 0x80], xmm1
movss xmm1, dword [ebp - 0x3c]
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm1
movss dword [edi + 0x1f4], xmm6
movss dword [edi + 0x1f8], xmm7
movss xmm0, dword [edi + 0x1ec]
movss xmm5, dword [ebp - 0x60]
movss xmm6, dword [ebp - 0x5c]
maxss xmm0, xmm5
maxss xmm1, xmm6
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm1
movss xmm1, dword [edi + 0x1f4]
movss xmm0, dword [edi + 0x1f8]
minss xmm0, dword [ebp - 0x54]
minss xmm1, dword [ebp - 0x58]
movss dword [edi + 0x1f8], xmm0
movss dword [edi + 0x1f4], xmm1
movss xmm7, dword [edi + 0x10]
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm7
movss dword [edi + 0x1fc], xmm1
addss xmm0, xmm3
addss xmm7, dword [edi + 0x18]
movss dword [ebp - 0x3c], xmm0
movss dword [edi + 0x200], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x14]
subss xmm7, dword [edi + 0x74]
subss xmm0, dword [edi + 0x70]
movss dword [edi + 0x208], xmm7
movss dword [ebp - 0x38], xmm0
movss dword [edi + 0x204], xmm0
cmp eax, 1
jne 0x1003d15f
movss xmm0, dword [edi + 0x40]
jmp 0x1003d167
movss xmm0, dword [edx + 0x155c]
movss xmm2, dword [0x10131188]
movss dword [ebp - 0x20], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x34]
mulss xmm0, xmm2
movss xmm3, dword [ebp - 0x54]
subss xmm7, dword [edi + 0x40]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x40]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movss xmm0, dword [ebp - 0x3c]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x20]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x214], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x218], xmm0
movss xmm0, dword [edi + 0x210]
comiss xmm6, xmm0
jbe 0x1003d221
movaps xmm1, xmm6
jmp 0x1003d228
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [ebp - 0x58]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x1003d23e
movaps xmm0, xmm5
jmp 0x1003d245
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x20c], xmm0
movss dword [edi + 0x210], xmm1
movss xmm0, dword [edi + 0x218]
comiss xmm6, xmm0
ja 0x1003d269
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x214]
comiss xmm5, xmm0
ja 0x1003d27d
movaps xmm5, xmm7
minss xmm5, xmm0
movss dword [edi + 0x214], xmm5
movss dword [edi + 0x218], xmm6
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x1003d2aa
test dword [ebp - 0x1c], 0x2000040
jne 0x1003d2aa
mulss xmm0, dword [0x10135d6c]
jmp 0x1003d2ba
movss xmm0, dword [edx + 0x18d4]
mulss xmm0, dword [0x10135db4]
cvttss2si eax, xmm0
mov ecx, edi
push 1
push edi
movd xmm0, eax
lea eax, [ebp - 0x50]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ecx + 0x254], xmm0
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x204]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1fc]
addss xmm1, dword [edi + 0x24]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x38]
addss xmm1, xmm1
movss dword [edi + 0x58], xmm0
movss xmm0, dword [edi + 0x208]
subss xmm0, dword [edi + 0x200]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x5c], xmm0
call fcn.1003fac0
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x50], ecx
mov ecx, dword [edi + 0x278]
mov dword [edi + 0x54], eax
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
call fcn.10076070
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x18d0]
mov ecx, dword [edi + 0x278]
mov eax, dword [eax + 0x38]
push dword [eax + 8]
call fcn.1007a150
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.1004d670
add esp, 0xc
test dword [ebp - 0x1c], 0x8000000
je 0x1003d3a9
call fcn.10044490
cmp edi, eax
jne 0x1003d3a9
cmp dword [edi + 0x9c], 0
jg 0x1003d3a9
mov dl, 1
jmp 0x1003d3ab
xor dl, dl
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x1c44]
test eax, eax
je 0x1003d3c4
cmp edi, dword [eax + 0x2f8]
jne 0x1003d3c4
mov al, 1
jmp 0x1003d3c6
xor al, al
mov byte [ebp - 0x15], al
test dl, dl
jne 0x1003d3d5
test al, al
je 0x1003d4d5
movss xmm0, dword [ecx + 0x1cb8]
push ecx
movzx eax, dl
add eax, 0x2e
movss dword [esp], xmm0
push eax
call fcn.10042fd0
add esp, 8
push 0xf
push ecx
mov ecx, dword [edi + 0x278]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10075140
cmp byte [ebp - 0x15], 0
je 0x1003d4d5
mov ecx, dword [ebp - 0x30]
cmp edi, dword [ecx + 0x1c44]
jne 0x1003d4d5
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [ecx + 0x18d4]
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 [ebp - 0x78]
comiss xmm0, xmm1
movss dword [ebp - 0x60], xmm1
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x58], xmm2
movss dword [ebp - 0x54], xmm3
jb 0x1003d48f
movss xmm0, dword [ebp - 0x74]
comiss xmm0, xmm4
jb 0x1003d48f
comiss xmm2, dword [ebp - 0x70]
jb 0x1003d48f
comiss xmm3, dword [ebp - 0x6c]
jae 0x1003d4d5
movss xmm0, dword [ecx + 0x1524]
push 0xf
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + 0x1c50]
mulss xmm0, dword [0x10135d60]
movss dword [esp], xmm0
push 0x2d
call fcn.10042fd0
mov ecx, dword [edi + 0x278]
add esp, 8
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10075140
mov eax, dword [ebp - 0x1c]
and eax, 0x5000000
mov byte [ebp - 0x15], 0
cmp eax, 0x1000000
jne 0x1003d51f
cmp dword [ebp - 0x34], 0x3000000
je 0x1003d51f
mov edx, dword [edi + 0x278]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0x28], 0
jne 0x1003d51f
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
jle 0x1003d51f
mov byte [ebp - 0x15], 1
mov dword [edi + 0x278], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x1c40]
test edx, edx
jne 0x1003d532
mov edx, dword [ecx + 0x1b38]
cmp byte [ebp - 0x28], 0
jne 0x1003d550
test edx, edx
je 0x1003d54a
mov eax, dword [edi + 0x2fc]
cmp eax, dword [edx + 0x2fc]
je 0x1003d550
mov byte [ebp - 0x20], 0
jmp 0x1003d554
mov byte [ebp - 0x20], 1
movd xmm0, esi
lea eax, [ebp - 0x14]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x8c]
push dword [ebp - 0x20]
push eax
push edi
call fcn.1004f190
add esp, 0x18
cmp byte [ebp - 0x15], 0
je 0x1003d58d
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov esi, dword [ebp - 0x30]
cmp dword [esi + 0x1c44], edi
jne 0x1003d689
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm5, xmm2
movss xmm1, dword [esi + 0x18d4]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
movss xmm7, dword [edi + 0x3c]
subss xmm5, xmm1
movss xmm0, dword [ebp - 0x78]
subss xmm4, xmm1
movaps xmm6, xmm7
maxss xmm6, dword [esi + 0x1524]
addss xmm2, xmm1
comiss xmm0, xmm5
addss xmm3, xmm1
movss dword [ebp - 0x60], xmm5
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x58], xmm2
movss dword [ebp - 0x54], xmm3
jb 0x1003d64b
movss xmm0, dword [ebp - 0x74]
comiss xmm0, xmm4
jb 0x1003d64b
comiss xmm2, dword [ebp - 0x70]
jb 0x1003d64b
comiss xmm3, dword [ebp - 0x6c]
jb 0x1003d64b
xorps xmm1, xmmword [0x10135e20]
movaps xmm6, xmm7
subss xmm1, dword [0x101313a8]
movaps xmm0, xmm1
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x60], xmm5
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x54], xmm1
movss xmm0, dword [esi + 0x1c50]
push ecx
mov dword [esp], 0x40400000
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm6
movss dword [esp], xmm0
push 0x2d
call fcn.10042fd0
mov ecx, dword [edi + 0x278]
add esp, 8
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10075050
mov ecx, dword [ebp - 0x1c]
xorps xmm4, xmm4
movss xmm7, dword [edi + 0x2c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm7, xmm4
lahf
test ah, 0x44
jnp 0x1003d6ae
movss dword [ebp - 0x20], xmm7
jmp 0x1003d6e6
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x1003d6c3
movss xmm2, dword [edi + 0x24]
jmp 0x1003d6c6
xorps xmm2, xmm2
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x14]
addss xmm1, xmm1
subss xmm0, xmm1
subss xmm0, dword [edi + 0x70]
maxss xmm2, xmm0
movss dword [ebp - 0x20], xmm2
movss xmm5, dword [edi + 0x30]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x1003d6fb
movss dword [ebp - 0x34], xmm5
jmp 0x1003d72e
test dl, dl
je 0x1003d706
movss xmm2, dword [edi + 0x28]
jmp 0x1003d709
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x2c]
subss xmm1, dword [edi + 0x74]
maxss xmm2, xmm1
movss dword [ebp - 0x34], xmm2
movss xmm0, dword [edi + 0x50]
movss xmm1, dword [edi + 0x1fc]
movss xmm6, dword [edi + 0x34]
subss xmm1, xmm0
movss dword [ebp - 0x38], xmm0
movaps xmm0, xmm6
maxss xmm0, dword [edi + 0x40]
movss xmm3, dword [edi + 0x10]
ucomiss xmm7, xmm4
addss xmm1, xmm0
movss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x40], xmm0
maxss xmm0, dword [edi + 0x40]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x54]
movss dword [ebp - 0x3c], xmm1
movss xmm1, dword [edi + 0x200]
subss xmm1, dword [ebp - 0x3c]
subss xmm3, dword [ebp - 0x3c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x21c], xmm2
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x20]
addss xmm1, xmm2
movss xmm2, dword [ebp - 0x40]
addss xmm3, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x224], xmm1
movss xmm1, dword [ebp - 0x34]
addss xmm1, xmm0
movss dword [edi + 0x220], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x34], xmm0
subss xmm0, dword [ebp - 0x38]
lahf
movss dword [edi + 0x228], xmm1
movss xmm1, dword [ebp - 0x2c]
addss xmm3, xmm1
addss xmm0, xmm6
movss dword [edi + 0x23c], xmm0
movss dword [ebp - 0x20], xmm0
movss dword [edi + 0x240], xmm3
test ah, 0x44
jp 0x1003d82e
movss xmm7, dword [edi + 0x14]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm7, xmm0
movss xmm0, dword [ebp - 0x20]
subss xmm7, dword [edi + 0x70]
ucomiss xmm5, xmm4
addss xmm7, xmm0
lahf
movss dword [edi + 0x244], xmm7
test ah, 0x44
jp 0x1003d85c
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
subss xmm5, xmm1
subss xmm5, dword [edi + 0x74]
addss xmm6, xmm4
addss xmm5, xmm3
addss xmm2, xmm1
subss xmm6, dword [ebp - 0x38]
movss dword [edi + 0x248], xmm5
subss xmm2, dword [ebp - 0x3c]
movss dword [edi + 0x100], xmm6
addss xmm6, xmm4
mov dword [edi + 0x108], 0
mov dword [edi + 0x104], 0
addss xmm2, dword [edi + 0x10]
addss xmm6, dword [ebp - 0x34]
movss dword [edi + 0xd8], xmm6
movss dword [edi + 0xdc], xmm2
movss dword [edi + 0xc8], xmm6
movss dword [edi + 0xcc], xmm2
movss dword [edi + 0xd0], xmm6
movss dword [edi + 0xd4], xmm2
movss dword [edi + 0xe0], xmm6
movss dword [edi + 0xe4], xmm2
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 1
mov eax, dword [edi + 0x140]
mov dword [edi + 0x13c], eax
mov dword [edi + 0x140], 0
test ecx, 0x1000000
je 0x1003d95d
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x144]
jmp 0x1003d95f
xor eax, eax
mov dword [edi + 0x144], eax
mov byte [edi + 0x148], 0
movss xmm0, dword [edi + 0x5c]
comiss xmm0, xmm4
push dword [ebp - 0x64]
seta al
mov byte [edi + 0x149], al
mov byte [edi + 0x14a], 0
movss xmm0, dword [edi + 0x34]
maxss xmm0, dword [esi + 0x1560]
push ecx
lea ecx, [edi + 0x154]
maxss xmm0, dword [esi + 0x1ae0]
movss dword [edi + 0x14c], xmm0
mov eax, dword [esi + 0x1ae4]
mov dword [edi + 0x150], eax
movss xmm0, dword [esi + 0x1560]
movss dword [esp], xmm0
push 3
call fcn.100708f0
mov dword [edi + 0x178], 0
lea eax, [edi + 0x180]
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003da0e
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 + 0x180]
call fcn.10055af0
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 1
test eax, eax
je 0x1003da43
mov eax, dword [eax + 0x194]
jmp 0x1003da48
mov eax, 1
mov dword [edi + 0x198], eax
mov dword [edi + 0x1a0], 0xffffffff
mov dword [edi + 0x19c], 0xffffffff
mov eax, dword [edi + 0x254]
mov dword [edi + 0x1a8], eax
lea eax, [edi + 0x1b0]
mov dword [edi + 0x1ac], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003daa7
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 + 0x1b0]
call fcn.100558b0
lea eax, [edi + 0x1b0]
mov dword [eax], 0
lea eax, [edi + 0x1bc]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003dadc
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.100559d0
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003db11
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.100559d0
lea eax, [edi + 0x1c8]
push 0
lea ecx, [edi + 0x1d4]
mov dword [eax], 0
call fcn.10055d90
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1003db47
mov eax, dword [eax + 0x1a4]
lea ecx, [edi + 0x1a4]
mov dword [ecx], eax
push ecx
lea ecx, [edi + 0x1b0]
call fcn.10055560
jmp 0x1003db51
mov dword [edi + 0x1a4], 0
mov al, byte [edi + 0x90]
test al, al
jle 0x1003db63
dec al
mov byte [edi + 0x90], al
mov al, byte [edi + 0x91]
test al, al
jle 0x1003db75
dec al
mov byte [edi + 0x91], al
cmp byte [ebp - 0x28], 0
je 0x1003db8c
push edi
call fcn.100427c0
push 0
push edi
call fcn.10048610
add esp, 0xc
test byte [ebp - 0x1c], 1
jne 0x1003dba8
push dword [ebp - 0x7c]
lea eax, [ebp - 0x8c]
push dword [ebp - 0x68]
push eax
push edi
call fcn.1004fcc0
add esp, 0x10
mov eax, dword [edi + 0x48]
movss xmm2, dword [ebp - 0x8c]
movss xmm4, dword [ebp - 0x84]
movss xmm3, dword [ebp - 0x80]
mov dword [edi + 0x10c], eax
mov eax, dword [0x101e3554]
movss xmm1, dword [eax + 0x1570]
movss xmm0, dword [eax + 0x1574]
subss xmm2, xmm1
movss xmm5, dword [eax + 0xe8]
addss xmm4, xmm1
movss xmm1, dword [ebp - 0x88]
addss xmm3, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x1003dc1e
movss xmm0, dword [eax + 0xec]
comiss xmm0, xmm1
jb 0x1003dc1e
comiss xmm4, xmm5
jbe 0x1003dc1e
comiss xmm3, xmm0
jbe 0x1003dc1e
mov eax, 1
jmp 0x1003dc20
xor eax, eax
movups xmm0, xmmword [ebp - 0x8c]
mov dword [edi + 0x110], eax
lea eax, [edi + 0x214]
push 1
push eax
lea eax, [edi + 0x20c]
push eax
movups xmmword [edi + 0x114], xmm0
call fcn.1004d670
mov byte [edi + 0x7c], 0
jmp 0x1003dca7
mov ecx, dword [0x101e3554]
mov dword [ecx + 0x1a08], edi
mov eax, dword [0x101e3554]
movss xmm0, dword [eax + 0x18d8]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x1003dc82
mulss xmm0, dword [eax + 0x270]
push 1
lea eax, [edi + 0x214]
movss dword [ecx + 0x18e8], xmm0
push eax
lea eax, [edi + 0x20c]
movss dword [ecx + 0x18d4], xmm0
push eax
call fcn.1004d670
inc word [edi + 0x86]
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x1a88], 0
test eax, 0x1000000
je 0x1003dd40
test al, 0x40
jne 0x1003dd07
cmp byte [edi + 0x90], 0
jg 0x1003dd07
cmp byte [edi + 0x91], 0
jg 0x1003dd07
movss xmm0, dword [edi + 0x1ec]
comiss xmm0, dword [edi + 0x1f4]
jae 0x1003dcfd
movss xmm0, dword [edi + 0x1f0]
comiss xmm0, dword [edi + 0x1f8]
jb 0x1003dd07
mov dword [edi + 0x98], 1
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1003dd40
cmp byte [eax + 0x7d], 0
jne 0x1003dd1d
cmp dword [eax + 0x98], 0
jle 0x1003dd27
mov dword [edi + 0x98], 1
cmp byte [eax + 0x7d], 0
jne 0x1003dd36
cmp dword [eax + 0x9c], 0
jle 0x1003dd40
mov dword [edi + 0x9c], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x1003dd56
mov dword [edi + 0x98], 1
cmp dword [edi + 0x98], 0
jg 0x1003dd6c
cmp dword [edi + 0x9c], 0
jg 0x1003dd6c
xor cl, cl
jmp 0x1003dd6e
mov cl, 1
xor al, al
mov byte [edi + 0x81], cl
cmp byte [edi + 0x7d], al
jne 0x1003dd84
cmp byte [edi + 0x7a], al
je 0x1003dd84
test cl, cl
je 0x1003dda8
cmp byte [edi + 0x90], 0
jg 0x1003dda8
cmp byte [edi + 0x91], 0
jg 0x1003dda8
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.100bcd6c
mov esp, ebp
pop ebp
ret