Function at 0x40cc20
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x43b040]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [ebp + 8]
or edx, 0xffffffff
push esi
mov esi, dword [0x43b430]
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], esi
push edi
lea edi, [ecx + 1]
test al, al
je 0x40cc8b
or esi, 0xffffffff
cmp al, 0x23
jne 0x40cc6e
cmp byte [edi], al
jne 0x40cc6e
cmp byte [edi + 1], al
cmove edx, esi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [edi]
inc edi
xor edx, dword [ecx*4 + 0x4344d8]
test al, al
jne 0x40cc60
mov esi, dword [esp + 0x38]
not edx
mov ecx, edx
call fcn.00409f50
mov edi, eax
mov dword [esp + 0x5c], eax
test edi, edi
mov dword [esp + 0x40], edi
sete byte [esp + 0x44]
test eax, eax
jne 0x40ccbc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
call fcn.0040a260
mov edi, eax
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x3f90]
cmp ecx, dword [edi + 8]
jne 0x40ccc8
int3
mov ecx, dword [esp + 0x20]
mov eax, ecx
and eax, 0x30200
cmp eax, 0x30200
jne 0x40cce1
or ecx, 6
mov dword [esp + 0x20], ecx
cmp dword [esi + 0x3f6c], 0
mov edx, dword [esi + 0x3f10]
mov eax, dword [edi + 0x24c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
jne 0x40cd0b
cmp byte [esi + 0x3f1d], 0
je 0x40cd0b
mov al, 1
jmp 0x40cd0d
xor al, al
mov byte [edi + 0xc3], al
lea eax, [edx - 1]
cmp dword [esp + 0x50], eax
setl al
mov byte [esp + 0x1f], al
test ecx, 0x4000000
je 0x40cd67
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x4a2c]
mov edx, dword [edx + 0x4a28]
lea esi, [eax + eax*4]
mov eax, dword [edi + 0x84]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x54]
setne al
or cl, al
mov al, byte [esp + 0x1f]
or al, cl
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x1f], al
mov byte [edi + 0xc1], al
test al, al
je 0x40cd86
or byte [edi + 0xe0], 8
or byte [edi + 0xe1], 8
or byte [edi + 0xe2], 8
cmp dword [esp + 0x50], edx
je 0x40cdf8
mov dl, byte [esp + 0x44]
push ecx
mov ecx, edi
call fcn.00409fb0
mov edx, dword [esp + 0x24]
add esp, 4
mov dword [edi + 0xc], edx
test dword [esi + 0x4968], 0x100
je 0x40cdb6
mov eax, dword [esi + 0x49a0]
jmp 0x40cdb8
xor eax, eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 0x24c], eax
xor eax, eax
movsd xmm0, qword [esi + 0x3f08]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xcc], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x3f84]
inc dword [esi + 0x3f84]
mov word [edi + 0xce], ax
jmp 0x40cdff
mov edx, dword [edi + 0xc]
mov dword [esp + 0x20], edx
mov eax, dword [esi + 0x3f6c]
test eax, eax
jne 0x40ce0d
xor ecx, ecx
jmp 0x40ce1a
imul ecx, eax, 0x68
mov eax, dword [esi + 0x3f74]
mov ecx, dword [eax + ecx - 0x68]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], ecx
cmp eax, dword [esp + 0x54]
je 0x40ce37
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x40ce3d
mov eax, dword [edi + 0x30c]
cmp dword [edi + 0xf4], 0
mov dword [esp + 0x48], eax
lea eax, [edi + 0xf4]
jne 0x40ce76
cmp dword [eax + 4], 0
jne 0x40ce65
push 8
mov ecx, eax
call fcn.00419d10
lea eax, [edi + 0xf4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xf4]
lea ecx, [esp + 0xdc]
mov dword [esi + 0x3f94], edi
call fcn.004012f0
mov eax, dword [esi + 0x3f94]
xorps xmm0, xmm0
movups xmmword [esp + 0x12c], xmm0
mov ecx, dword [esi + 0x3f6c]
movups xmm0, xmmword [esi + 0x4918]
movzx eax, word [eax + 0xf4]
mov word [esp + 0x12c], ax
movzx eax, word [esi + 0x49d8]
mov word [esp + 0x12e], ax
movzx eax, word [esi + 0x49e4]
mov word [esp + 0x130], ax
movzx eax, word [esi + 0x49f0]
mov word [esp + 0x132], ax
movzx eax, word [esi + 0x49fc]
mov word [esp + 0x134], ax
movzx eax, word [esi + 0x4a14]
mov word [esp + 0x136], ax
movzx eax, word [esi + 0x4a08]
movups xmmword [esp + 0xdc], xmm0
mov word [esp + 0x138], ax
movups xmm0, xmmword [esi + 0x4928]
movzx eax, word [esi + 0x4a2c]
mov word [esp + 0x13a], ax
movzx eax, word [esi + 0x5d3c]
movups xmmword [esp + 0xec], xmm0
mov word [esp + 0x13c], 0
movups xmm0, xmmword [esi + 0x4938]
mov word [esp + 0x13c], ax
mov eax, dword [esi + 0x48e4]
movups xmmword [esp + 0xfc], xmm0
shr eax, 2
movups xmm0, xmmword [esi + 0x4948]
and eax, 0xffffff01
mov dword [esp + 0xd8], edi
mov edi, dword [esi + 0x3f70]
mov dword [esp + 0x144], eax
mov byte [esp + 0x13e], al
lea eax, [esi + 0x3f6c]
mov dword [esp + 0x18], eax
movups xmmword [esp + 0x10c], xmm0
movups xmm0, xmmword [esi + 0x4958]
movups xmmword [esp + 0x11c], xmm0
cmp ecx, edi
jne 0x40cfdc
inc ecx
test edi, edi
je 0x40cfc2
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x40cfc7
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x3f6c]
call fcn.0041a5a0
mov eax, dword [esp + 0x18]
imul edi, dword [eax], 0x68
lea esi, [esp + 0xd8]
mov ecx, 0x1a
add edi, dword [eax + 8]
rep movsd dword es:[edi], dword [esi]
inc dword [eax]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
test ecx, 0x10000000
je 0x40d008
inc dword [esi + 0x5cac]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x40]
cmp eax, dword [esp + 0x54]
je 0x40d0d4
mov edx, dword [esp + 0x48]
mov dword [edi + 0x30c], edx
mov dword [edi + 0x320], edi
mov dword [edi + 0x31c], edi
mov dword [edi + 0x318], edi
mov dword [edi + 0x314], edi
test edx, edx
je 0x40d08a
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40d05a
mov eax, dword [edx + 0x314]
mov dword [edi + 0x314], eax
test ecx, 0x4000000
je 0x40d06e
mov eax, dword [edx + 0x318]
mov dword [edi + 0x318], eax
test ecx, 0x8000000
jne 0x40d08a
test ecx, 0x5000000
je 0x40d08a
mov eax, dword [edx + 0x31c]
mov dword [edi + 0x31c], eax
test dword [edi + 0xc], 0x800000
je 0x40d0b7
mov edx, edi
nop word [eax + eax]
mov eax, dword [edx + 0x30c]
mov edx, eax
mov dword [edi + 0x320], eax
test dword [edx + 0xc], 0x800000
jne 0x40d0a0
mov edx, dword [esp + 0x34]
mov eax, ecx
and eax, 0x1000000
mov dword [edi + 0x310], edx
neg eax
sbb eax, eax
and eax, edx
mov dword [edi + 0x324], eax
test ecx, 0x800000
je 0x40d0e4
mov eax, dword [esi + 0x48e0]
jmp 0x40d0e7
mov eax, dword [edi + 8]
mov ecx, dword [0x43b430]
mov dword [esp + 0x28], eax
lea edx, [ecx + 0x49fc]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0x3f94]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
cmp dword [edx], ecx
jne 0x40d146
test ecx, ecx
je 0x40d129
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
jmp 0x40d12e
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041a4d0
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0x28]
mov dword [ecx + eax*8], esi
mov esi, dword [esp + 0x18]
mov dword [ecx + eax*8 + 4], esi
mov ecx, dword [esp + 0x140]
inc dword [edx]
test dword [esp + 0x20], 0x4000000
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x48e0], eax
mov eax, dword [esi + 0x48e0]
mov dword [edi + 0x364], eax
je 0x40d23a
mov eax, dword [esi + 0x4a2c]
mov edx, dword [esi + 0x4a28]
mov dword [esp + 0x24], edx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x34]
mov dword [edx + ecx*8 + 4], edi
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x158]
mov dword [edx + ecx*8 + 0xc], eax
lea edx, [esi + 0x4a2c]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x18], eax
cmp ecx, eax
jne 0x40d1f5
inc ecx
test eax, eax
je 0x40d1dd
cdq
sub eax, edx
lea edx, [esi + 0x4a2c]
sar eax, 1
add eax, dword [esp + 0x18]
jmp 0x40d1e2
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041a400
lea edx, [esi + 0x4a2c]
mov eax, dword [edx]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
movups xmm0, xmmword [esi + edi*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [esi + edi*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [esi + edi*8 + 0x20]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, edi
mov edi, dword [esp + 0x40]
mov ecx, esi
inc dword [edx]
mov esi, dword [esp + 0x38]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0x84], eax
test byte [esi + 0x4968], 1
mov byte [esp + 0x15], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 0
je 0x40d2f4
mov dl, byte [edi + 0xe0]
mov ecx, dword [esi + 0x496c]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x15]
test ecx, eax
je 0x40d2e3
movss xmm1, dword [esi + 0x4984]
movss xmm0, dword [esi + 0x4980]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x439084]
jbe 0x40d2e3
mov eax, dword [esi + 0x4978]
mov ecx, dword [esi + 0x497c]
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xe4], eax
mov eax, dword [esi + 0x4980]
mov ecx, dword [esi + 0x4984]
mov dword [edi + 0xf0], ecx
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe0]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xe0], ecx
jmp 0x40d2f4
push ecx
lea edx, [esi + 0x4978]
mov ecx, edi
call fcn.0040fd10
add esp, 4
test byte [esi + 0x4968], 2
xorps xmm1, xmm1
je 0x40d395
mov cl, byte [edi + 0xe1]
movsx eax, cl
and eax, dword [esi + 0x4970]
je 0x40d329
movss xmm0, dword [esi + 0x4988]
comiss xmm0, xmm1
jbe 0x40d329
mov byte [esp + 0x17], 1
jmp 0x40d332
mov byte [esp + 0x17], 0
test eax, eax
je 0x40d346
movss xmm0, dword [esi + 0x498c]
comiss xmm0, xmm1
jbe 0x40d34b
mov byte [esp + 0x16], 1
jmp 0x40d350
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 0
test byte [edi + 0x10], 4
je 0x40d364
test cl, 4
jne 0x40d364
mov eax, dword [edi + 0x28]
mov dword [esi + 0x4988], eax
test byte [edi + 0x10], 8
je 0x40d37c
test byte [edi + 0xe1], 4
jne 0x40d37c
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x498c], eax
push dword [esi + 0x4970]
lea edx, [esi + 0x4988]
mov ecx, edi
call fcn.0040fe70
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x4968], 0x80
je 0x40d3dc
movss xmm0, dword [esi + 0x4998]
comiss xmm0, xmm1
jb 0x40d3bd
movss dword [edi + 0x98], xmm0
mov dword [edi + 0xa0], 0
movss xmm0, dword [esi + 0x499c]
comiss xmm0, xmm1
jb 0x40d3dc
movss dword [edi + 0x9c], xmm0
mov dword [edi + 0xa4], 0
test byte [esi + 0x4968], 4
je 0x40d3f9
mov eax, dword [esi + 0x4990]
mov ecx, dword [esi + 0x4994]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x40d411
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
je 0x40d411
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x4968], 8
je 0x40d45e
mov ecx, dword [esi + 0x4974]
mov dl, byte [esi + 0x49a4]
test ecx, ecx
je 0x40d435
movsx eax, byte [edi + 0xe2]
test ecx, eax
je 0x40d45e
movzx ecx, byte [edi + 0xe2]
mov eax, dword [edi + 0xe0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xbd], dl
mov dword [edi + 0xe0], ecx
test byte [esi + 0x4968], 0x20
je 0x40d470
xor edx, edx
mov ecx, edi
call fcn.0040f8b0
mov ah, byte [edi + 0xc1]
test ah, ah
je 0x40d496
and byte [edi + 0xe0], 0xf7
mov al, byte [edi + 0xe2]
and byte [edi + 0xe1], 0xf7
and al, 0xf7
mov byte [edi + 0xe2], al
mov ecx, dword [0x43b430]
mov byte [edi + 0xc0], 0
test dword [ecx + 0x4968], 0x200
je 0x40d51a
mov edx, dword [ecx + 0x49cc]
test dl, 1
je 0x40d51a
test ah, ah
jne 0x40d51a
cmp byte [edi + 0xc2], ah
jne 0x40d51a
test dl, 2
je 0x40d4ec
cmp dword [ecx + 0x3f98], 0
je 0x40d4ec
mov esi, dword [ecx + 0x3f98]
mov eax, dword [edi + 0x314]
cmp eax, dword [esi + 0x314]
mov esi, dword [esp + 0x38]
je 0x40d51a
test dl, 4
je 0x40d509
mov ecx, dword [ecx + 0x4a50]
test ecx, ecx
je 0x40d509
mov eax, dword [edi + 0x314]
cmp eax, dword [ecx + 0x314]
je 0x40d51a
mov dword [edi + 0x278], 0
mov byte [edi + 0xc0], 1
cmp byte [esp + 0x144], 0
je 0x40d5ae
cmp dword [edi + 0x314], edi
jne 0x40d5ae
mov ecx, dword [0x43b430]
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 0x5d38]
and dword [ecx + 0x48e4], 0xfffffffb
mov dword [ecx + 0x38a8], eax
add ecx, 0x4a08
mov dword [esp + 0x28], ecx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40d58b
inc edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x40d577
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40d57c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00419d10
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x48e4]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x28]
inc dword [eax]
mov eax, dword [esp + 0x34]
inc word [eax + 0x5d3c]
mov eax, dword [esp + 0x50]
mov dword [esi + 0x3f94], 0
cmp eax, dword [esp + 0x54]
je 0x40f0f3
cmp byte [edi + 0xc0], 0
jne 0x40f0fc
mov eax, dword [esp + 0x20]
and eax, 0x3000000
mov byte [edi + 0xba], 1
mov byte [edi + 0xc5], 0
mov dword [esp + 0x34], eax
mov al, byte [edi + 0xdd]
mov dword [edi + 0x224], 0xff7fffff
mov dword [edi + 0x228], 0xff7fffff
mov dword [edi + 0x22c], 0x7f7fffff
mov byte [esp + 0x4f], al
mov dword [edi + 0x230], 0x7f7fffff
mov eax, dword [edi + 0xf8]
cmp eax, 1
jge 0x40d65e
test eax, eax
je 0x40d641
cdq
sub eax, edx
lea edx, [edi + 0xf4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x40d64c
mov ecx, 8
lea edx, [edi + 0xf4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.00419d10
mov dword [edi + 0xf4], 1
mov ecx, dword [edi + 0x278]
call fcn.00422af0
cmp byte [edi + 0x370], 0
mov dword [edi + 0x1a4], 0xffffffff
je 0x40d6c9
mov ecx, dword [edi + 0x278]
push dword [edi + 0x368]
add ecx, 0xc
mov byte [edi + 0x370], 0
call fcn.0041a1c0
mov ecx, dword [edi + 0x278]
push dword [edi + 0x36c]
add ecx, 0x18
call fcn.00419ee0
mov dword [edi + 0x36c], 0
mov dword [edi + 0x368], 0
cmp dword [esi + 0x4c20], 0
je 0x40d80d
test dword [edi + 0xc], 0x20000
jne 0x40d80d
cmp dword [esp + 0x5c], 0
je 0x40d80d
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40d720
test dl, dl
je 0x40d71c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40d720
add eax, 2
add ecx, 2
test dl, dl
jne 0x40d700
xor eax, eax
jmp 0x40d725
sbb eax, eax
or eax, 1
test eax, eax
je 0x40d80d
mov ecx, dword [esp + 0x58]
mov edx, dword [edi + 0x78]
mov dword [esp + 0x28], edx
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d740
sub ecx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
cmp edx, eax
jae 0x40d7f2
mov edx, dword [esp + 0x24]
test edx, edx
je 0x40d7d3
mov ecx, dword [0x43b430]
test ecx, ecx
je 0x40d7d3
mov eax, dword [ecx + 0x3f10]
mov dword [esp + 0x28], eax
movsx eax, word [ecx + 0x5f04]
mov esi, dword [esp + 0x28]
add eax, 0xbe1
cmp dword [ecx + eax*8], esi
mov esi, dword [esp + 0x38]
lea eax, [ecx + eax*8]
je 0x40d7c9
movsx eax, word [ecx + 0x5f04]
inc eax
mov dword [esp + 0x18], 6
cdq
idiv dword [esp + 0x18]
movzx eax, dx
mov edx, dword [esp + 0x28]
mov word [ecx + 0x5f04], ax
cwde
add eax, 0xbe1
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
inc word [eax + 6]
inc dword [ecx + 0x5f00]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esp + 0x30]
add esp, 4
call fcn.00407050
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
push eax
push dword [esp + 0x5c]
push dword [esp + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [edi + 0x78], eax
lea eax, [edi + 0x38]
mov ecx, edi
push eax
lea edx, [edi + 0x30]
call fcn.0040a640
mov al, byte [edi + 0xdc]
add esp, 4
test al, al
jle 0x40d830
dec al
mov byte [edi + 0xdc], al
mov al, byte [edi + 0xdd]
test al, al
jle 0x40d842
dec al
mov byte [edi + 0xdd], al
mov al, byte [edi + 0xde]
test al, al
jle 0x40d854
dec al
mov byte [edi + 0xde], al
cmp dword [esp + 0x5c], 0
mov al, byte [esp + 0x17]
mov cl, byte [esp + 0x16]
jne 0x40d872
test al, al
je 0x40d86b
test cl, cl
jne 0x40d872
mov byte [edi + 0xdd], 1
cmp byte [esp + 0x1f], 0
mov edx, dword [esp + 0x20]
je 0x40d8d1
test edx, 0x6000000
je 0x40d8d1
mov byte [edi + 0xdd], 1
test dl, 0x40
je 0x40d8d1
test al, al
jne 0x40d8a3
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x40d8b5
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov ecx, dword [0x43b430]
mov dword [esp + 0x28], ecx
mov eax, dword [ecx + 0x4a4c]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov dword [esp + 0x3c], eax
mov dword [ecx + 0x3f94], edi
mov eax, dword [edi + 0x1a4]
cmp eax, 0xffffffff
je 0x40d906
shl eax, 9
add eax, dword [ecx + 0x4d18]
jmp 0x40d908
xor eax, eax
mov dword [ecx + 0x4cf8], eax
mov dword [ecx + 0x3d04], 0x3f800000
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3d00]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x40d940
mulss xmm0, dword [eax + 0x270]
cmp dword [esp + 0x2c], 0
movss dword [ecx + 0x3d14], xmm0
movss dword [ecx + 0x3cfc], xmm0
jne 0x40d964
cmp dword [edi + 0x1a0], 0
jne 0x40d964
mov al, 1
jmp 0x40d966
xor al, al
mov byte [edi + 0x160], al
test edx, 0x1000000
je 0x40d97e
movss xmm0, dword [esi + 0x38d8]
jmp 0x40d9a0
test edx, 0x6000000
je 0x40d998
test edx, 0x8000000
jne 0x40d998
movss xmm0, dword [esi + 0x38e0]
jmp 0x40d9a0
movss xmm0, dword [esi + 0x38bc]
movss dword [edi + 0x54], xmm0
xorps xmm1, xmm1
mov eax, dword [esi + 0x38b0]
mov ecx, dword [esi + 0x38b4]
mov dword [edi + 0x48], eax
mov eax, edx
and eax, 0x5000000
mov dword [edi + 0x4c], ecx
cmp eax, 0x1000000
jne 0x40d9f8
test byte [edi + 0x10], 2
jne 0x40d9f8
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40d9f8
test edx, 0x400
je 0x40d9e9
movss xmm0, dword [esi + 0x38b4]
jmp 0x40d9ec
xorps xmm0, xmm0
mov dword [edi + 0x48], 0
movss dword [edi + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [esi + 0x38f4]
maxss xmm0, dword [esi + 0x49c4]
movss dword [edi + 0x164], xmm0
movss xmm3, dword [esi + 0x49c8]
movss dword [edi + 0x168], xmm3
test dl, 1
je 0x40da2f
xorps xmm2, xmm2
jmp 0x40da43
movss xmm2, dword [esi + 0x38e8]
addss xmm2, xmm2
addss xmm2, dword [esi + 0x3cfc]
movss dword [edi + 0x58], xmm2
test edx, 0x400
je 0x40da6a
movss xmm0, dword [esi + 0x38e8]
addss xmm3, dword [esi + 0x3cfc]
addss xmm0, xmm0
addss xmm3, xmm0
jmp 0x40da6d
xorps xmm3, xmm3
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x44]
movss dword [edi + 0x5c], xmm3
mov byte [esp + 0x24], al
je 0x40da94
movss xmm0, dword [edi + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40da94
mov byte [esp + 0x44], 1
cmp byte [esp + 0x16], 0
je 0x40daae
movss xmm0, dword [edi + 0x44]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40daae
mov byte [esp + 0x24], 1
test dl, 0x21
jne 0x40dbc8
movss xmm0, dword [edi + 0x18]
movaps xmm3, xmm0
movss xmm4, dword [edi + 0x1c]
addss xmm3, dword [edi + 0x28]
addss xmm2, dword [edi + 0x1c]
mov edx, dword [esp + 0x28]
cmp dword [esi + 0x3f98], edi
jne 0x40db7c
cmp dword [esi + 0x3fd0], 0
jne 0x40db7c
cmp dword [esi + 0x3fd4], 0
jne 0x40db7c
mov eax, dword [edx + 0x3f94]
movss xmm5, dword [edx + 0x390c]
movss xmm7, dword [edx + 0xbc]
maxss xmm0, dword [eax + 0x224]
maxss xmm4, dword [eax + 0x228]
minss xmm3, dword [eax + 0x22c]
minss xmm2, dword [eax + 0x230]
subss xmm0, xmm5
comiss xmm7, xmm0
jb 0x40db7c
movss xmm0, dword [edx + 0x3910]
movss xmm6, dword [edx + 0xc0]
subss xmm4, xmm0
comiss xmm6, xmm4
jb 0x40db7c
addss xmm5, xmm3
comiss xmm5, xmm7
jbe 0x40db7c
addss xmm0, xmm2
comiss xmm0, xmm6
jbe 0x40db7c
cmp word [esi + 0x2aea], 2
jne 0x40db7c
cmp dword [edx + 0x4700], 0xffffffff
jne 0x40db7c
mov byte [edi + 0xbe], 1
cmp byte [edi + 0xbe], 0
je 0x40dbcf
mov cl, byte [edi + 0xbd]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xbd], al
mov ecx, 1
mov eax, dword [esp + 0x24]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [esp + 0x24], eax
jne 0x40dbcf
comiss xmm1, dword [edx + 0x5de0]
jb 0x40dbcf
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5de0], eax
jmp 0x40dbcf
mov byte [edi + 0xbd], 0
movss xmm0, dword [edi + 0xb0]
lea eax, [edi + 0x38]
movss dword [esp + 0x2c], xmm0
lea ecx, [esp + 0x148]
movss xmm0, dword [edi + 0xb4]
mov edx, edi
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x58]
push eax
mov byte [edi + 0xbe], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0
movss dword [edi + 0x64], xmm0
mov dword [edi + 0x6c], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
call fcn.0040a770
add esp, 4
test byte [esp + 0x20], 0x40
je 0x40dc8c
cmp byte [edi + 0xbd], 0
jne 0x40dc8c
cmp byte [esp + 0x17], 0
jne 0x40dc69
movss xmm0, dword [esp + 0x148]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x44], 1
cmp byte [esp + 0x16], 0
jne 0x40dd43
movss xmm0, dword [esp + 0x14c]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x24], 1
jmp 0x40dd43
mov al, byte [edi + 0xd2]
test al, al
jg 0x40dca3
cmp byte [edi + 0xd3], 0
jle 0x40dd43
cmp byte [esp + 0x17], 0
jne 0x40dcda
test al, al
jle 0x40dcda
cmp byte [edi + 0xd4], 0
je 0x40dcc7
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x148]
jmp 0x40dcd0
movss xmm0, dword [esp + 0x148]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x44], 1
cmp byte [esp + 0x16], 0
jne 0x40dd16
cmp byte [edi + 0xd3], 0
jle 0x40dd16
cmp byte [edi + 0xd4], 0
je 0x40dd03
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [esp + 0x14c]
jmp 0x40dd0c
movss xmm0, dword [esp + 0x14c]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x24], 1
cmp byte [edi + 0xbd], 0
jne 0x40dd43
test dword [edi + 0xc], 0x100
mov ecx, dword [0x43b430]
jne 0x40dd43
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5de0]
jb 0x40dd43
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5de0], eax
lea esi, [edi + 0x28]
mov edx, edi
push esi
lea ecx, [esp + 0xb4]
call fcn.0040a490
add esp, 4
cmp byte [edi + 0xbd], 0
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [esp + 0x20]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
je 0x40dd97
test eax, 0x1000000
jne 0x40dd97
movss xmm2, dword [edi + 0x58]
addss xmm1, dword [edi + 0x18]
addss xmm2, dword [edi + 0x1c]
subss xmm1, dword [edi + 0x18]
subss xmm2, dword [edi + 0x1c]
cmp byte [esp + 0x1f], 0
movss dword [edi + 0x20], xmm1
movss dword [edi + 0x24], xmm2
je 0x40ddee
and eax, 0xc000000
mov dword [edi + 0xd8], 0xffffffff
cmp eax, 0x4000000
jne 0x40ddee
cmp byte [esp + 0x15], 0
jne 0x40ddee
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x4a2c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x4a34]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov edx, dword [esp + 0x20]
test edx, 0x1000000
je 0x40de8f
mov esi, dword [esp + 0x48]
mov ax, word [esi + 0x190]
lea ecx, [esi + 0x190]
mov word [edi + 0xcc], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x40de50
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x40de36
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40de3b
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00419d10
mov edx, dword [esp + 0x20]
lea ecx, [esi + 0x190]
mov ecx, dword [ecx]
mov eax, dword [esi + 0x198]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x190]
mov al, byte [esp + 0x15]
mov ecx, dword [esp + 0x34]
test edx, 0x4000000
jne 0x40de97
test al, al
jne 0x40de97
cmp ecx, 0x3000000
je 0x40de97
mov eax, dword [esi + 0x100]
mov ecx, dword [esi + 0x104]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov al, byte [esp + 0x15]
movss xmm1, dword [edi + 0xe4]
ucomiss xmm1, dword [0x439188]
lahf
test ah, 0x44
jnp 0x40df06
cmp byte [edi + 0xdd], 0
jne 0x40df06
movss xmm0, dword [edi + 0xec]
lea edx, [esp + 0x98]
mulss xmm0, dword [edi + 0x20]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xe8]
movss dword [esp + 0x9c], xmm1
movss xmm1, dword [edi + 0xf0]
mulss xmm1, dword [edi + 0x24]
subss xmm0, xmm1
movss dword [esp + 0xa0], xmm0
call fcn.0040fd10
add esp, 4
jmp 0x40df67
test edx, 0x10000000
je 0x40df17
lea ecx, [esp + 0xb8]
jmp 0x40df4d
test edx, 0x4000000
je 0x40df32
test al, al
jne 0x40df32
cmp byte [esp + 0x4f], al
jle 0x40df32
lea ecx, [esp + 0xc0]
jmp 0x40df4d
test edx, 0x2000000
je 0x40df6b
test al, al
jne 0x40df6b
cmp ecx, 0x3000000
je 0x40df6b
lea ecx, [esp + 0xc8]
mov edx, edi
call fcn.00413880
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov edx, dword [esp + 0x20]
cmp byte [esp + 0x15], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
movss xmm7, dword [eax + 0x18]
movss xmm6, dword [eax + 0x1c]
addss xmm7, dword [eax + 0x20]
addss xmm6, dword [eax + 0x24]
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
movaps xmm5, xmm0
movss xmm3, dword [ecx + 0x3978]
movaps xmm4, xmm1
movss xmm2, dword [ecx + 0x3974]
maxss xmm3, dword [ecx + 0x3980]
maxss xmm2, dword [ecx + 0x397c]
addss xmm5, dword [eax + 0x10]
addss xmm4, dword [eax + 0x14]
movss dword [esp + 0x150], xmm0
subss xmm6, xmm3
movss dword [esp + 0x154], xmm1
addss xmm3, dword [eax + 0x1c]
subss xmm7, xmm2
movss dword [esp + 0x158], xmm5
addss xmm2, dword [eax + 0x18]
movss dword [esp + 0x15c], xmm4
movss dword [esp + 0x16c], xmm6
movss dword [esp + 0x164], xmm3
movss dword [esp + 0x168], xmm7
movss dword [esp + 0x160], xmm2
jne 0x40e08f
test edx, 0x1000000
jne 0x40e08f
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x40e08f
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x40e08f
mov eax, dword [0x43b430]
movss xmm0, dword [edi + 0x24]
cmp byte [eax + 0x4b], 0
je 0x40e05a
test byte [edi + 0xc], 1
jne 0x40e05a
movss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x20]
subss xmm3, xmm0
movss xmm0, dword [edi + 0x1c]
comiss xmm3, xmm0
ja 0x40e074
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x40e085
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x18], xmm2
movss dword [edi + 0x1c], xmm3
cvttss2si eax, dword [edi + 0x18]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x18], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1c], xmm0
test edx, 0x1000000
je 0x40e0c3
movss xmm2, dword [ecx + 0x38d4]
jmp 0x40e0e3
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40e0db
movss xmm2, dword [ecx + 0x38dc]
jmp 0x40e0e3
movss xmm2, dword [ecx + 0x38b8]
xor al, al
movss dword [edi + 0x50], xmm2
mov dword [esp + 0x28], eax
cmp byte [esp + 0x1f], al
je 0x40e120
test edx, 0x1000
jne 0x40e120
test edx, 0x4000000
je 0x40e10b
mov byte [esp + 0x28], 1
jmp 0x40e120
test edx, 0x3000000
movzx eax, al
mov esi, 1
cmove eax, esi
mov dword [esp + 0x28], eax
mov eax, edx
mov dword [esp + 0x144], 0xffffffff
and eax, 0x5000000
mov dword [esp + 0x140], 0xffffffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x170], xmm0
cmp eax, 0x1000000
jne 0x40e153
xor eax, eax
jmp 0x40e15c
xor eax, eax
cmp byte [ecx + 0x4a], al
setne al
inc eax
cmp byte [edi + 0xbd], 0
movss xmm1, dword [ecx + 0x3cfc]
addss xmm2, dword [0x4390fc]
movaps xmm0, xmm1
mov dword [esp + 0x18], eax
mulss xmm1, dword [0x4390a4]
mulss xmm0, dword [0x439100]
addss xmm2, xmm1
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x40e1fb
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x174]
push ecx
push eax
lea eax, [esp + 0x14c]
mov ecx, edi
push eax
lea eax, [esp + 0x154]
push eax
lea edx, [esp + 0x15c]
call fcn.0040a9e0
add esp, 0x14
test eax, eax
je 0x40e1f3
mov ecx, dword [esp + 0x44]
test al, 1
mov edx, 1
movzx ecx, cl
cmovne ecx, edx
test al, 2
mov eax, dword [esp + 0x24]
movzx eax, al
cmovne eax, edx
mov dword [esp + 0x44], ecx
mov byte [esp + 0x24], al
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
cmp byte [edi + 0xbd], 0
mov al, byte [esp + 0x144]
mov byte [edi + 0xc6], al
mov al, byte [esp + 0x140]
mov byte [edi + 0xc7], al
jne 0x40e36f
cmp dword [esp + 0x5c], 0
movss xmm0, dword [edi + 0x6c]
addss xmm0, dword [edi + 0x64]
movss xmm4, dword [edi + 0x1ec]
movss xmm5, dword [edi + 0x1f0]
subss xmm4, dword [edi + 0x1e4]
subss xmm5, dword [edi + 0x1e8]
movss xmm2, dword [edi + 0x2c]
movss xmm6, dword [edi + 0x28]
subss xmm2, xmm0
xorps xmm0, xmm0
addss xmm4, dword [esp + 0x2c]
addss xmm5, dword [esp + 0x30]
jne 0x40e278
xorps xmm3, xmm3
xorps xmm1, xmm1
jmp 0x40e294
movss xmm3, dword [edi + 0x48]
movss xmm1, dword [edi + 0x4c]
addss xmm3, xmm3
addss xmm1, xmm1
addss xmm3, dword [edi + 0x30]
addss xmm1, dword [edi + 0x34]
cmp byte [esp + 0x44], 0
jne 0x40e29e
movaps xmm6, xmm4
mov eax, dword [esp + 0x24]
test al, al
jne 0x40e2a9
movaps xmm2, xmm5
test edx, 0x4000
jne 0x40e2bf
comiss xmm1, xmm2
jbe 0x40e2bb
test dl, 8
je 0x40e2bf
xor al, al
jmp 0x40e2c1
mov al, 1
mov byte [esp + 0x15], al
mov byte [edi + 0xb9], al
test edx, 0x8000
jne 0x40e30b
test al, al
je 0x40e2e1
movss xmm4, dword [ecx + 0x391c]
jmp 0x40e2e4
xorps xmm4, xmm4
subss xmm6, xmm4
comiss xmm3, xmm6
jbe 0x40e2ff
mov eax, edx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0x15]
je 0x40e30b
mov byte [edi + 0xb8], 0
xorps xmm1, xmm1
jmp 0x40e33c
mov byte [edi + 0xb8], 1
test al, al
jne 0x40e334
subss xmm2, dword [ecx + 0x391c]
comiss xmm1, xmm2
jbe 0x40e32c
test dl, 8
jne 0x40e32c
mov al, 1
jmp 0x40e32e
xor al, al
mov byte [edi + 0xb9], al
movss xmm1, dword [ecx + 0x391c]
test al, al
je 0x40e348
movss xmm0, dword [ecx + 0x391c]
movss dword [edi + 0xb0], xmm0
addss xmm0, dword [edi + 0x68]
movss dword [edi + 0xb4], xmm1
movss dword [edi + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x6c]
movss dword [edi + 0x6c], xmm0
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x40e392
cmp dword [esp + 0x34], 0x3000000
je 0x40e392
mov eax, dword [esp + 0x48]
add eax, 0x224
jmp 0x40e399
lea eax, [esp + 0x150]
movups xmm0, xmmword [eax]
mov eax, edx
movss xmm5, dword [edi + 0x18]
and eax, 0x401
movss xmm6, dword [edi + 0x1c]
movaps xmm2, xmm5
movss xmm3, dword [edi + 0x20]
movaps xmm1, xmm6
movss xmm4, dword [edi + 0x24]
addss xmm3, xmm5
movss dword [esp + 0x60], xmm5
addss xmm4, xmm6
addss xmm1, dword [edi + 0x58]
addss xmm2, dword [edi + 0x28]
movups xmmword [esp + 0x70], xmm0
movaps xmm0, xmm6
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x68], xmm2
movss dword [edi + 0x1d4], xmm5
movss dword [edi + 0x1d8], xmm6
movss dword [edi + 0x1dc], xmm3
movss dword [edi + 0x1e0], xmm4
movss xmm0, dword [edi + 0x1d4]
movss xmm7, dword [esp + 0x70]
maxss xmm0, xmm7
maxss xmm6, dword [esp + 0x74]
movss dword [edi + 0x1d4], xmm0
movss dword [edi + 0x1d8], xmm6
movss xmm1, dword [edi + 0x1dc]
movss xmm0, dword [edi + 0x1e0]
minss xmm1, dword [esp + 0x78]
minss xmm0, dword [esp + 0x7c]
movss dword [edi + 0x1dc], xmm1
movss dword [edi + 0x1e0], xmm0
movss xmm1, dword [edi + 0x18]
movss xmm3, dword [edi + 0x1c]
movaps xmm4, xmm1
movaps xmm5, xmm3
addss xmm1, dword [edi + 0x20]
addss xmm3, dword [edi + 0x24]
addss xmm4, dword [edi + 0x60]
addss xmm5, dword [edi + 0x64]
subss xmm1, dword [edi + 0x68]
subss xmm3, dword [edi + 0x6c]
movss dword [edi + 0x1e4], xmm4
movss dword [edi + 0x1e8], xmm5
movss dword [edi + 0x1ec], xmm1
movss dword [edi + 0x1f0], xmm3
cmp eax, 1
jne 0x40e4bd
movss xmm0, dword [edi + 0x54]
jmp 0x40e4c5
movss xmm0, dword [ecx + 0x38f0]
movss xmm6, dword [0x4390c4]
xorps xmm2, xmm2
addss xmm4, xmm6
movss dword [esp + 0x2c], xmm0
addss xmm4, dword [edi + 0x54]
comiss xmm4, xmm2
cvttss2si eax, xmm4
mov dword [esp + 0x30], eax
jae 0x40e507
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x40e503
cvttss2si eax, xmm4
dec eax
jmp 0x40e507
mov eax, dword [esp + 0x30]
addss xmm5, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm5, dword [esp + 0x2c]
movss dword [edi + 0x1f4], xmm0
comiss xmm5, xmm2
cvttss2si eax, xmm5
mov dword [esp + 0x30], eax
jae 0x40e548
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jnp 0x40e544
cvttss2si eax, xmm5
dec eax
jmp 0x40e548
mov eax, dword [esp + 0x30]
movss xmm4, dword [edi + 0x54]
addss xmm1, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm4
movss dword [edi + 0x1f8], xmm0
comiss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [esp + 0x30], eax
jae 0x40e58c
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40e588
cvttss2si eax, xmm1
dec eax
jmp 0x40e58c
mov eax, dword [esp + 0x30]
addss xmm3, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm3, xmm4
movss dword [edi + 0x1fc], xmm0
comiss xmm3, xmm2
cvttss2si eax, xmm3
mov dword [esp + 0x30], eax
jae 0x40e5cb
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x40e5c7
cvttss2si eax, xmm3
dec eax
jmp 0x40e5cb
mov eax, dword [esp + 0x30]
movss xmm5, dword [esp + 0x7c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
movss xmm1, dword [edi + 0x1f8]
movss xmm0, dword [esp + 0x74]
comiss xmm0, xmm1
jbe 0x40e5f8
movaps xmm3, xmm0
jmp 0x40e5ff
movaps xmm3, xmm5
minss xmm3, xmm1
movss xmm4, dword [edi + 0x1f4]
comiss xmm7, xmm4
movss xmm6, dword [esp + 0x78]
jbe 0x40e617
movaps xmm1, xmm7
jmp 0x40e61e
movaps xmm1, xmm6
minss xmm1, xmm4
movss dword [edi + 0x1f4], xmm1
movss dword [edi + 0x1f8], xmm3
movss xmm1, dword [edi + 0x200]
comiss xmm0, xmm1
ja 0x40e642
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm1, dword [edi + 0x1fc]
comiss xmm7, xmm1
ja 0x40e656
movaps xmm7, xmm6
minss xmm7, xmm1
movss dword [edi + 0x1fc], xmm7
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm2
jbe 0x40e682
test edx, 0x2000040
jne 0x40e682
mulss xmm0, dword [0x4390cc]
jmp 0x40e692
movss xmm0, dword [ecx + 0x3cfc]
mulss xmm0, dword [0x439144]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0xd0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x254], xmm0
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1ec]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1e4]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x90], xmm0
movss xmm1, dword [edi + 0x4c]
movss xmm0, dword [edi + 0x1f0]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1e8]
addss xmm1, dword [edi + 0x34]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x94], xmm0
call fcn.00412ca0
mov edx, dword [esp + 0x38]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x88], xmm0
movss dword [edi + 0x8c], xmm1
mov dword [edi + 0x98], 0x7f7fffff
mov dword [edi + 0x9c], 0x7f7fffff
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov eax, dword [edx + 0x3cf8]
mov ecx, dword [edi + 0x278]
mov dword [esp + 0x24], ecx
add ecx, 0x7c
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x30]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40e7a9
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x40e795
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e79a
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00419d10
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov edi, dword [esp + 0x2c]
mov dword [eax + edx*4], edi
mov eax, edi
inc dword [ecx]
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x54], eax
call fcn.00422f30
mov ecx, dword [0x43b430]
movss xmm0, dword [esp + 0x70]
movss xmm1, dword [esp + 0x74]
mov edi, dword [esp + 0x40]
mov eax, dword [ecx + 0x3f94]
movss dword [esp + 0x150], xmm0
maxss xmm0, dword [esp + 0x78]
movss dword [esp + 0x154], xmm1
maxss xmm1, dword [esp + 0x7c]
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x3f94]
mov dword [esp + 0x24], eax
movss dword [esp + 0x158], xmm0
movss dword [esp + 0x15c], xmm1
mov eax, dword [eax + 0x278]
mov edx, dword [eax + 0x70]
lea ecx, [eax + 0x70]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], ecx
cmp edx, eax
jne 0x40e868
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x40e854
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e859
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041a810
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [esp + 0x150]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x2c]
movups xmmword [ecx + 0x44], xmm0
call fcn.00422e90
mov edx, dword [esp + 0x24]
mov byte [esp + 0x16], 0
mov eax, dword [edx + 0x278]
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x78]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x224], eax
mov eax, dword [esp + 0x20]
movss dword [edx + 0x228], xmm0
and eax, 0x5000000
movss dword [edx + 0x22c], xmm1
movss dword [edx + 0x230], xmm2
cmp eax, 0x1000000
jne 0x40e99b
cmp dword [esp + 0x34], 0x3000000
je 0x40e99b
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x190]
cmp ecx, 2
jl 0x40e95f
mov eax, dword [eax + 0x198]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x40e95f
movss xmm5, dword [eax + 0x1c]
movss xmm7, dword [eax + 0x18]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x24]
movss xmm6, dword [edi + 0x18]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x1c]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x20]
addss xmm4, dword [edi + 0x20]
comiss xmm0, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x24]
jbe 0x40e95f
comiss xmm2, xmm5
jbe 0x40e95f
comiss xmm3, xmm6
jbe 0x40e95f
comiss xmm4, xmm7
mov byte [esp + 0x15], 1
ja 0x40e964
mov byte [esp + 0x15], 0
mov edx, dword [edi + 0x278]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x40e99b
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
je 0x40e99b
cmp byte [esp + 0x15], 0
jne 0x40e99b
mov byte [esp + 0x16], 1
mov dword [edi + 0x278], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x4c18]
test ecx, ecx
jne 0x40e9af
mov ecx, dword [eax + 0x4a50]
cmp byte [esp + 0x28], 0
jne 0x40e9cf
test ecx, ecx
je 0x40e9c8
mov eax, dword [edi + 0x31c]
cmp eax, dword [ecx + 0x31c]
je 0x40e9cf
mov byte [esp + 0x2c], 0
jmp 0x40e9d4
mov byte [esp + 0x2c], 1
movd xmm0, esi
lea eax, [esp + 0x170]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x64]
movss dword [esp], xmm0
push eax
push dword [esp + 0x20]
push ecx
push dword [esp + 0x3c]
mov ecx, edi
call fcn.0040c010
add esp, 0x14
cmp byte [esp + 0x16], 0
je 0x40ea13
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov ecx, dword [esp + 0x20]
xorps xmm4, xmm4
movss xmm6, dword [edi + 0x40]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x40ea3a
movss dword [esp + 0x18], xmm6
jmp 0x40ea7c
movss xmm0, dword [edi + 0x48]
mov eax, ecx
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x68]
addss xmm0, dword [edi + 0x60]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x40ea6f
movss xmm0, dword [edi + 0x30]
jmp 0x40ea72
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss xmm5, dword [edi + 0x44]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x40ea8f
movaps xmm7, xmm5
jmp 0x40eac1
movss xmm0, dword [edi + 0x4c]
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x6c]
addss xmm0, dword [edi + 0x64]
subss xmm1, xmm0
test dl, dl
je 0x40eaba
movss xmm7, dword [edi + 0x34]
jmp 0x40eabd
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm1, dword [edi + 0x48]
movss xmm2, dword [edi + 0x88]
movss xmm0, dword [edi + 0x1e4]
subss xmm0, xmm2
movss dword [esp + 0x30], xmm1
maxss xmm1, dword [edi + 0x54]
movss dword [esp + 0x34], xmm2
ucomiss xmm6, xmm4
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x204], xmm2
movss xmm0, dword [edi + 0x8c]
movss xmm1, dword [edi + 0x4c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [edi + 0x1e8]
subss xmm0, dword [esp + 0x40]
movss dword [esp + 0x3c], xmm1
maxss xmm1, dword [edi + 0x54]
addss xmm2, dword [esp + 0x18]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x208], xmm0
addss xmm7, xmm0
movss dword [edi + 0x20c], xmm2
movss xmm2, dword [esp + 0x30]
movss dword [edi + 0x210], xmm7
movss xmm7, dword [esp + 0x3c]
movups xmm0, xmmword [edi + 0x204]
movups xmmword [edi + 0x214], xmm0
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [edi + 0x60]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x2c], xmm0
subss xmm1, dword [esp + 0x34]
addss xmm1, xmm2
addss xmm1, xmm0
movss dword [edi + 0x234], xmm1
movss xmm3, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x64]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x18], xmm0
subss xmm3, dword [esp + 0x40]
addss xmm3, xmm7
addss xmm3, xmm0
movss dword [edi + 0x238], xmm3
test ah, 0x44
jp 0x40ebf9
movss xmm6, dword [edi + 0x20]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm6, xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [edi + 0x68]
subss xmm6, xmm0
ucomiss xmm5, xmm4
addss xmm1, xmm6
movss xmm6, dword [esp + 0x18]
lahf
movss dword [edi + 0x23c], xmm1
test ah, 0x44
jp 0x40ec30
movss xmm5, dword [edi + 0x24]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm5, xmm0
movaps xmm0, xmm6
addss xmm0, dword [edi + 0x6c]
subss xmm5, xmm0
movss xmm1, dword [esp + 0x2c]
addss xmm5, xmm3
movss xmm3, dword [esp + 0x24]
lea ecx, [edi + 0x16c]
movaps xmm0, xmm1
mov esi, dword [esp + 0x38]
addss xmm0, xmm2
cvtps2pd xmm3, xmm3
movss dword [edi + 0x240], xmm5
movss xmm5, dword [esp + 0x34]
subss xmm0, xmm5
movss dword [edi + 0x144], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x14c], 0
mov dword [edi + 0x148], 0
movss xmm2, dword [esp + 0x30]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm5
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, qword [0x439078]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x40]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm6
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x110], xmm0
movss dword [edi + 0x114], xmm1
movss xmm0, dword [edi + 0x110]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x114]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x150], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x154], xmm0
movss xmm1, dword [edi + 0x110]
movss xmm0, dword [edi + 0x114]
movss dword [edi + 0x100], xmm1
movss dword [edi + 0x104], xmm0
movss dword [edi + 0x108], xmm1
movss dword [edi + 0x10c], xmm0
movss dword [edi + 0x118], xmm1
movss dword [edi + 0x11c], xmm0
movss dword [edi + 0x120], xmm1
movss dword [edi + 0x124], xmm0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
mov word [edi + 0x140], 0
mov dword [edi + 0x158], 0
mov ax, word [edi + 0x15e]
mov word [edi + 0x15c], ax
mov dword [edi + 0x15e], 0x10000
movss xmm0, dword [edi + 0x94]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x1f], 0
mov byte [edi + 0x162], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x163], 0
movss xmm1, dword [esi + 0x38f4]
mov dword [esp + 0x18], eax
je 0x40ee02
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x40ee06
mov dword [esp + 0x18], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.00430370
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov eax, dword [edi + 0x170]
mov dword [edi + 0x16c], eax
lea eax, [edi + 0x190]
mov dword [edi + 0x170], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40ee78
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 + 0x190]
call fcn.00419d10
lea eax, [edi + 0x190]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a8], 1
test eax, eax
je 0x40eeae
mov eax, dword [eax + 0x1a8]
jmp 0x40eeb3
mov eax, 1
mov dword [edi + 0x1ac], eax
mov eax, dword [edi + 0x254]
mov dword [edi + 0x1b4], eax
lea eax, [edi + 0x1bc]
mov dword [edi + 0x1b8], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40eefe
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.00419d10
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40ef33
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.00419d10
lea eax, [edi + 0x1c8]
test dword [esp + 0x20], 0x8000000
mov dword [eax], 0
je 0x40f00e
mov edx, dword [0x43b430]
xorps xmm0, xmm0
movss xmm5, dword [0x4390fc]
movss xmm2, dword [edx + 0x3cd4]
comiss xmm0, xmm2
jbe 0x40ef6a
xorps xmm1, xmm1
jmp 0x40ef71
movaps xmm1, xmm5
minss xmm1, xmm2
movss xmm2, dword [0x439168]
movss xmm3, dword [0x4390c4]
movss xmm4, dword [edx + 0x3cd8]
comiss xmm0, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si ecx, xmm1
jbe 0x40ef9f
xorps xmm1, xmm1
jmp 0x40efa6
movaps xmm1, xmm5
minss xmm1, xmm4
movss xmm4, dword [edx + 0x3cdc]
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x40efc9
xorps xmm1, xmm1
jmp 0x40efd0
movaps xmm1, xmm5
minss xmm1, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [edx + 0x3ce0]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
jbe 0x40eff3
xorps xmm5, xmm5
jmp 0x40eff7
minss xmm5, xmm1
mulss xmm5, xmm2
addss xmm5, xmm3
cvttss2si eax, xmm5
shl eax, 0x18
or eax, ecx
mov dword [edi + 0x1b0], eax
mov al, byte [edi + 0xd2]
test al, al
jle 0x40f020
dec al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x40f032
dec al
mov byte [edi + 0xd3], al
cmp byte [esp + 0x28], 0
je 0x40f056
mov edx, 2
mov ecx, edi
call fcn.0040f8b0
cmp edi, dword [esi + 0x4a50]
jne 0x40f056
xor dl, dl
mov ecx, edi
call fcn.004149f0
test byte [esp + 0x20], 1
jne 0x40f0ba
movss xmm0, dword [edi + 0x54]
lea edx, [esp + 0xa0]
addss xmm0, dword [esp + 0x60]
push 0
push dword [esp + 0x5c]
mov ecx, edi
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [edi + 0x54]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0xb4], xmm0
call fcn.0040c700
add esp, 8
xor eax, eax
lea edx, [esp + 0x60]
mov ecx, edi
mov dword [edi + 0x244], eax
call fcn.0040f570
mov eax, dword [esi + 0x48e8]
test eax, eax
je 0x40f1d1
cmp dword [edi + 8], eax
je 0x40f0e9
cmp dword [edi + 0x7c], eax
jne 0x40f1d1
call fcn.00418f70
jmp 0x40f1d1
cmp byte [edi + 0xc0], 0
je 0x40f103
mov byte [edi + 0xba], 1
mov edx, dword [0x43b430]
mov dword [edx + 0x3f94], edi
mov ecx, dword [edi + 0x1a4]
cmp ecx, 0xffffffff
je 0x40f125
shl ecx, 9
add ecx, dword [edx + 0x4d18]
jmp 0x40f127
xor ecx, ecx
mov dword [edx + 0x4cf8], ecx
mov dword [edx + 0x3d04], 0x3f800000
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3d00]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x40f15b
mulss xmm0, dword [eax + 0x270]
movss dword [edx + 0x3d14], xmm0
movss dword [edx + 0x3cfc], xmm0
test ecx, ecx
jne 0x40f17b
cmp dword [edi + 0x1a0], ecx
jne 0x40f17b
mov al, 1
jmp 0x40f17d
xor al, al
mov byte [edi + 0x160], al
lea edx, [esp + 0x80]
movss xmm0, dword [edi + 0x18]
mov ecx, edi
movss xmm1, dword [edi + 0x58]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x28]
addss xmm1, dword [edi + 0x1c]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x8c], xmm1
call fcn.0040f570
cmp byte [edi + 0xc0], 0
jne 0x40f340
mov ecx, dword [0x43b430]
mov eax, dword [ecx + 0x3f94]
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x3f94]
movss xmm1, dword [edi + 0x1f4]
movss xmm0, dword [edi + 0x1f8]
movss xmm3, dword [edi + 0x1fc]
mov edx, dword [eax + 0x278]
movss xmm2, dword [edi + 0x200]
mov dword [esp + 0x140], eax
mov dword [esp + 0x18], edx
movups xmm4, xmmword [edx + 0x44]
movss dword [esp + 0x60], xmm1
comiss xmm4, xmm1
movss dword [esp + 0x64], xmm0
movaps xmmword [esp + 0x80], xmm4
jbe 0x40f24e
movaps xmm1, xmm4
movss dword [esp + 0x60], xmm1
movss xmm4, dword [esp + 0x84]
comiss xmm4, xmm0
jbe 0x40f265
movaps xmm0, xmm4
movss dword [esp + 0x64], xmm0
movss xmm4, dword [esp + 0x88]
comiss xmm3, xmm4
jbe 0x40f276
movaps xmm3, xmm4
movss xmm4, dword [esp + 0x8c]
comiss xmm2, xmm4
jbe 0x40f287
movaps xmm2, xmm4
mov eax, dword [edx + 0x74]
maxss xmm1, xmm3
maxss xmm0, xmm2
lea ecx, [edx + 0x70]
mov dword [esp + 0x3c], ecx
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x6c], xmm0
cmp dword [ecx], eax
jne 0x40f2da
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x40f2c2
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40f2c7
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041a810
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
movaps xmm0, xmmword [esp + 0x60]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, edx
movups xmmword [edx + 0x44], xmm0
call fcn.00422e90
mov edx, dword [esp + 0x140]
mov eax, dword [edx + 0x278]
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x78]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x224], eax
movss dword [edx + 0x228], xmm0
movss dword [edx + 0x22c], xmm1
movss dword [edx + 0x230], xmm2
mov eax, dword [esp + 0x50]
mov byte [edi + 0xbc], 0
inc word [edi + 0xc8]
mov dword [esi + 0x4968], 0
cmp eax, dword [esp + 0x54]
je 0x40f4e6
cmp byte [edi + 0xc0], 0
jne 0x40f4df
mov ecx, dword [esp + 0x20]
mov eax, ecx
and eax, 0x11000000
cmp eax, 0x1000000
jne 0x40f443
test ecx, 0x800000
je 0x40f3b6
cmp byte [esi + 0x4aac], 0
je 0x40f3b6
mov eax, dword [esi + 0x4a50]
test eax, eax
je 0x40f3b6
mov eax, dword [eax + 0x320]
cmp eax, dword [edi + 0x320]
jne 0x40f3b6
mov al, 1
jmp 0x40f3b8
xor al, al
cmp byte [esi + 0x5e44], 0
jne 0x40f409
test al, al
jne 0x40f409
movss xmm0, dword [edi + 0x1d4]
comiss xmm0, dword [edi + 0x1dc]
jae 0x40f3e7
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jb 0x40f409
cmp byte [edi + 0xd2], 0
jg 0x40f402
cmp byte [edi + 0xd3], 0
jg 0x40f402
mov byte [edi + 0xdc], 1
jmp 0x40f409
mov byte [edi + 0xdd], 1
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40f443
cmp byte [eax + 0xbd], 0
jne 0x40f423
cmp byte [eax + 0xdc], 0
jle 0x40f42a
mov byte [edi + 0xdc], 1
cmp byte [eax + 0xbd], 0
jne 0x40f43c
cmp byte [eax + 0xdd], 0
jle 0x40f443
mov byte [edi + 0xdd], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x38a8]
jb 0x40f456
mov byte [edi + 0xdc], 1
cmp byte [edi + 0xdc], 0
jg 0x40f476
cmp byte [edi + 0xdd], 0
jg 0x40f476
xor cl, cl
cmp byte [edi + 0xde], cl
jg 0x40f478
xor al, al
jmp 0x40f47a
mov cl, 1
mov al, 1
mov byte [edi + 0xc2], al
mov al, byte [edi + 0xdf]
test al, al
jle 0x40f49d
dec al
mov byte [edi + 0xdf], al
mov eax, dword [edi + 0xc]
or eax, 0x30200
mov dword [edi + 0xc], eax
xor al, al
cmp byte [edi + 0xbd], al
jne 0x40f4b3
cmp byte [edi + 0xba], al
je 0x40f4b3
test cl, cl
je 0x40f4d7
cmp byte [edi + 0xd2], 0
jg 0x40f4d7
cmp byte [edi + 0xd3], 0
jg 0x40f4d7
cmp byte [edi + 0xdd], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xbf], al
jmp 0x40f4e6
mov byte [edi + 0xbf], 1
cmp byte [edi + 0xc3], 0
jne 0x40f54b
cmp byte [esi + 0x65], 0
je 0x40f4fc
cmp dword [esp + 0x5c], 0
je 0x40f511
cmp byte [esi + 0x66], 0
je 0x40f54b
movsx eax, byte [esi + 0x5ea4]
cmp eax, dword [esi + 0x3f6c]
jne 0x40f54b
mov al, byte [edi + 0xd2]
test al, al
jle 0x40f523
inc al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x40f535
inc al
mov byte [edi + 0xd3], al
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00430c52
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xbf], 0
mov ecx, dword [esp + 0x18c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.00430c52
mov esp, ebp
pop ebp
ret