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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x46ed48]
push edi
push eax
mov dword [ebp - 0x14], esi
call fcn.00409a20
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
test edi, edi
sete cl
mov byte [ebp - 9], cl
test eax, eax
jne 0x404715
mov edx, dword [esi + 0x1a88]
and edx, 2
je 0x4046d3
mov eax, dword [esi + 0x1aa8]
mov ecx, dword [esi + 0x1aac]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
jmp 0x4046e1
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push dword [ebx + 0x10]
test edx, edx
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x44]
cmovne eax, ecx
movss xmm0, dword [eax]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x2c], xmm0
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebx + 8]
call fcn.00408530
add esp, 0x10
mov edi, eax
mov eax, dword [ebx + 0x10]
mov ecx, eax
and ecx, 0xc0200
mov edx, eax
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [edi + 0x24c]
cmovne edx, eax
mov dword [ebp - 0x1c], ecx
cmp dword [esi + 0x19ec], 0
lea ecx, [esi + 0x19ec]
mov eax, dword [esi + 0x19b0]
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x48], ecx
jne 0x404762
cmp byte [esi + 0x19bd], 0
mov byte [ebp - 1], 1
jne 0x404766
mov byte [ebp - 1], 0
mov dl, byte [ebp - 1]
dec eax
cmp dword [ebp - 0x1c], eax
mov byte [edi + 0x82], dl
mov edx, dword [edi + 0x9c]
setl al
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 8]
mov byte [ebp - 0x64], al
test edx, 0x4000000
je 0x4047c5
mov ecx, dword [ebp - 0x14]
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 - 0x14]
mov edx, dword [ebp - 8]
setne al
or cl, al
mov al, byte [ebp - 0x64]
or al, cl
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 0x64], al
test al, al
jne 0x4047d7
cmp dword [ebp - 0x24], 0
jg 0x4047d7
mov byte [edi + 0x80], al
jmp 0x4047f3
or dword [edi + 0xa0], 8
or dword [edi + 0xa4], 8
or dword [edi + 0xa8], 8
mov byte [edi + 0x80], 1
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], eax
je 0x404837
mov dword [edi + 0x24c], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x19a8]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x88], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x1a04]
inc dword [esi + 0x1a04]
mov word [edi + 0x8a], ax
jmp 0x40483d
mov edx, dword [edi + 8]
mov dword [ebp - 8], edx
cmp dword [ecx], 0
jne 0x40484b
mov dword [ebp - 0x10], 0
jmp 0x40485d
mov eax, dword [esi + 0x19f4]
mov esi, dword [ecx]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
je 0x404877
and edx, 0x5000000
neg edx
sbb edx, edx
and edx, dword [ebp - 0x10]
mov dword [ebp - 0x38], edx
jmp 0x404880
mov eax, dword [edi + 0x2f4]
mov dword [ebp - 0x38], eax
cmp dword [edi + 0xbc], 0
lea eax, [edi + 0xbc]
jne 0x4048bb
cmp dword [eax + 4], 0
jne 0x4048a4
push 8
mov ecx, eax
call fcn.00417080
lea eax, [edi + 0xbc]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
lea ecx, [esi + 0x19ec]
inc dword [edi + 0xbc]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x4048ef
inc edx
mov dword [ebp - 0x48], edx
test eax, eax
je 0x4048d9
cdq
sub eax, edx
mov edx, dword [ebp - 0x48]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x4048de
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00417080
lea ecx, [esi + 0x19ec]
mov ecx, dword [ecx]
lea edx, [edi + 0x1e0]
mov eax, dword [esi + 0x19f4]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x19ec]
mov dword [esi + 0x1a08], 0
mov ecx, dword [0x46ed48]
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
movzx eax, word [ecx + 0x1b08]
mov word [edx + 8], ax
movzx eax, word [ecx + 0x1b14]
mov ecx, dword [ebp - 8]
mov word [edx + 0xa], ax
mov eax, ecx
and eax, 0x4000000
mov dword [ebp - 0x18], eax
je 0x404998
mov eax, dword [esi + 0x1b2c]
lea edx, [esi + 0x1b2c]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1b28]
mov dword [eax + ecx*4 + 4], edi
lea esi, [eax + ecx*4]
mov ecx, edx
push esi
call fcn.00416e50
mov eax, dword [esi]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [edi + 0x8c], eax
cmp dword [ebp - 0x24], 0
jle 0x4049b0
test ecx, 0x1000000
jne 0x4049b0
mov dword [edi + 0x308], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
je 0x404a37
mov edx, dword [ebp - 0x38]
mov dword [edi + 0x2f4], edx
mov dword [edi + 0x300], edi
mov dword [edi + 0x2fc], edi
mov dword [edi + 0x2f8], edi
test edx, edx
je 0x404a0d
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x4049f1
mov eax, dword [edx + 0x2f8]
mov dword [edi + 0x2f8], eax
test ecx, 0x8000000
jne 0x404a0d
test ecx, 0x5000000
je 0x404a0d
mov eax, dword [edx + 0x2fc]
mov dword [edi + 0x2fc], eax
test dword [edi + 8], 0x800000
je 0x404a37
mov ecx, edi
nop dword [eax + eax]
mov eax, dword [ecx + 0x2f4]
mov ecx, eax
mov dword [edi + 0x300], eax
test dword [ecx + 8], 0x800000
jne 0x404a20
test byte [esi + 0x1a88], 1
mov byte [ebp - 3], 0
mov byte [ebp - 4], 0
mov byte [ebp - 2], 0
je 0x404ad9
mov ecx, dword [esi + 0x1a8c]
mov eax, ecx
mov edx, dword [edi + 0xa0]
test edx, ecx
setne byte [ebp - 3]
test edx, eax
je 0x404ac8
movss xmm1, dword [esi + 0x1aa4]
movss xmm0, dword [esi + 0x1aa0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x45b7f4]
jbe 0x404ac8
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 0x404ad9
push ecx
lea eax, [esi + 0x1a98]
push eax
push edi
call fcn.00414230
add esp, 0xc
test byte [esi + 0x1a88], 2
je 0x404b32
mov eax, dword [edi + 0xa4]
lea ecx, [esi + 0x1aa8]
mov edx, dword [esi + 0x1a90]
xorps xmm1, xmm1
and eax, edx
je 0x404b0a
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x404b0a
mov byte [ebp - 4], 1
jmp 0x404b12
mov byte [ebp - 4], 0
test eax, eax
je 0x404b23
movss xmm0, dword [esi + 0x1aac]
comiss xmm0, xmm1
mov byte [ebp - 2], 1
ja 0x404b27
mov byte [ebp - 2], 0
push edx
push ecx
push edi
call fcn.00414310
add esp, 0xc
test byte [esi + 0x1a88], 0x80
je 0x404b70
movss xmm1, dword [esi + 0x1ab8]
xorps xmm0, xmm0
comiss xmm1, xmm0
jb 0x404b57
movss dword [edi + 0x60], xmm1
mov dword [edi + 0x68], 0
movss xmm1, dword [esi + 0x1abc]
comiss xmm1, xmm0
jb 0x404b70
movss dword [edi + 0x64], xmm1
mov dword [edi + 0x6c], 0
test byte [esi + 0x1a88], 4
je 0x404b8d
mov eax, dword [esi + 0x1ab0]
mov ecx, dword [esi + 0x1ab4]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x404ba3
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
je 0x404ba3
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test byte [esi + 0x1a88], 8
je 0x404bce
mov eax, dword [esi + 0x1a94]
mov cl, byte [esi + 0x1ac0]
test eax, eax
je 0x404bc4
test dword [edi + 0xa8], eax
je 0x404bce
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0x7d], cl
test byte [esi + 0x1a88], 0x20
je 0x404be0
push edi
call fcn.00409c00
add esp, 4
cmp byte [edi + 0x80], 0
je 0x404bfe
and dword [edi + 0xa0], 0xfffffff7
and dword [edi + 0xa4], 0xfffffff7
and dword [edi + 0xa8], 0xfffffff7
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
je 0x406495
mov eax, dword [ebp - 8]
lea ecx, [edi + 0xbc]
and eax, 0x3000000
mov byte [edi + 0x7a], 1
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0x20], 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 [ecx + 4]
mov dword [ebp - 0x48], eax
cmp eax, 1
jge 0x404c8a
test eax, eax
je 0x404c6f
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0x48]
jmp 0x404c74
mov edx, 8
mov eax, 1
cmp edx, eax
cmovg eax, edx
push eax
call fcn.00417080
lea ecx, [edi + 0xbc]
mov dword [ecx], 1
cmp byte [edi + 0x330], 0
je 0x404d65
mov ecx, dword [edi + 0x278]
push dword [edi + 0x334]
add ecx, 0xc
mov byte [edi + 0x330], 0
call fcn.00417000
mov eax, dword [edi + 0x278]
mov ecx, dword [edi + 0x338]
add eax, 0x18
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x48], ecx
cmp ecx, dword [eax + 4]
jle 0x404d51
mov eax, dword [0x46ed48]
test eax, eax
je 0x404ce1
inc dword [eax + 0x374]
push dword [0x46ed50]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [section..data]
mov dword [ebp - 0x3c], eax
add esp, 8
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 8]
test edx, edx
je 0x404d45
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0x3c]
call fcn.0043e1a0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x404d32
mov eax, dword [0x46ed48]
test eax, eax
je 0x404d32
dec dword [eax + 0x374]
push dword [0x46ed50]
push ecx
call dword [0x46e004]
mov eax, dword [ebp - 0x10]
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x48]
mov dword [eax + 4], ecx
mov dword [edi + 0x338], 0
mov dword [edi + 0x334], 0
cmp dword [esi + 0x1c40], 0
mov edx, dword [ebp - 0x34]
je 0x404e4b
test dword [edi + 8], 0x80000
jne 0x404e4b
test edx, edx
je 0x404e4b
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x404db4
test dl, dl
je 0x404db0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x404db4
add eax, 2
add ecx, 2
test dl, dl
jne 0x404d94
xor eax, eax
jmp 0x404db9
sbb eax, eax
or eax, 1
test eax, eax
je 0x404e48
mov ecx, dword [ebx + 8]
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x1c], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x48], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404dd0
sub ecx, dword [ebp - 0x48]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
cmp edx, eax
jae 0x404e33
test ecx, ecx
je 0x404dfa
mov eax, dword [0x46ed48]
test eax, eax
je 0x404dfa
dec dword [eax + 0x374]
push dword [0x46ed50]
push ecx
call dword [0x46e004]
mov eax, dword [0x46ed48]
add esp, 8
test eax, eax
je 0x404e19
inc dword [eax + 0x374]
push dword [0x46ed50]
push dword [ebp - 0x10]
call dword [section..data]
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push eax
push dword [ebx + 8]
push ecx
call fcn.0043e1a0
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x44], eax
mov edx, dword [ebp - 0x34]
cmp byte [edi + 0x7d], 0
je 0x404e78
cmp byte [edi + 0x90], 0
jg 0x404e78
cmp byte [edi + 0x91], 0
jg 0x404e78
movss xmm2, dword [edi + 0x24]
lea eax, [edi + 0x24]
movss xmm0, dword [eax + 4]
xorps xmm1, xmm1
jmp 0x404efd
cmp byte [edi + 0x81], 0
je 0x404ea5
cmp dword [edi + 0x9c], 0
jne 0x404ea5
cmp dword [edi + 0x98], 0
jle 0x404ea5
movss xmm2, dword [edi + 0x24]
lea eax, [edi + 0x24]
movss xmm0, dword [eax + 4]
xorps xmm1, xmm1
jmp 0x404efd
movss xmm0, dword [edi + 0x2c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x404ec6
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0xd8]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x30]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
test ah, 0x44
jp 0x404eef
movss xmm0, dword [edi + 0xe4]
subss xmm0, dword [edi + 0xdc]
cvttss2si eax, xmm0
movd xmm0, eax
lea eax, [edi + 0x24]
cvtdq2ps xmm0, xmm0
movss dword [eax], xmm2
movss dword [eax + 4], xmm0
mov eax, dword [edi + 0x98]
test eax, eax
jle 0x404f17
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x404f28
dec eax
mov dword [edi + 0x9c], eax
mov al, byte [ebp - 4]
mov cl, byte [ebp - 2]
test edx, edx
jne 0x404f44
test al, al
je 0x404f3a
test cl, cl
jne 0x404f44
mov dword [edi + 0x9c], 1
cmp byte [ebp - 0x64], 0
mov edx, dword [ebp - 8]
je 0x404f96
test edx, 0x6000000
je 0x404f96
mov dword [edi + 0x9c], 1
test dl, 0x40
je 0x404f96
test al, al
jne 0x404f76
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x404f88
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, dword [0x46ed48]
mov dword [ecx + 0x1a08], edi
mov eax, dword [0x46ed48]
movss xmm0, dword [eax + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x404fc9
mulss xmm0, dword [eax + 0x270]
mov eax, edx
movss dword [ecx + 0x18e4], xmm0
and eax, 0x1000000
movss dword [ecx + 0x18d0], xmm0
mov dword [ebp - 0x1c], eax
je 0x404fef
movss xmm0, dword [esi + 0x1544]
jmp 0x405011
test edx, 0x6000000
je 0x405009
test edx, 0x8000000
jne 0x405009
movss xmm0, dword [esi + 0x154c]
jmp 0x405011
movss xmm0, dword [esi + 0x1528]
movss dword [edi + 0x40], xmm0
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 0x40505b
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40505b
test edx, 0x400
je 0x40504f
movss xmm1, dword [esi + 0x1520]
mov dword [edi + 0x34], 0
movss dword [edi + 0x38], xmm1
test dl, 0x21
jne 0x4050c9
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.00414bb0
cmp dword [esi + 0x1a0c], edi
jne 0x4050a8
cmp dword [esi + 0x1a28], 0
jne 0x4050a8
cmp dword [esi + 0x1a30], 0
jne 0x4050a8
push 1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040c280
add esp, 0xc
test al, al
je 0x4050a8
cmp byte [esi + 0x3e5], 0
je 0x4050a8
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x4050cd
cmp byte [edi + 0x7d], 0
push edi
sete al
mov byte [edi + 0x7d], al
call fcn.0040ccb0
push edi
call fcn.00409c00
add esp, 8
jmp 0x4050cd
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x7e], 0
push eax
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.004075d0
mov al, byte [ebp - 9]
add esp, 0xc
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
and eax, 0x40
mov dword [ebp - 0x48], eax
je 0x40512a
cmp byte [edi + 0x7d], 0
jne 0x40512a
cmp byte [ebp - 4], 0
jne 0x40510d
movss xmm0, dword [ebp - 0x44]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 9], 1
cmp byte [ebp - 2], 0
jne 0x4051ca
movss xmm0, dword [ebp - 0x40]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 1], 1
jmp 0x4051ca
mov al, byte [edi + 0x90]
test al, al
jg 0x405141
cmp byte [edi + 0x91], 0
jle 0x4051ca
cmp byte [ebp - 4], 0
jne 0x40516e
test al, al
jle 0x40516e
cmp byte [edi + 0x93], 0
je 0x405160
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x44]
jmp 0x405165
movss xmm0, dword [ebp - 0x44]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 9], 1
cmp byte [ebp - 2], 0
jne 0x4051a0
cmp byte [edi + 0x91], 0
jle 0x4051a0
cmp byte [edi + 0x93], 0
je 0x405192
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x40]
jmp 0x405197
movss xmm0, dword [ebp - 0x40]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 1], 1
cmp byte [edi + 0x7d], 0
jne 0x4051ca
test dword [edi + 8], 0x100
mov ecx, dword [0x46ed48]
jne 0x4051ca
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2db4]
jb 0x4051ca
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2db4], eax
push dword [edi + 0x20]
lea eax, [ebp - 0x30]
push dword [edi + 0x1c]
push edi
push eax
call fcn.00407900
add esp, 0x10
cmp byte [edi + 0x7d], 0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x1c], xmm0
movss dword [edi + 0x20], xmm1
je 0x405229
cmp dword [ebp - 0x1c], 0
jne 0x405229
lea eax, [ebp - 0xa0]
mov ecx, edi
push eax
call fcn.00414bb0
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [ebp - 0x2c], xmm0
jmp 0x405235
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov edx, dword [edi + 8]
lea ecx, [ebp - 0x30]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov eax, dword [0x46ed48]
test dl, 1
je 0x405255
xorps xmm1, xmm1
jmp 0x405287
movss xmm0, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x405277
mulss xmm0, dword [ecx + 0x270]
movss xmm1, dword [eax + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x4052cb
movss xmm2, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm2, dword [edi + 0x270]
test ecx, ecx
je 0x4052b1
mulss xmm2, dword [ecx + 0x270]
movss xmm0, dword [eax + 0x1554]
addss xmm2, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x4052ce
xorps xmm2, xmm2
cmp byte [ebp - 0x64], 0
addss xmm2, xmm1
movss dword [ebp - 0x3c], xmm2
je 0x405318
cmp dword [ebp - 0x18], 0
mov dword [edi + 0x94], 0xffffffff
je 0x405318
cmp byte [ebp - 3], 0
jne 0x405318
mov eax, dword [esi + 0x1b2c]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1b34]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cmp dword [ebp - 0x1c], 0
je 0x4053a2
mov edx, dword [ebp - 0x38]
add edx, 0x180
mov dword [ebp - 0x10], edx
mov ax, word [edx]
mov word [edi + 0x88], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x40536c
test ecx, ecx
je 0x405351
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x10]
sar eax, 1
add eax, ecx
jmp 0x405356
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00417080
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [ebp - 0x18]
mov al, byte [ebp - 3]
test ecx, ecx
jne 0x4053a8
test al, al
jne 0x4053a8
cmp dword [ebp - 0x20], 0x3000000
je 0x4053a8
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x18]
mov al, byte [ebp - 3]
movss xmm1, dword [edi + 0xac]
ucomiss xmm1, dword [0x45b89c]
lahf
test ah, 0x44
jnp 0x40540b
cmp dword [edi + 0x9c], 0
jne 0x40540b
movss xmm0, dword [edi + 0x1c]
lea eax, [ebp - 0x30]
mulss xmm0, dword [edi + 0xb4]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xb0]
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [edi + 0xb8]
mulss xmm1, dword [edi + 0x20]
subss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
call fcn.00414230
add esp, 0xc
jmp 0x405459
mov edx, dword [ebp - 8]
test edx, 0x10000000
jne 0x405439
test ecx, ecx
je 0x405424
test al, al
jne 0x405424
cmp dword [ebp - 0x24], 0
jg 0x405439
test edx, 0x2000000
je 0x40545c
test al, al
jne 0x40545c
cmp dword [ebp - 0x20], 0x3000000
je 0x40545c
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00409420
add esp, 8
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov edx, dword [ebp - 8]
cmp byte [ebp - 3], 0
mov eax, dword [0x46ed48]
movss xmm4, dword [eax + 0x10]
movss xmm3, dword [eax + 0x14]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
movss dword [ebp - 0x6c], xmm4
movss dword [ebp - 0x68], xmm3
jne 0x40559b
cmp dword [ebp - 0x1c], 0
jne 0x40559b
cmp byte [edi + 0x90], 0
jg 0x40559b
cmp byte [edi + 0x91], 0
jg 0x40559b
movss xmm6, dword [esi + 0x15ac]
xorps xmm5, xmm5
movss xmm7, dword [esi + 0x15b0]
movaps xmm0, xmm4
maxss xmm6, dword [esi + 0x15b4]
maxss xmm7, dword [esi + 0x15b8]
subss xmm0, xmm5
comiss xmm0, xmm5
jbe 0x40559b
movaps xmm0, xmm3
subss xmm0, xmm5
comiss xmm0, xmm5
jbe 0x40559b
cmp byte [eax + 0xb4], 0
je 0x405546
test byte [edi + 8], 1
jne 0x405546
movss xmm0, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x405525
mulss xmm0, dword [ecx + 0x270]
movss xmm1, dword [eax + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x2c], xmm1
jmp 0x405552
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x30]
movss xmm0, dword [eax]
subss xmm4, xmm6
addss xmm0, dword [edi + 0xc]
addss xmm6, xmm5
subss xmm3, xmm7
addss xmm7, xmm5
maxss xmm0, xmm6
subss xmm0, dword [eax]
minss xmm4, xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0xc], xmm4
maxss xmm0, xmm7
subss xmm0, dword [eax + 4]
minss xmm3, xmm0
movss dword [edi + 0x10], xmm3
cmp dword [ebp - 0x1c], 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 0x4055cd
movss xmm2, dword [esi + 0x1540]
jmp 0x4055ed
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x4055e5
movss xmm2, dword [esi + 0x1548]
jmp 0x4055ed
movss xmm2, dword [esi + 0x1524]
xor cl, cl
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x10], ecx
cmp byte [ebp - 0x64], cl
je 0x405622
test edx, 0x1000
jne 0x405622
cmp dword [ebp - 0x18], 0
je 0x405610
mov byte [ebp - 0x10], 1
jmp 0x405622
cmp dword [ebp - 0x20], 0
mov eax, 1
movzx ecx, cl
cmove ecx, eax
mov dword [ebp - 0x10], ecx
movss xmm1, dword [esi + 0x18d0]
xorps xmm0, xmm0
addss xmm2, dword [0x45b844]
movaps xmmword [ebp - 0xa0], xmm0
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x45b810]
setne al
mov dword [ebp - 0x24], 0xffffffff
mulss xmm0, dword [0x45b84c]
inc eax
cmp byte [edi + 0x7d], 0
addss xmm2, xmm1
mov dword [ebp - 0x2c], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x40569a
lea ecx, [ebp - 0xa0]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
push edi
call fcn.00415c80
add esp, 0x14
test al, al
je 0x40569a
mov cl, 1
mov dl, cl
jmp 0x4056a0
mov dl, byte [ebp - 9]
mov cl, byte [ebp - 1]
cmp byte [edi + 0x7d], 0
mov al, byte [ebp - 0x24]
movss xmm7, dword [ebp - 0x3c]
mov byte [edi + 0x84], al
jne 0x4057ea
cmp dword [ebp - 0x34], 0
lea eax, [ebp - 0x44]
movss xmm2, dword [edi + 0x204]
movss xmm3, dword [edi + 0x208]
subss xmm2, dword [edi + 0x1fc]
subss xmm3, dword [edi + 0x200]
movss xmm4, dword [edi + 0x20]
movss xmm5, dword [edi + 0x1c]
subss xmm4, xmm7
mov dword [ebp - 0x24], eax
addss xmm2, dword [edi + 0x70]
addss xmm3, dword [edi + 0x74]
jne 0x40570c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
jmp 0x405732
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 - 0x44], xmm0
movss dword [ebp - 0x40], xmm1
movss xmm6, dword [eax + 4]
test dl, dl
jne 0x40573e
movaps xmm5, xmm2
test cl, cl
jne 0x405745
movaps xmm4, xmm3
mov edx, dword [ebp - 8]
test edx, 0x4000
jne 0x40575e
comiss xmm6, xmm4
jbe 0x40575a
test dl, 8
je 0x40575e
xor al, al
jmp 0x405760
mov al, 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x1580
mov byte [ebp - 1], al
mov byte [edi + 0x79], al
test edx, 0x8000
jne 0x4057b4
xorps xmm0, xmm0
test al, al
je 0x405784
movss xmm1, dword [ecx]
jmp 0x405787
xorps xmm1, xmm1
mov edx, dword [ebp - 0x24]
subss xmm5, xmm1
movss xmm1, dword [edx]
comiss xmm1, xmm5
mov edx, dword [ebp - 8]
jbe 0x4057ab
mov eax, edx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 1]
je 0x4057b4
mov byte [edi + 0x78], 0
xorps xmm1, xmm1
jmp 0x4057d6
mov byte [edi + 0x78], 1
test al, al
jne 0x4057cf
comiss xmm6, xmm4
jbe 0x4057ca
test dl, 8
jne 0x4057ca
mov al, 1
jmp 0x4057cc
xor al, al
mov byte [edi + 0x79], al
movss xmm1, dword [ecx]
xorps xmm0, xmm0
test al, al
je 0x4057de
movss xmm0, dword [ecx]
movss dword [edi + 0x70], xmm0
movss dword [edi + 0x74], xmm1
jmp 0x4057ed
mov edx, dword [ebp - 8]
mov eax, edx
and eax, 0x5000000
mov dword [ebp - 0x40], eax
cmp eax, 0x1000000
jne 0x405811
cmp dword [ebp - 0x20], 0x3000000
je 0x405811
mov eax, dword [ebp - 0x38]
add eax, 0x22c
jmp 0x405814
lea eax, [ebp - 0x74]
test byte [edi + 8], 1
movups xmm0, xmmword [eax]
mov ecx, dword [0x46ed48]
movss xmm1, dword [edi + 0x10]
movups xmmword [ebp - 0x60], xmm0
movss xmm0, dword [edi + 0xc]
movaps xmm6, xmm1
addss xmm6, dword [edi + 0x18]
movaps xmm5, xmm0
movss dword [ebp - 0x24], xmm0
addss xmm5, dword [edi + 0x14]
movss dword [ebp - 0x18], xmm1
je 0x405850
xorps xmm3, xmm3
jmp 0x405887
movss xmm0, dword [ecx + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x405872
mulss xmm0, dword [eax + 0x270]
movss xmm3, dword [ecx + 0x1554]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x24]
movaps xmm2, xmm0
movss dword [ebp - 0x90], xmm0
addss xmm2, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x10]
addss xmm1, xmm3
movss dword [ebp - 0x8c], xmm0
mov eax, edx
movss xmm0, dword [ebp - 0x24]
and eax, 0x401
mov edx, dword [ebp - 0x14]
xorps xmm4, xmm4
movss dword [ebp - 0x88], xmm2
movss dword [ebp - 0x84], xmm1
movss xmm1, dword [ebp - 0x18]
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm1
movss dword [edi + 0x1f4], xmm5
movss dword [edi + 0x1f8], xmm6
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 xmm0, dword [edi + 0x10]
movss xmm1, dword [edi + 0xc]
addss xmm0, xmm7
movss xmm7, dword [edi + 0x10]
movss dword [edi + 0x1fc], xmm1
addss xmm7, dword [edi + 0x18]
movss dword [ebp - 0x18], 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 - 0x34], xmm0
movss dword [edi + 0x204], xmm0
cmp eax, 1
jne 0x4059a3
movss xmm0, dword [edi + 0x40]
jmp 0x4059ab
movss xmm0, dword [edx + 0x155c]
movss xmm2, dword [0x45b81c]
movss dword [ebp - 0x24], 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 - 0x18]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x24]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
movss xmm0, dword [ebp - 0x34]
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
lea ecx, [edi + 0x20c]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x218], xmm0
movss xmm0, dword [ecx + 4]
comiss xmm6, xmm0
jbe 0x405a68
movaps xmm1, xmm6
jmp 0x405a6f
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [ebp - 0x58]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x405a85
movaps xmm0, xmm5
jmp 0x405a8c
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [ecx], xmm0
movss dword [ecx + 4], xmm1
movss xmm0, dword [ecx + 0xc]
comiss xmm6, xmm0
ja 0x405aa6
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [ecx + 8]
comiss xmm5, xmm0
ja 0x405ab7
movaps xmm5, xmm7
minss xmm5, xmm0
movss dword [ecx + 8], xmm5
movss dword [ecx + 0xc], xmm6
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x405ade
test dword [ebp - 8], 0x2000040
jne 0x405ade
mulss xmm0, dword [0x45b824]
jmp 0x405aee
movss xmm0, dword [edx + 0x18d0]
mulss xmm0, dword [0x45b87c]
cvttss2si eax, xmm0
push 1
push edi
movd xmm0, eax
lea eax, [ebp - 0x28]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 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.00407290
mov ecx, dword [edi + 0x278]
add esp, 0xc
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x50], xmm0
movss dword [edi + 0x54], xmm1
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
call fcn.00419e90
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18cc]
mov ecx, dword [edi + 0x278]
mov eax, dword [eax + 0x38]
push dword [eax + 8]
call fcn.0041c890
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00410e00
add esp, 0xc
test dword [ebp - 8], 0x8000000
je 0x405be3
call fcn.0040ac90
cmp edi, eax
jne 0x405be3
cmp dword [edi + 0x9c], 0
jg 0x405be3
mov dl, 1
jmp 0x405be5
xor dl, dl
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c3c]
test ecx, ecx
je 0x405bfe
cmp edi, dword [ecx + 0x2f8]
jne 0x405bfe
mov cl, 1
jmp 0x405c00
xor cl, cl
mov byte [ebp - 1], cl
test dl, dl
jne 0x405c0f
test cl, cl
je 0x405d10
movss xmm0, dword [eax + 0x1cb0]
push ecx
movzx eax, dl
add eax, 0x2e
movss dword [esp], xmm0
push eax
call fcn.0040a270
add esp, 8
push 0xf
push ecx
mov ecx, dword [edi + 0x278]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00419320
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 0x14]
je 0x405d10
cmp edi, dword [eax + 0x1c3c]
jne 0x405d10
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [eax + 0x18d0]
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 - 0x74]
comiss xmm0, xmm1
movss dword [ebp - 0x60], xmm1
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x58], xmm2
movss dword [ebp - 0x54], xmm3
jb 0x405cc9
movss xmm0, dword [ebp - 0x70]
comiss xmm0, xmm4
jb 0x405cc9
comiss xmm2, dword [ebp - 0x6c]
jb 0x405cc9
comiss xmm3, dword [ebp - 0x68]
jae 0x405d10
movss xmm0, dword [eax + 0x1c48]
mulss xmm0, dword [0x45b814]
push ecx
movss dword [esp], xmm0
push 0x2d
call fcn.0040a270
add esp, 8
push 0xf
push ecx
mov ecx, dword [ebp - 0x14]
movss xmm0, dword [ecx + 0x1524]
mov ecx, dword [edi + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00419320
cmp dword [ebp - 0x40], 0x1000000
mov byte [ebp - 1], 0
jne 0x405d54
cmp dword [ebp - 0x20], 0x3000000
je 0x405d54
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 0x405d54
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
jle 0x405d54
mov byte [ebp - 1], 1
mov dword [edi + 0x278], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c38]
test ecx, ecx
jne 0x405d67
mov ecx, dword [eax + 0x1b38]
cmp byte [ebp - 0x10], 0
jne 0x405d85
test ecx, ecx
je 0x405d7f
mov eax, dword [edi + 0x2fc]
cmp eax, dword [ecx + 0x2fc]
je 0x405d85
mov byte [ebp - 0x24], 0
jmp 0x405d89
mov byte [ebp - 0x24], 1
movd xmm0, esi
lea eax, [ebp - 0xa0]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x90]
push dword [ebp - 0x24]
push eax
push edi
call fcn.00412560
add esp, 0x18
cmp byte [ebp - 1], 0
je 0x405dc5
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov esi, dword [ebp - 0x14]
cmp dword [esi + 0x1c3c], edi
jne 0x405ec7
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm5, xmm2
movss xmm6, dword [edi + 0x3c]
movaps xmm4, xmm3
movss xmm1, dword [esi + 0x18d0]
movaps xmm0, xmm6
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
maxss xmm0, dword [esi + 0x1524]
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm2, xmm1
addss xmm3, xmm1
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x74]
comiss xmm0, xmm5
movss dword [ebp - 0x60], xmm5
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x58], xmm2
movss dword [ebp - 0x54], xmm3
jb 0x405e87
movss xmm0, dword [ebp - 0x70]
comiss xmm0, xmm4
jb 0x405e87
comiss xmm2, dword [ebp - 0x6c]
jb 0x405e87
comiss xmm3, dword [ebp - 0x68]
jb 0x405e87
xorps xmm1, xmmword [0x45b990]
subss xmm1, dword [0x45b844]
movss dword [ebp - 0x24], xmm6
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm2, xmm1
addss xmm3, xmm1
movss dword [ebp - 0x60], xmm5
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x58], xmm2
movss dword [ebp - 0x54], xmm3
movss xmm0, dword [esi + 0x1c48]
push ecx
movss dword [esp], xmm0
push 0x2d
call fcn.0040a270
movss xmm0, dword [ebp - 0x24]
add esp, 4
mov dword [esp], 0x40400000
push 0xffffffffffffffff
push ecx
mov ecx, dword [edi + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00419230
mov ecx, dword [ebp - 8]
xorps xmm2, xmm2
movss xmm6, dword [edi + 0x2c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm2
lahf
test ah, 0x44
jnp 0x405eec
movss dword [ebp - 0x18], xmm6
jmp 0x405f24
movss xmm0, dword [edi + 0x34]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x70]
cmp eax, 0x800
jne 0x405f18
movss xmm0, dword [edi + 0x24]
jmp 0x405f1b
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [ebp - 0x18], xmm0
movss xmm4, dword [edi + 0x30]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x405f39
movss dword [ebp - 0x34], xmm4
jmp 0x405f6c
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x3c]
subss xmm1, dword [edi + 0x74]
test dl, dl
je 0x405f60
movss xmm0, dword [edi + 0x28]
jmp 0x405f63
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [ebp - 0x34], xmm0
movss xmm7, dword [edi + 0x34]
movss xmm2, dword [edi + 0x50]
movaps xmm1, xmm7
maxss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x1fc]
movss xmm5, dword [edi + 0x38]
subss xmm0, xmm2
movss xmm3, dword [edi + 0x10]
movss dword [ebp - 0x20], xmm2
addss xmm1, xmm0
movss xmm0, dword [edi + 0x54]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [edi + 0x200]
subss xmm0, dword [ebp - 0x24]
subss xmm3, dword [ebp - 0x24]
cvttss2si eax, xmm1
movaps xmm1, xmm5
addss xmm3, xmm5
maxss xmm1, dword [edi + 0x40]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x21c], xmm2
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x18]
addss xmm1, xmm2
movss xmm2, dword [ebp - 0x3c]
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 - 0x40], xmm0
subss xmm0, dword [ebp - 0x20]
movss dword [edi + 0x228], xmm1
xorps xmm1, xmm1
ucomiss xmm6, xmm1
addss xmm0, xmm7
lahf
movss dword [edi + 0x23c], xmm0
movss dword [ebp - 0x2c], xmm0
movss dword [edi + 0x240], xmm3
test ah, 0x44
jp 0x406068
movss xmm6, dword [edi + 0x14]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm6, xmm0
movss xmm0, dword [ebp - 0x2c]
subss xmm6, dword [edi + 0x70]
ucomiss xmm4, xmm1
addss xmm6, xmm0
lahf
movss dword [edi + 0x244], xmm6
test ah, 0x44
jp 0x406096
movss xmm4, dword [edi + 0x18]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm4, xmm0
subss xmm4, xmm2
subss xmm4, dword [edi + 0x74]
cmp dword [ebp - 0x1c], 0
addss xmm4, xmm3
movaps xmm0, xmm7
addss xmm5, xmm2
addss xmm0, xmm1
movss dword [edi + 0x248], xmm4
subss xmm5, dword [ebp - 0x24]
subss xmm0, dword [ebp - 0x20]
movss dword [edi + 0x100], xmm0
addss xmm0, xmm1
mov dword [edi + 0x108], 0
mov dword [edi + 0x104], 0
addss xmm5, dword [edi + 0x10]
addss xmm0, dword [ebp - 0x40]
movss dword [edi + 0xd8], xmm0
movss dword [edi + 0xdc], xmm5
movss dword [edi + 0xc8], xmm0
movss dword [edi + 0xcc], xmm5
movss dword [edi + 0xd0], xmm0
movss dword [edi + 0xd4], xmm5
movss dword [edi + 0xe0], xmm0
movss dword [edi + 0xe4], xmm5
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
je 0x406198
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x144]
jmp 0x40619a
xor eax, eax
mov dword [edi + 0x144], eax
mov byte [edi + 0x148], 0
movss xmm0, dword [edi + 0x5c]
push dword [ebp - 0x64]
comiss xmm0, xmm1
push ecx
lea ecx, [edi + 0x154]
seta al
mov byte [edi + 0x149], al
mov byte [edi + 0x14a], 0
maxss xmm7, dword [esi + 0x1560]
maxss xmm7, dword [esi + 0x1ae0]
movss dword [edi + 0x14c], xmm7
mov eax, dword [esi + 0x1ae4]
mov dword [edi + 0x150], eax
movss xmm0, dword [esi + 0x1560]
movss dword [esp], xmm0
push 3
call fcn.00435fe0
mov dword [edi + 0x178], 0
lea eax, [edi + 0x180]
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x406244
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.00417080
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 1
test eax, eax
je 0x406279
mov eax, dword [eax + 0x194]
jmp 0x40627e
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 0x4062dd
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.00417080
lea eax, [edi + 0x1b0]
mov dword [eax], 0
lea eax, [edi + 0x1bc]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x406312
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.00417080
lea eax, [edi + 0x1bc]
lea ecx, [edi + 0x1c8]
mov dword [eax], 0
mov eax, dword [ecx + 4]
test eax, eax
jns 0x406340
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, dword [ecx + 4]
test eax, eax
cmovg edx, eax
push edx
call fcn.00417080
lea ecx, [edi + 0x1c8]
mov dword [ecx], 0
lea ecx, [edi + 0x1d4]
push 0
call fcn.00417290
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x406376
mov eax, dword [eax + 0x1a4]
lea edx, [edi + 0x1a4]
push edx
lea ecx, [edi + 0x1b0]
mov dword [edx], eax
call fcn.00416d30
jmp 0x406380
mov dword [edi + 0x1a4], 0
mov cl, byte [edi + 0x90]
test cl, cl
jle 0x406392
dec cl
mov byte [edi + 0x90], cl
mov cl, byte [edi + 0x91]
test cl, cl
jle 0x4063a4
dec cl
mov byte [edi + 0x91], cl
cmp byte [ebp - 0x10], 0
je 0x4063bb
push edi
call fcn.00409c00
push 0
push edi
call fcn.0040cea0
add esp, 0xc
test byte [ebp - 8], 1
jne 0x4063d7
push dword [ebx + 0xc]
lea eax, [ebp - 0x90]
push dword [ebx + 8]
push eax
push edi
call fcn.004130f0
add esp, 0x10
mov eax, dword [edi + 0x48]
movss xmm2, dword [ebp - 0x90]
movss xmm3, dword [ebp - 0x88]
movss xmm4, dword [ebp - 0x84]
mov dword [edi + 0x10c], eax
mov eax, dword [0x46ed48]
movss xmm1, dword [eax + 0x1570]
movss xmm0, dword [eax + 0x1574]
subss xmm2, xmm1
movss xmm5, dword [eax + 0xe8]
addss xmm3, xmm1
movss xmm1, dword [ebp - 0x8c]
addss xmm4, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x406450
movss xmm0, dword [eax + 0xec]
comiss xmm0, xmm1
jb 0x406450
comiss xmm3, xmm5
jbe 0x406450
comiss xmm4, xmm0
jbe 0x406450
mov eax, 1
jmp 0x406452
xor eax, eax
movups xmm0, xmmword [ebp - 0x90]
mov dword [edi + 0x110], eax
lea ecx, [edi + 0x20c]
push 1
lea eax, [edi + 0x214]
push eax
push ecx
movups xmmword [edi + 0x114], xmm0
call fcn.00410e00
lea ecx, [edi + 0x91]
mov byte [edi + 0x7c], 0
lea edx, [edi + 0x90]
mov dword [ebp - 0x24], ecx
mov eax, edx
jmp 0x406524
mov ecx, dword [0x46ed48]
mov dword [ecx + 0x1a08], edi
mov eax, dword [0x46ed48]
movss xmm0, dword [eax + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x4064c8
mulss xmm0, dword [eax + 0x270]
mov edx, dword [ebp - 8]
lea eax, [edi + 0x20c]
mov esi, edx
movss dword [ecx + 0x18e4], xmm0
and edx, 0x40
movss dword [ecx + 0x18d0], xmm0
mov dword [ebp - 8], edx
lea ecx, [edi + 0x214]
lea edx, [edi + 0x90]
and esi, 0x1000000
push 1
mov dword [ebp - 0x10], edx
lea edx, [edi + 0x91]
push ecx
push eax
mov dword [ebp - 0x24], edx
call fcn.00410e00
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov eax, edx
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x14]
inc word [edi + 0x86]
add esp, 0xc
cmp dword [ebp - 0x1c], 0
mov dword [esi + 0x1a88], 0
je 0x4065f6
cmp dword [ebp - 0x48], 0
jne 0x406581
cmp byte [eax], 0
jg 0x406581
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
jg 0x406581
movss xmm0, dword [edi + 0x1ec]
comiss xmm0, dword [edi + 0x1f4]
jae 0x406577
movss xmm0, dword [edi + 0x1f0]
comiss xmm0, dword [edi + 0x1f8]
jb 0x406581
mov dword [edi + 0x98], 1
lea eax, [edi + 0x98]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4065cf
cmp byte [eax + 0x7d], 0
jne 0x4065a0
cmp dword [eax + 0x98], 0
jle 0x4065aa
mov dword [edi + 0x98], 1
cmp byte [eax + 0x7d], 0
lea esi, [edi + 0x98]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x14]
jne 0x4065c5
cmp dword [eax + 0x9c], 0
jle 0x4065cf
mov dword [edi + 0x9c], 1
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x4065e4
mov dword [eax], 1
cmp dword [eax], 0
jg 0x4065fe
cmp dword [edi + 0x9c], 0
jg 0x4065fe
xor al, al
jmp 0x406600
lea eax, [edi + 0x98]
jmp 0x4065d2
mov al, 1
mov byte [ebp - 1], al
mov byte [edi + 0x81], al
xor al, al
cmp byte [edi + 0x7d], al
jne 0x40661a
cmp byte [edi + 0x7a], al
je 0x40661a
cmp byte [ebp - 1], al
je 0x406636
cmp byte [edx], 0
jg 0x406636
cmp byte [ecx], 0
jg 0x406636
cmp dword [edi + 0x9c], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x7f], al
xor al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret