Function at 0x140063a00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x1400b70c0]
xor rax, rsp
mov qword [rsp + 0x148], rax
lea rdx, str.ThornSin
lea rcx, str.UnityWndClass
call qword [sym.imp.USER32.dll_FindWindowW]
xor ecx, ecx
test rax, rax
jne 0x140063a6b
lea r9d, [rcx + 1]
lea r8, str.error
lea rdx, [0x1400a8b20]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400643c0
mov dword [rsp + 0xe0], 0x50
mov dword [rsp + 0xe4], 0x40
lea rax, [0x140064480]
mov qword [rsp + 0xe8], rax
xor r14d, r14d
mov qword [rsp + 0xf0], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0xf8], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x100], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x110], xmm1
lea rax, str.thornsin_cheat_class
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], r14
lea rcx, [rsp + 0xe0]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r14
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], 6
mov dword [rsp + 0x30], 6
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 6
mov r9d, 0xcf0000
lea r8, [0x1400a8b70]
mov rdx, qword [rsp + 0x120]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r12, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xa4], r14
mov qword [rsp + 0xb8], 2
mov qword [rsp + 0xd0], 2
mov qword [rsp + 0x90], r14
mov dword [rsp + 0xa0], 0x1c
mov dword [rsp + 0x98], 0x3c
mov r13d, 1
mov dword [rsp + 0x9c], r13d
mov dword [rsp + 0xb4], 0x20
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xac], r13
mov qword [rsp + 0xc8], r13
mov dword [rsp + 0x140], 0xb000
mov dword [rsp + 0x144], 0xa000
lea rbx, [0x1400ba088]
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x138]
mov qword [rsp + 0x50], rax
lea rdi, [0x1400ba080]
mov qword [rsp + 0x48], rdi
lea rsi, [0x1400ba070]
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x140063c97
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x138]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 5]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x140063cbe
call fcn.140064400
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, r13d
jmp 0x1400643c2
mov rcx, qword [0x1400ba070]
mov rax, qword [rcx]
lea r9, [rsp + 0x88]
lea r8, [0x1400a71f8]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1400ba080]
mov rax, qword [rcx]
lea r9, [0x1400ba068]
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1400b9e78]
mov qword [rsp + 0x140], rbx
mov ecx, 0x64d0
call fcn.14007474c
mov r8, rax
mov r9, qword [0x1400b9e78]
test r9, r9
je 0x140063da5
mov r10d, dword [r9 + 0x4098]
movsx rax, word [r9 + 0x6338]
lea rdx, [r9 + 0x633c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140063d9a
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r9 + 0x6338], cx
movsx rax, cx
lea rdx, [r9 + 0x633c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r14d
inc word [rdx + 4]
inc dword [r9 + 0x6330]
mov qword [rsp + 0x88], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x70], r8
test r8, r8
je 0x140063dd0
xor edx, edx
mov rcx, r8
call fcn.140018180
jmp 0x140063dd3
mov rax, r14
mov qword [0x1400b9e78], rax
call fcn.14001d090
test rbx, rbx
je 0x140063ded
mov qword [0x1400b9e78], rbx
jmp 0x140063dfc
mov rbx, qword [0x1400b9e78]
mov qword [rsp + 0x140], rbx
or dword [rbx + 8], 0x441
mov byte [rbx + 0x5c], 1
mov rcx, r12
call fcn.140055750
call fcn.1400550e0
nop
call fcn.140064580
nop
mov byte [rsp + 0x130], 1
xor r15b, r15b
nop word [rax + rax]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140063ea4
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_DispatchMessageW]
movzx r15d, r15b
cmp dword [rsp + 0x98], 0x12
cmove r15d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140063e50
test r15b, r15b
jne 0x140064108
mov r8d, dword [0x1400ba060]
test r8d, r8d
je 0x140063f5d
mov r9d, dword [0x1400ba078]
test r9d, r9d
je 0x140063f5d
mov rcx, qword [0x1400ba068]
test rcx, rcx
je 0x140063eeb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400ba068], r14
mov r8d, dword [0x1400ba060]
mov r9d, dword [0x1400ba078]
mov rcx, qword [0x1400ba070]
mov rax, qword [rcx]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor edx, edx
call qword [rax + 0x68]
mov dword [0x1400ba078], r14d
mov dword [0x1400ba060], r14d
mov rcx, qword [0x1400ba070]
mov rax, qword [rcx]
lea r9, [rsp + 0x88]
lea r8, [0x1400a71f8]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1400ba080]
mov rax, qword [rcx]
lea r9, [0x1400ba068]
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400b9e78]
test rax, rax
je 0x140063f72
mov rcx, qword [rax + 0xa0]
jmp 0x140063f75
mov rcx, r14
cmp qword [rcx + 0x48], 0
jne 0x140063f81
call fcn.140054a80
call fcn.140056620
call fcn.1400201b0
lea rcx, [rsp + 0x130]
call fcn.140064dc0
call fcn.1400228c0
mov rcx, qword [0x1400ba088]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400ba068]
mov edx, r13d
call qword [rax + 0x108]
mov rax, qword [0x1400b9e78]
mov rcx, qword [rax + 0x4c80]
mov rax, qword [rcx]
add rax, 0xa8
mov rcx, r14
cmp byte [rax], 0
cmovne rcx, rax
call fcn.140054020
test dword [rbx + 8], 0x400
je 0x1400640c5
call fcn.140036b30
mov rbx, qword [0x1400b9e78]
mov r14d, r13d
mov eax, dword [rbx + 0x39e8]
cmp eax, r13d
jle 0x14006405c
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x39f0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x1000
jne 0x14006404a
mov rax, qword [rbx + 0x3988]
test rax, rax
je 0x140064037
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x39c8]
test rax, rax
je 0x14006404a
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
mov eax, dword [rbx + 0x39e8]
cmp r14d, eax
jl 0x140064010
mov r14d, r13d
cmp eax, r13d
jle 0x1400640ba
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x39f0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x1000
jne 0x1400640aa
mov rax, qword [rbx + 0x3990]
test rax, rax
je 0x140064097
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x39d0]
test rax, rax
je 0x1400640aa
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x39e8]
jl 0x140064070
xor r14d, r14d
mov rbx, qword [rsp + 0x140]
mov rcx, qword [0x1400ba070]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, r13d
call qword [rax + 0x40]
lea rdx, str.ThornSin
lea rcx, str.UnityWndClass
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400640ff
cmp byte [rsp + 0x130], 0
jne 0x140063e30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rdi, qword [0x1400b9e78]
test rdi, rdi
je 0x14006411d
mov rsi, qword [rdi + 0xa0]
jmp 0x140064120
mov rsi, r14
mov rbx, qword [rdi + 0x4c80]
movsxd rax, dword [rdi + 0x4c78]
lea r14, [rbx + rax*8]
cmp rbx, r14
je 0x140064148
mov rcx, qword [rbx]
call fcn.140037060
add rbx, 8
cmp rbx, r14
jne 0x140064137
call fcn.140054fc0
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x14006415c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi]
test rcx, rcx
je 0x14006416a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140064179
mov rax, qword [rcx]
call qword [rax + 0x10]
xor r15d, r15d
mov qword [rdi + 0x90], r15
mov qword [rdi + 0xa0], r15
and dword [rdi + 0xc], 0xffffeff7
mov r8, qword [0x1400b9e78]
test r8, r8
je 0x1400641fd
mov r9d, dword [r8 + 0x4098]
movsx rdx, word [r8 + 0x6338]
lea rcx, [r8 + 0x633c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400641f2
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6338], cx
movsx rax, cx
lea rcx, [r8 + 0x633c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r15d
inc word [rcx + 6]
inc dword [r8 + 0x6334]
mov rcx, rsi
call fcn.14007253c
mov rdi, qword [0x1400b9e78]
test rdi, rdi
je 0x14006421a
mov r14, qword [rdi + 0x98]
jmp 0x14006421d
mov r14, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rax, qword [0x1400b9e78]
mov rbx, qword [rax + 0x4c80]
movsxd rax, dword [rax + 0x4c78]
lea rsi, [rbx + rax*8]
cmp rbx, rsi
je 0x140064264
mov rcx, qword [rbx]
call fcn.140037060
add rbx, 8
cmp rbx, rsi
jne 0x140064253
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x140064273
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rdi + 0x88], r15
mov qword [rdi + 0x98], r15
and dword [rdi + 0xc], 0xfffff3f8
mov r8, qword [0x1400b9e78]
test r8, r8
je 0x1400642f4
mov r9d, dword [r8 + 0x4098]
movsx rdx, word [r8 + 0x6338]
lea rcx, [r8 + 0x633c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400642e9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6338], cx
movsx rax, cx
lea rcx, [r8 + 0x633c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r15d
inc word [rcx + 6]
inc dword [r8 + 0x6334]
mov rcx, r14
call fcn.14007253c
mov rbx, qword [0x1400b9e78]
mov qword [0x1400b9e78], rbx
call fcn.14001d620
mov qword [0x1400b9e78], r15
test rbx, rbx
je 0x140064398
mov rcx, rbx
call fcn.140042820
mov r8, qword [0x1400b9e78]
test r8, r8
je 0x140064390
mov r9d, dword [r8 + 0x4098]
movsx r10, word [r8 + 0x6338]
lea rdx, [r8 + 0x633c]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x140064385
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6338], cx
movsx rax, cx
lea rdx, [r8 + 0x633c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r15d
inc word [rdx + 6]
inc dword [r8 + 0x6334]
mov rcx, rbx
call fcn.14007253c
call fcn.140064400
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x1400643c0
xor eax, eax
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140066720
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret