Function at 0x180051b50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2a8]
sub rsp, 0x380
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x180111618]
xor rax, rsp
mov qword [rbp + 0x208], rax
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c0], xmm1
mov qword [rbp + 0x1d0], rax
mov rsi, qword [0x180112db0]
mov r14, qword [0x180112db8]
cmp rsi, r14
je 0x180051c7c
mov rcx, r14
sub rcx, rsi
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
mov rbx, rdx
sar rbx, 6
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov rdx, rbx
lea rcx, [rbp + 0x1c0]
call fcn.1800675a0
mov rdi, rax
mov qword [rbp + 0x1c0], rax
mov qword [rbp + 0x1c8], rax
imul rcx, rbx, 0xd0
add rcx, rax
mov qword [rbp + 0x1d0], rcx
lea rax, [rbp + 0x1c0]
mov qword [rbp - 0x60], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
lea rax, [rbp + 0x1c0]
mov qword [rbp - 0x48], rax
mov rdx, rsi
mov rcx, rdi
call fcn.18004f2a0
add rdi, 0xd0
mov qword [rbp - 0x50], rdi
add rsi, 0xd0
cmp rsi, r14
jne 0x180051c53
mov qword [rbp + 0x1c8], rdi
cmp byte [0x180111496], 0
je 0x180051cd3
mov ecx, dword [0x180112e08]
test ecx, ecx
je 0x180051cc7
sub ecx, 1
je 0x180051cbe
sub ecx, 1
je 0x180051cb5
sub ecx, 1
je 0x180051cac
cmp ecx, 1
jne 0x180051cd3
mov rcx, qword [0x180112ab8]
jmp 0x180051cce
mov rcx, qword [0x180112ab0]
jmp 0x180051cce
mov rcx, qword [0x180112aa8]
jmp 0x180051cce
mov rcx, qword [0x180112aa0]
jmp 0x180051cce
mov rcx, qword [0x180112a90]
call fcn.180019ac0
mov r13, qword [rbp + 0x1c0]
mov qword [rbp - 0x68], r13
mov rax, qword [rbp + 0x1c8]
mov qword [rbp - 0x60], rax
cmp r13, rax
je 0x180052e1a
movzx esi, byte [rsp + 0x40]
movzx ebx, byte [rsp + 0x40]
movzx r14d, byte [rsp + 0x40]
movzx edi, byte [rsp + 0x40]
movzx r15d, byte [rsp + 0x40]
movzx r12d, byte [rsp + 0x40]
xorps xmm8, xmm8
movss xmm9, dword [0x1800a5628]
movsd xmm10, qword [0x1800ab9c8]
movss xmm11, dword [0x1800a559c]
movss xmm12, dword [0x1800a9410]
nop dword [rax + rax]
mov rax, qword [r13]
mov qword [rbp + 0x60], rax
lea rdx, [r13 + 8]
lea rcx, [rbp + 0x68]
call fcn.18004ec00
nop
lea rdx, [r13 + 0x28]
lea rcx, [rbp + 0x88]
call fcn.18004ec00
nop
lea rdx, [r13 + 0x48]
lea rcx, [rbp + 0xa8]
call fcn.18004ec00
nop
lea rdx, [r13 + 0x68]
lea rcx, [rbp + 0xc8]
call fcn.18004ec00
nop
lea rdx, [r13 + 0x88]
lea rcx, [rbp + 0xe8]
call fcn.18004ec00
nop
lea rdx, [r13 + 0xa8]
lea rcx, [rbp + 0x108]
call fcn.18004ec00
movss xmm0, dword [r13 + 0xc8]
movss dword [rbp + 0x128], xmm0
xor r13d, r13d
cmp byte [0x180112df9], r13b
je 0x180052393
movdqa xmm0, xmmword [0x1800abc40]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0xaa959d97
mov word [rsp + 0x64], 0xb5
mov byte [rsp + 0x66], 1
mov ecx, r13d
nop word [rax + rax]
lea eax, [rcx - 0x1e]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x15
jb 0x180051e00
mov byte [rsp + 0x66], r13b
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae rcx, qword [rbp + 0x68]
lea rdx, [rsp + 0x50]
call fcn.180071950
test rax, rax
je 0x180052393
movd xmm0, dword [0x180111484]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [rbp + 0x128]
jb 0x180052393
mov qword [rbp + 0x138], r13
mov rcx, qword [rbp + 0x60]
add rcx, 0x198
mov r8d, 8
lea rdx, [rbp + 0x138]
call fcn.180005e80
mov rcx, qword [rbp + 0x138]
add rcx, 0x120
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d8], xmm0
movsd qword [rbp + 0x1e8], xmm8
mov r8d, 0x18
lea rdx, [rbp + 0x1d8]
call fcn.180005e80
movups xmm0, xmmword [rbp + 0x1d8]
movaps xmmword [rbp], xmm0
movsd xmm1, qword [rbp + 0x1e8]
movsd qword [rbp + 0x10], xmm1
lea r8, [rbp]
lea rdx, [rbp - 0x20]
mov rcx, qword [0x180112c38]
call fcn.18006b2a0
movsd xmm6, qword [rbp - 0x18]
movsd xmm7, qword [rbp - 0x20]
comisd xmm7, xmm8
jbe 0x180051f14
movd xmm0, dword [0x180112e50]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm7
jbe 0x180051f14
comisd xmm6, xmm8
jbe 0x180051f14
movd xmm0, dword [0x180112e54]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm6
jbe 0x180051f14
mov al, 1
jmp 0x180051f16
xor al, al
test al, al
je 0x180052393
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x190], r13
mov qword [rbp + 0x198], 0xf
mov byte [rbp + 0x180], 0
mov r8d, 5
lea rdx, str.Chest
lea rcx, [rbp + 0x180]
call fcn.180004420
nop
cvttss2si edx, dword [rbp + 0x128]
lea rcx, [rbp - 0x40]
call fcn.18006b080
mov qword [rbp + 0x140], rax
movabs r10, 0x7fffffffffffffff
mov rcx, r10
mov rdx, qword [rbp + 0x190]
sub rcx, rdx
cmp rcx, 2
jb 0x180052eaf
lea r9, [rbp + 0x180]
cmp qword [rbp + 0x198], 0x10
setae byte [rsp + 0x40]
mov rcx, qword [rbp + 0x180]
mov qword [rsp + 0x50], rcx
cmovae r9, rcx
mov qword [rbp + 0x130], r9
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
lea r8, [rdx + 2]
mov qword [rsp + 0x70], r8
mov eax, 0xf
lea r13, [rsp + 0x78]
cmp r8, rax
jbe 0x180052082
mov rax, r8
or rax, 0xf
cmp rax, r10
jbe 0x180051ff6
mov rax, r10
jmp 0x180052003
cmp rax, 0x16
mov ecx, 0x16
cmovb rax, rcx
mov qword [rbp + 0x138], rax
mov rcx, rax
add rcx, 1
mov r10, 0xffffffffffffffff
cmovb rcx, r10
cmp rcx, 0x1000
jb 0x18005206b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180052e8b
mov rcx, rax
call fcn.18006e3a4
test rax, rax
je 0x180052e85
lea r13, [rax + 0x27]
and r13, 0xffffffffffffffe0
mov qword [r13 - 8], rax
mov rax, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x190]
mov r8, qword [rsp + 0x70]
mov r9, qword [rbp + 0x130]
jmp 0x18005207d
test rcx, rcx
je 0x18005207a
call fcn.18006e3a4
mov r13, rax
jmp 0x18005204f
xor r13d, r13d
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x78], r8
mov qword [rbp - 0x70], rax
mov r8, rdx
mov rdx, r9
mov rcx, r13
call fcn.180071110
mov rax, qword [rbp + 0x190]
mov ecx, 0x5b20
mov word [rax + r13], cx
mov byte [rax + r13 + 2], 0
mov r9, qword [rbp + 0x140]
lea r8, [rsp + 0x78]
movzx edx, sil
lea rcx, [rbp + 0x160]
call fcn.18004ed20
nop
mov rcx, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x178]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x18005211b
lea rax, [rcx + 2]
mov qword [rbp + 0x170], rax
lea rax, [rbp + 0x160]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x160]
mov edx, 0x5d6d
mov word [rax + rcx], dx
mov byte [rax + rcx + 2], 0
lea rax, [rbp + 0x160]
jmp 0x180052140
mov qword [rsp + 0x20], 2
lea r9, [0x1800aa678]
movzx r8d, bl
mov edx, 2
lea rcx, [rbp + 0x160]
call fcn.180001800
xor r13d, r13d
mov qword [rbp + 0x1a0], r13
mov qword [rbp + 0x1b0], r13
mov qword [rbp + 0x1b8], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1b0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x1800521bd
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800521b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052e91
call fcn.18006e3e0
mov qword [rbp + 0x170], r13
mov qword [rbp + 0x178], 0xf
mov byte [rbp + 0x160], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180052213
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005220d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052e97
call fcn.18006e3e0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18005224e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052249
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052e9d
call fcn.18006e3e0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0x10
cmovae rdx, qword [rbp + 0x1a0]
movss dword [rsp + 0x20], xmm9
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x1f0]
call fcn.18000c050
lea rax, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0x10
cmovae rax, qword [rbp + 0x1a0]
movaps xmm0, xmmword [0x1800abb30]
movaps xmmword [rbp + 0x140], xmm0
subsd xmm6, xmm10
cvttsd2si r8d, xmm6
movss xmm0, dword [rbp + 0x1f0]
mulss xmm0, xmm11
cvtps2pd xmm1, xmm0
subsd xmm7, xmm1
cvttsd2si edx, xmm7
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
lea r9, [rbp + 0x140]
movaps xmm0, xmm12
movd ecx, xmm0
call fcn.180050ee0
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0x10
jb 0x18005233a
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180052335
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052ea3
call fcn.18006e3e0
mov qword [rbp + 0x1b0], r13
mov qword [rbp + 0x1b8], 0xf
mov byte [rbp + 0x1a0], 0
cmp byte [rsp + 0x40], 0
je 0x180052393
mov rdx, qword [rbp + 0x198]
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005238e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052ea9
call fcn.18006e3e0
cmp byte [0x180112dfb], 0
je 0x1800528c9
movdqa xmm0, xmmword [0x1800abc30]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0xb6ab929c
mov word [rsp + 0x64], pe_nt_image_headers64
mov rcx, r13
lea eax, [rcx - 0x1e]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x14
jb 0x1800523c0
mov byte [rsp + 0x65], 0
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae rcx, qword [rbp + 0x68]
lea rdx, [rsp + 0x50]
call fcn.180071950
test rax, rax
je 0x1800528c9
movd xmm0, dword [0x180111480]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [rbp + 0x128]
jb 0x1800528c9
mov qword [rbp + 0x130], r13
mov rcx, qword [rbp + 0x60]
add rcx, 0x198
mov r8d, 8
lea rdx, [rbp + 0x130]
call fcn.180005e80
mov rcx, qword [rbp + 0x130]
add rcx, 0x120
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d8], xmm0
movsd qword [rbp + 0x1e8], xmm8
mov r8d, 0x18
lea rdx, [rbp + 0x1d8]
call fcn.180005e80
movups xmm0, xmmword [rbp + 0x1d8]
movaps xmmword [rbp + 0x20], xmm0
movsd xmm1, qword [rbp + 0x1e8]
movsd qword [rbp + 0x30], xmm1
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x10]
mov rcx, qword [0x180112c38]
call fcn.18006b2a0
movsd xmm6, qword [rbp - 8]
movsd xmm7, qword [rbp - 0x10]
comisd xmm7, xmm8
jbe 0x1800524d4
movd xmm0, dword [0x180112e50]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm7
jbe 0x1800524d4
comisd xmm6, xmm8
jbe 0x1800524d4
movd xmm0, dword [0x180112e54]
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm6
jbe 0x1800524d4
mov al, 1
jmp 0x1800524d6
xor al, al
test al, al
je 0x1800528c9
mov qword [rbp + 0x1a0], r13
mov qword [rbp + 0x1b0], r13
mov qword [rbp + 0x1b8], 0xf
mov byte [rbp + 0x1a0], 0
mov r8d, 7
lea rdx, str.Ammobox
lea rcx, [rbp + 0x1a0]
call fcn.180004420
nop
cvttss2si edx, dword [rbp + 0x128]
lea rcx, [rsp + 0x78]
call fcn.18006b080
mov qword [rsp + 0x50], rax
movabs r10, 0x7fffffffffffffff
mov rcx, r10
mov rdx, qword [rbp + 0x1b0]
sub rcx, rdx
cmp rcx, 2
jb 0x180052e79
lea r9, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0x10
setae byte [rsp + 0x40]
cmovae r9, qword [rbp + 0x1a0]
mov qword [rsp + 0x70], r9
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x190], r13
mov qword [rbp + 0x198], r13
lea r8, [rdx + 2]
mov qword [rbp + 0x130], r8
mov eax, 0xf
lea r13, [rbp + 0x180]
cmp r8, rax
jbe 0x180052645
mov rax, r8
or rax, 0xf
cmp rax, r10
jbe 0x1800525b7
mov rax, r10
jmp 0x1800525c4
cmp rax, 0x16
mov ecx, 0x16
cmovb rax, rcx
mov qword [rbp + 0x138], rax
mov rcx, rax
add rcx, 1
mov r10, 0xffffffffffffffff
cmovb rcx, r10
cmp rcx, 0x1000
jb 0x18005262c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180052ebb
mov rcx, rax
call fcn.18006e3a4
test rax, rax
je 0x180052eb5
lea r13, [rax + 0x27]
and r13, 0xffffffffffffffe0
mov qword [r13 - 8], rax
mov rax, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x1b0]
mov r8, qword [rbp + 0x130]
mov r9, qword [rsp + 0x70]
jmp 0x18005263e
test rcx, rcx
je 0x18005263b
call fcn.18006e3a4
mov r13, rax
jmp 0x180052610
xor r13d, r13d
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x190], r8
mov qword [rbp + 0x198], rax
mov r8, rdx
mov rdx, r9
mov rcx, r13
call fcn.180071110
mov rax, qword [rbp + 0x1b0]
mov ecx, 0x5b20
mov word [rax + r13], cx
mov byte [rax + r13 + 2], 0
mov r9, qword [rsp + 0x50]
lea r8, [rbp + 0x180]
movzx edx, r14b
lea rcx, [rbp + 0x160]
call fcn.18004ed20
nop
mov rcx, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x178]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x1800526e4
lea rax, [rcx + 2]
mov qword [rbp + 0x170], rax
lea rax, [rbp + 0x160]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x160]
mov edx, 0x5d6d
mov word [rax + rcx], dx
mov byte [rax + rcx + 2], 0
lea rax, [rbp + 0x160]
jmp 0x180052709
mov qword [rsp + 0x20], 2
lea r9, [0x1800aa678]
movzx r8d, dil
mov edx, 2
lea rcx, [rbp + 0x160]
call fcn.180001800
xor r13d, r13d
mov qword [rbp + 0x140], r13
mov qword [rbp + 0x150], r13
mov qword [rbp + 0x158], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x140], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x150], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
mov r8, qword [rbp + 0x178]
cmp r8, 0x10
jb 0x180052768
inc r8
mov rdx, qword [rbp + 0x160]
lea rcx, [rbp + 0x160]
call fcn.180067920
mov qword [rbp + 0x170], r13
mov qword [rbp + 0x178], 0xf
mov byte [rbp + 0x160], 0
mov r8, qword [rbp + 0x198]
cmp r8, 0x10
jb 0x1800527a5
inc r8
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x180]
call fcn.180067920
nop
mov r8, qword [rbp - 0x70]
cmp r8, 0x10
jb 0x1800527c1
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.180067920
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
lea rdx, [rbp + 0x140]
cmp qword [rbp + 0x158], 0x10
cmovae rdx, qword [rbp + 0x140]
movss dword [rsp + 0x20], xmm9
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x1f8]
call fcn.18000c050
lea rax, [rbp + 0x140]
cmp qword [rbp + 0x158], 0x10
cmovae rax, qword [rbp + 0x140]
movaps xmm0, xmmword [0x1800abb90]
movaps xmmword [rsp + 0x50], xmm0
subsd xmm6, xmm10
cvttsd2si r8d, xmm6
movss xmm0, dword [rbp + 0x1f8]
mulss xmm0, xmm11
cvtps2pd xmm1, xmm0
subsd xmm7, xmm1
cvttsd2si edx, xmm7
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
lea r9, [rsp + 0x50]
movaps xmm0, xmm12
movd ecx, xmm0
call fcn.180050ee0
nop
mov r8, qword [rbp + 0x158]
cmp r8, 0x10
jb 0x18005288c
inc r8
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x140]
call fcn.180067920
mov qword [rbp + 0x150], r13
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], 0
cmp byte [rsp + 0x40], 0
je 0x1800528c9
mov r8, qword [rbp + 0x1b8]
inc r8
mov rdx, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x1a0]
call fcn.180067920
cmp byte [0x180112dfe], 0
je 0x180052df8
movdqa xmm0, xmmword [0x1800abc20]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x60], pe_nt_image_headers64
mov rcx, r13
nop
lea eax, [rcx - 0x1e]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x10
jb 0x1800528f0
mov byte [rsp + 0x61], 0
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae rcx, qword [rbp + 0x68]
lea rdx, [rsp + 0x50]
call fcn.180071950
test rax, rax
je 0x180052df8
cmp byte [0x180112dfe], 0
je 0x180052df8
movdqa xmm0, xmmword [0x1800abc20]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x60], pe_nt_image_headers64
mov rcx, r13
nop
lea eax, [rcx - 0x1e]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x10
jb 0x180052950
mov byte [rsp + 0x61], 0
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0x10
cmovae rcx, qword [rbp + 0x68]
lea rdx, [rsp + 0x50]
call fcn.180071950
test rax, rax
je 0x180052df8
movd xmm0, dword [0x180111488]
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [rbp + 0x128]
jb 0x180052df8
mov rcx, qword [rbp + 0x60]
add rcx, 0x368
call fcn.18004e8d0
mov r13, rax
lea rcx, [rax - 0x400001]
movabs rax, 0x7fffffffffbffffe
cmp rcx, rax
setbe cl
test cl, cl
je 0x180052df8
lea rcx, [r13 + 0x11b]
call fcn.18004e780
mov byte [rsp + 0x40], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x1d8]
call fcn.1800517f0
movups xmm0, xmmword [rbp + 0x1d8]
movaps xmmword [rbp + 0x40], xmm0
movsd xmm1, qword [rbp + 0x1e8]
movsd qword [rbp + 0x50], xmm1
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x58]
mov rcx, qword [0x180112c38]
call fcn.18006b2a0
lea rcx, [r13 + 0x30]
call fcn.18004e8d0
mov r13, rax
lea rcx, [rax - 0x400001]
movabs rax, 0x7fffffffffbffffe
cmp rcx, rax
ja 0x180052df8
lea rcx, [r13 + 0x28]
call fcn.18004e8d0
mov qword [rsp + 0x50], rax
lea rcx, [r13 + 0x30]
call fcn.18004e7c0
test eax, eax
jle 0x180052df8
cmp eax, 0x32
jge 0x180052df8
movsxd r13, eax
mov eax, 2
mul r13
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18006e988
mov qword [rbp + 0x130], rax
lea r8, [r13*2]
mov r13, rax
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.180005e80
mov rcx, r13
call fcn.18006e3e0
xor eax, eax
cmp byte [r13], al
je 0x180052adb
mov rcx, r13
nop word [rax + rax]
inc eax
lea rcx, [rcx + 2]
cmp byte [rcx], 0
jne 0x180052ad0
inc eax
movsxd r13, eax
mov rcx, r13
call fcn.180080970
xor r9d, r9d
mov edx, r9d
test r13, r13
jle 0x180052b12
mov r8, qword [rbp + 0x130]
nop word [rax + rax]
movzx ecx, byte [r8 + rdx*2]
mov byte [rax], cl
inc rax
inc rdx
cmp rdx, r13
jl 0x180052b00
sub rax, r13
mov qword [rbp + 0x160], r9
mov qword [rbp + 0x170], r9
mov qword [rbp + 0x178], 0xf
mov byte [rbp + 0x160], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180052b40
mov rdx, rax
lea rcx, [rbp + 0x160]
call fcn.180004420
nop
cvttss2si edx, dword [rbp + 0x128]
lea rcx, [rbp + 0x1a0]
call fcn.18006b080
mov r13, rax
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp + 0x170]
sub rax, rdx
cmp rax, 2
jb 0x180052e7f
lea r9, [rbp + 0x160]
cmp qword [rbp + 0x178], 0x10
cmovae r9, qword [rbp + 0x160]
mov qword [rsp + 0x30], 2
lea rax, [0x1800aa67c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [rbp + 0x160]
movzx edx, r15b
lea rcx, [rsp + 0x78]
call fcn.18004eed0
nop
mov r9, r13
lea r8, [rsp + 0x78]
movzx edx, r12b
lea rcx, [rbp - 0x40]
call fcn.18004ed20
nop
mov r8d, 2
lea rdx, [0x1800aa678]
lea rcx, [rbp - 0x40]
call fcn.1800042f0
xor ecx, ecx
mov qword [rbp + 0x180], rcx
mov qword [rbp + 0x190], rcx
mov qword [rbp + 0x198], rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x190], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0xf
mov byte [rax], cl
lea rcx, [rbp - 0x40]
call fcn.180002860
nop
lea rcx, [rsp + 0x78]
call fcn.180002860
nop
lea rcx, [rbp + 0x1a0]
call fcn.180002860
movzx eax, byte [rsp + 0x40]
cmp al, 2
jne 0x180052c75
cmp byte [0x180111490], 0
je 0x180052d3c
jmp 0x180052cda
cmp al, 3
jne 0x180052c92
cmp byte [0x180111491], 0
je 0x180052d3c
mov dword [rbp + 0x144], 0x3f169697
jmp 0x180052cad
cmp al, 4
jne 0x180052cc3
cmp byte [0x180111492], 0
je 0x180052d3c
mov dword [rbp + 0x140], 0x3f800000
mov dword [rbp + 0x148], 0x3f800000
mov dword [rbp + 0x14c], 0x3f800000
jmp 0x180052d3c
cmp al, 5
jne 0x180052cf0
cmp byte [0x180111493], 0
je 0x180052d3c
mov dword [rbp + 0x140], 0x3f800000
mov dword [rbp + 0x144], 0x3f800000
mov dword [rbp + 0x14c], 0x3f800000
jmp 0x180052d3c
cmp al, 6
jne 0x180052d1d
cmp byte [0x180111494], 0
je 0x180052d3c
mov dword [rbp + 0x140], 0x3f75f5f7
mov dword [rbp + 0x144], 0x3f75f5f7
mov dword [rbp + 0x14c], 0x3f800000
jmp 0x180052d3c
test al, al
je 0x180052d2e
cmp al, 1
jne 0x180052d3c
cmp byte [0x180111495], 0
je 0x180052d3c
movaps xmm0, xmmword [0x1800a5690]
movups xmmword [rbp + 0x140], xmm0
lea rdx, [rbp + 0x180]
cmp qword [rbp + 0x198], 0x10
cmovae rdx, qword [rbp + 0x180]
movss dword [rsp + 0x20], xmm9
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x200]
call fcn.18000c050
lea rax, [rbp + 0x180]
cmp qword [rbp + 0x198], 0x10
cmovae rax, qword [rbp + 0x180]
movups xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rbp - 0x50]
subsd xmm1, xmm10
cvttsd2si r8d, xmm1
movss xmm0, dword [rbp + 0x200]
mulss xmm0, xmm11
cvtps2pd xmm1, xmm0
movsd xmm2, qword [rbp - 0x58]
subsd xmm2, xmm1
cvttsd2si edx, xmm2
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
lea r9, [rsp + 0x50]
movaps xmm0, xmm12
movd ecx, xmm0
call fcn.180050ee0
nop
lea rcx, [rbp + 0x180]
call fcn.180002860
nop
lea rcx, [rbp + 0x160]
call fcn.180002860
nop
lea rcx, [rbp + 0x60]
call fcn.18004f790
mov r13, qword [rbp - 0x68]
add r13, 0xd0
mov qword [rbp - 0x68], r13
cmp r13, qword [rbp - 0x60]
jne 0x180051d40
lea rcx, [rbp + 0x1c0]
call fcn.18005c890
mov rcx, qword [rbp + 0x208]
xor rcx, rsp
call fcn.18006e500
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800042b0
nop
call fcn.1800042b0
nop
call fcn.180075cf4
int3
call fcn.180004270
nop
call fcn.180075cf4
nop
call fcn.180075cf4
nop
call fcn.180075cf4
nop
call fcn.180075cf4
nop
call fcn.180075cf4
nop
call fcn.1800042b0
nop
call fcn.180075cf4
int3
call fcn.180004270
int3