Function at 0x140064dc0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0xd8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm8
mov rax, qword [0x1400b70c0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rcx
cmp byte [rcx], 0
je 0x140065390
cmp byte [0x1400ba2e0], 0
jne 0x140064e30
movaps xmm0, xmmword [0x1400a8f50]
movups xmmword [0x1400ba280], xmm0
movaps xmm1, xmmword [0x1400a8f20]
movups xmmword [0x1400ba270], xmm1
mov byte [0x1400ba2e0], 1
movss xmm2, dword [0x1400ba280]
movss xmm5, dword [0x1400ba270]
addss xmm2, xmm5
movss dword [0x1400ba280], xmm2
movss xmm1, dword [0x1400ba284]
movss xmm4, dword [0x1400ba274]
addss xmm1, xmm4
movss dword [0x1400ba284], xmm1
movss xmm0, dword [0x1400ba288]
movss xmm3, dword [0x1400ba278]
addss xmm0, xmm3
movss dword [0x1400ba288], xmm0
movss xmm8, dword [0x1400a8c0c]
movss xmm6, dword [0x1400a8f80]
comiss xmm8, xmm2
ja 0x140064ea4
comiss xmm2, dword [0x1400a8c60]
jbe 0x140064eaf
xorps xmm5, xmm6
movss dword [0x1400ba270], xmm5
comiss xmm8, xmm1
ja 0x140064ebe
comiss xmm1, dword [0x1400a8c60]
jbe 0x140064ec9
xorps xmm4, xmm6
movss dword [0x1400ba274], xmm4
comiss xmm8, xmm0
ja 0x140064ed8
comiss xmm0, dword [0x1400a8c60]
jbe 0x140064ee3
xorps xmm3, xmm6
movss dword [0x1400ba278], xmm3
mov rbx, qword [0x1400b9e78]
mov dword [rbp + 0x80], 5
movups xmm0, xmmword [rbx + 0x3b30]
movups xmmword [rbp + 0x84], xmm0
lea rcx, [rbx + 0x4be8]
lea rdx, [rbp + 0x80]
call fcn.1400419e0
cmp dword [rbx + 0x4be4], 5
je 0x140064f2c
movups xmm0, xmmword [0x1400ba280]
movups xmmword [rbx + 0x3b30], xmm0
mov rbx, qword [0x1400b9e78]
mov dword [rbp + 0x70], 7
movss xmm0, dword [rbx + 0x3a24]
movss dword [rbp + 0x74], xmm0
lea rcx, [rbx + 0x4bf8]
lea rdx, [rbp + 0x70]
call fcn.1400418a0
mov dword [rbx + 0x3a24], 0x41400000
mov rbx, qword [0x1400b9e78]
xor esi, esi
mov dword [rbp + 0x70], esi
movss xmm0, dword [rbx + 0x39f8]
movss dword [rbp + 0x74], xmm0
lea rcx, [rbx + 0x4bf8]
lea rdx, [rbp + 0x70]
call fcn.1400418a0
mov dword [rbx + 0x39f8], 0x3f4ccccd
mov rax, qword [0x1400b9e78]
or dword [rax + 0x4b40], 2
movsd xmm0, qword [0x1400a4900]
movsd qword [rax + 0x4b64], xmm0
mov dword [rax + 0x4b48], 1
lea r8d, [rsi + 2]
mov rdx, rdi
lea rcx, str.thornsin_cheat
call fcn.140026960
mov rbx, qword [0x1400b9e78]
mov dword [rbp + 0x70], esi
movss xmm0, dword [rbx + 0x39f8]
movss dword [rbp + 0x74], xmm0
lea rcx, [rbx + 0x4bf8]
lea rdx, [rbp + 0x70]
call fcn.1400418a0
mov dword [rbx + 0x39f8], 0x3f800000
movss xmm6, dword [0x1400a8c1c]
mov dword [0x1400b9e60], 0x3eb851ec
mov rcx, qword [0x1400b9e78]
mov rax, qword [rcx + 0x4140]
movss xmm5, dword [rax + 0x60]
movss xmm4, dword [rax + 0x64]
movss xmm0, dword [0x1400b9e50]
mulss xmm0, xmm6
movss xmm3, dword [0x1400b9e54]
mulss xmm3, xmm6
mov byte [rax + 0xf5], 1
mov rax, qword [rcx + 0x4140]
subss xmm5, xmm0
mulss xmm5, dword [0x1400a8c38]
movss xmm0, dword [rax + 0x58]
subss xmm0, dword [rax + 0xc0]
addss xmm5, xmm0
movss xmm1, dword [rax + 0x5c]
subss xmm1, dword [rax + 0xc4]
subss xmm4, xmm3
mulss xmm4, dword [0x1400a8c38]
addss xmm1, xmm4
movss dword [rax + 0x140], xmm5
movss dword [rax + 0x144], xmm1
mov byte [rax + 0x181], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [0x1400a8f60]
movups xmmword [rbp + 0x80], xmm1
mov dword [rsp + 0x40], 0x3f800000
mov dword [rsp + 0x44], 0x3f800000
mov qword [rsp + 0x48], rsi
movss xmm0, dword [0x1400b9e50]
mulss xmm0, xmm6
movss dword [rbp + 0x70], xmm0
movss xmm1, dword [0x1400b9e54]
mulss xmm1, xmm6
movss dword [rbp + 0x74], xmm1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x70]
mov rcx, qword [0x1400b9e58]
call fcn.14005ca40
lea rdx, [0x1400b7d10]
lea rcx, [0x1400b7d48]
call fcn.140006d20
movss xmm1, dword [0x1400a8cec]
movaps xmm0, xmm1
unpcklps xmm0, xmm1
movq rdx, xmm0
call fcn.1400068d0
test al, al
je 0x14006532b
mov rbx, qword [str.imagedll_]
call fcn.140063780
mov r9, rax
mov rdx, qword [rax + 0x10]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rbx + rcx*2], si
jne 0x140065170
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, rcx
jb 0x1400653d1
cmp qword [r9 + 0x18], 7
jbe 0x140065199
mov r9, qword [r9]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x50]
call fcn.140063220
mov r8d, 0x13
lea rdx, str.thornsin_inject.dll
lea rcx, [rsp + 0x50]
call fcn.140063360
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm1
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14006522f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006522a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400653d7
call fcn.140066740
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x70]
call fcn.140091450
lea rdx, str.ThornSin.exe
lea rcx, [rsp + 0x50]
call fcn.140002c60
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140002590
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1400652aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400652a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400653cb
call fcn.140066740
mov r8, qword [rbp - 0x40]
mov dword [rbp + 0x74], r8d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x78], rax
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x70]
call fcn.140002ae0
mov byte [rdi], sil
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x1400652e5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x14006532b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065326
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400653cb
call fcn.140066740
mov ecx, 1
call fcn.14001af70
mov ecx, 1
call fcn.14001af70
mov ecx, 1
call fcn.14001af70
mov r8, qword [0x1400b9e78]
movsxd rax, dword [r8 + 0x4be8]
cmp eax, 1
jl 0x140065386
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4bf0]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, 0x3ae
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x4be8]
call fcn.1400299e0
cmp byte [rdi], sil
jne 0x140065399
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140066720
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140070f88
int3
call fcn.140002570
int3
call fcn.140070f88
int3