Function at 0x180079550
Capabilities:
Allocate or change rwx memory
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm8
mov rax, qword [0x180112040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [0x180116470]
lea rcx, [0x1801161b0]
mov edx, 5
nop
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x180079590
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
xorps xmm8, xmm8
cmp byte [0x180112c80], dl
je 0x180079f6d
mov rbx, qword [0x180115f78]
lea rcx, [rbx + 0x4998]
movss xmm0, dword [rbx + 0x3904]
mov dword [rsp + 0x48], 7
movss dword [rsp + 0x4c], xmm0
lea rdx, [rsp + 0x48]
call fcn.18002de60
mov dword [rbx + 0x3904], 0x41400000
mov rax, qword [0x180115f78]
or dword [rax + 0x48f8], 2
movsd xmm0, qword [0x1800fcd28]
movsd qword [rax + 0x491c], xmm0
mov dword [rax + 0x4900], 1
mov r8d, 0x400
lea rdx, [0x180112c80]
lea rcx, str.thornsin_cheat
call fcn.180013350
call fcn.180057720
test al, al
je 0x180079b2d
call fcn.180046fc0
mov r8b, 1
xor edx, edx
lea rcx, [0x1800fbbf4]
call fcn.180057c60
test al, al
je 0x18007985c
lea rsi, [0x1801136c0]
lea rdi, [0x180113720]
cmp byte [0x18011647a], 0
jne 0x180079717
movzx ecx, byte [0x180115f58]
mov rax, rsi
cmp qword [0x1801136d8], 0xf
cmova rax, qword [0x1801136c0]
mov byte [rax + 2], cl
mov rax, rdi
cmp qword [0x180113738], 0xf
cmova rax, qword [0x180113720]
mov byte [rax + 2], cl
movzx ecx, byte [0x180115f5c]
lea rax, [0x1801136a0]
cmp qword [0x1801136b8], 0xf
cmova rax, qword [0x1801136a0]
mov byte [rax + 4], cl
mov r8b, 1
xor edx, edx
lea rcx, [0x1800fb3a0]
call fcn.180057c60
test al, al
je 0x180079857
mov byte [rsp + 0x20], 1
movzx r9d, byte [0x180116479]
lea rcx, [0x1800fb3b0]
call fcn.180058960
test al, al
je 0x1800797ba
mov byte [0x180116479], 1
mov ebx, dword [0x180116490]
add rbx, qword [0x180116780]
lea r9, [0x1801165c4]
mov edx, 0x1000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp qword [0x180113738], 0xf
cmova rdi, qword [0x180113720]
mov r8, qword [0x180113730]
mov rdx, rdi
mov rcx, rbx
call fcn.1800defa0
lea r9, [0x1801165c4]
mov r8d, dword [0x1801165c4]
mov edx, 0x1000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [0x180116479], 0
sete r9b
mov byte [rsp + 0x20], 1
lea rcx, [0x1800fb3b8]
call fcn.180058960
test al, al
je 0x180079851
mov byte [0x180116479], 0
mov ebx, dword [0x180116490]
add rbx, qword [0x180116780]
lea r9, [0x1801165c4]
mov edx, 0x1000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp qword [0x1801136d8], 0xf
cmova rsi, qword [0x1801136c0]
mov ecx, dword [0x180116490]
add rcx, qword [0x180116780]
mov r8, qword [0x1801136d0]
mov rdx, rsi
call fcn.1800defa0
lea r9, [0x1801165c4]
mov r8d, dword [0x1801165c4]
mov edx, 0x1000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.180058860
nop
call fcn.180058860
call fcn.180046fc0
mov r8b, 1
xor edx, edx
lea rcx, str.H
call fcn.180057c60
test al, al
je 0x180079880
call fcn.180077f00
call fcn.180058860
call fcn.180046fc0
mov r8b, 1
xor edx, edx
lea rcx, [0x1800fbc10]
call fcn.180057c60
test al, al
je 0x180079a5a
mov dword [rsp + 0x48], 0x43020000
mov dword [rsp + 0x4c], 0x425c0000
mov rcx, qword [0x180115f78]
mov rax, qword [rcx + 0x4018]
mov byte [rax + 0xed], 1
mov rbx, qword [rcx + 0x4018]
movsxd r8, dword [rbx + 0x128]
mov rax, qword [rbx + 0x130]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.game_level
call fcn.180008230
mov edi, eax
mov rdx, qword [rbx]
cmp dword [rdx + 0x4060], eax
jne 0x18007990b
lea r8, str.game_level
mov edx, 0xb
mov ecx, eax
call fcn.18002d410
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x48]
mov edx, edi
lea rcx, str.game_level
call fcn.18000fe60
mov rdi, qword [0x1801161b0]
mov ebx, dword [0x1801164bc]
test rdi, rdi
je 0x180079944
mov eax, dword [rbx + rdi]
mov dword [0x1801130a0], eax
mov eax, dword [0x18011309c]
mov dword [rsp + 0x40], eax
mov eax, dword [0x180113098]
mov dword [rsp + 0x48], eax
lea rax, [0x1800fb628]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea r8, [0x1801130a0]
mov edx, 4
lea rcx, str._world_level_drag
call fcn.180050150
test rdi, rdi
je 0x180079999
mov eax, dword [0x1801130a0]
mov dword [rbx + rdi], eax
movss xmm1, dword [0x1800fceec]
xorps xmm0, xmm0
call fcn.180019b30
lea rdx, [0x1800f2304]
lea rcx, [0x1801135d0]
call fcn.18004b1b0
mov ecx, 0x1000
call fcn.18000bf40
test al, al
je 0x1800799df
xor ecx, ecx
call fcn.18001a7e0
test al, al
je 0x1800799df
call fcn.1800784e0
call fcn.180016080
mov rdi, qword [0x1801161b0]
mov ebx, dword [0x1801164b8]
test rdi, rdi
je 0x1800799fa
mov eax, dword [rbx + rdi]
mov dword [0x1801131d8], eax
mov eax, dword [0x1801131d4]
mov dword [rsp + 0x48], eax
mov eax, dword [0x1801131d0]
mov dword [rsp + 0x40], eax
lea rax, str.:__d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [0x1801131d8]
mov edx, 4
lea rcx, str._map_level_drag
call fcn.180050150
test rdi, rdi
je 0x180079a4f
mov eax, dword [0x1801131d8]
mov dword [rbx + rdi], eax
call fcn.180010190
nop
call fcn.180058860
call fcn.180046fc0
mov r8b, 1
xor edx, edx
lea rcx, [0x1800fbc20]
call fcn.180057c60
test al, al
je 0x180079b04
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea rcx, [0x1800fb7a8]
call fcn.180058960
lea rbx, [0x180113660]
test al, al
je 0x180079ac8
mov r8, rbx
cmp qword [0x180113678], 0xf
cmova r8, qword [0x180113660]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x1000
call fcn.18000bf40
test al, al
je 0x180079aff
xor ecx, ecx
call fcn.18001a7e0
test al, al
je 0x180079aff
cmp qword [0x180113678], 0xf
cmova rbx, qword [0x180113660]
mov rcx, rbx
call fcn.18004b070
call fcn.180016080
nop
call fcn.180058860
call fcn.180046fc0
mov r8b, 1
xor edx, edx
lea rcx, [0x1800fbc30]
call fcn.180057c60
test al, al
je 0x180079b28
call fcn.1800787c0
call fcn.180058860
call fcn.180057980
call fcn.180058f60
test al, al
je 0x180079f3b
lea rcx, [0x1800fbc48]
call fcn.18005ae40
test al, al
je 0x180079b9f
call fcn.18007a190
lea rcx, str.:_____t_t_tCtrl:_
call fcn.180084890
mov rdx, qword [0x180115f78]
mov rax, qword [rdx + 0x4018]
cmp byte [rax + 0xf0], 0
jne 0x180079b9f
mov r8, qword [rdx + 0x4d78]
test r8, r8
je 0x180079b9f
movsx rax, word [r8 + 0x70]
imul rcx, rax, 0x38
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x180079b9f
mov rax, qword [rdx + 0x4018]
dec dword [rax + 0x128]
lea rcx, [0x1800fbcb8]
call fcn.18005ae40
test al, al
je 0x180079c04
call fcn.18007bc50
lea rcx, str.:_____t_t_tCtrl:_
call fcn.180084890
mov rdx, qword [0x180115f78]
mov rax, qword [rdx + 0x4018]
cmp byte [rax + 0xf0], 0
jne 0x180079c04
mov r8, qword [rdx + 0x4d78]
test r8, r8
je 0x180079c04
movsx rax, word [r8 + 0x70]
imul rcx, rax, 0x38
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x180079c04
mov rax, qword [rdx + 0x4018]
dec dword [rax + 0x128]
lea rcx, [0x1800fbcc8]
call fcn.18005ae40
test al, al
je 0x180079c69
call fcn.18007dc00
lea rcx, str.:_____t_t_tCtrl:_
call fcn.180084890
mov rdx, qword [0x180115f78]
mov rax, qword [rdx + 0x4018]
cmp byte [rax + 0xf0], 0
jne 0x180079c69
mov r8, qword [rdx + 0x4d78]
test r8, r8
je 0x180079c69
movsx rax, word [r8 + 0x70]
imul rcx, rax, 0x38
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x180079c69
mov rax, qword [rdx + 0x4018]
dec dword [rax + 0x128]
lea rcx, str._
call fcn.18005ae40
test al, al
je 0x180079cce
call fcn.180080190
lea rcx, str.:_____t_t_tCtrl:_
call fcn.180084890
mov rdx, qword [0x180115f78]
mov rax, qword [rdx + 0x4018]
cmp byte [rax + 0xf0], 0
jne 0x180079cce
mov r8, qword [rdx + 0x4d78]
test r8, r8
je 0x180079cce
movsx rax, word [r8 + 0x70]
imul rcx, rax, 0x38
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x180079cce
mov rax, qword [rdx + 0x4018]
dec dword [rax + 0x128]
lea rcx, [0x1800fbce8]
call fcn.18005ae40
test al, al
je 0x180079e2b
lea rbx, [0x180116030]
mov rax, qword [0x1801161c0]
test rax, rax
je 0x180079d3e
movups xmm0, xmmword [rax]
movups xmmword [0x1801168f8], xmm0
movups xmm2, xmmword [rax + 0x10]
movups xmmword [0x180116908], xmm2
movsd xmm0, qword [rax + 0x20]
movsd qword [0x180116918], xmm0
movdqa xmm1, xmm2
psrldq xmm1, 8
movd edi, xmm1
mov r8d, edi
shl r8, 2
movq rdx, xmm2
add rdx, 0x20
mov rcx, rbx
call fcn.1800defa0
jmp 0x180079d44
mov edi, dword [0x180116910]
cmp qword [0x1801161e0], 0
je 0x180079d55
mov byte [0x1801161a4], 1
mov eax, edi
lea rax, [rax*4]
mov r8d, 0xb4
sub r8, rax
lea rcx, [rax + rbx]
xor edx, edx
call fcn.1800df640
xor edx, edx
mov r8d, 0xb4
lea rsi, [0x1801160f0]
mov rcx, rsi
call fcn.1800df640
xor r11d, r11d
lea rdi, [0x1800fc000]
mov r9d, dword [rbx]
test r9d, r9d
je 0x180079de2
xor r8d, r8d
mov ecx, 0x2c
lea eax, [rcx + r8]
cdq
sub eax, edx
sar eax, 1
movsxd r10, eax
cmp dword [rdi + r10*4], r9d
jae 0x180079dbc
lea r8d, [rax + 1]
jmp 0x180079dc1
jbe 0x180079dc8
lea ecx, [rax - 1]
cmp r8d, ecx
jle 0x180079da4
jmp 0x180079dd5
cmp eax, 0xffffffff
je 0x180079dd5
mov dword [rsi + r10*4], 1
inc r11d
add rbx, 4
cmp r11d, 0x2d
jl 0x180079d94
call fcn.180082220
mov rdx, qword [0x180115f78]
mov rax, qword [rdx + 0x4018]
cmp byte [rax + 0xf0], 0
jne 0x180079e2b
mov r8, qword [rdx + 0x4d78]
test r8, r8
je 0x180079e2b
movsx rax, word [r8 + 0x70]
imul rcx, rax, 0x38
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x180079e2b
mov rax, qword [rdx + 0x4018]
dec dword [rax + 0x128]
lea rcx, [0x1800fbcf4]
call fcn.18005ae40
test al, al
je 0x180079e84
call fcn.180081750
mov rdx, qword [0x180115f78]
mov rax, qword [rdx + 0x4018]
cmp byte [rax + 0xf0], 0
jne 0x180079e84
mov r8, qword [rdx + 0x4d78]
test r8, r8
je 0x180079e84
movsx rax, word [r8 + 0x70]
imul rcx, rax, 0x38
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x180079e84
mov rax, qword [rdx + 0x4018]
dec dword [rax + 0x128]
lea rcx, [0x1800fbcfc]
call fcn.18005ae40
test al, al
je 0x180079edd
call fcn.1800825e0
mov rdx, qword [0x180115f78]
mov rax, qword [rdx + 0x4018]
cmp byte [rax + 0xf0], 0
jne 0x180079edd
mov r8, qword [rdx + 0x4d78]
test r8, r8
je 0x180079edd
movsx rax, word [r8 + 0x70]
imul rcx, rax, 0x38
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x180079edd
mov rax, qword [rdx + 0x4018]
dec dword [rax + 0x128]
lea rcx, [0x1800fbd04]
call fcn.18005ae40
test al, al
je 0x180079f36
call fcn.180082910
mov rdx, qword [0x180115f78]
mov rax, qword [rdx + 0x4018]
cmp byte [rax + 0xf0], 0
jne 0x180079f36
mov r8, qword [rdx + 0x4d78]
test r8, r8
je 0x180079f36
movsx rax, word [r8 + 0x70]
imul rcx, rax, 0x38
mov rax, qword [r8 + 8]
test byte [rcx + rax + 4], 8
jne 0x180079f36
mov rax, qword [rdx + 0x4018]
dec dword [rax + 0x128]
call fcn.1800594a0
mov rax, qword [0x180115f78]
movss xmm1, dword [rax + 0xe4]
cvtps2pd xmm1, xmm1
movq rdx, xmm1
lea rcx, str.FPS:__.3f
call fcn.180084a30
call fcn.180016080
mov ecx, 1
call fcn.180008e80
movss xmm3, dword [0x180113038]
movss xmm1, dword [0x1800fcd68]
mulss xmm3, xmm1
movss xmm0, dword [0x1800fce38]
divss xmm3, xmm0
addss xmm3, dword [0x180112fd8]
movss dword [0x180112fd8], xmm3
movss xmm2, dword [0x18011303c]
mulss xmm2, xmm1
divss xmm2, xmm0
addss xmm2, dword [0x180112fdc]
movss dword [0x180112fdc], xmm2
movss xmm4, dword [0x180113040]
mulss xmm4, xmm1
divss xmm4, xmm0
addss xmm4, dword [0x180112fe0]
movss dword [0x180112fe0], xmm4
movss xmm1, dword [0x1800fcde8]
comiss xmm3, xmm1
jbe 0x180079ffa
movaps xmm0, xmm8
subss xmm0, xmm3
movss dword [0x180113038], xmm0
comiss xmm2, xmm1
jbe 0x18007a00f
movaps xmm0, xmm8
subss xmm0, xmm2
movss dword [0x18011303c], xmm0
comiss xmm4, xmm1
jbe 0x18007a024
movaps xmm0, xmm8
subss xmm0, xmm4
movss dword [0x180113040], xmm0
movss xmm6, dword [0x1800fcd9c]
comiss xmm6, xmm3
jbe 0x18007a087
call fcn.1800c04ac
mov r8d, eax
mov eax, 0x24924925
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 2
imul ecx, ecx, 7
sub r8d, ecx
lea eax, [r8 + 4]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
mulss xmm1, dword [0x1800fcd7c]
movss dword [0x180112fd8], xmm1
movaps xmm0, xmm8
subss xmm0, xmm1
movss dword [0x180113038], xmm0
movss xmm2, dword [0x180112fdc]
comiss xmm6, xmm2
jbe 0x18007a0da
call fcn.1800c04ac
mov r8d, eax
mov eax, 0x24924925
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 2
imul ecx, ecx, 7
sub r8d, ecx
lea eax, [r8 + 4]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
mulss xmm1, dword [0x1800fcd7c]
movss dword [0x180112fdc], xmm1
movaps xmm0, xmm8
subss xmm0, xmm1
movss dword [0x18011303c], xmm0
comiss xmm6, dword [0x180112fe0]
jbe 0x18007a12f
call fcn.1800c04ac
mov r8d, eax
mov eax, 0x24924925
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 2
imul ecx, ecx, 7
sub r8d, ecx
lea eax, [r8 + 4]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, dword [0x1800fcd7c]
movss dword [0x180112fe0], xmm0
subss xmm8, xmm0
movss dword [0x180113040], xmm8
cmp byte [0x180116478], 0
je 0x18007a155
mov rcx, qword [0x180116470]
movsd xmm0, qword [0x180112fd8]
movsd qword [rcx + 0x48], xmm0
mov eax, dword [0x180112fe0]
mov dword [rcx + 0x50], eax
call fcn.180081990
nop
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800aca20
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm8, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret