Function at 0x40f800
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x45f040]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x45f4d8]
push edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], esi
call fcn.0040ca50
mov edi, eax
mov dword [esp + 0x58], eax
test edi, edi
mov dword [esp + 0x38], edi
sete byte [esp + 0x3c]
test eax, eax
jne 0x40f862
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
call fcn.0040cd50
mov edi, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x4008]
cmp ecx, dword [edi + 8]
jne 0x40f86e
int3
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x30200
cmp eax, 0x30200
jne 0x40f887
or ecx, 6
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x3fe4], 0
mov eax, dword [edi + 0x24c]
mov edx, dword [esi + 0x3f78]
mov dword [esp + 0x48], eax
lea eax, [esi + 0x3fe4]
mov dword [esp + 0x4c], edx
jne 0x40f8b7
cmp byte [esi + 0x3f85], 0
je 0x40f8b7
mov al, 1
jmp 0x40f8b9
xor al, al
mov byte [edi + 0xc3], al
lea eax, [edx - 1]
cmp dword [esp + 0x48], eax
setl al
mov byte [esp + 0x1b], al
test ecx, 0x4000000
je 0x40f913
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x4abc]
mov edx, dword [edx + 0x4ab8]
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 + 0x30]
mov edx, dword [esp + 0x4c]
setne al
or cl, al
mov al, byte [esp + 0x1b]
or al, cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x1b], al
mov byte [edi + 0xc1], al
test al, al
je 0x40f932
or byte [edi + 0xe0], 8
or byte [edi + 0xe1], 8
or byte [edi + 0xe2], 8
cmp dword [esp + 0x48], edx
je 0x40f9a4
mov dl, byte [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.0040caa0
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [edi + 0xc], edx
test dword [esi + 0x49f8], 0x100
je 0x40f962
mov eax, dword [esi + 0x4a30]
jmp 0x40f964
xor eax, eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x24c], eax
xor eax, eax
movsd xmm0, qword [esi + 0x3f70]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xcc], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x3ffc]
inc dword [esi + 0x3ffc]
mov word [edi + 0xce], ax
jmp 0x40f9ab
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3fe4]
test eax, eax
jne 0x40f9b9
xor ecx, ecx
jmp 0x40f9c6
imul ecx, eax, 0x6c
mov eax, dword [esi + 0x3fec]
mov ecx, dword [ecx + eax - 0x6c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
cmp eax, dword [esp + 0x4c]
je 0x40f9e3
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x40f9e9
mov eax, dword [edi + 0x328]
cmp dword [edi + 0xf4], 0
mov dword [esp + 0x40], eax
lea eax, [edi + 0xf4]
jne 0x40fa22
cmp dword [eax + 4], 0
jne 0x40fa11
push 8
mov ecx, eax
call fcn.0041f180
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]
mov eax, dword [esi + 0x3fe4]
lea ecx, [esi + 0x3fe4]
inc eax
mov dword [esi + 0x400c], edi
push eax
call fcn.0041f080
imul eax, dword [esi + 0x3fe4], 0x6c
test dword [esp + 0x14], 0x2000000
mov ecx, dword [esi + 0x3fec]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xd0], eax
mov dword [ecx + eax - 0x6c], edi
movups xmm0, xmmword [esi + 0x49a8]
movups xmmword [ecx + eax - 0x68], xmm0
movups xmm0, xmmword [esi + 0x49b8]
movups xmmword [ecx + eax - 0x58], xmm0
movups xmm0, xmmword [esi + 0x49c8]
movups xmmword [ecx + eax - 0x48], xmm0
movups xmm0, xmmword [esi + 0x49d8]
movups xmmword [ecx + eax - 0x38], xmm0
movups xmm0, xmmword [esi + 0x49e8]
movups xmmword [ecx + eax - 0x28], xmm0
je 0x40faad
test dword [esi + 0x4968], 0x400
je 0x40faad
mov dl, 1
jmp 0x40faaf
xor dl, dl
mov byte [ecx + eax - 2], dl
add eax, 0xffffffe8
add ecx, eax
call fcn.00415760
mov dword [esi + 0x51b4], ecx
mov ecx, dword [esp + 0x14]
test ecx, 0x10000000
je 0x40fad5
inc dword [esi + 0x4fb0]
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x40fb94
mov edx, dword [esp + 0x40]
mov dword [edi + 0x328], edx
mov dword [edi + 0x33c], edi
mov dword [edi + 0x338], edi
mov dword [edi + 0x334], edi
mov dword [edi + 0x330], edi
test edx, edx
je 0x40fb53
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40fb23
mov eax, dword [edx + 0x330]
mov dword [edi + 0x330], eax
test ecx, 0x4000000
je 0x40fb37
mov eax, dword [edx + 0x334]
mov dword [edi + 0x334], eax
test ecx, 0x8000000
jne 0x40fb53
test ecx, 0x5000000
je 0x40fb53
mov eax, dword [edx + 0x338]
mov dword [edi + 0x338], eax
test dword [edi + 0x10], 0x100
je 0x40fb77
mov edx, edi
nop
mov eax, dword [edx + 0x328]
mov edx, eax
mov dword [edi + 0x33c], eax
test dword [edx + 0x10], 0x100
jne 0x40fb60
mov edx, dword [esp + 0x20]
mov eax, ecx
and eax, 0x1000000
mov dword [edi + 0x32c], edx
neg eax
sbb eax, eax
and eax, edx
mov dword [edi + 0x340], eax
test dword [edi + 0x10], 0x100
je 0x40fba5
mov eax, dword [esi + 0x4964]
jmp 0x40fba8
mov eax, dword [edi + 8]
mov ecx, dword [0x45f4d8]
mov dword [esp + 0x28], eax
lea edx, [ecx + 0x4a8c]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0x400c]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
cmp dword [edx], ecx
jne 0x40fc07
test ecx, ecx
je 0x40fbea
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
jmp 0x40fbef
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041f980
mov edi, dword [esp + 0x38]
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 + 0x1c]
mov dword [ecx + eax*8 + 4], esi
mov ecx, dword [esp + 0xd4]
inc dword [edx]
test dword [esp + 0x14], 0x4000000
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x4964], eax
mov eax, dword [esi + 0x4964]
mov dword [edi + 0x380], eax
je 0x40fcff
mov eax, dword [esi + 0x4abc]
lea edx, [esi + 0x4abc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4ab8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [eax + ecx*8 + 4], edi
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov eax, dword [eax + 0x158]
mov dword [edi + ecx*8 + 0xc], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x1c], eax
cmp ecx, eax
jne 0x40fcba
inc ecx
test eax, eax
je 0x40fca2
cdq
sub eax, edx
lea edx, [esi + 0x4abc]
sar eax, 1
add eax, dword [esp + 0x1c]
jmp 0x40fca7
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041f8b0
lea edx, [esi + 0x4abc]
mov eax, dword [edx]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
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 + 0x38]
mov ecx, esi
inc dword [edx]
mov esi, dword [esp + 0x30]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0x84], eax
test byte [esi + 0x49f8], 1
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
je 0x40fdb9
mov dl, byte [edi + 0xe0]
mov ecx, dword [esi + 0x49fc]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x11]
test ecx, eax
je 0x40fda8
movss xmm1, dword [esi + 0x4a14]
movss xmm0, dword [esi + 0x4a10]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x45ccfc]
jbe 0x40fda8
mov eax, dword [esi + 0x4a08]
mov ecx, dword [esi + 0x4a0c]
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xe4], eax
mov eax, dword [esi + 0x4a10]
mov ecx, dword [esi + 0x4a14]
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 0x40fdb9
push ecx
lea edx, [esi + 0x4a08]
mov ecx, edi
call fcn.00412960
add esp, 4
test byte [esi + 0x49f8], 2
xorps xmm1, xmm1
je 0x40fe5a
mov cl, byte [edi + 0xe1]
movsx eax, cl
and eax, dword [esi + 0x4a00]
je 0x40fdee
movss xmm0, dword [esi + 0x4a18]
comiss xmm0, xmm1
jbe 0x40fdee
mov byte [esp + 0x13], 1
jmp 0x40fdf7
mov byte [esp + 0x13], 0
test eax, eax
je 0x40fe0b
movss xmm0, dword [esi + 0x4a1c]
comiss xmm0, xmm1
jbe 0x40fe10
mov byte [esp + 0x12], 1
jmp 0x40fe15
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
test byte [edi + 0x10], 4
je 0x40fe29
test cl, 4
jne 0x40fe29
mov eax, dword [edi + 0x28]
mov dword [esi + 0x4a18], eax
test byte [edi + 0x10], 8
je 0x40fe41
test byte [edi + 0xe1], 4
jne 0x40fe41
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x4a1c], eax
push dword [esi + 0x4a00]
lea edx, [esi + 0x4a18]
mov ecx, edi
call fcn.00412ac0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x49f8], 0x80
je 0x40fea1
movss xmm0, dword [esi + 0x4a28]
comiss xmm0, xmm1
jb 0x40fe82
movss dword [edi + 0x98], xmm0
mov dword [edi + 0xa0], 0
movss xmm0, dword [esi + 0x4a2c]
comiss xmm0, xmm1
jb 0x40fea1
movss dword [edi + 0x9c], xmm0
mov dword [edi + 0xa4], 0
test byte [esi + 0x49f8], 4
je 0x40febe
mov eax, dword [esi + 0x4a20]
mov ecx, dword [esi + 0x4a24]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x40fed6
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x40fed6
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x49f8], 8
je 0x40ff23
mov ecx, dword [esi + 0x4a04]
mov dl, byte [esi + 0x4a34]
test ecx, ecx
je 0x40fefa
movsx eax, byte [edi + 0xe2]
test ecx, eax
je 0x40ff23
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 + 0x49f8], 0x20
je 0x40ff35
xor edx, edx
mov ecx, edi
call fcn.00412390
mov dl, byte [edi + 0xc1]
test dl, dl
je 0x40ff54
and byte [edi + 0xe0], 0xf7
and byte [edi + 0xe1], 0xf7
and byte [edi + 0xe2], 0xf7
mov ecx, dword [0x45f4d8]
mov byte [edi + 0xc0], 0
test dword [ecx + 0x49f8], 0x200
je 0x41000f
mov eax, dword [ecx + 0x4a5c]
test al, 1
je 0x41000f
test dl, dl
jne 0x41000f
cmp byte [edi + 0xc2], dl
jne 0x41000f
test al, 2
je 0x40ffc5
mov eax, dword [ecx + 0x4010]
test eax, eax
je 0x40ffc5
mov eax, dword [eax + 0x330]
cmp dword [edi + 0x330], eax
je 0x41000f
cmp dword [eax + 0x330], edi
je 0x41000f
cmp eax, edi
je 0x41000f
mov eax, dword [eax + 0x32c]
test eax, eax
jne 0x40ffb7
test byte [ecx + 0x4a5c], 4
je 0x40fffe
mov eax, dword [ecx + 0x4ae8]
test eax, eax
je 0x40fffe
mov eax, dword [eax + 0x330]
cmp dword [edi + 0x330], eax
je 0x41000f
cmp dword [eax + 0x330], edi
je 0x41000f
nop
cmp eax, edi
je 0x41000f
mov eax, dword [eax + 0x32c]
test eax, eax
jne 0x40fff0
mov dword [edi + 0x278], 0
mov byte [edi + 0xc0], 1
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + eax - 2], 0
je 0x4100b2
cmp dword [edi + 0x330], edi
jne 0x4100b2
mov ecx, dword [0x45f4d8]
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + 0x503c]
and dword [ecx + 0x4968], 0xfffffbff
mov dword [ecx + 0x38d4], eax
add ecx, 0x4a98
mov dword [esp + 0x28], ecx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x41008f
inc edx
mov dword [esp + 0x1c], edx
test eax, eax
je 0x41007b
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x410080
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041f180
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x4968]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x28]
inc dword [eax]
mov eax, dword [esp + 0x20]
inc word [eax + 0x5040]
mov eax, dword [esp + 0x48]
mov dword [esi + 0x400c], 0
cmp eax, dword [esp + 0x4c]
je 0x411ba5
cmp byte [edi + 0xc0], 0
jne 0x411bae
mov eax, dword [esp + 0x14]
and eax, 0x3000000
mov byte [edi + 0xba], 1
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x28], eax
mov al, byte [edi + 0xdd]
mov byte [esp + 0x47], 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 0x410169
test eax, eax
je 0x41014c
cdq
sub eax, edx
lea edx, [edi + 0xf4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x410157
mov ecx, 8
lea edx, [edi + 0xf4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.0041f180
mov dword [edi + 0xf4], 1
mov ecx, dword [edi + 0x278]
call fcn.004281a0
cmp byte [edi + 0x38c], 0
mov dword [edi + 0x1a4], 0xffffffff
je 0x4101d4
mov ecx, dword [edi + 0x278]
push dword [edi + 0x384]
add ecx, 0xc
mov byte [edi + 0x38c], 0
call fcn.0041f670
mov ecx, dword [edi + 0x278]
push dword [edi + 0x388]
add ecx, 0x18
call fcn.0041f450
mov dword [edi + 0x388], 0
mov dword [edi + 0x384], 0
cmp dword [esi + 0x4cbc], 0
je 0x410312
test dword [edi + 0xc], 0x20000
jne 0x410312
cmp dword [esp + 0x58], 0
je 0x410312
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410226
test dl, dl
je 0x410222
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410226
add eax, 2
add ecx, 2
test dl, dl
jne 0x410206
xor eax, eax
jmp 0x41022b
sbb eax, eax
or eax, 1
test eax, eax
je 0x410312
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 0x78]
mov dword [esp + 0x24], edx
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410245
sub ecx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
cmp edx, eax
jae 0x4102f7
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4102d8
mov ecx, dword [0x45f4d8]
test ecx, ecx
je 0x4102d8
mov eax, dword [ecx + 0x3f78]
mov dword [esp + 0x24], eax
movsx eax, word [ecx + 0x524c]
mov esi, dword [esp + 0x24]
add eax, 0xa4a
cmp dword [ecx + eax*8], esi
mov esi, dword [esp + 0x30]
lea eax, [ecx + eax*8]
je 0x4102ce
movsx eax, word [ecx + 0x524c]
inc eax
mov dword [esp + 0x1c], 6
cdq
idiv dword [esp + 0x1c]
movzx eax, dx
mov edx, dword [esp + 0x24]
mov word [ecx + 0x524c], ax
cwde
add eax, 0xa4a
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
inc word [eax + 6]
inc dword [ecx + 0x5248]
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.004093e0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
push eax
push dword [esp + 0x58]
push dword [esp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [edi + 0x78], eax
lea eax, [edi + 0x38]
mov ecx, edi
push eax
lea edx, [edi + 0x30]
call fcn.0040d130
mov al, byte [edi + 0xdc]
add esp, 4
test al, al
jle 0x410335
dec al
mov byte [edi + 0xdc], al
mov al, byte [edi + 0xdd]
test al, al
jle 0x410347
dec al
mov byte [edi + 0xdd], al
mov al, byte [edi + 0xde]
test al, al
jle 0x410359
dec al
mov byte [edi + 0xde], al
cmp dword [esp + 0x58], 0
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x12]
jne 0x410377
test al, al
je 0x410370
test cl, cl
jne 0x410377
mov byte [edi + 0xdd], 1
cmp byte [esp + 0x1b], 0
mov edx, dword [esp + 0x14]
je 0x4103d6
test edx, 0x6000000
je 0x4103d6
mov byte [edi + 0xdd], 1
test dl, 0x40
je 0x4103d6
test al, al
jne 0x4103a8
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x4103ba
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 [0x45f4d8]
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + 0x4adc]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov dword [ecx + 0x400c], edi
imul ecx, dword [ecx + 0x3fe4], 0x6c
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
add ecx, 0xffffffe8
mov eax, dword [eax + 0x3fec]
add eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x51b4], eax
mov eax, dword [edi + 0x1a4]
cmp eax, 0xffffffff
je 0x41042b
shl eax, 9
add eax, dword [ecx + 0x4db4]
jmp 0x41042d
xor eax, eax
mov dword [ecx + 0x4d94], eax
mov dword [ecx + 0x3d68], 0x3f800000
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3d60]
mov eax, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x410465
mulss xmm0, dword [eax + 0x270]
cmp dword [esp + 0x2c], 0
mov eax, dword [ecx + 0x3d58]
movss dword [ecx + 0x3d78], xmm0
movss dword [ecx + 0x3d5c], xmm0
divss xmm0, dword [eax + 0x10]
movss dword [ecx + 0x3d7c], xmm0
movss dword [ecx + 0x3d64], xmm0
jne 0x4104a4
cmp dword [edi + 0x1a0], 0
jne 0x4104a4
mov al, 1
jmp 0x4104a6
xor al, al
mov byte [edi + 0x160], al
test edx, 0x1000000
je 0x4104be
movss xmm0, dword [esi + 0x3904]
jmp 0x4104e0
test edx, 0x6000000
je 0x4104d8
test edx, 0x8000000
jne 0x4104d8
movss xmm0, dword [esi + 0x390c]
jmp 0x4104e0
movss xmm0, dword [esi + 0x38e8]
movss dword [edi + 0x54], xmm0
xorps xmm1, xmm1
mov eax, dword [esi + 0x38dc]
mov ecx, dword [esi + 0x38e0]
mov dword [edi + 0x48], eax
mov eax, edx
and eax, 0x5000000
mov dword [edi + 0x4c], ecx
cmp eax, 0x1000000
jne 0x410538
test byte [edi + 0x10], 2
jne 0x410538
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x410538
test edx, 0x400
je 0x410529
movss xmm0, dword [esi + 0x38e0]
jmp 0x41052c
xorps xmm0, xmm0
mov dword [edi + 0x48], 0
movss dword [edi + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [esi + 0x3920]
maxss xmm0, dword [esi + 0x4a54]
movss dword [edi + 0x164], xmm0
movss xmm3, dword [esi + 0x4a58]
movss dword [edi + 0x168], xmm3
test dl, 1
je 0x41056f
xorps xmm2, xmm2
jmp 0x410583
movss xmm2, dword [esi + 0x3914]
addss xmm2, xmm2
addss xmm2, dword [esi + 0x3d5c]
movss dword [edi + 0x58], xmm2
test edx, 0x400
je 0x4105aa
movss xmm0, dword [esi + 0x3914]
addss xmm3, dword [esi + 0x3d5c]
addss xmm0, xmm0
addss xmm3, xmm0
jmp 0x4105ad
xorps xmm3, xmm3
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x3c]
movss dword [edi + 0x5c], xmm3
mov byte [esp + 0x24], al
je 0x4105d4
movss xmm0, dword [edi + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4105d4
mov byte [esp + 0x3c], 1
cmp byte [esp + 0x12], 0
je 0x4105ee
movss xmm0, dword [edi + 0x44]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4105ee
mov byte [esp + 0x24], 1
test dl, 0x21
jne 0x410715
movss xmm3, dword [edi + 0x18]
movaps xmm0, xmm3
movss xmm4, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x28]
addss xmm2, dword [edi + 0x1c]
mov edx, dword [esp + 0x20]
cmp dword [esi + 0x4010], edi
jne 0x4106c9
cmp dword [esi + 0x4050], 0
jne 0x4106c9
cmp dword [esi + 0x4054], 0
jne 0x4106c9
cmp dword [esi + 0x4068], 0
jne 0x4106c9
mov eax, dword [edx + 0x400c]
movss xmm6, dword [edx + 0x3938]
movss xmm7, dword [edx + 0xb4]
maxss xmm3, dword [eax + 0x224]
maxss xmm4, dword [eax + 0x228]
minss xmm0, dword [eax + 0x22c]
minss xmm2, dword [eax + 0x230]
subss xmm3, xmm6
comiss xmm7, xmm3
jb 0x4106c9
movss xmm3, dword [edx + 0x393c]
movss xmm5, dword [edx + 0xb8]
subss xmm4, xmm3
comiss xmm5, xmm4
jb 0x4106c9
addss xmm0, xmm6
comiss xmm0, xmm7
jbe 0x4106c9
addss xmm2, xmm3
comiss xmm2, xmm5
jbe 0x4106c9
cmp word [esi + 0x2ae2], 2
jne 0x4106c9
cmp dword [edx + 0x4788], 0xffffffff
jne 0x4106c9
mov byte [edi + 0xbe], 1
cmp byte [edi + 0xbe], 0
je 0x41071c
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 0x41071c
comiss xmm1, dword [edx + 0x50e4]
jb 0x41071c
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x50e4], eax
jmp 0x41071c
mov byte [edi + 0xbd], 0
movss xmm0, dword [edi + 0xb0]
lea eax, [edi + 0x38]
movss dword [esp + 0x2c], xmm0
lea ecx, [esp + 0xd8]
movss xmm0, dword [edi + 0xb4]
mov edx, edi
movss dword [esp + 0x34], 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.0040d260
add esp, 4
test byte [esp + 0x14], 0x40
je 0x4107d9
cmp byte [edi + 0xbd], 0
jne 0x4107d9
cmp byte [esp + 0x13], 0
jne 0x4107b6
movss xmm0, dword [esp + 0xd8]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x3c], 1
cmp byte [esp + 0x12], 0
jne 0x410890
movss xmm0, dword [esp + 0xdc]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x24], 1
jmp 0x410890
mov al, byte [edi + 0xd2]
test al, al
jg 0x4107f0
cmp byte [edi + 0xd3], 0
jle 0x410890
cmp byte [esp + 0x13], 0
jne 0x410827
test al, al
jle 0x410827
cmp byte [edi + 0xd4], 0
je 0x410814
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0xd8]
jmp 0x41081d
movss xmm0, dword [esp + 0xd8]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x3c], 1
cmp byte [esp + 0x12], 0
jne 0x410863
cmp byte [edi + 0xd3], 0
jle 0x410863
cmp byte [edi + 0xd4], 0
je 0x410850
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [esp + 0xdc]
jmp 0x410859
movss xmm0, dword [esp + 0xdc]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x24], 1
cmp byte [edi + 0xbd], 0
jne 0x410890
test dword [edi + 0xc], 0x100
mov ecx, dword [0x45f4d8]
jne 0x410890
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x50e4]
jb 0x410890
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x50e4], eax
lea esi, [edi + 0x28]
mov edx, edi
push esi
lea ecx, [esp + 0xac]
call fcn.0040cf80
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 0x4108ea
test eax, 0x1000000
jne 0x4108ea
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 0x4108ed
movaps xmm2, xmm3
cmp byte [esp + 0x1b], 0
movss dword [edi + 0x20], xmm2
movss dword [edi + 0x24], xmm1
je 0x410944
and eax, 0xc000000
mov dword [edi + 0xd8], 0xffffffff
cmp eax, 0x4000000
jne 0x410944
cmp byte [esp + 0x11], 0
jne 0x410944
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x4abc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x4ac4]
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 0x4109e5
mov esi, dword [esp + 0x40]
mov ax, word [esi + 0x190]
lea ecx, [esi + 0x190]
mov word [edi + 0xcc], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x4109a6
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x1c], edx
test eax, eax
je 0x41098c
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x410991
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041f180
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 + 0x28]
test edx, 0x4000000
jne 0x4109ed
test al, al
jne 0x4109ed
cmp ecx, 0x3000000
je 0x4109ed
mov eax, dword [esi + 0x100]
mov ecx, dword [esi + 0x104]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x11]
movss xmm1, dword [edi + 0xe4]
ucomiss xmm1, dword [0x45ce8c]
lahf
test ah, 0x44
jnp 0x410a5c
cmp byte [edi + 0xdd], 0
jne 0x410a5c
movss xmm0, dword [edi + 0x20]
lea edx, [esp + 0x80]
mulss xmm0, dword [edi + 0xec]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xe8]
movss dword [esp + 0x84], xmm1
movss xmm1, dword [edi + 0x24]
mulss xmm1, dword [edi + 0xf0]
subss xmm0, xmm1
movss dword [esp + 0x88], xmm0
call fcn.00412960
add esp, 4
jmp 0x410abd
test edx, 0x10000000
je 0x410a6d
lea ecx, [esp + 0xb0]
jmp 0x410aa3
test edx, 0x4000000
je 0x410a88
test al, al
jne 0x410a88
cmp byte [esp + 0x47], al
jle 0x410a88
lea ecx, [esp + 0xb8]
jmp 0x410aa3
test edx, 0x2000000
je 0x410ac1
test al, al
jne 0x410ac1
cmp ecx, 0x3000000
je 0x410ac1
lea ecx, [esp + 0xc0]
mov edx, edi
call fcn.00417f90
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 + 0x50]
mov ecx, dword [esp + 0x30]
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 + 0x39a8]
movaps xmm4, xmm1
movss xmm2, dword [ecx + 0x39a4]
maxss xmm3, dword [ecx + 0x39b0]
maxss xmm2, dword [ecx + 0x39ac]
addss xmm5, dword [eax + 0x10]
addss xmm4, dword [eax + 0x14]
movss dword [esp + 0xe0], xmm0
subss xmm6, xmm3
movss dword [esp + 0xe4], xmm1
addss xmm3, dword [eax + 0x1c]
subss xmm7, xmm2
movss dword [esp + 0xe8], xmm5
addss xmm2, dword [eax + 0x18]
movss dword [esp + 0xec], xmm4
movss dword [esp + 0xfc], xmm6
movss dword [esp + 0xf4], xmm3
movss dword [esp + 0xf8], xmm7
movss dword [esp + 0xf0], xmm2
jne 0x410be5
test edx, 0x1000000
jne 0x410be5
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x410be5
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x410be5
mov eax, dword [0x45f4d8]
movss xmm0, dword [edi + 0x24]
cmp byte [eax + 0x52], 0
je 0x410bb0
test byte [edi + 0xc], 1
jne 0x410bb0
movss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x20]
subss xmm3, xmm0
movss xmm0, dword [edi + 0x1c]
comiss xmm3, xmm0
ja 0x410bca
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x410bdb
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 0x410c19
movss xmm2, dword [ecx + 0x3900]
jmp 0x410c39
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x410c31
movss xmm2, dword [ecx + 0x3908]
jmp 0x410c39
movss xmm2, dword [ecx + 0x38e4]
xor al, al
movss dword [edi + 0x50], xmm2
mov dword [esp + 0x20], eax
cmp byte [esp + 0x1b], al
je 0x410c76
test edx, 0x1000
jne 0x410c76
test edx, 0x4000000
je 0x410c61
mov byte [esp + 0x20], 1
jmp 0x410c76
test edx, 0x3000000
movzx eax, al
mov esi, 1
cmove eax, esi
mov dword [esp + 0x20], eax
mov eax, edx
mov dword [esp + 0xd0], 0xffffffff
and eax, 0x5000000
mov dword [esp + 0xd4], 0xffffffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x100], xmm0
cmp eax, 0x1000000
jne 0x410ca9
xor eax, eax
jmp 0x410cb2
xor eax, eax
cmp byte [ecx + 0x51], al
setne al
inc eax
cmp byte [edi + 0xbd], 0
movss xmm1, dword [ecx + 0x3d5c]
addss xmm2, dword [0x45cd9c]
movaps xmm0, xmm1
mov dword [esp + 0x1c], eax
mulss xmm1, dword [0x45cd38]
mulss xmm0, dword [0x45cda0]
addss xmm2, xmm1
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x410d51
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [esp + 0x104]
push ecx
push eax
lea eax, [esp + 0xe0]
mov ecx, edi
push eax
lea eax, [esp + 0xe0]
push eax
lea edx, [esp + 0xec]
call fcn.0040d4c0
add esp, 0x14
test eax, eax
je 0x410d49
mov ecx, dword [esp + 0x3c]
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 + 0x3c], ecx
mov byte [esp + 0x24], al
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
cmp byte [edi + 0xbd], 0
mov al, byte [esp + 0xd0]
mov byte [edi + 0xc6], al
mov al, byte [esp + 0xd4]
mov byte [edi + 0xc7], al
jne 0x410ec5
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 + 0x2c]
addss xmm5, dword [esp + 0x34]
jne 0x410dce
xorps xmm3, xmm3
xorps xmm1, xmm1
jmp 0x410dea
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 + 0x3c], 0
jne 0x410df4
movaps xmm6, xmm4
mov eax, dword [esp + 0x24]
test al, al
jne 0x410dff
movaps xmm2, xmm5
test edx, 0x4000
jne 0x410e15
comiss xmm1, xmm2
jbe 0x410e11
test dl, 8
je 0x410e15
xor al, al
jmp 0x410e17
mov al, 1
mov byte [esp + 0x11], al
mov byte [edi + 0xb9], al
test edx, 0x8000
jne 0x410e61
test al, al
je 0x410e37
movss xmm4, dword [ecx + 0x3948]
jmp 0x410e3a
xorps xmm4, xmm4
subss xmm6, xmm4
comiss xmm3, xmm6
jbe 0x410e55
mov eax, edx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0x11]
je 0x410e61
mov byte [edi + 0xb8], 0
xorps xmm1, xmm1
jmp 0x410e92
mov byte [edi + 0xb8], 1
test al, al
jne 0x410e8a
subss xmm2, dword [ecx + 0x3948]
comiss xmm1, xmm2
jbe 0x410e82
test dl, 8
jne 0x410e82
mov al, 1
jmp 0x410e84
xor al, al
mov byte [edi + 0xb9], al
movss xmm1, dword [ecx + 0x3948]
test al, al
je 0x410e9e
movss xmm0, dword [ecx + 0x3948]
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 0x410ee8
cmp dword [esp + 0x28], 0x3000000
je 0x410ee8
mov eax, dword [esp + 0x40]
add eax, 0x224
jmp 0x410eef
lea eax, [esp + 0xe0]
movups xmm0, xmmword [eax]
mov eax, edx
movss xmm6, dword [edi + 0x1c]
and eax, 0x401
movss xmm5, dword [edi + 0x18]
movaps xmm1, xmm6
movss xmm4, dword [edi + 0x20]
movaps xmm2, xmm5
movss dword [esp + 0x70], xmm5
addss xmm4, xmm5
addss xmm1, dword [edi + 0x58]
addss xmm2, dword [edi + 0x28]
movups xmmword [esp + 0x60], xmm0
movaps xmm0, xmm6
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm6
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x78], xmm2
movss dword [edi + 0x1d4], xmm5
movss dword [edi + 0x1d8], xmm6
movss dword [edi + 0x1dc], xmm4
addss xmm0, dword [edi + 0x24]
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [edi + 0x1d4]
movss xmm4, dword [esp + 0x60]
movss xmm5, dword [esp + 0x64]
maxss xmm0, xmm4
maxss xmm6, xmm5
movss dword [edi + 0x1d4], xmm0
movss dword [edi + 0x1d8], xmm6
movss xmm1, dword [edi + 0x1dc]
movss xmm0, dword [edi + 0x1e0]
minss xmm1, dword [esp + 0x68]
minss xmm0, dword [esp + 0x6c]
movss dword [edi + 0x1dc], xmm1
movss dword [edi + 0x1e0], xmm0
movss xmm6, dword [edi + 0x18]
movss xmm7, dword [edi + 0x1c]
movaps xmm1, xmm6
movaps xmm3, xmm7
addss xmm6, dword [edi + 0x20]
addss xmm7, dword [edi + 0x24]
addss xmm1, dword [edi + 0x60]
addss xmm3, dword [edi + 0x64]
subss xmm6, dword [edi + 0x68]
subss xmm7, dword [edi + 0x6c]
movss dword [edi + 0x1e4], xmm1
movss dword [edi + 0x1e8], xmm3
movss dword [edi + 0x1ec], xmm6
movss dword [edi + 0x1f0], xmm7
cmp eax, 1
jne 0x411016
movss xmm0, dword [edi + 0x54]
jmp 0x41101e
movss xmm0, dword [ecx + 0x391c]
addss xmm1, dword [0x45cd5c]
movss dword [esp + 0x2c], xmm0
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x54]
mulss xmm0, dword [0x45cd5c]
addss xmm1, xmm0
movss dword [esp + 0x50], xmm0
comiss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [esp + 0x34], eax
jae 0x41106e
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x41106a
cvttss2si eax, xmm1
dec eax
jmp 0x41106e
mov eax, dword [esp + 0x34]
movss xmm1, dword [esp + 0x2c]
addss xmm3, dword [0x45cd5c]
mulss xmm1, dword [0x45cd5c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm3, xmm1
movss dword [edi + 0x1f4], xmm0
comiss xmm3, xmm2
cvttss2si eax, xmm3
mov dword [esp + 0x34], eax
jae 0x4110bf
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x4110bb
cvttss2si eax, xmm3
dec eax
jmp 0x4110bf
mov eax, dword [esp + 0x34]
movss xmm1, dword [esp + 0x50]
subss xmm6, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm2
cvttss2si eax, xmm6
movss dword [edi + 0x1f8], xmm0
mov dword [esp + 0x34], eax
jae 0x411100
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x4110fc
cvttss2si eax, xmm6
dec eax
jmp 0x411100
mov eax, dword [esp + 0x34]
subss xmm7, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm7, xmm2
cvttss2si eax, xmm7
movss dword [edi + 0x1fc], xmm0
mov dword [esp + 0x34], eax
jae 0x41113b
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x411137
cvttss2si eax, xmm7
dec eax
jmp 0x41113b
mov eax, dword [esp + 0x34]
movss xmm6, dword [esp + 0x6c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x1f8]
comiss xmm5, xmm0
jbe 0x411162
movaps xmm1, xmm5
jmp 0x411169
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm3, dword [edi + 0x1f4]
comiss xmm4, xmm3
movss xmm7, dword [esp + 0x68]
jbe 0x411181
movaps xmm0, xmm4
jmp 0x411188
movaps xmm0, xmm7
minss xmm0, xmm3
movss dword [edi + 0x1f4], xmm0
movss dword [edi + 0x1f8], xmm1
movss xmm0, dword [edi + 0x200]
comiss xmm5, xmm0
ja 0x4111ac
movaps xmm5, xmm6
minss xmm5, xmm0
movss xmm0, dword [edi + 0x1fc]
comiss xmm4, xmm0
ja 0x4111c0
movaps xmm4, xmm7
minss xmm4, xmm0
movss dword [edi + 0x1fc], xmm4
movss dword [edi + 0x200], xmm5
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm2
jbe 0x4111ec
test edx, 0x2000040
jne 0x4111ec
mulss xmm0, dword [0x45cd68]
jmp 0x4111fc
movss xmm0, dword [ecx + 0x3d5c]
mulss xmm0, dword [0x45ce24]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0xc8]
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.00416d70
mov edx, dword [esp + 0x30]
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 + 0x3d58]
mov ecx, dword [edi + 0x278]
mov eax, dword [eax + 0x30]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.004287a0
mov ecx, dword [0x45f4d8]
push 0
mov eax, dword [ecx + 0x400c]
mov byte [eax + 0xbc], 1
lea eax, [esp + 0x6c]
mov edi, dword [ecx + 0x400c]
push eax
lea eax, [esp + 0x68]
push eax
mov ecx, dword [edi + 0x278]
call fcn.004286b0
mov eax, dword [edi + 0x278]
mov byte [esp + 0x12], 0
mov ecx, dword [eax + 0x7c]
mov eax, dword [eax + 0x84]
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 [edi + 0x224], eax
mov eax, dword [esp + 0x14]
movss dword [edi + 0x228], xmm0
and eax, 0x5000000
movss dword [edi + 0x22c], xmm1
movss dword [edi + 0x230], xmm2
cmp eax, 0x1000000
jne 0x41142a
cmp dword [esp + 0x28], 0x3000000
je 0x41142a
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x190]
cmp ecx, 2
jl 0x4113e2
mov eax, dword [eax + 0x198]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x4113e2
mov edi, dword [esp + 0x38]
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 0x4113e6
comiss xmm2, xmm5
jbe 0x4113e6
comiss xmm3, xmm6
jbe 0x4113e6
comiss xmm4, xmm7
jbe 0x4113e6
mov byte [esp + 0x11], 1
jmp 0x4113eb
mov edi, dword [esp + 0x38]
mov byte [esp + 0x11], 0
mov edx, dword [edi + 0x278]
mov eax, dword [edx]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0x18], 0
jne 0x41142e
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
je 0x41142e
cmp byte [esp + 0x11], 0
jne 0x41142e
mov byte [esp + 0x12], 1
mov dword [edi + 0x278], eax
jmp 0x41142e
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x4cb4]
test ecx, ecx
jne 0x411442
mov ecx, dword [eax + 0x4ae8]
cmp byte [esp + 0x20], 0
jne 0x411462
test ecx, ecx
je 0x41145b
mov eax, dword [edi + 0x338]
cmp eax, dword [ecx + 0x338]
je 0x411462
mov byte [esp + 0x2c], 0
jmp 0x411467
mov byte [esp + 0x2c], 1
movd xmm0, esi
lea eax, [esp + 0x100]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x74]
movss dword [esp], xmm0
push eax
push dword [esp + 0x24]
push ecx
push dword [esp + 0x3c]
mov ecx, edi
call fcn.0040eaf0
add esp, 0x14
cmp byte [esp + 0x12], 0
je 0x4114a6
lea eax, [edi + 0x280]
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 0x4114cd
movss dword [esp + 0x1c], xmm5
jmp 0x41150f
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 0x411502
movss xmm0, dword [edi + 0x30]
jmp 0x411505
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm6, dword [edi + 0x44]
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x411522
movaps xmm7, xmm6
jmp 0x411554
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 0x41154d
movss xmm7, dword [edi + 0x34]
jmp 0x411550
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm1, dword [edi + 0x48]
movss xmm2, dword [edi + 0x88]
movss xmm0, dword [edi + 0x1e4]
movss dword [esp + 0x34], xmm1
subss xmm0, xmm2
maxss xmm1, dword [edi + 0x54]
movss dword [esp + 0x38], 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 + 0x28], xmm0
movss xmm0, dword [edi + 0x1e8]
subss xmm0, dword [esp + 0x28]
movss dword [esp + 0x50], xmm1
maxss xmm1, dword [edi + 0x54]
addss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x1c]
addss xmm1, xmm2
movss xmm2, dword [esp + 0x34]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x208], xmm0
addss xmm7, xmm0
movss dword [edi + 0x20c], xmm1
movss dword [edi + 0x210], xmm7
movss xmm7, dword [esp + 0x50]
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 + 0x38]
addss xmm1, xmm2
addss xmm1, xmm0
movss dword [edi + 0x234], xmm1
movss xmm3, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x64]
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x1c], xmm0
subss xmm3, dword [esp + 0x28]
addss xmm3, xmm7
addss xmm3, xmm0
movss dword [edi + 0x238], xmm3
test ah, 0x44
jp 0x411690
movss xmm5, dword [edi + 0x20]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [edi + 0x68]
subss xmm5, xmm0
ucomiss xmm6, xmm4
addss xmm1, xmm5
movss xmm5, dword [esp + 0x1c]
lahf
movss dword [edi + 0x23c], xmm1
test ah, 0x44
jp 0x4116c7
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 + 0x2c]
addss xmm3, xmm6
movss xmm6, dword [esp + 0x38]
lea ecx, [edi + 0x16c]
movaps xmm0, xmm1
mov esi, dword [esp + 0x30]
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 + 0x34]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm6
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, qword [0x45cce8]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x28]
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 + 0x1b], 0
mov byte [edi + 0x162], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x163], 0
movss xmm1, dword [esi + 0x3920]
mov dword [esp + 0x1c], eax
je 0x411899
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x41189d
mov dword [esp + 0x1c], eax
cvttss2si eax, xmm1
push 1
mov word [ecx + 8], ax
call fcn.0044bf20
mov eax, dword [esp + 0x1c]
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 0x411910
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.0041f180
lea eax, [edi + 0x190]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a8], 1
test eax, eax
je 0x411946
mov eax, dword [eax + 0x1a8]
jmp 0x41194b
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 0x411996
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.0041f180
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4119cb
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.0041f180
lea eax, [edi + 0x1c8]
test dword [esp + 0x14], 0x8000000
mov dword [eax], 0
je 0x411aa6
mov edx, dword [0x45f4d8]
xorps xmm0, xmm0
movss xmm5, dword [0x45cd9c]
movss xmm2, dword [edx + 0x3d34]
comiss xmm0, xmm2
jbe 0x411a02
xorps xmm1, xmm1
jmp 0x411a09
movaps xmm1, xmm5
minss xmm1, xmm2
movss xmm2, dword [0x45ce58]
movss xmm3, dword [0x45cd5c]
movss xmm4, dword [edx + 0x3d38]
comiss xmm0, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si ecx, xmm1
jbe 0x411a37
xorps xmm1, xmm1
jmp 0x411a3e
movaps xmm1, xmm5
minss xmm1, xmm4
movss xmm4, dword [edx + 0x3d3c]
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x411a61
xorps xmm1, xmm1
jmp 0x411a68
movaps xmm1, xmm5
minss xmm1, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [edx + 0x3d40]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
jbe 0x411a8b
xorps xmm5, xmm5
jmp 0x411a8f
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 0x411ab8
dec al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x411aca
dec al
mov byte [edi + 0xd3], al
cmp byte [esp + 0x20], 0
je 0x411aee
mov edx, 2
mov ecx, edi
call fcn.00412390
cmp edi, dword [esi + 0x4ae8]
jne 0x411aee
xor dl, dl
mov ecx, edi
call fcn.00419200
mov eax, dword [esp + 0x14]
test al, 1
jne 0x411b5f
movss xmm0, dword [esp + 0x70]
lea edx, [esp + 0x88]
addss xmm0, dword [edi + 0x54]
push dword [esp + 0x5c]
mov ecx, edi
push dword [esp + 0x58]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, dword [edi + 0x54]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x9c], xmm0
call fcn.0040f0d0
mov eax, dword [esp + 0x1c]
add esp, 8
xor ecx, ecx
mov dword [edi + 0x244], ecx
test eax, 0x2000000
je 0x411b74
mov dword [esi + 0x5044], edi
lea edx, [esp + 0x70]
mov ecx, edi
call fcn.00411fb0
mov eax, dword [esi + 0x496c]
test eax, eax
je 0x411cf6
cmp dword [edi + 8], eax
je 0x411b9b
cmp dword [edi + 0x7c], eax
jne 0x411cf6
call fcn.0041e160
jmp 0x411cf6
cmp byte [edi + 0xc0], 0
je 0x411bf5
mov byte [edi + 0xba], 1
mov edx, dword [edi + 0x198]
mov eax, dword [edi + 0x190]
lea esi, [edx + eax*4]
cmp edx, esi
je 0x411bf5
nop dword [eax + eax]
mov ecx, dword [edx]
cmp byte [ecx + 0xc2], 0
jne 0x411bee
mov byte [ecx + 0xc0], 1
mov byte [ecx + 0xba], 1
call fcn.0040f7b0
add edx, 4
cmp edx, esi
jne 0x411bd0
mov edx, dword [0x45f4d8]
mov dword [edx + 0x400c], edi
imul ecx, dword [edx + 0x3fe4], 0x6c
mov eax, dword [edx + 0x3fec]
add ecx, 0xffffffe8
add eax, ecx
mov dword [edx + 0x51b4], eax
mov ecx, dword [edi + 0x1a4]
cmp ecx, 0xffffffff
je 0x411c2f
shl ecx, 9
add ecx, dword [edx + 0x4db4]
jmp 0x411c31
xor ecx, ecx
mov dword [edx + 0x4d94], ecx
mov dword [edx + 0x3d68], 0x3f800000
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3d60]
mov eax, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x411c65
mulss xmm0, dword [eax + 0x270]
mov eax, dword [edx + 0x3d58]
movss dword [edx + 0x3d78], xmm0
movss dword [edx + 0x3d5c], xmm0
divss xmm0, dword [eax + 0x10]
movss dword [edx + 0x3d7c], xmm0
movss dword [edx + 0x3d64], xmm0
test ecx, ecx
jne 0x411ca0
cmp dword [edi + 0x1a0], ecx
jne 0x411ca0
mov al, 1
jmp 0x411ca2
xor al, al
mov byte [edi + 0x160], al
lea edx, [esp + 0x98]
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 + 0x98], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xa4], xmm1
call fcn.00411fb0
cmp byte [edi + 0xc0], 0
jne 0x411d78
mov ecx, dword [0x45f4d8]
push 1
mov eax, dword [ecx + 0x400c]
mov byte [eax + 0xbc], 1
lea eax, [edi + 0x1fc]
mov esi, dword [ecx + 0x400c]
push eax
lea eax, [edi + 0x1f4]
push eax
mov ecx, dword [esi + 0x278]
call fcn.004286b0
mov eax, dword [esi + 0x278]
mov ecx, dword [eax + 0x7c]
mov eax, dword [eax + 0x84]
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 [esi + 0x224], eax
movss dword [esi + 0x228], xmm0
movss dword [esi + 0x22c], xmm1
movss dword [esi + 0x230], xmm2
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov byte [edi + 0xbc], 0
inc word [edi + 0xc8]
mov dword [ecx + 0x49f8], 0
cmp eax, dword [esp + 0x4c]
je 0x411f21
cmp byte [edi + 0xc0], 0
jne 0x411f1a
mov eax, dword [esp + 0x14]
and eax, 0x11000000
cmp eax, 0x1000000
jne 0x411e7e
test dword [edi + 0x10], 0x100
je 0x411df1
cmp byte [ecx + 0x4b31], 0
je 0x411df1
mov eax, dword [ecx + 0x4ae8]
test eax, eax
je 0x411df1
mov eax, dword [eax + 0x33c]
cmp eax, dword [edi + 0x33c]
jne 0x411df1
mov al, 1
jmp 0x411df3
xor al, al
cmp byte [ecx + 0x5150], 0
jne 0x411e44
test al, al
jne 0x411e44
movss xmm0, dword [edi + 0x1d4]
comiss xmm0, dword [edi + 0x1dc]
jae 0x411e22
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jb 0x411e44
cmp byte [edi + 0xd2], 0
jg 0x411e3d
cmp byte [edi + 0xd3], 0
jg 0x411e3d
mov byte [edi + 0xdc], 1
jmp 0x411e44
mov byte [edi + 0xdd], 1
mov eax, dword [esp + 0x40]
test eax, eax
je 0x411e7e
cmp byte [eax + 0xbd], 0
jne 0x411e5e
cmp byte [eax + 0xdc], 0
jle 0x411e65
mov byte [edi + 0xdc], 1
cmp byte [eax + 0xbd], 0
jne 0x411e77
cmp byte [eax + 0xdd], 0
jle 0x411e7e
mov byte [edi + 0xdd], 1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x38d4]
jb 0x411e91
mov byte [edi + 0xdc], 1
cmp byte [edi + 0xdc], 0
jg 0x411eb1
cmp byte [edi + 0xdd], 0
jg 0x411eb1
xor dl, dl
cmp byte [edi + 0xde], dl
jg 0x411eb3
xor al, al
jmp 0x411eb5
mov dl, 1
mov al, 1
mov byte [edi + 0xc2], al
mov al, byte [edi + 0xdf]
test al, al
jle 0x411ed8
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 0x411eee
cmp byte [edi + 0xba], al
je 0x411eee
test dl, dl
je 0x411f12
cmp byte [edi + 0xd2], 0
jg 0x411f12
cmp byte [edi + 0xd3], 0
jg 0x411f12
cmp byte [edi + 0xdd], 0
mov edx, 1
movzx eax, al
cmovle eax, edx
mov byte [edi + 0xbf], al
jmp 0x411f21
mov byte [edi + 0xbf], 1
cmp byte [edi + 0xc3], 0
jne 0x411f86
cmp byte [ecx + 0x72], 0
je 0x411f37
cmp dword [esp + 0x58], 0
je 0x411f4c
cmp byte [ecx + 0x73], 0
je 0x411f86
movsx eax, byte [ecx + 0x51ec]
cmp eax, dword [ecx + 0x3fe4]
jne 0x411f86
mov al, byte [edi + 0xd2]
test al, al
jle 0x411f5e
inc al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x411f70
inc al
mov byte [edi + 0xd3], al
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00453924
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xbf], 0
mov ecx, dword [esp + 0x11c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.00453924
mov esp, ebp
pop ebp
ret