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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd8
mov eax, dword [0x4d706c]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x4d8ff8]
mov dword [esp + 0x48], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edi
call fcn.004083ba
mov esi, eax
test esi, esi
mov dword [esp + 0x54], esi
sete byte [esp + 0x16]
test esi, esi
jne 0x40a0e7
test byte [edi + 0x1a78], 2
je 0x40a0bf
mov eax, dword [edi + 0x1a98]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x1a9c]
mov dword [esp + 0x64], eax
jmp 0x40a0c9
and dword [esp + 0x60], 0
and dword [esp + 0x64], 0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x60]
push dword [eax + 4]
mov ecx, dword [esp + 0x28]
push dword [eax]
call fcn.004083fd
pop ecx
mov esi, eax
pop ecx
mov dword [esp + 0x54], esi
mov ecx, dword [esp + 0x18]
mov eax, ecx
and eax, 0xc0200
mov edx, ecx
or edx, 6
cmp eax, 0xc0200
mov eax, dword [esi + 0x24c]
cmovne edx, ecx
mov dword [esp + 0x3c], eax
lea eax, [edi + 0x19dc]
mov dword [esp + 0x10], edx
mov edx, dword [edi + 0x19a8]
xor ecx, ecx
mov dword [esp + 0x38], edx
cmp dword [eax], ecx
jne 0x40a130
cmp byte [edi + 0x19b5], cl
je 0x40a130
xor eax, eax
inc eax
jmp 0x40a132
mov al, cl
mov byte [esi + 0x82], al
lea eax, [edx - 1]
mov esi, dword [esp + 0x54]
cmp dword [esi + 0x24c], eax
mov edx, dword [esi + 0x9c]
setl al
mov dword [esp + 0x18], edx
test dword [esp + 0x10], 0x4000000
mov byte [esp + 0x30], al
je 0x40a18c
imul edx, dword [edi + 0x1b14], 0x24
mov eax, dword [esi + 0x8c]
add edx, dword [edi + 0x1b10]
cmp esi, dword [edx + 4]
setne cl
cmp eax, dword [edx]
setne al
or cl, al
mov al, byte [esp + 0x30]
or al, cl
xor ecx, ecx
mov byte [esp + 0x30], al
test al, al
jne 0x40a19e
cmp dword [esp + 0x18], 0
jg 0x40a19e
mov al, cl
xor ecx, ecx
inc ecx
jmp 0x40a1a3
xor ecx, ecx
inc ecx
mov al, cl
mov byte [esi + 0x80], al
mov esi, dword [esp + 0x54]
cmp byte [esi + 0x80], 0
je 0x40a1c6
push ecx
push 8
pop edx
mov ecx, esi
call fcn.0040835a
mov esi, dword [esp + 0x58]
pop ecx
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x3c], ecx
je 0x40a228
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 0x24c], ecx
xor ecx, ecx
movsd xmm0, qword [edi + 0x19a0]
mov eax, dword [esp + 0x54]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x250], xmm0
mov eax, dword [esp + 0x54]
mov word [eax + 0x88], cx
mov eax, dword [esp + 0x54]
mov cx, word [edi + 0x19f4]
mov word [eax + 0x8a], cx
inc dword [edi + 0x19f4]
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
jmp 0x40a22f
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov edx, dword [edi + 0x19dc]
test edx, edx
je 0x40a243
mov eax, dword [edi + 0x19e4]
mov edx, dword [eax + edx*4 - 4]
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x38]
je 0x40a25c
mov eax, ecx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, edx
jmp 0x40a262
mov eax, dword [esi + 0x2f4]
lea ecx, [esi + 0xbc]
mov dword [esp + 0x2c], eax
cmp dword [ecx], 0
jne 0x40a27a
lea eax, [esi + 4]
push eax
call fcn.00410cc7
lea eax, [esp + 0x54]
push eax
lea ecx, [edi + 0x19dc]
call fcn.00410bc6
mov ecx, dword [esp + 0x54]
xor eax, eax
and dword [edi + 0x19f8], 0
inc eax
mov dl, al
call fcn.0040cb80
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x34], ecx
je 0x40a2dd
mov eax, dword [esp + 0x54]
lea ecx, [edi + 0x1b14]
imul esi, dword [ecx], 0x24
add esi, dword [edi + 0x1b10]
push esi
mov dword [esi + 4], eax
call fcn.00410a52
mov eax, dword [esp + 0x54]
mov ecx, dword [esi]
mov dword [eax + 0x8c], ecx
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], 0
jle 0x40a2f6
test eax, 0x1000000
jne 0x40a2f6
mov eax, dword [esp + 0x54]
and dword [eax + 0x308], 0
xor ecx, ecx
xor eax, eax
inc ecx
mov byte [esp + 0xf], al
mov byte [esp + 0xe], al
mov byte [esp + 0xd], al
test byte [edi + 0x1a78], cl
je 0x40a3a3
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 0x1a7c]
mov eax, dword [ecx + 0xa0]
and eax, edx
setne byte [esp + 0xf]
test eax, eax
je 0x40a394
movss xmm1, dword [edi + 0x1a94]
movss xmm0, dword [edi + 0x1a90]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x4ce750]
jbe 0x40a394
mov eax, dword [edi + 0x1a88]
mov dword [ecx + 0xac], eax
mov eax, dword [edi + 0x1a8c]
mov dword [ecx + 0xb0], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [edi + 0x1a90]
mov dword [ecx + 0xb4], eax
mov eax, dword [edi + 0x1a94]
mov dword [ecx + 0xb8], eax
mov eax, dword [esp + 0x54]
and dword [eax + 0xa0], 0xfffffff1
jmp 0x40a3a1
push edx
lea edx, [edi + 0x1a88]
call fcn.0040c37b
pop ecx
xor eax, eax
mov ecx, dword [edi + 0x1a78]
test cl, 2
je 0x40a40f
mov ecx, dword [esp + 0x54]
lea edx, [edi + 0x1a98]
xorps xmm1, xmm1
mov ecx, dword [ecx + 0xa4]
and ecx, dword [edi + 0x1a80]
je 0x40a3d7
movss xmm0, dword [edx]
comiss xmm0, xmm1
mov byte [esp + 0xe], 1
ja 0x40a3db
mov byte [esp + 0xe], al
mov esi, edx
test ecx, ecx
je 0x40a3f3
movss xmm0, dword [edi + 0x1a9c]
comiss xmm0, xmm1
jbe 0x40a3f3
xor eax, eax
inc eax
jmp 0x40a3f5
mov edx, esi
push dword [edi + 0x1a80]
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x11], al
call fcn.0040c45d
pop ecx
mov ecx, dword [edi + 0x1a78]
mov esi, dword [esp + 0x38]
test cl, 4
je 0x40a430
mov ecx, dword [esp + 0x54]
mov eax, dword [edi + 0x1aa0]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x1aa4]
mov dword [ecx + 0x30], eax
jmp 0x40a44b
cmp dword [esp + 0x3c], esi
je 0x40a44b
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
movss dword [eax + 0x2c], xmm0
mov eax, dword [esp + 0x54]
movss dword [eax + 0x30], xmm0
mov eax, dword [edi + 0x1a78]
test al, 8
je 0x40a489
mov cl, byte [edi + 0x1aa8]
mov edx, dword [edi + 0x1a84]
mov byte [esp + 0xc], cl
mov ecx, dword [esp + 0x54]
test edx, edx
je 0x40a475
test dword [ecx + 0xa8], edx
je 0x40a48d
mov al, byte [esp + 0xc]
and dword [ecx + 0xa8], 0xfffffff1
mov byte [ecx + 0x7d], al
mov eax, dword [edi + 0x1a78]
mov ecx, dword [esp + 0x54]
test al, 0x20
je 0x40a49a
call fcn.0040bd17
mov ecx, dword [esp + 0x54]
cmp byte [ecx + 0x80], 0
je 0x40a4b2
push 0
push 8
pop edx
call fcn.0040835a
pop ecx
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x3c], esi
je 0x40ba43
mov edx, dword [esp + 0x10]
push dword [esp + 0x2c]
and edx, 0x3000000
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
call fcn.00409fdc
mov eax, dword [esp + 0x58]
movaps xmm0, xmmword [0x4cf020]
pop ecx
xor ecx, ecx
inc ecx
cmp dword [esp + 0x48], 0
mov byte [eax + 0x7a], cl
mov eax, dword [esp + 0x54]
setne cl
movups xmmword [esp + 0x78], xmm0
mov byte [eax + 0x83], cl
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x6c]
call fcn.00402f84
mov edi, dword [esp + 0x54]
lea esi, [esp + 0x68]
xor eax, eax
inc eax
push eax
lea edi, [edi + 0x22c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x58]
lea ecx, [ecx + 0xbc]
call fcn.00410d85
mov edx, dword [esp + 0x54]
cmp byte [edx + 0x330], 0
je 0x40a54b
mov ecx, edx
call fcn.004055a5
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x20]
xor eax, eax
cmp dword [esi + 0x1c20], eax
je 0x40a5e3
test dword [edx + 8], 0x80000
jne 0x40a5e3
cmp byte [esp + 0x16], al
jne 0x40a5e3
mov ecx, dword [edx]
mov edi, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
mov dl, byte [ecx]
cmp dl, byte [edi]
mov byte [esp + 0xc], dl
mov edx, dword [esp + 0x54]
jne 0x40a5aa
cmp byte [esp + 0xc], al
je 0x40a5b1
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
mov byte [esp + 0xc], dl
mov edx, dword [esp + 0x54]
jne 0x40a5aa
add ecx, 2
add edi, 2
cmp byte [esp + 0xc], al
jne 0x40a578
jmp 0x40a5b1
sbb eax, eax
xor ecx, ecx
inc ecx
or eax, ecx
test eax, eax
je 0x40a5e3
mov eax, dword [edx + 0x44]
lea edx, [esp + 0x5c]
push dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
call fcn.00404054
pop ecx
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0x44], eax
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x68]
call fcn.00408791
mov edx, dword [esp + 0x54]
mov ecx, dword [eax]
mov dword [edx + 0x24], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x28], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x98]
test eax, eax
jle 0x40a610
dec eax
mov dword [ecx + 0x98], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x9c]
test eax, eax
jle 0x40a625
dec eax
mov dword [ecx + 0x9c], eax
cmp byte [esp + 0x16], 0
mov dl, byte [esp + 0xe]
mov dh, byte [esp + 0xd]
je 0x40a649
test dl, dl
je 0x40a63c
test dh, dh
jne 0x40a649
mov eax, dword [esp + 0x54]
xor ecx, ecx
inc ecx
mov dword [eax + 0x9c], ecx
cmp byte [esp + 0x30], 0
je 0x40a6ac
mov ecx, dword [esp + 0x10]
test ecx, 0x6000000
je 0x40a6ac
mov eax, dword [esp + 0x54]
mov dword [eax + 0x9c], 1
test cl, 0x40
je 0x40a6ac
test dl, dl
jne 0x40a683
mov eax, dword [esp + 0x54]
and dword [eax + 0x1c], 0
mov eax, dword [esp + 0x54]
and dword [eax + 0x14], 0
test dh, dh
jne 0x40a697
mov eax, dword [esp + 0x54]
and dword [eax + 0x20], 0
mov eax, dword [esp + 0x54]
and dword [eax + 0x18], 0
mov eax, dword [esp + 0x54]
xorps xmm0, xmm0
movss dword [eax + 0x24], xmm0
mov eax, dword [esp + 0x54]
movss dword [eax + 0x28], xmm0
mov ecx, dword [esp + 0x54]
call fcn.004054c6
mov edx, dword [esp + 0x10]
mov edi, edx
and edi, 0x1000000
mov dword [esp + 0x5c], edi
je 0x40a6d6
mov eax, dword [esp + 0x54]
mov ecx, dword [esi + 0x153c]
mov dword [eax + 0x40], ecx
jmp 0x40a701
test edx, 0x6000000
je 0x40a6f0
test edx, 0x8000000
jne 0x40a6f0
movss xmm0, dword [esi + 0x1544]
jmp 0x40a6f8
movss xmm0, dword [esi + 0x1520]
mov eax, dword [esp + 0x54]
movss dword [eax + 0x40], xmm0
mov ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x1514]
mov dword [ecx + 0x34], eax
mov eax, dword [esi + 0x1518]
mov dword [ecx + 0x38], eax
test edi, edi
je 0x40a75b
test edx, 0x4010000
jne 0x40a75b
mov ecx, dword [esp + 0x54]
xorps xmm1, xmm1
movss xmm0, dword [ecx + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40a75f
test edx, 0x400
je 0x40a74a
movss xmm0, dword [esi + 0x1518]
jmp 0x40a74d
xorps xmm0, xmm0
movss dword [ecx + 0x34], xmm1
mov eax, dword [esp + 0x54]
movss dword [eax + 0x38], xmm0
mov ecx, dword [esp + 0x54]
test dl, 0x21
jne 0x40a7de
lea eax, [esp + 0x78]
push eax
call fcn.00403b49
mov eax, dword [esi + 0x19fc]
cmp eax, dword [esp + 0x54]
jne 0x40a7b6
xor eax, eax
cmp dword [esi + 0x1a18], eax
jne 0x40a7b6
cmp dword [esi + 0x1a20], eax
jne 0x40a7b6
inc eax
lea edx, [esp + 0x80]
push eax
lea ecx, [esp + 0x7c]
call fcn.00407cdf
pop ecx
test al, al
je 0x40a7b6
cmp byte [esi + 0x3dd], 0
je 0x40a7b6
mov eax, dword [esp + 0x54]
xor ecx, ecx
inc ecx
mov byte [eax + 0x7e], cl
mov ecx, dword [esp + 0x54]
cmp byte [ecx + 0x7e], 0
je 0x40a7e2
cmp byte [ecx + 0x7d], 0
sete al
mov byte [ecx + 0x7d], al
mov ecx, dword [esp + 0x54]
call fcn.00410223
mov ecx, dword [esp + 0x54]
call fcn.0040bd17
jmp 0x40a7e2
mov byte [ecx + 0x7d], 0
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x60]
mov byte [eax + 0x7e], 0
mov edx, dword [esp + 0x54]
lea eax, [edx + 0x24]
push eax
call fcn.00408832
mov al, byte [esp + 0x1a]
mov edx, dword [esp + 0x58]
mov byte [esp + 0x1b], al
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x14]
pop ecx
test al, 0x40
je 0x40a856
cmp byte [edx + 0x7d], 0
jne 0x40a856
xor eax, eax
inc eax
cmp byte [esp + 0xe], 0
jne 0x40a837
movss xmm0, dword [esp + 0x60]
movss dword [edx + 0x1c], xmm0
mov edx, dword [esp + 0x54]
mov byte [esp + 0x17], al
cmp byte [esp + 0xd], 0
jne 0x40a8f3
movss xmm0, dword [esp + 0x64]
movss dword [edx + 0x20], xmm0
mov byte [esp + 0xc], al
jmp 0x40a8ef
mov al, byte [edx + 0x90]
test al, al
jg 0x40a86d
cmp byte [edx + 0x91], 0
jle 0x40a8f3
cmp byte [esp + 0xe], 0
jne 0x40a8a6
test al, al
jle 0x40a8a6
cmp byte [edx + 0x93], 0
je 0x40a88e
movss xmm0, dword [edx + 0x1c]
maxss xmm0, dword [esp + 0x60]
jmp 0x40a894
movss xmm0, dword [esp + 0x60]
xor eax, eax
movss dword [edx + 0x1c], xmm0
mov edx, dword [esp + 0x54]
inc eax
mov byte [esp + 0x17], al
jmp 0x40a8a9
xor eax, eax
inc eax
cmp byte [esp + 0xd], 0
jne 0x40a8e2
cmp byte [edx + 0x91], 0
jle 0x40a8e2
cmp byte [edx + 0x93], 0
je 0x40a8cf
movss xmm0, dword [edx + 0x20]
maxss xmm0, dword [esp + 0x64]
jmp 0x40a8d5
movss xmm0, dword [esp + 0x64]
movss dword [edx + 0x20], xmm0
mov edx, dword [esp + 0x54]
mov byte [esp + 0xc], al
cmp byte [edx + 0x7d], 0
jne 0x40a8f3
mov ecx, edx
call fcn.00410223
mov edx, dword [esp + 0x54]
push dword [edx + 0x20]
lea ecx, [esp + 0x6c]
push dword [edx + 0x1c]
call fcn.00408602
mov edx, dword [esp + 0x5c]
pop ecx
pop ecx
mov ecx, dword [eax]
mov dword [edx + 0x1c], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x20], eax
mov ecx, dword [esp + 0x54]
cmp byte [ecx + 0x7d], 0
je 0x40a93f
test edi, edi
jne 0x40a93f
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00403b49
mov ecx, eax
call fcn.00402fae
mov ecx, dword [esp + 0x54]
mov edx, eax
jmp 0x40a951
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [edx]
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 4]
mov dword [ecx + 0x18], eax
mov ecx, dword [esp + 0x54]
call fcn.00403b7e
mov ecx, dword [esp + 0x54]
movss dword [esp + 0x28], xmm0
call fcn.00403b24
cmp byte [esp + 0x30], 0
movss xmm1, dword [esp + 0x28]
addss xmm1, xmm0
movss dword [esp + 0x28], xmm1
je 0x40a9cb
mov eax, dword [esp + 0x54]
or dword [eax + 0x94], 0xffffffff
cmp dword [esp + 0x34], 0
je 0x40a9cb
cmp byte [esp + 0xf], 0
jne 0x40a9cb
imul esi, dword [esi + 0x1b14], 0x24
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
mov ecx, dword [ecx + 0x1b1c]
mov eax, dword [esi + ecx - 0x10]
mov dword [edx + 0xc], eax
mov eax, dword [esi + ecx - 0xc]
mov esi, dword [esp + 0x20]
mov dword [edx + 0x10], eax
test edi, edi
je 0x40aa8e
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
lea ecx, [edi + 0x180]
mov dx, word [ecx]
mov word [eax + 0x88], dx
lea eax, [esp + 0x54]
push eax
call fcn.00410bc6
cmp dword [esp + 0x34], 0
mov dl, byte [esp + 0xf]
jne 0x40aa24
test dl, dl
jne 0x40aa24
cmp dword [esp + 0x1c], 0x3000000
je 0x40aa24
mov ecx, dword [esp + 0x54]
mov eax, dword [edi + 0xc8]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0xcc]
mov dword [ecx + 0x10], eax
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
movss xmm2, dword [ecx + 0xac]
ucomiss xmm2, dword [0x4ce87c]
lahf
test ah, 0x44
jnp 0x40aa94
xor eax, eax
cmp dword [ecx + 0x9c], eax
jne 0x40aa94
movss xmm0, dword [ecx + 0x20]
lea edx, [esp + 0x40]
mulss xmm0, dword [ecx + 0xb8]
push eax
movss xmm1, dword [ecx + 0xb0]
subss xmm1, xmm0
movss xmm0, dword [ecx + 0xb4]
mulss xmm0, dword [ecx + 0x1c]
subss xmm2, xmm0
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x44], xmm2
call fcn.0040c37b
pop ecx
jmp 0x40aae0
mov dl, byte [esp + 0xf]
jmp 0x40aa28
mov eax, dword [esp + 0x10]
test eax, 0x10000000
jne 0x40aac6
cmp dword [esp + 0x34], 0
je 0x40aab1
test dl, dl
jne 0x40aab1
cmp dword [esp + 0x18], 0
jg 0x40aac6
test eax, 0x2000000
je 0x40aae0
test dl, dl
jne 0x40aae0
cmp dword [esp + 0x1c], 0x3000000
je 0x40aae0
mov edx, ecx
lea ecx, [esp + 0x68]
call fcn.0040d650
mov edx, dword [esp + 0x54]
mov ecx, dword [eax]
mov dword [edx + 0xc], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x10], eax
lea ecx, [esp + 0x8c]
call fcn.00407f7d
cmp byte [esp + 0xf], 0
jne 0x40ab6b
test edi, edi
jne 0x40ab6b
mov ecx, dword [esp + 0x54]
cmp byte [ecx + 0x90], 0
jg 0x40ab6f
cmp byte [ecx + 0x91], 0
jg 0x40ab6f
lea eax, [esi + 0x15ac]
push eax
lea edx, [esi + 0x15a4]
lea ecx, [esp + 0x6c]
call fcn.00402f5f
movss xmm0, dword [esp + 0x98]
xorps xmm1, xmm1
subss xmm0, dword [esp + 0x90]
pop ecx
comiss xmm0, xmm1
jbe 0x40ab6b
movss xmm0, dword [esp + 0x98]
subss xmm0, dword [esp + 0x90]
comiss xmm0, xmm1
jbe 0x40ab6b
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x68]
push eax
lea edx, [esp + 0x90]
call fcn.0040931c
pop ecx
mov ecx, dword [esp + 0x54]
cvttss2si eax, dword [ecx + 0xc]
movd xmm1, eax
cvttss2si eax, dword [ecx + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [ecx + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x10], xmm0
mov ecx, dword [esp + 0x10]
test edi, edi
je 0x40aba3
movss xmm0, dword [esi + 0x1538]
jmp 0x40abc3
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40abbb
movss xmm0, dword [esi + 0x1540]
jmp 0x40abc3
movss xmm0, dword [esi + 0x151c]
mov eax, dword [esp + 0x54]
xor dl, dl
mov dword [esp + 0x18], edx
movss dword [eax + 0x3c], xmm0
cmp byte [esp + 0x30], dl
je 0x40ac02
test ecx, 0x1000
jne 0x40ac02
cmp dword [esp + 0x34], 0
je 0x40abf0
xor eax, eax
inc eax
mov byte [esp + 0x18], al
jmp 0x40ac02
cmp dword [esp + 0x1c], 0
push 1
movzx edx, dl
pop eax
cmove edx, eax
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x54]
lea edi, [esp + 0xcc]
or dword [esp + 0x88], 0xffffffff
xor eax, eax
movss xmm2, dword [esi + 0x18c8]
xor edx, edx
stosd dword es:[edi], eax
movaps xmm1, xmm2
mulss xmm2, dword [0x4ce774]
cmp byte [esi + 0xb3], dl
mulss xmm1, dword [0x4ce7c4]
stosd dword es:[edi], eax
setne dl
inc edx
mov dword [esp + 0x40], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp byte [ecx + 0x7d], 0
movss xmm0, dword [ecx + 0x3c]
addss xmm0, dword [0x4ce7bc]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x50], eax
jne 0x40ac99
lea eax, [esp + 0xcc]
push eax
push edx
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x6c]
call fcn.00408b12
mov ecx, dword [esp + 0x60]
add esp, 0xc
test al, al
je 0x40ac99
xor eax, eax
inc eax
mov byte [esp + 0xc], al
mov byte [esp + 0x17], al
mov al, byte [esp + 0x88]
mov byte [ecx + 0x84], al
mov edi, dword [esp + 0x54]
mov dword [esp + 0x58], edi
cmp byte [edi + 0x7d], 0
jne 0x40ae2f
movss xmm0, dword [edi + 0x1c]
lea eax, [esp + 0x78]
movss dword [esp + 0x4c], xmm0
lea ecx, [edi + 0x1fc]
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [esp + 0x28]
push eax
movss dword [esp + 0x5c], xmm0
call fcn.00402fae
cmp byte [esp + 0x16], 0
lea ecx, [esp + 0x68]
mov edx, dword [esp + 0x54]
movss xmm2, dword [eax + 4]
je 0x40ad04
and dword [esp + 0x68], 0
and dword [esp + 0x6c], 0
jmp 0x40ad2c
movss xmm0, dword [edx + 0x34]
movss xmm1, dword [edx + 0x38]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edx + 0x24]
addss xmm1, dword [edx + 0x28]
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm1
cmp byte [esp + 0x17], 0
movss xmm4, dword [ecx]
movss xmm3, dword [ecx + 4]
addss xmm2, dword [edi + 0x74]
je 0x40ad49
movss xmm1, dword [esp + 0x4c]
jmp 0x40ad52
movss xmm1, dword [edi + 0x70]
addss xmm1, dword [eax]
cmp byte [esp + 0xc], 0
je 0x40ad5f
movss xmm2, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
test eax, 0x4000
jne 0x40ad7b
comiss xmm3, xmm2
jbe 0x40ad73
test al, 8
je 0x40ad7b
xor ecx, ecx
mov byte [esp + 0xc], cl
jmp 0x40ad84
xor ecx, ecx
inc ecx
mov byte [esp + 0xc], cl
xor ecx, ecx
mov al, byte [esp + 0xc]
mov byte [edx + 0x79], al
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x54]
test eax, 0x8000
jne 0x40adca
cmp byte [edi + 0x79], 0
je 0x40adaa
movss xmm0, dword [esi + 0x1578]
jmp 0x40adad
xorps xmm0, xmm0
subss xmm1, xmm0
comiss xmm4, xmm1
jbe 0x40adc6
and eax, 0x808
cmp eax, 0x800
mov eax, dword [esp + 0x10]
je 0x40adca
mov dl, cl
jmp 0x40adcd
xor edx, edx
inc edx
mov byte [edi + 0x78], dl
mov edx, dword [esp + 0x54]
cmp byte [edx + 0x78], 0
je 0x40ae07
cmp byte [edx + 0x79], 0
jne 0x40adf7
comiss xmm3, xmm2
jbe 0x40adee
test al, 8
jne 0x40adee
xor eax, eax
inc eax
jmp 0x40adf0
mov al, cl
mov byte [edx + 0x79], al
mov edx, dword [esp + 0x54]
cmp byte [edx + 0x78], 0
je 0x40ae07
movss xmm1, dword [esi + 0x1578]
jmp 0x40ae0a
xorps xmm1, xmm1
cmp byte [edx + 0x79], 0
xorps xmm0, xmm0
je 0x40ae1b
movss xmm0, dword [esi + 0x1578]
movss dword [edx + 0x70], xmm0
mov eax, dword [esp + 0x54]
movss dword [eax + 0x74], xmm1
mov ecx, dword [esp + 0x54]
jmp 0x40ae33
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x40ae59
cmp dword [esp + 0x1c], 0x3000000
je 0x40ae59
mov esi, dword [esp + 0x2c]
add esi, 0x22c
jmp 0x40ae60
lea esi, [esp + 0x8c]
lea edi, [esp + 0xac]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xbc]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00403ac3
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x9c]
push eax
call fcn.00403b49
mov edi, dword [esp + 0x54]
lea esi, [esp + 0xbc]
lea eax, [esp + 0xac]
push eax
lea edi, [edi + 0x1ec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x58]
lea ecx, [ecx + 0x1ec]
call fcn.0040307f
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x1fc], eax
xor ecx, ecx
mov eax, dword [esp + 0x54]
inc ecx
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [esp + 0x28]
movss dword [eax + 0x200], xmm0
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 0x70]
movss dword [eax + 0x204], xmm0
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [eax + 0x10]
subss xmm0, dword [eax + 0x74]
movss dword [eax + 0x208], xmm0
mov eax, dword [esp + 0x10]
and eax, 0x401
cmp eax, ecx
mov ecx, dword [esp + 0x54]
jne 0x40af2e
movss xmm3, dword [ecx + 0x40]
jmp 0x40af36
movss xmm3, dword [edi + 0x1554]
movss xmm0, dword [ecx + 0x34]
movss xmm2, dword [0x4ce78c]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0x1fc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [ecx + 0x40]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x20c], xmm0
mov ecx, dword [esp + 0x54]
movss xmm0, dword [ecx + 0x200]
addss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x210], xmm0
mov ecx, dword [esp + 0x54]
movss xmm0, dword [ecx + 0x34]
movss xmm1, dword [ecx + 0x204]
mulss xmm0, xmm2
addss xmm1, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [ecx + 0x40]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x214], xmm0
mov ecx, dword [esp + 0x54]
movss xmm0, dword [ecx + 0x208]
addss xmm0, xmm2
subss xmm0, dword [ecx + 0x40]
cvttss2si eax, xmm0
movd xmm0, eax
lea eax, [esp + 0xac]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ecx + 0x218], xmm0
mov ecx, dword [esp + 0x58]
lea ecx, [ecx + 0x20c]
call fcn.004030c2
mov ecx, dword [esp + 0x54]
xorps xmm2, xmm2
movss xmm0, dword [ecx + 0x14]
comiss xmm0, xmm2
jbe 0x40b045
test dword [esp + 0x10], 0x2000040
jne 0x40b045
mulss xmm0, dword [0x4ce794]
jmp 0x40b055
movss xmm0, dword [edi + 0x18c8]
mulss xmm0, dword [0x4ce818]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x254], xmm0
lea ecx, [esp + 0x78]
mov eax, dword [esp + 0x54]
movss xmm1, dword [eax + 0x34]
movss xmm0, dword [eax + 0x204]
addss xmm1, xmm1
subss xmm0, dword [eax + 0x1fc]
addss xmm1, dword [eax + 0x24]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [eax + 0x58], xmm0
mov eax, dword [esp + 0x54]
movss xmm1, dword [eax + 0x38]
movss xmm0, dword [eax + 0x208]
addss xmm1, xmm1
subss xmm0, dword [eax + 0x200]
addss xmm1, dword [eax + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [eax + 0x5c], xmm0
xor eax, eax
mov edx, dword [esp + 0x54]
inc eax
push eax
call fcn.0040cbd6
mov edx, dword [esp + 0x58]
movss xmm0, dword [0x4ce87c]
pop ecx
mov ecx, dword [eax]
mov dword [edx + 0x50], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x54], eax
mov eax, dword [esp + 0x54]
movss dword [eax + 0x60], xmm0
mov eax, dword [esp + 0x54]
movss dword [eax + 0x64], xmm0
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx + 0x278]
call fcn.00416848
mov eax, dword [edi + 0x18c4]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov esi, dword [eax + 0x278]
lea eax, [esp + 0x58]
push eax
lea ecx, [esi + 0x4c]
call fcn.00410cc7
mov ecx, esi
call fcn.00416ac7
push 0
lea edx, [esp + 0xb8]
lea ecx, [esp + 0xb0]
call fcn.00407611
test dword [esp + 0x14], 0x8000000
pop ecx
je 0x40b182
call fcn.0040d072
mov esi, dword [esp + 0x54]
xor edx, edx
cmp esi, eax
jne 0x40b188
cmp dword [esi + 0x9c], edx
jg 0x40b188
xor eax, eax
inc eax
mov ah, al
jmp 0x40b18a
mov esi, dword [esp + 0x54]
xor edx, edx
mov ah, dl
mov ecx, dword [edi + 0x1c1c]
test ecx, ecx
je 0x40b1a3
cmp esi, dword [ecx + 0x2f8]
jne 0x40b1a3
xor ecx, ecx
inc ecx
mov al, cl
jmp 0x40b1a5
mov al, dl
mov byte [esp + 0xc], al
test ah, ah
jne 0x40b1b5
test al, al
je 0x40b2ee
mov ecx, dword [0x4d8ff8]
lea edi, [esp + 0x78]
movzx eax, ah
shl eax, 4
lea esi, [ecx + 0x18a4]
add esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
movss xmm0, dword [edi + 0x1c90]
mulss xmm0, dword [ecx + 0x1510]
lea ecx, [esp + 0x78]
mulss xmm0, dword [esp + 0x84]
movss dword [esp + 0x84], xmm0
call fcn.004046ad
push 0xf
push ecx
and dword [esp], 0
mov ecx, dword [esp + 0x5c]
push eax
lea eax, [esp + 0xa0]
push eax
mov ecx, dword [ecx + 0x278]
lea eax, [esp + 0x9c]
push eax
call fcn.00418387
cmp byte [esp + 0xc], 0
je 0x40b2e8
mov esi, dword [esp + 0x54]
cmp esi, dword [edi + 0x1c1c]
jne 0x40b2ec
lea eax, [esp + 0x78]
mov ecx, esi
push eax
call fcn.00403ac3
movss xmm1, dword [edi + 0x18c8]
lea ecx, [esp + 0x78]
call fcn.00403048
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x7c]
call fcn.00402fd4
test al, al
jne 0x40b2e8
mov eax, dword [0x4d8ff8]
lea edi, [esp + 0x68]
lea ecx, [esp + 0x68]
lea esi, [eax + 0x1894]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
movss xmm0, dword [edi + 0x1c28]
mulss xmm0, dword [0x4ce778]
mulss xmm0, dword [eax + 0x1510]
mulss xmm0, dword [esp + 0x74]
movss dword [esp + 0x74], xmm0
call fcn.004046ad
movss xmm0, dword [edi + 0x151c]
push 0xf
push ecx
mov ecx, dword [esp + 0x5c]
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x8c]
mov ecx, dword [ecx + 0x278]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00418387
mov esi, dword [esp + 0x54]
xor edx, edx
cmp dword [esp + 0x5c], 0
mov byte [esp + 0xc], dl
je 0x40b33c
cmp dword [esp + 0x34], 0
jne 0x40b33c
cmp dword [esp + 0x1c], 0x3000000
je 0x40b33c
mov eax, dword [esi + 0x278]
imul ecx, dword [eax], 0x28
mov eax, dword [eax + 8]
cmp dword [ecx + eax - 0x28], edx
jne 0x40b33c
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], edx
jle 0x40b33c
xor ecx, ecx
mov dword [esi + 0x278], eax
mov esi, dword [esp + 0x54]
inc ecx
mov byte [esp + 0xc], cl
mov ecx, dword [edi + 0x1c18]
test ecx, ecx
jne 0x40b34c
mov ecx, dword [edi + 0x1b20]
cmp byte [esp + 0x18], 0
jne 0x40b36b
test ecx, ecx
je 0x40b365
mov eax, dword [esi + 0x2fc]
cmp eax, dword [ecx + 0x2fc]
je 0x40b36b
mov byte [esp + 0x1c], dl
jmp 0x40b372
xor eax, eax
inc eax
mov byte [esp + 0x1c], al
movd xmm0, dword [esp + 0x50]
lea eax, [esp + 0xcc]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [esp + 0xa0]
mov ecx, esi
movss dword [esp], xmm0
push eax
push dword [esp + 0x48]
push dword [esp + 0x28]
call fcn.004096e4
add esp, 0x10
cmp byte [esp + 0xc], 0
je 0x40b3b9
mov ecx, dword [esp + 0x54]
lea eax, [ecx + 0x27c]
mov dword [ecx + 0x278], eax
mov edx, dword [esp + 0x54]
cmp dword [edi + 0x1c1c], edx
jne 0x40b4b3
movss xmm0, dword [edx + 0x3c]
lea eax, [esp + 0x78]
maxss xmm0, dword [edi + 0x151c]
push eax
mov ecx, edx
movss dword [esp + 0x20], xmm0
call fcn.00403ac3
movss xmm1, dword [edi + 0x18c8]
lea ecx, [esp + 0x78]
call fcn.00403048
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x7c]
call fcn.00402fd4
test al, al
je 0x40b43d
movss xmm1, dword [edi + 0x18c8]
lea ecx, [esp + 0x78]
xorps xmm1, xmmword [0x4cf050]
subss xmm1, dword [0x4ce7bc]
call fcn.00403048
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0x3c]
movss dword [esp + 0x1c], xmm0
mov eax, dword [0x4d8ff8]
lea edi, [esp + 0x68]
lea ecx, [esp + 0x68]
lea esi, [eax + 0x1894]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
movss xmm0, dword [edi + 0x1c28]
mulss xmm0, dword [eax + 0x1510]
mulss xmm0, dword [esp + 0x74]
movss dword [esp + 0x74], xmm0
call fcn.004046ad
movss xmm0, dword [esp + 0x1c]
push ecx
mov dword [esp], 0x40400000
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x60]
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x90]
mov ecx, dword [ecx + 0x278]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.004182bf
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
xorps xmm2, xmm2
movss xmm4, dword [edx + 0x2c]
mov eax, ecx
shr eax, 3
not al
and eax, 0xffffff01
ucomiss xmm4, xmm2
mov dword [esp + 0x40], eax
lahf
test ah, 0x44
jp 0x40b50b
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x40b4ed
movss xmm4, dword [edx + 0x24]
jmp 0x40b4f0
xorps xmm4, xmm4
movss xmm1, dword [edx + 0x34]
movss xmm0, dword [edx + 0x14]
addss xmm1, xmm1
subss xmm0, xmm1
subss xmm0, dword [edx + 0x70]
maxss xmm4, xmm0
movss xmm3, dword [edx + 0x30]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x40b54b
cmp byte [esp + 0x40], 0
je 0x40b527
movss xmm3, dword [edx + 0x28]
jmp 0x40b52a
xorps xmm3, xmm3
movss xmm0, dword [edx + 0x38]
movss xmm1, dword [edx + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [esp + 0x28]
subss xmm1, dword [edx + 0x74]
maxss xmm3, xmm1
movss xmm1, dword [edx + 0x34]
maxss xmm1, dword [edx + 0x40]
movss xmm0, dword [edx + 0x1fc]
subss xmm0, dword [edx + 0x50]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x21c], xmm0
mov ecx, dword [esp + 0x54]
movss xmm1, dword [ecx + 0x38]
movss xmm0, dword [ecx + 0x200]
subss xmm0, dword [ecx + 0x54]
maxss xmm1, dword [ecx + 0x40]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x220], xmm0
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0x21c]
addss xmm0, xmm4
movss dword [eax + 0x224], xmm0
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0x220]
addss xmm0, xmm3
movss xmm3, dword [esp + 0x28]
movss dword [eax + 0x228], xmm0
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 0x50]
addss xmm0, dword [eax + 0x34]
movss dword [eax + 0x23c], xmm0
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [eax + 0x54]
addss xmm0, dword [eax + 0x38]
addss xmm0, xmm3
movss dword [eax + 0x240], xmm0
mov ecx, dword [esp + 0x54]
movss xmm1, dword [ecx + 0x2c]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x40b644
movss xmm0, dword [ecx + 0x34]
movss xmm1, dword [ecx + 0x14]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ecx + 0x70]
movss xmm0, dword [ecx + 0x23c]
addss xmm0, xmm1
movss dword [ecx + 0x244], xmm0
mov ecx, dword [esp + 0x54]
movss xmm1, dword [ecx + 0x30]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x40b685
movss xmm0, dword [ecx + 0x38]
movss xmm1, dword [ecx + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm3
subss xmm1, dword [ecx + 0x74]
movss xmm0, dword [ecx + 0x240]
xor edx, edx
addss xmm0, xmm1
movss dword [ecx + 0x248], xmm0
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0x34]
addss xmm0, xmm2
subss xmm0, dword [eax + 0x50]
movss dword [eax + 0x100], xmm0
mov eax, dword [esp + 0x54]
and dword [eax + 0x108], 0
mov eax, dword [esp + 0x54]
and dword [eax + 0x104], 0
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0x38]
movss xmm1, dword [eax + 0x104]
addss xmm0, xmm3
addss xmm1, dword [eax + 0x100]
subss xmm0, dword [eax + 0x54]
addss xmm1, dword [eax + 0xc]
addss xmm0, dword [eax + 0x10]
movss dword [eax + 0xd8], xmm1
mov eax, dword [esp + 0x54]
movss dword [eax + 0xdc], xmm0
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0xd8]
mov dword [ecx + 0xc8], eax
mov eax, dword [ecx + 0xdc]
mov dword [ecx + 0xcc], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0xc8]
mov dword [ecx + 0xd0], eax
mov eax, dword [ecx + 0xcc]
mov dword [ecx + 0xd4], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0xd8]
mov dword [ecx + 0xe0], eax
mov eax, dword [ecx + 0xdc]
mov dword [ecx + 0xe4], eax
mov eax, dword [esp + 0x54]
movss dword [eax + 0xf0], xmm2
mov eax, dword [esp + 0x54]
movss dword [eax + 0xf4], xmm2
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0xf0]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xec], eax
xor ecx, ecx
mov eax, dword [esp + 0x54]
inc ecx
and dword [eax + 0xfc], 0
mov eax, dword [esp + 0x54]
and dword [eax + 0xf8], 0
mov eax, dword [esp + 0x54]
mov dword [eax + 0x134], edx
mov eax, dword [esp + 0x54]
mov dword [eax + 0x138], ecx
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x140]
mov dword [ecx + 0x13c], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 0x140], edx
mov eax, dword [esp + 0x54]
mov dword [eax + 0x144], edx
mov eax, dword [esp + 0x54]
mov byte [eax + 0x148], dl
mov ecx, dword [esp + 0x54]
movss xmm0, dword [ecx + 0x5c]
comiss xmm0, xmm2
seta al
mov byte [ecx + 0x149], al
mov eax, dword [esp + 0x54]
mov byte [eax + 0x14a], dl
mov eax, dword [esp + 0x54]
movss xmm0, dword [eax + 0x34]
maxss xmm0, dword [edi + 0x1558]
maxss xmm0, dword [edi + 0x1ac8]
movss dword [eax + 0x14c], xmm0
mov ecx, dword [edi + 0x1acc]
mov eax, dword [esp + 0x54]
push dword [esp + 0x30]
mov dword [eax + 0x150], ecx
mov ecx, dword [esp + 0x58]
movss xmm2, dword [edi + 0x1558]
push 3
lea ecx, [ecx + 0x154]
call fcn.00421b3c
mov eax, dword [esp + 0x54]
xor ecx, ecx
push ecx
mov dword [eax + 0x178], ecx
mov eax, dword [esp + 0x58]
mov dword [eax + 0x17c], ecx
mov ecx, dword [esp + 0x58]
lea ecx, [ecx + 0x180]
call fcn.00410c41
mov ecx, dword [esp + 0x54]
xor edx, edx
mov esi, dword [esp + 0x2c]
lea eax, [ecx + 0x258]
mov dword [ecx + 0x18c], eax
xor ecx, ecx
mov eax, dword [esp + 0x54]
inc ecx
mov dword [eax + 0x190], edx
mov eax, dword [esp + 0x54]
mov dword [eax + 0x194], ecx
test esi, esi
je 0x40b8b8
mov ecx, dword [esi + 0x194]
mov eax, dword [esp + 0x54]
mov dword [eax + 0x198], ecx
mov eax, dword [esp + 0x54]
or dword [eax + 0x1a0], 0xffffffff
mov eax, dword [esp + 0x54]
or dword [eax + 0x19c], 0xffffffff
test esi, esi
je 0x40b8e4
mov ecx, dword [esi + 0x1a4]
jmp 0x40b8e6
mov ecx, edx
mov eax, dword [esp + 0x54]
push edx
mov dword [eax + 0x1a4], ecx
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx + 0x254]
mov dword [ecx + 0x1a8], eax
mov eax, dword [esp + 0x58]
mov dword [eax + 0x1ac], 0xbf800000
mov ecx, dword [esp + 0x58]
lea ecx, [ecx + 0x1b0]
call fcn.00410c7c
mov ecx, dword [esp + 0x54]
push 0
lea ecx, [ecx + 0x1bc]
call fcn.00410c41
mov ecx, dword [esp + 0x54]
push 0
lea ecx, [ecx + 0x1c8]
call fcn.00410c41
mov eax, dword [esp + 0x54]
push 0
lea ecx, [eax + 0x1d4]
call fcn.00410978
cmp dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x54]
je 0x40b98a
mov eax, dword [esi + 0x1a4]
cmp dword [ecx + 0x1a4], eax
je 0x40b98a
mov dword [ecx + 0x1a4], eax
mov ecx, dword [esp + 0x54]
lea eax, [ecx + 0x1a4]
add ecx, 0x1b0
push eax
call fcn.00410cc7
mov ecx, dword [esp + 0x54]
mov al, byte [ecx + 0x90]
test al, al
jle 0x40b9a0
dec al
mov byte [ecx + 0x90], al
mov ecx, dword [esp + 0x54]
mov al, byte [ecx + 0x91]
test al, al
jle 0x40b9b6
dec al
mov byte [ecx + 0x91], al
mov ecx, dword [esp + 0x54]
cmp byte [esp + 0x18], 0
je 0x40b9d1
call fcn.0040bd17
mov ecx, dword [esp + 0x54]
xor dl, dl
call fcn.0040e321
mov ecx, dword [esp + 0x54]
xor eax, eax
inc eax
test byte [esp + 0x10], al
jne 0x40b9f4
push dword [esp + 0x48]
lea edx, [esp + 0xa0]
push dword [esp + 0x28]
call fcn.00409bdf
pop ecx
pop ecx
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x48]
lea edx, [esp + 0xa4]
mov dword [ecx + 0x10c], eax
lea ecx, [esp + 0x9c]
push 0
call fcn.00407cdf
pop ecx
xor ecx, ecx
lea esi, [esp + 0x9c]
test al, al
mov eax, dword [esp + 0x54]
setne cl
mov dword [eax + 0x110], ecx
mov edi, dword [esp + 0x54]
lea edi, [edi + 0x114]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
jmp 0x40ba48
call fcn.004054c6
xor eax, eax
inc eax
push eax
mov eax, dword [esp + 0x58]
lea edx, [eax + 0x214]
lea ecx, [eax + 0x20c]
call fcn.00407611
pop ecx
xor ecx, ecx
cmp dword [esp + 0x3c], esi
je 0x40ba71
mov eax, dword [esp + 0x54]
mov byte [eax + 0x7c], cl
mov eax, dword [esp + 0x54]
inc word [eax + 0x86]
mov eax, dword [esp + 0x10]
mov dword [edi + 0x1a78], ecx
test eax, 0x1000000
je 0x40bb34
test al, 0x40
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
jne 0x40bae2
cmp byte [eax + 0x90], 0
jg 0x40bae2
cmp byte [eax + 0x91], 0
jg 0x40bae2
movss xmm0, dword [eax + 0x1ec]
comiss xmm0, dword [eax + 0x1f4]
jae 0x40bad1
movss xmm0, dword [eax + 0x1f0]
comiss xmm0, dword [eax + 0x1f8]
jb 0x40bae2
xor edx, edx
inc edx
mov dword [eax + 0x98], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x40bb38
mov al, byte [edx + 0x7d]
mov byte [esp + 0xc], al
test al, al
mov eax, dword [esp + 0x24]
jne 0x40bb01
cmp dword [edx + 0x98], ecx
jle 0x40bb16
mov dword [eax + 0x98], 1
mov al, byte [edx + 0x7d]
mov byte [esp + 0xc], al
mov eax, dword [esp + 0x54]
cmp byte [esp + 0xc], 0
jne 0x40bb25
cmp dword [edx + 0x9c], ecx
jle 0x40bb38
xor edx, edx
inc edx
mov dword [eax + 0x9c], edx
mov eax, dword [esp + 0x54]
jmp 0x40bb3b
mov eax, dword [esp + 0x54]
xor edx, edx
inc edx
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x1510]
jb 0x40bb51
mov dword [eax + 0x98], edx
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x98], ecx
jg 0x40bb63
cmp dword [eax + 0x9c], ecx
jg 0x40bb63
mov dl, cl
mov byte [eax + 0x81], dl
mov edx, dword [esp + 0x54]
cmp byte [edx + 0x7d], 0
jne 0x40bb82
cmp byte [edx + 0x7a], 0
je 0x40bb82
cmp byte [edx + 0x81], 0
je 0x40bba5
cmp byte [edx + 0x90], 0
jg 0x40bba5
cmp byte [edx + 0x91], 0
jg 0x40bba5
cmp dword [edx + 0x9c], ecx
movzx eax, cl
push 1
pop ecx
cmovle eax, ecx
mov cl, al
xor eax, eax
mov byte [edx + 0x7f], cl
inc eax
xor cl, al
mov al, cl
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.00431cb0
mov esp, ebp
pop ebp
ret