Function at 0x40ddc0
Capabilities:
Encrypt data using rc4 ksa
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]
push esi
mov esi, dword [0x43b4a8]
push edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], esi
call fcn.0040b120
mov edi, eax
mov dword [esp + 0x58], eax
test edi, edi
mov dword [esp + 0x3c], edi
sete byte [esp + 0x40]
test eax, eax
jne 0x40de22
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
call fcn.0040b410
mov edi, eax
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0x3fe0]
cmp ecx, dword [edi + 8]
jne 0x40de2e
int3
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x30200
cmp eax, 0x30200
jne 0x40de47
or ecx, 6
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x3fbc], 0
mov edx, dword [esi + 0x3f50]
mov eax, dword [edi + 0x24c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
jne 0x40de71
cmp byte [esi + 0x3f5d], 0
je 0x40de71
mov al, 1
jmp 0x40de73
xor al, al
mov byte [edi + 0xc3], al
lea eax, [edx - 1]
cmp dword [esp + 0x4c], eax
setl al
mov byte [esp + 0x1f], al
test ecx, 0x4000000
je 0x40decd
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x4a84]
mov edx, dword [edx + 0x4a80]
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 + 0x34]
mov edx, dword [esp + 0x50]
setne al
or cl, al
mov al, byte [esp + 0x1f]
or al, cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x1f], al
mov byte [edi + 0xc1], al
test al, al
je 0x40deec
or byte [edi + 0xe0], 8
or byte [edi + 0xe1], 8
or byte [edi + 0xe2], 8
cmp dword [esp + 0x4c], edx
je 0x40df5e
mov dl, byte [esp + 0x40]
push ecx
mov ecx, edi
call fcn.0040b170
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [edi + 0xc], edx
test dword [esi + 0x49c0], 0x100
je 0x40df1c
mov eax, dword [esi + 0x49f8]
jmp 0x40df1e
xor eax, eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x24c], eax
xor eax, eax
movsd xmm0, qword [esi + 0x3f48]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xcc], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x3fd4]
inc dword [esi + 0x3fd4]
mov word [edi + 0xce], ax
jmp 0x40df65
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3fbc]
test eax, eax
jne 0x40df73
xor ecx, ecx
jmp 0x40df80
imul ecx, eax, 0x68
mov eax, dword [esi + 0x3fc4]
mov ecx, dword [eax + ecx - 0x68]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
cmp eax, dword [esp + 0x50]
je 0x40df9d
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x40dfa3
mov eax, dword [edi + 0x30c]
cmp dword [edi + 0xf4], 0
mov dword [esp + 0x44], eax
lea eax, [edi + 0xf4]
jne 0x40dfdc
cmp dword [eax + 4], 0
jne 0x40dfcb
push 8
mov ecx, eax
call fcn.0041af70
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 + 0x3fe4], edi
call fcn.00402010
test dword [esp + 0x14], 0x2000000
xorps xmm0, xmm0
mov eax, dword [esi + 0x3fe4]
movups xmmword [esp + 0x12c], xmm0
mov word [esp + 0x13c], 0
movups xmm0, xmmword [esi + 0x4970]
movzx eax, word [eax + 0xf4]
mov word [esp + 0x12c], ax
movzx eax, word [esi + 0x4a30]
mov word [esp + 0x12e], ax
movzx eax, word [esi + 0x4a3c]
movups xmmword [esp + 0xdc], xmm0
mov word [esp + 0x130], ax
movups xmm0, xmmword [esi + 0x4980]
movzx eax, word [esi + 0x4a48]
mov word [esp + 0x132], ax
movzx eax, word [esi + 0x4a54]
movups xmmword [esp + 0xec], xmm0
mov word [esp + 0x134], ax
movups xmm0, xmmword [esi + 0x4990]
movzx eax, word [esi + 0x4a6c]
mov word [esp + 0x136], ax
movzx eax, word [esi + 0x4a60]
movups xmmword [esp + 0xfc], xmm0
mov word [esp + 0x138], ax
movups xmm0, xmmword [esi + 0x49a0]
movzx eax, word [esi + 0x4a84]
mov word [esp + 0x13a], ax
movzx eax, word [esi + 0x5d98]
movups xmmword [esp + 0x10c], xmm0
mov dword [esp + 0xd8], edi
movups xmm0, xmmword [esi + 0x49b0]
mov word [esp + 0x13c], ax
movups xmmword [esp + 0x11c], xmm0
je 0x40e0fd
test byte [esi + 0x493c], 4
mov byte [esp + 0x13e], 1
jne 0x40e105
mov byte [esp + 0x13e], 0
mov edi, dword [esi + 0x3fbc]
lea eax, [esi + 0x3fbc]
mov esi, dword [eax + 4]
mov dword [esp + 0x18], eax
cmp edi, esi
jne 0x40e148
inc edi
test esi, esi
je 0x40e132
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x18]
sar ecx, 1
add ecx, esi
jmp 0x40e137
mov ecx, 8
cmp ecx, edi
cmovg edi, ecx
mov ecx, eax
push edi
call fcn.0041b800
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 + 0x14]
mov esi, dword [esp + 0x34]
test ecx, 0x10000000
je 0x40e174
inc dword [esi + 0x5d08]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
cmp eax, dword [esp + 0x50]
je 0x40e235
mov edx, dword [esp + 0x44]
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 0x40e1f6
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40e1c6
mov eax, dword [edx + 0x314]
mov dword [edi + 0x314], eax
test ecx, 0x4000000
je 0x40e1da
mov eax, dword [edx + 0x318]
mov dword [edi + 0x318], eax
test ecx, 0x8000000
jne 0x40e1f6
test ecx, 0x5000000
je 0x40e1f6
mov eax, dword [edx + 0x31c]
mov dword [edi + 0x31c], eax
test dword [edi + 0x10], 0x100
je 0x40e218
mov edx, edi
mov eax, dword [edx + 0x30c]
mov edx, eax
mov dword [edi + 0x320], eax
test dword [edx + 0x10], 0x100
jne 0x40e201
mov edx, dword [esp + 0x30]
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 dword [edi + 0x10], 0x100
je 0x40e246
mov eax, dword [esi + 0x4938]
jmp 0x40e249
mov eax, dword [edi + 8]
mov ecx, dword [0x43b4a8]
mov dword [esp + 0x18], eax
lea edx, [ecx + 0x4a54]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0x3fe4]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
cmp dword [edx], ecx
jne 0x40e2a8
test ecx, ecx
je 0x40e28b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
jmp 0x40e290
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041b730
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0x18]
mov dword [ecx + eax*8], esi
mov esi, dword [esp + 0x20]
mov dword [ecx + eax*8 + 4], esi
mov ecx, dword [esp + 0x140]
inc dword [edx]
test dword [esp + 0x14], 0x4000000
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x4938], eax
mov eax, dword [esi + 0x4938]
mov dword [edi + 0x364], eax
je 0x40e39c
mov eax, dword [esi + 0x4a84]
mov edx, dword [esi + 0x4a80]
mov dword [esp + 0x24], edx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x30]
mov dword [edx + ecx*8 + 4], edi
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x158]
mov dword [edx + ecx*8 + 0xc], eax
lea edx, [esi + 0x4a84]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x20], eax
cmp ecx, eax
jne 0x40e357
inc ecx
test eax, eax
je 0x40e33f
cdq
sub eax, edx
lea edx, [esi + 0x4a84]
sar eax, 1
add eax, dword [esp + 0x20]
jmp 0x40e344
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041b660
lea edx, [esi + 0x4a84]
mov eax, dword [edx]
mov edi, dword [esp + 0x18]
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 + 0x3c]
mov ecx, esi
inc dword [edx]
mov esi, dword [esp + 0x34]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0x84], eax
test byte [esi + 0x49c0], 1
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
je 0x40e456
mov dl, byte [edi + 0xe0]
mov ecx, dword [esi + 0x49c4]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x11]
test ecx, eax
je 0x40e445
movss xmm1, dword [esi + 0x49dc]
movss xmm0, dword [esi + 0x49d8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x438bac]
jbe 0x40e445
mov eax, dword [esi + 0x49d0]
mov ecx, dword [esi + 0x49d4]
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xe4], eax
mov eax, dword [esi + 0x49d8]
mov ecx, dword [esi + 0x49dc]
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 0x40e456
push ecx
lea edx, [esi + 0x49d0]
mov ecx, edi
call fcn.00410ea0
add esp, 4
test byte [esi + 0x49c0], 2
xorps xmm1, xmm1
je 0x40e4f7
mov cl, byte [edi + 0xe1]
movsx eax, cl
and eax, dword [esi + 0x49c8]
je 0x40e48b
movss xmm0, dword [esi + 0x49e0]
comiss xmm0, xmm1
jbe 0x40e48b
mov byte [esp + 0x13], 1
jmp 0x40e494
mov byte [esp + 0x13], 0
test eax, eax
je 0x40e4a8
movss xmm0, dword [esi + 0x49e4]
comiss xmm0, xmm1
jbe 0x40e4ad
mov byte [esp + 0x12], 1
jmp 0x40e4b2
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
test byte [edi + 0x10], 4
je 0x40e4c6
test cl, 4
jne 0x40e4c6
mov eax, dword [edi + 0x28]
mov dword [esi + 0x49e0], eax
test byte [edi + 0x10], 8
je 0x40e4de
test byte [edi + 0xe1], 4
jne 0x40e4de
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x49e4], eax
push dword [esi + 0x49c8]
lea edx, [esi + 0x49e0]
mov ecx, edi
call fcn.00411000
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x49c0], 0x80
je 0x40e53e
movss xmm0, dword [esi + 0x49f0]
comiss xmm0, xmm1
jb 0x40e51f
movss dword [edi + 0x98], xmm0
mov dword [edi + 0xa0], 0
movss xmm0, dword [esi + 0x49f4]
comiss xmm0, xmm1
jb 0x40e53e
movss dword [edi + 0x9c], xmm0
mov dword [edi + 0xa4], 0
test byte [esi + 0x49c0], 4
je 0x40e55b
mov eax, dword [esi + 0x49e8]
mov ecx, dword [esi + 0x49ec]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x40e573
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x50]
je 0x40e573
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x49c0], 8
je 0x40e5c0
mov ecx, dword [esi + 0x49cc]
mov dl, byte [esi + 0x49fc]
test ecx, ecx
je 0x40e597
movsx eax, byte [edi + 0xe2]
test ecx, eax
je 0x40e5c0
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 + 0x49c0], 0x20
je 0x40e5d2
xor edx, edx
mov ecx, edi
call fcn.00410a50
mov ah, byte [edi + 0xc1]
test ah, ah
je 0x40e5f8
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 [0x43b4a8]
mov byte [edi + 0xc0], 0
test dword [ecx + 0x49c0], 0x200
je 0x40e67c
mov edx, dword [ecx + 0x4a24]
test dl, 1
je 0x40e67c
test ah, ah
jne 0x40e67c
cmp byte [edi + 0xc2], ah
jne 0x40e67c
test dl, 2
je 0x40e64e
cmp dword [ecx + 0x3fe8], 0
je 0x40e64e
mov esi, dword [ecx + 0x3fe8]
mov eax, dword [edi + 0x314]
cmp eax, dword [esi + 0x314]
mov esi, dword [esp + 0x34]
je 0x40e67c
test dl, 4
je 0x40e66b
mov ecx, dword [ecx + 0x4aa8]
test ecx, ecx
je 0x40e66b
mov eax, dword [edi + 0x314]
cmp eax, dword [ecx + 0x314]
je 0x40e67c
mov dword [edi + 0x278], 0
mov byte [edi + 0xc0], 1
cmp byte [esp + 0x13e], 0
je 0x40e714
cmp dword [edi + 0x314], edi
jne 0x40e714
mov ecx, dword [0x43b4a8]
mov dword [esp + 0x30], ecx
mov eax, dword [ecx + 0x5d94]
and dword [ecx + 0x493c], 0xfffffffb
mov dword [ecx + 0x38b0], eax
add ecx, 0x4a60
mov dword [esp + 0x18], ecx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40e6f1
inc edx
mov dword [esp + 0x20], edx
test eax, eax
je 0x40e6dd
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e6e2
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041af70
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x493c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x18]
inc dword [eax]
mov eax, dword [esp + 0x30]
inc word [eax + 0x5d98]
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x3fe4], 0
cmp eax, dword [esp + 0x50]
je 0x410275
cmp byte [edi + 0xc0], 0
jne 0x41027e
mov eax, dword [esp + 0x14]
and eax, 0x3000000
mov byte [edi + 0xba], 1
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x30], eax
mov al, byte [edi + 0xdd]
mov byte [esp + 0x4b], al
setne al
mov byte [edi + 0xc5], al
mov dword [edi + 0x224], 0xff7fffff
mov dword [edi + 0x228], 0xff7fffff
mov dword [edi + 0x22c], 0x7f7fffff
mov dword [edi + 0x230], 0x7f7fffff
mov eax, dword [edi + 0xf8]
cmp eax, 1
jge 0x40e7cb
test eax, eax
je 0x40e7ae
cdq
sub eax, edx
lea edx, [edi + 0xf4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x40e7b9
mov ecx, 8
lea edx, [edi + 0xf4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.0041af70
mov dword [edi + 0xf4], 1
mov ecx, dword [edi + 0x278]
call fcn.00423db0
cmp byte [edi + 0x370], 0
mov dword [edi + 0x1a4], 0xffffffff
je 0x40e836
mov ecx, dword [edi + 0x278]
push dword [edi + 0x368]
add ecx, 0xc
mov byte [edi + 0x370], 0
call fcn.0041b420
mov ecx, dword [edi + 0x278]
push dword [edi + 0x36c]
add ecx, 0x18
call fcn.0041b140
mov dword [edi + 0x36c], 0
mov dword [edi + 0x368], 0
cmp dword [esi + 0x4c7c], 0
je 0x40e974
test dword [edi + 0xc], 0x20000
jne 0x40e974
cmp dword [esp + 0x58], 0
je 0x40e974
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40e888
test dl, dl
je 0x40e884
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40e888
add eax, 2
add ecx, 2
test dl, dl
jne 0x40e868
xor eax, eax
jmp 0x40e88d
sbb eax, eax
or eax, 1
test eax, eax
je 0x40e974
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 0x78]
mov dword [esp + 0x18], edx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e8a7
sub ecx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
cmp edx, eax
jae 0x40e959
mov edx, dword [esp + 0x24]
test edx, edx
je 0x40e93a
mov ecx, dword [0x43b4a8]
test ecx, ecx
je 0x40e93a
mov eax, dword [ecx + 0x3f50]
mov dword [esp + 0x18], eax
movsx eax, word [ecx + 0x5f64]
mov esi, dword [esp + 0x18]
add eax, 0xbed
cmp dword [ecx + eax*8], esi
mov esi, dword [esp + 0x34]
lea eax, [ecx + eax*8]
je 0x40e930
movsx eax, word [ecx + 0x5f64]
inc eax
mov dword [esp + 0x20], 6
cdq
idiv dword [esp + 0x20]
movzx eax, dx
mov edx, dword [esp + 0x18]
mov word [ecx + 0x5f64], ax
cwde
add eax, 0xbed
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 + 0x5f60]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esp + 0x2c]
add esp, 4
call fcn.004081d0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
push eax
push dword [esp + 0x58]
push dword [esp + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [edi + 0x78], eax
lea eax, [edi + 0x38]
mov ecx, edi
push eax
lea edx, [edi + 0x30]
call fcn.0040b7f0
mov al, byte [edi + 0xdc]
add esp, 4
test al, al
jle 0x40e997
dec al
mov byte [edi + 0xdc], al
mov al, byte [edi + 0xdd]
test al, al
jle 0x40e9a9
dec al
mov byte [edi + 0xdd], al
mov al, byte [edi + 0xde]
test al, al
jle 0x40e9bb
dec al
mov byte [edi + 0xde], al
cmp dword [esp + 0x58], 0
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x12]
jne 0x40e9d9
test al, al
je 0x40e9d2
test cl, cl
jne 0x40e9d9
mov byte [edi + 0xdd], 1
cmp byte [esp + 0x1f], 0
mov edx, dword [esp + 0x14]
je 0x40ea38
test edx, 0x6000000
je 0x40ea38
mov byte [edi + 0xdd], 1
test dl, 0x40
je 0x40ea38
test al, al
jne 0x40ea0a
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x40ea1c
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 [0x43b4a8]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x4aa4]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov dword [esp + 0x38], eax
mov dword [ecx + 0x3fe4], edi
mov eax, dword [edi + 0x1a4]
cmp eax, 0xffffffff
je 0x40ea6d
shl eax, 9
add eax, dword [ecx + 0x4d74]
jmp 0x40ea6f
xor eax, eax
mov dword [ecx + 0x4d54], eax
mov dword [ecx + 0x3d40], 0x3f800000
mov dword [esp + 0x28], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3d38]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x40eaa7
mulss xmm0, dword [eax + 0x270]
cmp dword [esp + 0x28], 0
mov eax, dword [ecx + 0x3d30]
movss dword [ecx + 0x3d50], xmm0
movss dword [ecx + 0x3d34], xmm0
divss xmm0, dword [eax + 0x10]
movss dword [ecx + 0x3d3c], xmm0
jne 0x40eade
cmp dword [edi + 0x1a0], 0
jne 0x40eade
mov al, 1
jmp 0x40eae0
xor al, al
mov byte [edi + 0x160], al
test edx, 0x1000000
je 0x40eaf8
movss xmm0, dword [esi + 0x38e0]
jmp 0x40eb1a
test edx, 0x6000000
je 0x40eb12
test edx, 0x8000000
jne 0x40eb12
movss xmm0, dword [esi + 0x38e8]
jmp 0x40eb1a
movss xmm0, dword [esi + 0x38c4]
movss dword [edi + 0x54], xmm0
xorps xmm1, xmm1
mov eax, dword [esi + 0x38b8]
mov ecx, dword [esi + 0x38bc]
mov dword [edi + 0x48], eax
mov eax, edx
and eax, 0x5000000
mov dword [edi + 0x4c], ecx
cmp eax, 0x1000000
jne 0x40eb72
test byte [edi + 0x10], 2
jne 0x40eb72
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40eb72
test edx, 0x400
je 0x40eb63
movss xmm0, dword [esi + 0x38bc]
jmp 0x40eb66
xorps xmm0, xmm0
mov dword [edi + 0x48], 0
movss dword [edi + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [esi + 0x38fc]
maxss xmm0, dword [esi + 0x4a1c]
movss dword [edi + 0x164], xmm0
movss xmm3, dword [esi + 0x4a20]
movss dword [edi + 0x168], xmm3
test dl, 1
je 0x40eba9
xorps xmm2, xmm2
jmp 0x40ebbd
movss xmm2, dword [esi + 0x38f0]
addss xmm2, xmm2
addss xmm2, dword [esi + 0x3d34]
movss dword [edi + 0x58], xmm2
test edx, 0x400
je 0x40ebe4
movss xmm0, dword [esi + 0x38f0]
addss xmm3, dword [esi + 0x3d34]
addss xmm0, xmm0
addss xmm3, xmm0
jmp 0x40ebe7
xorps xmm3, xmm3
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x40]
movss dword [edi + 0x5c], xmm3
mov byte [esp + 0x24], al
je 0x40ec0e
movss xmm0, dword [edi + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40ec0e
mov byte [esp + 0x40], 1
cmp byte [esp + 0x12], 0
je 0x40ec28
movss xmm0, dword [edi + 0x44]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40ec28
mov byte [esp + 0x24], 1
test dl, 0x21
jne 0x40ed42
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 + 0x18]
cmp dword [esi + 0x3fe8], edi
jne 0x40ecf6
cmp dword [esi + 0x4024], 0
jne 0x40ecf6
cmp dword [esi + 0x4028], 0
jne 0x40ecf6
mov eax, dword [edx + 0x3fe4]
movss xmm5, dword [edx + 0x3914]
movss xmm7, dword [edx + 0xc4]
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 0x40ecf6
movss xmm0, dword [edx + 0x3918]
movss xmm6, dword [edx + 0xc8]
subss xmm4, xmm0
comiss xmm6, xmm4
jb 0x40ecf6
addss xmm5, xmm3
comiss xmm5, xmm7
jbe 0x40ecf6
addss xmm2, xmm0
comiss xmm2, xmm6
jbe 0x40ecf6
cmp word [esi + 0x2af2], 2
jne 0x40ecf6
cmp dword [edx + 0x4758], 0xffffffff
jne 0x40ecf6
mov byte [edi + 0xbe], 1
cmp byte [edi + 0xbe], 0
je 0x40ed49
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 0x40ed49
comiss xmm1, dword [edx + 0x5e3c]
jb 0x40ed49
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5e3c], eax
jmp 0x40ed49
mov byte [edi + 0xbd], 0
movss xmm0, dword [edi + 0xb0]
lea eax, [edi + 0x38]
movss dword [esp + 0x28], xmm0
lea ecx, [esp + 0x144]
movss xmm0, dword [edi + 0xb4]
mov edx, edi
movss dword [esp + 0x2c], 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.0040b920
add esp, 4
test byte [esp + 0x14], 0x40
je 0x40ee06
cmp byte [edi + 0xbd], 0
jne 0x40ee06
cmp byte [esp + 0x13], 0
jne 0x40ede3
movss xmm0, dword [esp + 0x144]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x40], 1
cmp byte [esp + 0x12], 0
jne 0x40eebd
movss xmm0, dword [esp + 0x148]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x24], 1
jmp 0x40eebd
mov al, byte [edi + 0xd2]
test al, al
jg 0x40ee1d
cmp byte [edi + 0xd3], 0
jle 0x40eebd
cmp byte [esp + 0x13], 0
jne 0x40ee54
test al, al
jle 0x40ee54
cmp byte [edi + 0xd4], 0
je 0x40ee41
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x144]
jmp 0x40ee4a
movss xmm0, dword [esp + 0x144]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x40], 1
cmp byte [esp + 0x12], 0
jne 0x40ee90
cmp byte [edi + 0xd3], 0
jle 0x40ee90
cmp byte [edi + 0xd4], 0
je 0x40ee7d
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [esp + 0x148]
jmp 0x40ee86
movss xmm0, dword [esp + 0x148]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x24], 1
cmp byte [edi + 0xbd], 0
jne 0x40eebd
test dword [edi + 0xc], 0x100
mov ecx, dword [0x43b4a8]
jne 0x40eebd
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5e3c]
jb 0x40eebd
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5e3c], eax
lea esi, [edi + 0x28]
mov edx, edi
push esi
lea ecx, [esp + 0xb4]
call fcn.0040b640
add esp, 4
cmp byte [edi + 0xbd], 0
movss xmm3, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x14]
movss dword [esi], xmm3
movss dword [esi + 4], xmm1
je 0x40ef17
test eax, 0x1000000
jne 0x40ef17
movss xmm2, dword [edi + 0x18]
movss xmm1, dword [edi + 0x58]
addss xmm2, xmm3
addss xmm1, dword [edi + 0x1c]
subss xmm2, dword [edi + 0x18]
subss xmm1, dword [edi + 0x1c]
jmp 0x40ef1a
movaps xmm2, xmm3
cmp byte [esp + 0x1f], 0
movss dword [edi + 0x20], xmm2
movss dword [edi + 0x24], xmm1
je 0x40ef71
and eax, 0xc000000
mov dword [edi + 0xd8], 0xffffffff
cmp eax, 0x4000000
jne 0x40ef71
cmp byte [esp + 0x11], 0
jne 0x40ef71
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x4a84]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x4a8c]
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 + 0x14]
test edx, 0x1000000
je 0x40f012
mov esi, dword [esp + 0x44]
mov ax, word [esi + 0x190]
lea ecx, [esi + 0x190]
mov word [edi + 0xcc], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x40efd3
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x20], edx
test eax, eax
je 0x40efb9
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40efbe
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041af70
mov edx, dword [esp + 0x14]
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 + 0x11]
mov ecx, dword [esp + 0x30]
test edx, 0x4000000
jne 0x40f01a
test al, al
jne 0x40f01a
cmp ecx, 0x3000000
je 0x40f01a
mov eax, dword [esi + 0x100]
mov ecx, dword [esi + 0x104]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov al, byte [esp + 0x11]
movss xmm1, dword [edi + 0xe4]
ucomiss xmm1, dword [0x438cac]
lahf
test ah, 0x44
jnp 0x40f089
cmp byte [edi + 0xdd], 0
jne 0x40f089
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.00410ea0
add esp, 4
jmp 0x40f0ea
test edx, 0x10000000
je 0x40f09a
lea ecx, [esp + 0xb8]
jmp 0x40f0d0
test edx, 0x4000000
je 0x40f0b5
test al, al
jne 0x40f0b5
cmp byte [esp + 0x4b], al
jle 0x40f0b5
lea ecx, [esp + 0xc0]
jmp 0x40f0d0
test edx, 0x2000000
je 0x40f0ee
test al, al
jne 0x40f0ee
cmp ecx, 0x3000000
je 0x40f0ee
lea ecx, [esp + 0xc8]
mov edx, edi
call fcn.00414a60
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov edx, dword [esp + 0x14]
cmp byte [esp + 0x11], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
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 + 0x3980]
movaps xmm4, xmm1
movss xmm2, dword [ecx + 0x397c]
maxss xmm3, dword [ecx + 0x3988]
maxss xmm2, dword [ecx + 0x3984]
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 0x40f212
test edx, 0x1000000
jne 0x40f212
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x40f212
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x40f212
mov eax, dword [0x43b4a8]
movss xmm0, dword [edi + 0x24]
cmp byte [eax + 0x4b], 0
je 0x40f1dd
test byte [edi + 0xc], 1
jne 0x40f1dd
movss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x20]
subss xmm3, xmm0
movss xmm0, dword [edi + 0x1c]
comiss xmm3, xmm0
ja 0x40f1f7
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x40f208
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 0x40f246
movss xmm2, dword [ecx + 0x38dc]
jmp 0x40f266
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40f25e
movss xmm2, dword [ecx + 0x38e4]
jmp 0x40f266
movss xmm2, dword [ecx + 0x38c0]
xor al, al
movss dword [edi + 0x50], xmm2
mov dword [esp + 0x18], eax
cmp byte [esp + 0x1f], al
je 0x40f2a3
test edx, 0x1000
jne 0x40f2a3
test edx, 0x4000000
je 0x40f28e
mov byte [esp + 0x18], 1
jmp 0x40f2a3
test edx, 0x3000000
movzx eax, al
mov esi, 1
cmove eax, esi
mov dword [esp + 0x18], eax
mov eax, edx
mov dword [esp + 0x14c], 0xffffffff
and eax, 0x5000000
mov dword [esp + 0x140], 0xffffffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x170], xmm0
cmp eax, 0x1000000
jne 0x40f2d6
xor eax, eax
jmp 0x40f2df
xor eax, eax
cmp byte [ecx + 0x4a], al
setne al
inc eax
cmp byte [edi + 0xbd], 0
movss xmm1, dword [ecx + 0x3d34]
addss xmm2, dword [0x438c24]
movaps xmm0, xmm1
mov dword [esp + 0x20], eax
mulss xmm1, dword [0x438bcc]
mulss xmm0, dword [0x438c28]
addss xmm1, xmm2
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x40f37e
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 + 0x15c]
push eax
lea edx, [esp + 0x158]
call fcn.0040bb80
add esp, 0x14
test eax, eax
je 0x40f376
mov ecx, dword [esp + 0x40]
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 + 0x40], ecx
mov byte [esp + 0x24], al
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
cmp byte [edi + 0xbd], 0
mov al, byte [esp + 0x14c]
mov byte [edi + 0xc6], al
mov al, byte [esp + 0x140]
mov byte [edi + 0xc7], al
jne 0x40f4f2
cmp dword [esp + 0x58], 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 + 0x28]
addss xmm5, dword [esp + 0x2c]
jne 0x40f3fb
xorps xmm3, xmm3
xorps xmm1, xmm1
jmp 0x40f417
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 + 0x40], 0
jne 0x40f421
movaps xmm6, xmm4
mov eax, dword [esp + 0x24]
test al, al
jne 0x40f42c
movaps xmm2, xmm5
test edx, 0x4000
jne 0x40f442
comiss xmm1, xmm2
jbe 0x40f43e
test dl, 8
je 0x40f442
xor al, al
jmp 0x40f444
mov al, 1
mov byte [esp + 0x11], al
mov byte [edi + 0xb9], al
test edx, 0x8000
jne 0x40f48e
test al, al
je 0x40f464
movss xmm4, dword [ecx + 0x3924]
jmp 0x40f467
xorps xmm4, xmm4
subss xmm6, xmm4
comiss xmm3, xmm6
jbe 0x40f482
mov eax, edx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0x11]
je 0x40f48e
mov byte [edi + 0xb8], 0
xorps xmm1, xmm1
jmp 0x40f4bf
mov byte [edi + 0xb8], 1
test al, al
jne 0x40f4b7
subss xmm2, dword [ecx + 0x3924]
comiss xmm1, xmm2
jbe 0x40f4af
test dl, 8
jne 0x40f4af
mov al, 1
jmp 0x40f4b1
xor al, al
mov byte [edi + 0xb9], al
movss xmm1, dword [ecx + 0x3924]
test al, al
je 0x40f4cb
movss xmm0, dword [ecx + 0x3924]
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 0x40f515
cmp dword [esp + 0x30], 0x3000000
je 0x40f515
mov eax, dword [esp + 0x44]
add eax, 0x224
jmp 0x40f51c
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 xmm4, dword [edi + 0x24]
movaps xmm1, xmm6
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
addss xmm5, dword [edi + 0x20]
movss dword [edi + 0x1dc], xmm5
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 0x40f63c
movss xmm0, dword [edi + 0x54]
jmp 0x40f644
movss xmm0, dword [ecx + 0x38f8]
movss xmm6, dword [0x438bec]
xorps xmm2, xmm2
addss xmm4, xmm6
movss dword [esp + 0x28], xmm0
addss xmm4, dword [edi + 0x54]
comiss xmm4, xmm2
cvttss2si eax, xmm4
mov dword [esp + 0x2c], eax
jae 0x40f686
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x40f682
cvttss2si eax, xmm4
dec eax
jmp 0x40f686
mov eax, dword [esp + 0x2c]
addss xmm5, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm5, dword [esp + 0x28]
movss dword [edi + 0x1f4], xmm0
comiss xmm5, xmm2
cvttss2si eax, xmm5
mov dword [esp + 0x2c], eax
jae 0x40f6c7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jnp 0x40f6c3
cvttss2si eax, xmm5
dec eax
jmp 0x40f6c7
mov eax, dword [esp + 0x2c]
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 + 0x2c], eax
jae 0x40f70b
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40f707
cvttss2si eax, xmm1
dec eax
jmp 0x40f70b
mov eax, dword [esp + 0x2c]
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 + 0x2c], eax
jae 0x40f74a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x40f746
cvttss2si eax, xmm3
dec eax
jmp 0x40f74a
mov eax, dword [esp + 0x2c]
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 0x40f777
movaps xmm3, xmm0
jmp 0x40f77e
movaps xmm3, xmm5
minss xmm3, xmm1
movss xmm4, dword [edi + 0x1f4]
comiss xmm7, xmm4
movss xmm6, dword [esp + 0x78]
jbe 0x40f796
movaps xmm1, xmm7
jmp 0x40f79d
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 0x40f7c1
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm1, dword [edi + 0x1fc]
comiss xmm7, xmm1
ja 0x40f7d5
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 0x40f801
test edx, 0x2000040
jne 0x40f801
mulss xmm0, dword [0x438bf4]
jmp 0x40f811
movss xmm0, dword [ecx + 0x3d34]
mulss xmm0, dword [0x438c6c]
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.00413ec0
mov edx, dword [esp + 0x34]
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 + 0x3d30]
mov ecx, dword [edi + 0x278]
mov dword [esp + 0x24], ecx
add ecx, 0x7c
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x30]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40f928
inc edx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x40f914
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40f919
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041af70
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov edi, dword [esp + 0x28]
mov dword [eax + edx*4], edi
mov eax, edi
inc dword [ecx]
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x54], eax
call fcn.004241f0
mov ecx, dword [0x43b4a8]
movss xmm0, dword [esp + 0x70]
movss xmm1, dword [esp + 0x74]
mov edi, dword [esp + 0x3c]
mov eax, dword [ecx + 0x3fe4]
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 + 0x3fe4]
mov dword [esp + 0x24], eax
movss dword [esp + 0x158], xmm0
movss dword [esp + 0x15c], xmm1
mov edx, dword [eax + 0x278]
mov eax, dword [edx + 0x74]
lea ecx, [edx + 0x70]
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], ecx
cmp dword [ecx], eax
jne 0x40f9ea
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x40f9d2
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40f9d7
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041ba70
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov eax, dword [ecx]
movaps xmm0, xmmword [esp + 0x150]
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.00424150
mov edx, dword [esp + 0x24]
mov byte [esp + 0x12], 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 + 0x14]
movss dword [edx + 0x228], xmm0
and eax, 0x5000000
movss dword [edx + 0x22c], xmm1
movss dword [edx + 0x230], xmm2
cmp eax, 0x1000000
jne 0x40fb1b
cmp dword [esp + 0x30], 0x3000000
je 0x40fb1b
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x190]
cmp ecx, 2
jl 0x40fadf
mov eax, dword [eax + 0x198]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x40fadf
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 0x40fadf
comiss xmm2, xmm5
jbe 0x40fadf
comiss xmm3, xmm6
jbe 0x40fadf
comiss xmm4, xmm7
mov byte [esp + 0x11], 1
ja 0x40fae4
mov byte [esp + 0x11], 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 0x40fb1b
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
je 0x40fb1b
cmp byte [esp + 0x11], 0
jne 0x40fb1b
mov byte [esp + 0x12], 1
mov dword [edi + 0x278], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x4c74]
test ecx, ecx
jne 0x40fb2f
mov ecx, dword [eax + 0x4aa8]
cmp byte [esp + 0x18], 0
jne 0x40fb4f
test ecx, ecx
je 0x40fb48
mov eax, dword [edi + 0x31c]
cmp eax, dword [ecx + 0x31c]
je 0x40fb4f
mov byte [esp + 0x28], 0
jmp 0x40fb54
mov byte [esp + 0x28], 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 + 0x28]
push ecx
push dword [esp + 0x38]
mov ecx, edi
call fcn.0040d1b0
add esp, 0x14
cmp byte [esp + 0x12], 0
je 0x40fb93
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov ecx, dword [esp + 0x14]
xorps xmm4, xmm4
movss xmm5, dword [edi + 0x40]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x40fbba
movss dword [esp + 0x20], xmm5
jmp 0x40fbfc
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 0x40fbef
movss xmm0, dword [edi + 0x30]
jmp 0x40fbf2
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x20], xmm0
movss xmm6, dword [edi + 0x44]
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x40fc0f
movaps xmm7, xmm6
jmp 0x40fc41
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 0x40fc3a
movss xmm7, dword [edi + 0x34]
jmp 0x40fc3d
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm0, dword [edi + 0x48]
movss xmm2, dword [edi + 0x88]
movss xmm1, dword [edi + 0x1e4]
movss dword [esp + 0x2c], xmm0
subss xmm1, xmm2
maxss xmm0, dword [edi + 0x54]
movss dword [esp + 0x30], xmm2
ucomiss xmm5, 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 + 0x3c], xmm0
movss xmm0, dword [edi + 0x1e8]
subss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x38], xmm1
maxss xmm1, dword [edi + 0x54]
addss xmm2, dword [esp + 0x20]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x208], xmm0
addss xmm0, xmm7
movss dword [edi + 0x20c], xmm2
movss xmm2, dword [esp + 0x2c]
movss xmm7, dword [esp + 0x38]
movss dword [edi + 0x210], xmm0
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 + 0x28], xmm0
subss xmm1, dword [esp + 0x30]
addss xmm1, xmm2
addss xmm1, xmm0
movss dword [edi + 0x234], xmm1
movss xmm3, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x64]
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x20], xmm0
subss xmm3, dword [esp + 0x3c]
addss xmm3, xmm7
addss xmm3, xmm0
movss dword [edi + 0x238], xmm3
test ah, 0x44
jp 0x40fd79
movss xmm5, dword [edi + 0x20]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [edi + 0x68]
subss xmm5, xmm0
ucomiss xmm6, xmm4
addss xmm1, xmm5
movss xmm5, dword [esp + 0x20]
lahf
movss dword [edi + 0x23c], xmm1
test ah, 0x44
jp 0x40fdb0
movss xmm6, dword [edi + 0x24]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm6, xmm0
movaps xmm0, xmm5
addss xmm0, dword [edi + 0x6c]
subss xmm6, xmm0
movss xmm1, dword [esp + 0x28]
addss xmm3, xmm6
movss xmm6, dword [esp + 0x30]
lea ecx, [edi + 0x16c]
movaps xmm0, xmm1
mov esi, dword [esp + 0x34]
addss xmm0, xmm2
movss dword [edi + 0x240], xmm3
movss xmm3, dword [esp + 0x24]
cvtps2pd xmm3, xmm3
subss xmm0, xmm6
movss dword [edi + 0x144], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x14c], 0
mov dword [edi + 0x148], 0
movss xmm2, dword [esp + 0x2c]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm6
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, qword [0x438ba0]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x3c]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm5
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 + 0x38fc]
mov dword [esp + 0x20], eax
je 0x40ff82
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x40ff86
mov dword [esp + 0x20], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.00430740
mov eax, dword [esp + 0x20]
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 0x40fff8
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.0041af70
lea eax, [edi + 0x190]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a8], 1
test eax, eax
je 0x41002e
mov eax, dword [eax + 0x1a8]
jmp 0x410033
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 0x41007e
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.0041af70
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4100b3
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.0041af70
lea eax, [edi + 0x1c8]
test dword [esp + 0x14], 0x8000000
mov dword [eax], 0
je 0x41018e
mov edx, dword [0x43b4a8]
xorps xmm0, xmm0
movss xmm5, dword [0x438c24]
movss xmm2, dword [edx + 0x3d0c]
comiss xmm0, xmm2
jbe 0x4100ea
xorps xmm1, xmm1
jmp 0x4100f1
movaps xmm1, xmm5
minss xmm1, xmm2
movss xmm2, dword [0x438c8c]
movss xmm3, dword [0x438bec]
movss xmm4, dword [edx + 0x3d10]
comiss xmm0, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si ecx, xmm1
jbe 0x41011f
xorps xmm1, xmm1
jmp 0x410126
movaps xmm1, xmm5
minss xmm1, xmm4
movss xmm4, dword [edx + 0x3d14]
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x410149
xorps xmm1, xmm1
jmp 0x410150
movaps xmm1, xmm5
minss xmm1, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [edx + 0x3d18]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
jbe 0x410173
xorps xmm5, xmm5
jmp 0x410177
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 0x4101a0
dec al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x4101b2
dec al
mov byte [edi + 0xd3], al
cmp byte [esp + 0x18], 0
je 0x4101d6
mov edx, 2
mov ecx, edi
call fcn.00410a50
cmp edi, dword [esi + 0x4aa8]
jne 0x4101d6
xor dl, dl
mov ecx, edi
call fcn.00415bd0
test byte [esp + 0x14], 1
jne 0x41023c
movss xmm0, dword [edi + 0x54]
lea edx, [esp + 0xa0]
addss xmm0, dword [esp + 0x60]
push dword [esp + 0x5c]
mov ecx, edi
push dword [esp + 0x58]
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.0040d8a0
add esp, 8
xor eax, eax
lea edx, [esp + 0x60]
mov ecx, edi
mov dword [edi + 0x244], eax
call fcn.00410700
mov eax, dword [esi + 0x4940]
test eax, eax
je 0x410366
cmp dword [edi + 8], eax
je 0x41026b
cmp dword [edi + 0x7c], eax
jne 0x410366
call fcn.0041a1f0
jmp 0x410366
cmp byte [edi + 0xc0], 0
je 0x410285
mov byte [edi + 0xba], 1
mov edx, dword [0x43b4a8]
mov dword [edx + 0x3fe4], edi
mov ecx, dword [edi + 0x1a4]
cmp ecx, 0xffffffff
je 0x4102a7
shl ecx, 9
add ecx, dword [edx + 0x4d74]
jmp 0x4102a9
xor ecx, ecx
mov dword [edx + 0x4d54], ecx
mov dword [edx + 0x3d40], 0x3f800000
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3d38]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x4102dd
mulss xmm0, dword [eax + 0x270]
mov eax, dword [edx + 0x3d30]
movss dword [edx + 0x3d50], xmm0
movss dword [edx + 0x3d34], xmm0
divss xmm0, dword [eax + 0x10]
movss dword [edx + 0x3d3c], xmm0
test ecx, ecx
jne 0x410310
cmp dword [edi + 0x1a0], ecx
jne 0x410310
mov al, 1
jmp 0x410312
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.00410700
cmp byte [edi + 0xc0], 0
jne 0x4104cf
mov ecx, dword [0x43b4a8]
mov eax, dword [ecx + 0x3fe4]
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x3fe4]
movss xmm1, dword [edi + 0x1f4]
movss xmm0, dword [edi + 0x1f8]
movss xmm3, dword [edi + 0x1fc]
movss xmm2, dword [edi + 0x200]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x278]
mov dword [esp + 0x5c], eax
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x64], xmm0
movups xmm4, xmmword [eax + 0x44]
comiss xmm4, xmm1
movaps xmmword [esp + 0x80], xmm4
jbe 0x4103e0
movaps xmm1, xmm4
movss dword [esp + 0x60], xmm1
movss xmm4, dword [esp + 0x84]
comiss xmm4, xmm0
jbe 0x4103f7
movaps xmm0, xmm4
movss dword [esp + 0x64], xmm0
movss xmm4, dword [esp + 0x88]
comiss xmm3, xmm4
jbe 0x410408
movaps xmm3, xmm4
movss xmm4, dword [esp + 0x8c]
comiss xmm2, xmm4
jbe 0x410419
movaps xmm2, xmm4
mov edx, dword [eax + 0x70]
lea ecx, [eax + 0x70]
mov eax, dword [ecx + 4]
maxss xmm1, xmm3
mov dword [esp + 0x38], ecx
maxss xmm0, xmm2
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x6c], xmm0
cmp edx, eax
jne 0x410469
inc edx
mov dword [esp + 0x2c], edx
test eax, eax
je 0x410455
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x41045a
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041ba70
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x5c]
movups xmmword [ecx + 0x44], xmm0
call fcn.00424150
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x278]
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x78]
shl ecx, 4
movss xmm0, dword [ecx + eax - 0xc]
movss xmm1, dword [ecx + eax - 8]
movss xmm2, dword [ecx + eax - 4]
mov eax, dword [ecx + eax - 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 + 0x4c]
mov byte [edi + 0xbc], 0
inc word [edi + 0xc8]
mov dword [esi + 0x49c0], 0
cmp eax, dword [esp + 0x50]
je 0x410674
cmp byte [edi + 0xc0], 0
jne 0x41066d
mov eax, dword [esp + 0x14]
and eax, 0x11000000
cmp eax, 0x1000000
jne 0x4105d1
test dword [edi + 0x10], 0x100
je 0x410544
cmp byte [esi + 0x4af4], 0
je 0x410544
mov eax, dword [esi + 0x4aa8]
test eax, eax
je 0x410544
mov eax, dword [eax + 0x320]
cmp eax, dword [edi + 0x320]
jne 0x410544
mov al, 1
jmp 0x410546
xor al, al
cmp byte [esi + 0x5ea4], 0
jne 0x410597
test al, al
jne 0x410597
movss xmm0, dword [edi + 0x1d4]
comiss xmm0, dword [edi + 0x1dc]
jae 0x410575
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jb 0x410597
cmp byte [edi + 0xd2], 0
jg 0x410590
cmp byte [edi + 0xd3], 0
jg 0x410590
mov byte [edi + 0xdc], 1
jmp 0x410597
mov byte [edi + 0xdd], 1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4105d1
cmp byte [eax + 0xbd], 0
jne 0x4105b1
cmp byte [eax + 0xdc], 0
jle 0x4105b8
mov byte [edi + 0xdc], 1
cmp byte [eax + 0xbd], 0
jne 0x4105ca
cmp byte [eax + 0xdd], 0
jle 0x4105d1
mov byte [edi + 0xdd], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x38b0]
jb 0x4105e4
mov byte [edi + 0xdc], 1
cmp byte [edi + 0xdc], 0
jg 0x410604
cmp byte [edi + 0xdd], 0
jg 0x410604
xor cl, cl
cmp byte [edi + 0xde], cl
jg 0x410606
xor al, al
jmp 0x410608
mov cl, 1
mov al, 1
mov byte [edi + 0xc2], al
mov al, byte [edi + 0xdf]
test al, al
jle 0x41062b
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 0x410641
cmp byte [edi + 0xba], al
je 0x410641
test cl, cl
je 0x410665
cmp byte [edi + 0xd2], 0
jg 0x410665
cmp byte [edi + 0xd3], 0
jg 0x410665
cmp byte [edi + 0xdd], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xbf], al
jmp 0x410674
mov byte [edi + 0xbf], 1
cmp byte [edi + 0xc3], 0
jne 0x4106d9
cmp byte [esi + 0x65], 0
je 0x41068a
cmp dword [esp + 0x58], 0
je 0x41069f
cmp byte [esi + 0x66], 0
je 0x4106d9
movsx eax, byte [esi + 0x5f04]
cmp eax, dword [esi + 0x3fbc]
jne 0x4106d9
mov al, byte [edi + 0xd2]
test al, al
jle 0x4106b1
inc al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x4106c3
inc al
mov byte [edi + 0xd3], al
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.004307fb
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.004307fb
mov esp, ebp
pop ebp
ret