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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
push esi
mov esi, dword [0x10159260]
mov eax, ecx
push edi
mov dword [esp + 0xa8], edx
xor edx, edx
push 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], esi
call fcn.10040740
mov ecx, eax
call fcn.10047710
mov edi, eax
mov dword [esp + 0x1c], eax
test edi, edi
sete cl
mov byte [esp + 0x13], cl
test eax, eax
jne 0x10049a26
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x58]
call fcn.10047770
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 + 0x1b78]
cmovne edx, eax
mov dword [esp + 0x30], ecx
cmp dword [ecx], 0
mov eax, dword [esi + 0x1b38]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x25c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], eax
jne 0x10049a73
cmp byte [esi + 0x1b45], 0
je 0x10049a73
mov al, 1
jmp 0x10049a75
xor al, al
mov edx, dword [esp + 0x14]
mov byte [edi + 0x92], al
mov eax, dword [esp + 0x3c]
dec eax
cmp dword [esp + 0x38], eax
setl al
mov byte [esp + 0x12], al
test edx, 0x4000000
je 0x10049ad1
mov eax, dword [esi + 0x1ce0]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x1cdc]
mov eax, dword [edi + 0x9c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov edx, dword [esp + 0x14]
setne al
or cl, al
mov al, byte [esp + 0x12]
or al, cl
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x12], al
mov byte [edi + 0x90], al
test al, al
je 0x10049af0
or byte [edi + 0xac], 8
or byte [edi + 0xad], 8
or byte [edi + 0xae], 8
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x38], eax
je 0x10049b3a
mov dword [edi + 0x25c], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x1b30]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x98], ax
movss dword [edi + 0x260], xmm0
movzx eax, word [esi + 0x1b90]
inc dword [esi + 0x1b90]
mov word [edi + 0x9a], ax
jmp 0x10049b41
mov edx, dword [edi + 8]
mov dword [esp + 0x14], edx
cmp dword [ecx], 0
jne 0x10049b4a
xor eax, eax
jmp 0x10049b56
mov eax, dword [esi + 0x1b80]
mov esi, dword [ecx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0x38]
cmp esi, dword [esp + 0x3c]
je 0x10049b72
and edx, 0x5000000
neg edx
sbb edx, edx
and edx, eax
mov dword [esp + 0x34], edx
jmp 0x10049b7c
mov eax, dword [edi + 0x31c]
mov dword [esp + 0x34], eax
cmp dword [edi + 0xc0], 0
lea eax, [edi + 0xc0]
mov esi, dword [esp + 0x18]
jne 0x10049bbb
cmp dword [eax + 4], 0
jne 0x10049ba4
push 8
mov ecx, eax
call fcn.10052950
lea eax, [edi + 0xc0]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
lea ecx, [esi + 0x1b78]
inc dword [edi + 0xc0]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10049bf1
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x10049bdb
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10049be0
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10052950
lea ecx, [esi + 0x1b78]
mov ecx, dword [ecx]
mov eax, dword [esi + 0x1b80]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x1b78]
mov ecx, dword [0x10159260]
mov dword [esi + 0x1b94], edi
mov eax, dword [ecx + 0x1b94]
movzx eax, word [eax + 0xc0]
mov word [edi + 0x1d4], ax
movzx eax, word [ecx + 0x1c8c]
mov word [edi + 0x1d6], ax
movzx eax, word [ecx + 0x1c98]
mov word [edi + 0x1d8], ax
movzx eax, word [ecx + 0x1ca4]
mov word [edi + 0x1da], ax
movzx eax, word [ecx + 0x1cb0]
mov word [edi + 0x1dc], ax
movzx eax, word [ecx + 0x1cc8]
mov word [edi + 0x1de], ax
movzx eax, word [ecx + 0x1ce0]
mov ecx, dword [esp + 0x14]
mov word [edi + 0x1e0], ax
mov eax, ecx
and eax, 0x4000000
mov dword [esi + 0x1b94], 0
mov dword [esp + 0x2c], eax
je 0x10049cc3
mov eax, dword [esi + 0x1ce0]
lea ecx, [esi + 0x1ce0]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1cdc]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.100526e0
mov eax, dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x9c], eax
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
je 0x10049d47
mov edx, dword [esp + 0x34]
mov dword [edi + 0x31c], edx
mov dword [edi + 0x328], edi
mov dword [edi + 0x324], edi
mov dword [edi + 0x320], edi
test edx, edx
je 0x10049d23
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x10049d07
mov eax, dword [edx + 0x320]
mov dword [edi + 0x320], eax
test ecx, 0x8000000
jne 0x10049d23
test ecx, 0x5000000
je 0x10049d23
mov eax, dword [edx + 0x324]
mov dword [edi + 0x324], eax
test dword [edi + 8], 0x800000
je 0x10049d47
mov ecx, edi
nop
mov eax, dword [ecx + 0x31c]
mov ecx, eax
mov dword [edi + 0x328], eax
test dword [ecx + 8], 0x800000
jne 0x10049d30
test byte [esi + 0x1c18], 1
mov byte [esp + 0x11], 0
mov byte [esp + 0x10], 0
mov byte [esp + 0xf], 0
je 0x10049dfe
mov dl, byte [edi + 0xac]
mov ecx, dword [esi + 0x1c1c]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x11]
test ecx, eax
je 0x10049df0
movss xmm1, dword [esi + 0x1c34]
movss xmm0, dword [esi + 0x1c30]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10150af0]
jbe 0x10049df0
mov eax, dword [esi + 0x1c28]
mov ecx, dword [esi + 0x1c2c]
mov dword [edi + 0xb4], ecx
mov dword [edi + 0xb0], eax
mov eax, dword [esi + 0x1c30]
mov ecx, dword [esi + 0x1c34]
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 0x10049dfe
push ecx
lea edx, [esi + 0x1c28]
mov ecx, edi
call fcn.1004c1b0
test byte [esi + 0x1c18], 2
xorps xmm1, xmm1
je 0x10049e5c
movsx eax, byte [edi + 0xad]
lea edx, [esi + 0x1c38]
mov ecx, dword [esi + 0x1c20]
and eax, ecx
je 0x10049e31
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x10049e31
mov byte [esp + 0x10], 1
jmp 0x10049e3a
mov byte [esp + 0x10], 0
test eax, eax
je 0x10049e4c
movss xmm0, dword [esi + 0x1c3c]
comiss xmm0, xmm1
mov byte [esp + 0xf], 1
ja 0x10049e51
mov byte [esp + 0xf], 0
push ecx
mov ecx, edi
call fcn.1004c2d0
xorps xmm1, xmm1
test byte [esi + 0x1c18], 0x80
je 0x10049e97
movss xmm0, dword [esi + 0x1c48]
comiss xmm0, xmm1
jb 0x10049e7e
movss dword [edi + 0x68], xmm0
mov dword [edi + 0x70], 0
movss xmm0, dword [esi + 0x1c4c]
comiss xmm0, xmm1
jb 0x10049e97
movss dword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
test byte [esi + 0x1c18], 4
je 0x10049eb4
mov eax, dword [esi + 0x1c40]
mov ecx, dword [esi + 0x1c44]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
jmp 0x10049ecc
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
je 0x10049ecc
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
test byte [esi + 0x1c18], 8
je 0x10049f19
mov ecx, dword [esi + 0x1c24]
mov dl, byte [esi + 0x1c50]
test ecx, ecx
je 0x10049ef0
movsx eax, byte [edi + 0xae]
test ecx, eax
je 0x10049f19
movzx ecx, byte [edi + 0xae]
mov eax, dword [edi + 0xac]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0x8d], dl
mov dword [edi + 0xac], ecx
test byte [esi + 0x1c18], 0x20
je 0x10049f29
mov ecx, edi
call fcn.1004bd10
cmp byte [edi + 0x90], 0
je 0x10049f47
and byte [edi + 0xac], 0xf7
and byte [edi + 0xad], 0xf7
and byte [edi + 0xae], 0xf7
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
je 0x1004b9f2
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0xc0]
and eax, 0x3000000
mov byte [edi + 0x8a], 1
cmp dword [esp + 0xa8], 0
mov dword [esp + 0x54], 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 [ecx + 4]
mov dword [esp + 0x30], eax
cmp eax, 1
jge 0x10049fe0
test eax, eax
je 0x10049fc5
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0x30]
jmp 0x10049fca
mov edx, 8
mov eax, 1
cmp edx, eax
cmovg eax, edx
push eax
call fcn.10052950
lea ecx, [edi + 0xc0]
mov dword [ecx], 1
mov ecx, dword [edi + 0x288]
call fcn.10055c80
cmp byte [edi + 0x360], 0
mov dword [edi + 0x19c], 0xffffffff
je 0x1004a047
mov ecx, dword [edi + 0x288]
push dword [edi + 0x358]
add ecx, 0xc
mov byte [edi + 0x360], 0
call fcn.10052bd0
mov ecx, dword [edi + 0x288]
push dword [edi + 0x35c]
add ecx, 0x18
call fcn.10052a70
mov dword [edi + 0x35c], 0
mov dword [edi + 0x358], 0
cmp dword [esi + 0x1e08], 0
je 0x1004a129
test dword [edi + 8], 0x80000
jne 0x1004a129
cmp dword [esp + 0x1c], 0
je 0x1004a129
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004a098
test dl, dl
je 0x1004a094
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004a098
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004a078
xor eax, eax
jmp 0x1004a09d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004a129
mov ecx, dword [esp + 0x58]
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x44], edx
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a0b7
sub ecx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x28], eax
cmp edx, eax
jae 0x1004a112
test ecx, ecx
je 0x1004a0e4
mov eax, dword [0x10159260]
test eax, eax
je 0x1004a0e4
dec dword [eax + 0x370]
push ecx
call fcn.10105fcb
mov eax, dword [0x10159260]
add esp, 4
test eax, eax
je 0x1004a0fc
inc dword [eax + 0x370]
push dword [esp + 0x28]
call fcn.10105fb5
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
push eax
push dword [esp + 0x5c]
push ecx
call fcn.10101750
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x44]
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2c]
mov ecx, edi
lea edx, [edi + 0x24]
push eax
call fcn.10047c60
mov al, byte [edi + 0xa8]
test al, al
jle 0x1004a149
dec al
mov byte [edi + 0xa8], al
mov al, byte [edi + 0xa9]
test al, al
jle 0x1004a15b
dec al
mov byte [edi + 0xa9], al
mov al, byte [edi + 0xaa]
test al, al
jle 0x1004a16d
dec al
mov byte [edi + 0xaa], al
cmp dword [esp + 0x1c], 0
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0xf]
jne 0x1004a18b
test al, al
je 0x1004a184
test cl, cl
jne 0x1004a18b
mov byte [edi + 0xa9], 1
cmp byte [esp + 0x12], 0
mov edx, dword [esp + 0x14]
je 0x1004a1ea
test edx, 0x6000000
je 0x1004a1ea
mov byte [edi + 0xa9], 1
test dl, 0x40
je 0x1004a1ea
test al, al
jne 0x1004a1bc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x1004a1ce
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [0x10159260]
mov dword [esp + 0x28], eax
mov dword [eax + 0x1b94], edi
mov ecx, dword [edi + 0x19c]
cmp ecx, 0xffffffff
je 0x1004a212
imul ecx, ecx, 0x228
add ecx, dword [eax + 0x1ed8]
jmp 0x1004a214
xor ecx, ecx
mov dword [eax + 0x1ecc], ecx
movss xmm0, dword [edi + 0x280]
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [eax + 0x1934]
test ecx, ecx
je 0x1004a23c
mulss xmm0, dword [ecx + 0x280]
movss dword [eax + 0x1944], xmm0
movss dword [eax + 0x1930], xmm0
mov eax, edx
and eax, 0x1000000
mov dword [esp + 0x40], eax
je 0x1004a263
movss xmm0, dword [esi + 0x1544]
jmp 0x1004a285
test edx, 0x6000000
je 0x1004a27d
test edx, 0x8000000
jne 0x1004a27d
movss xmm0, dword [esi + 0x154c]
jmp 0x1004a285
movss xmm0, dword [esi + 0x1528]
movss dword [edi + 0x48], xmm0
xorps xmm3, xmm3
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 0x1004a2d7
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1004a2d7
test edx, 0x400
je 0x1004a2c8
movss xmm0, dword [esi + 0x1520]
jmp 0x1004a2cb
xorps xmm0, xmm0
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x1560]
maxss xmm0, dword [esi + 0x1c70]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x1c74]
mov dword [edi + 0x158], eax
test dl, 0x21
jne 0x1004a442
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x28]
test dl, 1
je 0x1004a31a
xorps xmm0, xmm0
jmp 0x1004a34c
movss xmm1, dword [edi + 0x280]
mov eax, dword [edi + 0x31c]
mulss xmm1, dword [ecx + 0x1934]
test eax, eax
je 0x1004a33c
mulss xmm1, dword [eax + 0x280]
movss xmm0, dword [ecx + 0x1554]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm4, dword [edi + 0xc]
movaps xmm5, xmm4
addss xmm5, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x10]
cmp dword [esi + 0x1b98], edi
jne 0x1004a40d
cmp dword [esi + 0x1bb4], 0
jne 0x1004a40d
cmp dword [esi + 0x1bb8], 0
jne 0x1004a40d
mov eax, dword [ecx + 0x1b94]
movss xmm1, dword [ecx + 0x1578]
movaps xmm7, xmm1
maxss xmm4, dword [eax + 0x234]
minss xmm5, dword [eax + 0x23c]
movss xmm6, dword [eax + 0x238]
movss xmm2, dword [eax + 0x240]
maxss xmm6, dword [edi + 0x10]
subss xmm4, xmm1
movss xmm1, dword [ecx + 0xe4]
minss xmm2, xmm0
movss xmm0, dword [ecx + 0x157c]
addss xmm7, xmm5
movaps xmm5, xmm0
subss xmm6, xmm0
comiss xmm1, xmm4
addss xmm5, xmm2
jb 0x1004a40d
movss xmm0, dword [ecx + 0xe8]
comiss xmm0, xmm6
jb 0x1004a40d
comiss xmm7, xmm1
jbe 0x1004a40d
comiss xmm5, xmm0
jbe 0x1004a40d
cmp byte [esi + 0x3dd], 0
je 0x1004a40d
mov byte [edi + 0x8e], 1
cmp byte [edi + 0x8e], 0
je 0x1004a449
cmp byte [edi + 0x8d], 0
sete al
mov byte [edi + 0x8d], al
test edx, 0x100
jne 0x1004a449
comiss xmm3, dword [ecx + 0x2e94]
jb 0x1004a449
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2e94], eax
jmp 0x1004a449
mov byte [edi + 0x8d], 0
lea edx, [edi + 0x2c]
mov byte [edi + 0x8e], 0
mov ecx, edi
call fcn.10047d90
mov al, byte [esp + 0x13]
mov byte [esp + 0xe], al
mov eax, dword [esp + 0x14]
and eax, 0x40
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x48], xmm0
mov dword [esp + 0x30], eax
je 0x1004a4b7
cmp byte [edi + 0x8d], 0
jne 0x1004a4b7
cmp byte [esp + 0x10], 0
lea edx, [edi + 0x1c]
jne 0x1004a497
movss dword [edx], xmm0
mov byte [esp + 0x13], 1
cmp byte [esp + 0xf], 0
jne 0x1004a560
movss xmm0, dword [esp + 0x4c]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xe], 1
jmp 0x1004a560
mov al, byte [edi + 0xa0]
test al, al
jg 0x1004a4ce
cmp byte [edi + 0xa1], 0
jle 0x1004a55d
cmp byte [esp + 0x10], 0
lea edx, [edi + 0x1c]
jne 0x1004a500
test al, al
jle 0x1004a500
cmp byte [edi + 0xa3], 0
je 0x1004a4f1
movss xmm0, dword [edx]
maxss xmm0, dword [esp + 0x48]
jmp 0x1004a4f7
movss xmm0, dword [esp + 0x48]
movss dword [edx], xmm0
mov byte [esp + 0x13], 1
cmp byte [esp + 0xf], 0
jne 0x1004a52e
cmp byte [edi + 0xa1], 0
jle 0x1004a52e
cmp byte [edi + 0xa3], 0
movss xmm0, dword [esp + 0x4c]
je 0x1004a524
maxss xmm0, dword [edi + 0x20]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xe], 1
cmp byte [edi + 0x8d], 0
jne 0x1004a560
test dword [edi + 8], 0x100
mov ecx, dword [0x10159260]
jne 0x1004a560
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2e94]
jb 0x1004a560
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2e94], eax
jmp 0x1004a560
lea edx, [edi + 0x1c]
mov ecx, edi
call fcn.10047a50
cmp byte [edi + 0x8d], 0
movaps xmm2, xmm0
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x20], xmm0
je 0x1004a5f8
cmp dword [esp + 0x40], 0
jne 0x1004a5f8
test byte [edi + 8], 1
mov ecx, dword [0x10159260]
je 0x1004a5a4
xorps xmm1, xmm1
jmp 0x1004a5d6
movss xmm0, dword [ecx + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x1004a5c6
mulss xmm0, dword [eax + 0x280]
movss xmm1, dword [ecx + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0xc]
addss xmm1, dword [edi + 0x10]
subss xmm2, dword [edi + 0xc]
subss xmm1, dword [edi + 0x10]
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x24], xmm1
jmp 0x1004a606
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 [0x10159260]
mov dword [edi + 0x18], ecx
test dl, 1
je 0x1004a627
xorps xmm2, xmm2
jmp 0x1004a659
movss xmm0, dword [eax + 0x1934]
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x1004a649
mulss xmm0, dword [ecx + 0x280]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x1004a69d
movss xmm1, dword [eax + 0x1934]
mov ecx, dword [edi + 0x31c]
mulss xmm1, dword [edi + 0x280]
test ecx, ecx
je 0x1004a683
mulss xmm1, dword [ecx + 0x280]
movss xmm0, dword [eax + 0x1554]
addss xmm1, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x1004a6a0
xorps xmm1, xmm1
cmp byte [esp + 0x12], 0
addss xmm1, xmm2
movss dword [esp + 0x78], xmm1
je 0x1004a6f7
mov eax, dword [esp + 0x14]
and eax, 0xc000000
mov dword [edi + 0xa4], 0xffffffff
cmp eax, 0x4000000
jne 0x1004a6f7
cmp byte [esp + 0x11], 0
jne 0x1004a6f7
mov eax, dword [esi + 0x1ce0]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1ce8]
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 + 0x40], 0
je 0x1004a78c
mov edx, dword [esp + 0x34]
add edx, 0x188
mov dword [esp + 0x28], edx
mov ax, word [edx]
mov word [edi + 0x98], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1004a751
test ecx, ecx
je 0x1004a734
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, ecx
jmp 0x1004a739
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10052950
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
cmp dword [esp + 0x2c], 0
mov dl, byte [esp + 0x11]
jne 0x1004a790
test dl, dl
jne 0x1004a790
cmp dword [esp + 0x54], 0x3000000
je 0x1004a790
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0xcc]
mov ecx, dword [ecx + 0xd0]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
jmp 0x1004a790
mov dl, byte [esp + 0x11]
movss xmm2, dword [edi + 0xb0]
ucomiss xmm2, dword [0x10150d6c]
mov al, byte [edi + 0xa9]
lahf
test ah, 0x44
jnp 0x1004a7f7
test al, al
jne 0x1004a7f7
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.1004c1b0
jmp 0x1004a882
mov ecx, dword [esp + 0x14]
test ecx, 0x10000000
je 0x1004a820
mov ecx, edi
call fcn.1004ded0
movss dword [esp + 0x20], xmm0
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
jmp 0x1004a87d
cmp dword [esp + 0x2c], 0
je 0x1004a84c
test dl, dl
jne 0x1004a84c
test al, al
jle 0x1004a84c
mov ecx, edi
call fcn.1004ded0
movss dword [esp + 0x20], xmm0
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
jmp 0x1004a87d
test ecx, 0x2000000
je 0x1004a886
test dl, dl
jne 0x1004a886
cmp dword [esp + 0x54], 0x3000000
je 0x1004a886
mov ecx, edi
call fcn.1004ded0
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 + 0x14]
cmp byte [esp + 0x11], 0
mov edx, dword [0x10159260]
movss xmm2, dword [esi + 0x15c4]
movss xmm3, dword [esi + 0x15c8]
maxss xmm2, dword [esi + 0x15bc]
mov eax, dword [edx + 0x1cf4]
maxss xmm3, dword [esi + 0x15c0]
mov eax, dword [eax]
movss xmm5, dword [eax + 0x14]
movss xmm4, dword [eax + 0x18]
addss xmm5, dword [eax + 0x1c]
addss xmm4, dword [eax + 0x20]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax + 8]
movaps xmm6, xmm1
addss xmm6, dword [eax + 0xc]
movaps xmm7, xmm0
movss dword [esp + 0x50], xmm1
addss xmm7, dword [eax + 0x10]
subss xmm5, xmm2
movss dword [esp + 0x7c], xmm1
addss xmm2, dword [eax + 0x14]
subss xmm4, xmm3
movss dword [esp + 0x28], xmm0
addss xmm3, dword [eax + 0x18]
movss dword [esp + 0x80], xmm0
movss dword [esp + 0xa4], xmm6
movss dword [esp + 0x84], xmm6
movss dword [esp + 0x5c], xmm7
movss dword [esp + 0x88], xmm7
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x94], xmm3
movss dword [esp + 0x98], xmm5
movss dword [esp + 0x9c], xmm4
jne 0x1004aa20
cmp dword [esp + 0x40], 0
jne 0x1004aa20
cmp byte [edi + 0xa0], 0
jg 0x1004aa20
cmp byte [edi + 0xa1], 0
jg 0x1004aa20
movaps xmm0, xmm6
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1004aa20
movaps xmm0, xmm7
subss xmm0, dword [esp + 0x28]
comiss xmm0, xmm1
jbe 0x1004aa20
cmp byte [edx + 0xb5], 0
movss xmm1, dword [edi + 0x18]
je 0x1004a9eb
test byte [edi + 8], 1
jne 0x1004a9eb
movss xmm0, dword [edx + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x1004a9db
mulss xmm0, dword [eax + 0x280]
movss xmm1, dword [edx + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x10]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x14]
comiss xmm3, xmm0
ja 0x1004aa05
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm2, xmm0
ja 0x1004aa16
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [edi + 0xc], xmm2
movss dword [edi + 0x10], xmm3
cmp dword [esp + 0x40], 0
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
je 0x1004aa53
movss xmm2, dword [esi + 0x1540]
jmp 0x1004aa73
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1004aa6b
movss xmm2, dword [esi + 0x1548]
jmp 0x1004aa73
movss xmm2, dword [esi + 0x1524]
xor dl, dl
movss dword [edi + 0x44], xmm2
mov dword [esp + 0x44], edx
cmp byte [esp + 0x12], dl
je 0x1004aaae
test ecx, 0x1000
jne 0x1004aaae
cmp dword [esp + 0x2c], 0
je 0x1004aa9a
mov byte [esp + 0x44], 1
jmp 0x1004aaae
cmp dword [esp + 0x54], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [esp + 0x44], edx
movss xmm1, dword [esi + 0x1930]
xorps xmm0, xmm0
movaps xmmword [esp + 0xc0], xmm0
xor eax, eax
cmp byte [esi + 0xb4], al
movaps xmm0, xmm1
mulss xmm0, dword [0x10150b60]
setne al
mov dword [esp + 0x2c], 0xffffffff
mulss xmm1, dword [0x10150bec]
inc eax
cmp byte [edi + 0x8d], 0
addss xmm0, xmm2
mov dword [esp + 0x20], eax
addss xmm0, dword [0x10150be4]
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x1004ab34
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0xc4]
push ecx
push eax
lea eax, [esp + 0x38]
mov ecx, edi
push eax
lea edx, [esp + 0x58]
call fcn.10048120
test al, al
je 0x1004ab34
mov cl, 1
mov ah, cl
jmp 0x1004ab3c
mov ah, byte [esp + 0x13]
mov cl, byte [esp + 0xe]
cmp byte [edi + 0x8d], 0
mov al, byte [esp + 0x2c]
movss xmm2, dword [esp + 0x78]
mov byte [edi + 0x94], al
jne 0x1004ac83
cmp dword [esp + 0x1c], 0
lea edx, [edi + 0x1c]
movss xmm4, dword [edi + 0x1fc]
xorps xmm0, xmm0
movss xmm5, dword [edi + 0x200]
subss xmm4, dword [edi + 0x1f4]
subss xmm5, dword [edi + 0x1f8]
movss xmm6, dword [edi + 0x20]
movss xmm7, dword [edx]
subss xmm6, xmm2
addss xmm4, dword [edi + 0x80]
addss xmm5, dword [edi + 0x84]
jne 0x1004abab
xorps xmm3, xmm3
xorps xmm1, xmm1
jmp 0x1004abc7
movss xmm3, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x40]
addss xmm3, xmm3
addss xmm1, xmm1
addss xmm3, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
test ah, ah
jne 0x1004abce
movaps xmm7, xmm4
test cl, cl
jne 0x1004abd5
movaps xmm6, xmm5
mov ecx, dword [esp + 0x14]
test ecx, 0x4000
jne 0x1004abef
comiss xmm1, xmm6
jbe 0x1004abeb
test cl, 8
je 0x1004abef
xor dl, dl
jmp 0x1004abf1
mov dl, 1
mov eax, dword [esp + 0x18]
add eax, 0x1588
mov byte [edi + 0x89], dl
test ecx, 0x8000
jne 0x1004ac44
mov dword [esp + 0x1c], eax
test dl, dl
je 0x1004ac16
movss xmm4, dword [eax]
jmp 0x1004ac19
xorps xmm4, xmm4
subss xmm7, xmm4
comiss xmm3, xmm7
jbe 0x1004ac30
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
je 0x1004ac40
mov eax, dword [esp + 0x1c]
xorps xmm1, xmm1
mov byte [edi + 0x88], 0
jmp 0x1004ac69
mov eax, dword [esp + 0x1c]
mov byte [edi + 0x88], 1
test dl, dl
jne 0x1004ac65
comiss xmm1, xmm6
jbe 0x1004ac5d
test cl, 8
jne 0x1004ac5d
mov dl, 1
jmp 0x1004ac5f
xor dl, dl
mov byte [edi + 0x89], dl
movss xmm1, dword [eax]
test dl, dl
je 0x1004ac71
movss xmm0, dword [eax]
movss dword [edi + 0x80], xmm0
movss dword [edi + 0x84], xmm1
jmp 0x1004ac87
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x5000000
mov dword [esp + 0x48], eax
cmp eax, 0x1000000
jne 0x1004acae
cmp dword [esp + 0x54], 0x3000000
je 0x1004acae
mov eax, dword [esp + 0x34]
add eax, 0x234
jmp 0x1004acb2
lea eax, [esp + 0x7c]
test byte [edi + 8], 1
movss xmm6, dword [edi + 0xc]
movups xmm0, xmmword [eax]
mov edx, dword [0x10159260]
movss xmm7, dword [edi + 0x10]
movaps xmm1, xmm6
addss xmm1, dword [edi + 0x14]
movaps xmm3, xmm7
movss dword [esp + 0xb4], xmm6
addss xmm3, dword [edi + 0x18]
movups xmmword [esp + 0x60], xmm0
je 0x1004acee
xorps xmm5, xmm5
jmp 0x1004ad20
movss xmm0, dword [edx + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x1004ad10
mulss xmm0, dword [eax + 0x280]
movss xmm5, dword [edx + 0x1554]
addss xmm5, xmm5
addss xmm5, xmm0
movss xmm4, dword [edi + 0x10]
addss xmm5, xmm7
movaps xmm0, xmm6
movss dword [esp + 0x90], xmm6
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x94], xmm4
mov eax, ecx
mov edx, dword [esp + 0x18]
and eax, 0x401
movss dword [esp + 0x9c], xmm5
movss dword [esp + 0xb0], xmm5
movss dword [esp + 0x98], xmm0
movss dword [edi + 0x1e4], xmm6
movss dword [edi + 0x1e8], xmm7
movss dword [edi + 0x1ec], xmm1
movss dword [edi + 0x1f0], xmm3
movss xmm5, dword [esp + 0x60]
movss xmm6, dword [esp + 0x64]
movaps xmm1, xmm5
movss dword [esp + 0xac], xmm0
movaps xmm0, xmm6
maxss xmm0, xmm7
maxss xmm1, dword [edi + 0x1e4]
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [edi + 0x1e4], xmm1
movss xmm1, dword [esp + 0x68]
minss xmm0, dword [edi + 0x1f0]
minss xmm1, dword [edi + 0x1ec]
movss dword [edi + 0x1f0], xmm0
movss dword [edi + 0x1ec], xmm1
movss xmm7, dword [edi + 0x10]
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm7
movss dword [edi + 0x1f4], xmm1
addss xmm0, xmm2
addss xmm7, dword [edi + 0x18]
movss dword [esp + 0x2c], xmm0
movss dword [edi + 0x1f8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x14]
subss xmm7, dword [edi + 0x84]
subss xmm0, dword [edi + 0x80]
movss dword [edi + 0x200], xmm7
movss dword [esp + 0x8c], xmm0
movss dword [edi + 0x1fc], xmm0
cmp eax, 1
jne 0x1004ae55
movss xmm0, dword [edi + 0x48]
jmp 0x1004ae5d
movss xmm0, dword [edx + 0x155c]
movss xmm2, dword [0x10150b98]
movss dword [esp + 0x1c], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm2
movss xmm3, dword [esp + 0x6c]
subss xmm7, dword [edi + 0x48]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x48]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x204], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm2
addss xmm0, dword [esp + 0x1c]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
movss xmm0, dword [esp + 0x8c]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movd xmm0, ecx
lea ecx, [edi + 0x204]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
movss xmm0, dword [ecx + 4]
comiss xmm6, xmm0
jbe 0x1004af22
movaps xmm1, xmm6
jmp 0x1004af29
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [esp + 0x68]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x1004af40
movaps xmm0, xmm5
jmp 0x1004af47
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [ecx], xmm0
movss dword [ecx + 4], xmm1
movss xmm0, dword [ecx + 0xc]
comiss xmm6, xmm0
ja 0x1004af61
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [ecx + 8]
comiss xmm5, xmm0
ja 0x1004af72
movaps xmm5, xmm7
minss xmm5, xmm0
movss dword [ecx + 8], xmm5
xorps xmm4, xmm4
movss dword [ecx + 0xc], xmm6
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x1004af9d
test dword [esp + 0x14], 0x2000040
jne 0x1004af9d
mulss xmm0, dword [0x10150ba4]
jmp 0x1004afad
movss xmm0, dword [edx + 0x1930]
mulss xmm0, dword [0x10150ca4]
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, xmm4
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, xmm4
movss dword [edi + 0x64], xmm1
call fcn.1004cea0
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x288]
movss dword [edi + 0x58], xmm0
movss dword [esp + 0xb8], 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 + 0xb8], ecx
add ecx, 0x48
movss dword [esp + 0xbc], xmm1
mov eax, dword [eax + 0x30]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1004b0ad
inc edx
mov dword [esp + 0x8c], edx
test eax, eax
je 0x1004b099
cdq
sub eax, edx
mov edx, dword [esp + 0x8c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004b09e
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10052950
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x2c]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
inc dword [ecx]
mov ecx, dword [esp + 0xb8]
mov dword [ecx + 0x70], eax
call fcn.10056070
push 0
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x64]
call fcn.100467d0
test dword [esp + 0x14], 0x8000000
je 0x1004b101
call fcn.1004d670
cmp edi, eax
jne 0x1004b101
cmp byte [edi + 0xa9], 0
jg 0x1004b101
mov dl, 1
jmp 0x1004b103
xor dl, dl
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1e04]
test ecx, ecx
je 0x1004b11d
cmp edi, dword [ecx + 0x320]
jne 0x1004b11d
mov cl, 1
jmp 0x1004b11f
xor cl, cl
mov byte [esp + 0xe], cl
test dl, dl
jne 0x1004b12f
test cl, cl
je 0x1004b243
movss xmm0, dword [eax + 0x1e34]
push 0
push ecx
movzx ecx, dl
add ecx, 0x33
mov dword [esp], 0
call fcn.10041580
mov ecx, dword [edi + 0x288]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.10058240
cmp byte [esp + 0xe], 0
mov eax, dword [esp + 0x18]
je 0x1004b243
cmp edi, dword [eax + 0x1e04]
jne 0x1004b243
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 + 0x50]
comiss xmm0, xmm1
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm4
movss dword [esp + 0x84], xmm2
movss dword [esp + 0x88], xmm3
jb 0x1004b1fd
movss xmm0, dword [esp + 0x28]
comiss xmm0, xmm4
jb 0x1004b1fd
comiss xmm2, dword [esp + 0xa4]
jb 0x1004b1fd
comiss xmm3, dword [esp + 0x5c]
jae 0x1004b243
movss xmm0, dword [eax + 0x1524]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, 0x32
movss xmm0, dword [eax + 0x1e10]
mulss xmm0, dword [0x10150b6c]
call fcn.10041580
mov ecx, dword [edi + 0x288]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.10058240
cmp dword [esp + 0x48], 0x1000000
mov byte [esp + 0xe], 0
jne 0x1004b28c
cmp dword [esp + 0x54], 0x3000000
je 0x1004b28c
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 0x1004b28c
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x288]
cmp dword [eax + 0x18], 0
jle 0x1004b28c
mov byte [esp + 0xe], 1
mov dword [edi + 0x288], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1e00]
test ecx, ecx
jne 0x1004b2a0
mov ecx, dword [eax + 0x1cf8]
cmp byte [esp + 0x44], 0
jne 0x1004b2c0
test ecx, ecx
je 0x1004b2b9
mov eax, dword [edi + 0x324]
cmp eax, dword [ecx + 0x324]
je 0x1004b2c0
mov byte [esp + 0x1c], 0
jmp 0x1004b2c5
mov byte [esp + 0x1c], 1
lea eax, [esp + 0xc0]
movd xmm0, esi
push eax
push dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x98]
mov ecx, edi
push dword [esp + 0x24]
call fcn.10048f20
cmp byte [esp + 0xe], 0
je 0x1004b2fd
lea eax, [edi + 0x28c]
mov dword [edi + 0x288], eax
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x1e04], edi
jne 0x1004b407
movss xmm2, dword [edi + 0xc]
movss xmm1, dword [edi + 0x10]
movaps xmm4, xmm2
movss xmm0, dword [esi + 0x1930]
movaps xmm3, xmm1
addss xmm2, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
movss xmm7, dword [esp + 0x50]
subss xmm4, xmm0
movss xmm6, dword [edi + 0x44]
subss xmm3, xmm0
movss xmm5, dword [esi + 0x1524]
addss xmm2, xmm0
addss xmm1, xmm0
comiss xmm7, xmm4
maxss xmm5, xmm6
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x6c], xmm1
jb 0x1004b3c9
movss xmm7, dword [esp + 0x28]
comiss xmm7, xmm3
jb 0x1004b3c9
comiss xmm2, dword [esp + 0xa4]
jb 0x1004b3c9
comiss xmm1, dword [esp + 0x5c]
jb 0x1004b3c9
xorps xmm0, xmmword [0x10151740]
movaps xmm5, xmm6
subss xmm0, dword [0x10150be4]
subss xmm4, xmm0
subss xmm3, xmm0
addss xmm2, xmm0
addss xmm1, xmm0
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x68], xmm2
movss dword [esp + 0x6c], xmm1
movss xmm0, dword [esi + 0x1e10]
push ecx
mov dword [esp], 0x40400000
mov ecx, 0x32
push 0
sub esp, 8
movss dword [esp + 4], xmm5
call fcn.10041580
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.10058150
mov ecx, dword [esp + 0x14]
xorps xmm6, xmm6
movss xmm5, dword [edi + 0x34]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jnp 0x1004b42b
movaps xmm7, xmm5
jmp 0x1004b461
movss xmm0, dword [edi + 0x3c]
mov eax, ecx
movss xmm7, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm7, xmm0
subss xmm7, dword [edi + 0x80]
cmp eax, 0x800
jne 0x1004b45a
movss xmm0, dword [edi + 0x24]
jmp 0x1004b45d
xorps xmm0, xmm0
maxss xmm7, xmm0
movss xmm3, dword [edi + 0x38]
ucomiss xmm3, xmm6
lahf
test ah, 0x44
jnp 0x1004b474
movaps xmm4, xmm3
jmp 0x1004b4a6
movss xmm0, dword [edi + 0x40]
movss xmm4, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm4, xmm0
subss xmm4, dword [esp + 0x78]
subss xmm4, dword [edi + 0x84]
test dl, dl
je 0x1004b49f
movss xmm0, dword [edi + 0x28]
jmp 0x1004b4a2
xorps xmm0, xmm0
maxss xmm4, xmm0
movss xmm1, dword [edi + 0x3c]
movss xmm2, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1f4]
subss xmm0, dword [edi + 0x58]
movss xmm6, dword [edi + 0x5c]
movss dword [esp + 0x20], xmm1
maxss xmm1, xmm2
movss dword [esp + 0x5c], xmm6
addss xmm1, xmm0
movss xmm0, dword [edi + 0x40]
movss dword [esp + 0x48], xmm0
maxss xmm2, xmm0
movss xmm0, dword [edi + 0x1f8]
subss xmm0, xmm6
cvttss2si eax, xmm1
addss xmm2, xmm0
movd xmm1, eax
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x20]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm7, xmm1
movss dword [edi + 0x214], xmm1
addss xmm4, xmm0
movss dword [edi + 0x218], xmm0
movss xmm1, dword [esp + 0x78]
movss dword [edi + 0x21c], xmm7
movss xmm7, dword [esp + 0x48]
movss dword [edi + 0x220], xmm4
movups xmm0, xmmword [edi + 0x214]
movss xmm4, dword [edi + 0xc]
movups xmmword [edi + 0x224], xmm0
movaps xmm0, xmm4
subss xmm0, dword [edi + 0x58]
addss xmm0, xmm2
movss dword [esp + 0x20], xmm0
movss dword [edi + 0x244], xmm0
movss xmm0, dword [edi + 0x10]
subss xmm0, xmm6
xorps xmm6, xmm6
ucomiss xmm5, xmm6
addss xmm0, xmm7
lahf
addss xmm0, xmm1
movss dword [esp + 0x48], xmm0
movss dword [edi + 0x248], xmm0
test ah, 0x44
jp 0x1004b5b5
movss xmm5, dword [edi + 0x14]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
subss xmm5, dword [edi + 0x80]
addss xmm5, dword [esp + 0x20]
ucomiss xmm3, xmm6
movss dword [edi + 0x24c], xmm5
lahf
test ah, 0x44
jp 0x1004b5e8
movss xmm3, dword [edi + 0x18]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm3, xmm0
subss xmm3, xmm1
subss xmm3, dword [edi + 0x84]
subss xmm2, dword [edi + 0x58]
addss xmm3, dword [esp + 0x48]
addss xmm1, xmm7
lea ecx, [edi + 0x174]
addss xmm4, xmm2
movss dword [edi + 0x250], xmm3
subss xmm1, dword [esp + 0x5c]
movss dword [edi + 0x10c], xmm2
mov dword [edi + 0x114], 0
mov dword [edi + 0x110], 0
addss xmm1, dword [edi + 0x10]
movss dword [edi + 0xdc], xmm4
movss dword [edi + 0xe0], xmm1
movss dword [edi + 0xcc], xmm4
movss dword [edi + 0xd0], xmm1
movss dword [edi + 0xd4], xmm4
movss dword [edi + 0xd8], xmm1
movss dword [edi + 0xe4], xmm4
movss dword [edi + 0xe8], xmm1
movss dword [edi + 0xec], xmm4
movss dword [edi + 0xf0], xmm1
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
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, xmm6
seta al
cmp byte [esp + 0x12], 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 0x1004b734
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
xor edx, edx
test edx, edx
je 0x1004b75b
movss xmm0, dword [ecx]
comiss xmm0, xmm6
jbe 0x1004b75b
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 0x1004b736
mov dword [edi + 0x180], 0
lea eax, [edi + 0x188]
mov dword [edi + 0x184], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004b7d5
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.10052950
lea eax, [edi + 0x188]
mov dword [eax], 0
lea eax, [edi + 0x268]
mov dword [edi + 0x194], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x198], 0
mov dword [edi + 0x1a0], 1
test eax, eax
je 0x1004b80b
mov eax, dword [eax + 0x1a0]
jmp 0x1004b810
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 0x1004b86f
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.10052950
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004b8a4
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.10052950
lea eax, [edi + 0x1c8]
mov dword [eax], 0
mov al, byte [edi + 0xa0]
test al, al
jle 0x1004b8bc
dec al
mov byte [edi + 0xa0], al
mov al, byte [edi + 0xa1]
test al, al
jle 0x1004b8ce
dec al
mov byte [edi + 0xa1], al
cmp byte [esp + 0x44], 0
je 0x1004b8e5
mov ecx, edi
call fcn.1004bd10
xor dl, dl
mov ecx, edi
call fcn.1004ea20
test byte [esp + 0x14], 1
jne 0x1004b954
movss xmm0, dword [edi + 0x48]
lea edx, [esp + 0x7c]
addss xmm0, dword [esp + 0xb4]
push dword [esp + 0xa8]
mov ecx, edi
push dword [esp + 0x5c]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0xb4]
subss xmm0, dword [edi + 0x48]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x90], xmm0
call fcn.100494d0
movss xmm3, dword [esp + 0xb4]
xor eax, eax
movss xmm4, dword [esp + 0xac]
movss xmm2, dword [esp + 0xb0]
movss xmm5, dword [esp + 0x94]
mov dword [edi + 0x254], eax
mov eax, dword [0x10159260]
movss xmm1, dword [eax + 0x1578]
movss xmm0, dword [eax + 0x157c]
subss xmm3, xmm1
addss xmm4, xmm1
movss xmm1, dword [eax + 0xe4]
addss xmm2, xmm0
subss xmm5, xmm0
comiss xmm1, xmm3
jb 0x1004b9d0
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm5
jb 0x1004b9d0
comiss xmm4, xmm1
jbe 0x1004b9d0
comiss xmm2, xmm0
jbe 0x1004b9d0
mov ecx, 1
jmp 0x1004b9d2
xor ecx, ecx
mov eax, dword [edi + 0x50]
movups xmm0, xmmword [esp + 0x90]
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], ecx
movups xmmword [edi + 0x120], xmm0
jmp 0x1004ba67
mov eax, dword [0x10159260]
mov dword [eax + 0x1b94], edi
mov ecx, dword [edi + 0x19c]
cmp ecx, 0xffffffff
je 0x1004ba16
imul ecx, ecx, 0x228
add ecx, dword [eax + 0x1ed8]
jmp 0x1004ba18
xor ecx, ecx
movss xmm0, dword [eax + 0x1934]
mov dword [eax + 0x1ecc], ecx
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x1004ba40
mulss xmm0, dword [ecx + 0x280]
movss dword [eax + 0x1944], xmm0
movss dword [eax + 0x1930], xmm0
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0x1000000
and eax, 0x40
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x40], 0
lea edx, [edi + 0x20c]
mov ecx, dword [esi + 0x1cbc]
mov eax, dword [esi + 0x1cc4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x1b0], eax
je 0x1004ba96
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x14c]
jmp 0x1004ba98
xor eax, eax
push 1
lea ecx, [edi + 0x204]
mov dword [edi + 0x14c], eax
call fcn.100467d0
mov eax, dword [esp + 0x38]
mov byte [edi + 0x8c], 0
inc word [edi + 0x96]
mov dword [esi + 0x1c18], 0
cmp eax, dword [esp + 0x3c]
je 0x1004bbf4
cmp dword [esp + 0x40], 0
je 0x1004bb61
cmp dword [esp + 0x30], 0
jne 0x1004bb27
cmp byte [edi + 0xa0], 0
jg 0x1004bb27
cmp byte [edi + 0xa1], 0
jg 0x1004bb27
cmp byte [esi + 0x2ed8], 0
jne 0x1004bb27
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jae 0x1004bb20
movss xmm0, dword [edi + 0x1e8]
comiss xmm0, dword [edi + 0x1f0]
jb 0x1004bb27
mov byte [edi + 0xa8], 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1004bb61
cmp byte [eax + 0x8d], 0
jne 0x1004bb41
cmp byte [eax + 0xa8], 0
jle 0x1004bb48
mov byte [edi + 0xa8], 1
cmp byte [eax + 0x8d], 0
jne 0x1004bb5a
cmp byte [eax + 0xa9], 0
jle 0x1004bb61
mov byte [edi + 0xa9], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x1004bb74
mov byte [edi + 0xa8], 1
cmp byte [edi + 0xa8], 0
jg 0x1004bb93
cmp byte [edi + 0xa9], 0
jg 0x1004bb93
cmp byte [edi + 0xaa], 0
jg 0x1004bb93
xor cl, cl
jmp 0x1004bb95
mov cl, 1
mov byte [edi + 0x91], cl
mov al, byte [edi + 0xab]
test al, al
jle 0x1004bbb4
dec al
mov byte [edi + 0xab], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0x8d], al
jne 0x1004bbca
cmp byte [edi + 0x8a], al
je 0x1004bbca
test cl, cl
je 0x1004bbee
cmp byte [edi + 0xa0], 0
jg 0x1004bbee
cmp byte [edi + 0xa1], 0
jg 0x1004bbee
cmp byte [edi + 0xa9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x8f], al
cmp byte [edi + 0x8f], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret 4