Function at 0x140036e40
Capabilities:
Create thread
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rdi, rcx
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x16]
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x20]
call fcn.140004dd0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140030870
test al, al
je 0x140037382
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x32]
lea rdx, [0x1400c5ff0]
lea rcx, [rbp - 0x20]
call fcn.140004dd0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140035870
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x19a
jb 0x140036f05
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x19a
mov r8d, 0x334
lea rdx, [0x1400c6060]
mov rcx, rbx
call fcn.14009cba0
mov word [rbx + 0x334], r14w
jmp 0x140036f16
lea r9, [0x1400c6060]
mov edx, 0x19a
call fcn.140020960
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x1e7
jb 0x140036f51
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x1e7
mov r8d, 0x3ce
lea rdx, str._n_nNum_1___God_Mode_nNum_2___Infinite_Health_nNum_3___Max_Special_Gauge_nNum_4___Max_Kameo_Gauge_nNum_5___Can_Use_Fatal_Blow_At_Any_Time_When_activated__the_displayed_player_health_value_is_set_to_25___but_the_actual_health_is_not_affected._nNum_6___Infinite_Fatal_Blows_Per_Battle_nNum_7___Freeze_Timer_nNum_8___Set_Game_Speed_nNum_9___Empty_Opponents_Kameo_Gauge_nNum_0___Empty_Opponents_Special_Gauge_nNum_.___Super_Damage_One_Hit_Kills_nNum____Damage_Multiplier_nNum_____Defense_Multiplier_n_n
mov rcx, rbx
call fcn.14009cba0
mov word [rbx + 0x3ce], r14w
jmp 0x140036f62
lea r9, str._n_nNum_1___God_Mode_nNum_2___Infinite_Health_nNum_3___Max_Special_Gauge_nNum_4___Max_Kameo_Gauge_nNum_5___Can_Use_Fatal_Blow_At_Any_Time_When_activated__the_displayed_player_health_value_is_set_to_25___but_the_actual_health_is_not_affected._nNum_6___Infinite_Fatal_Blows_Per_Battle_nNum_7___Freeze_Timer_nNum_8___Set_Game_Speed_nNum_9___Empty_Opponents_Kameo_Gauge_nNum_0___Empty_Opponents_Special_Gauge_nNum_.___Super_Damage_One_Hit_Kills_nNum____Damage_Multiplier_nNum_____Defense_Multiplier_n_n
mov edx, 0x1e7
call fcn.140020960
mov rcx, rdi
call fcn.140034500
mov rcx, rdi
call fcn.1400347f0
lea r15, [0x1400db250]
mov esi, dword [0x1400dac2c]
test esi, esi
je 0x14003702e
mov ebx, dword [0x1400dac28]
test ebx, ebx
je 0x14003702e
mov rcx, r15
call fcn.1400744c8
test eax, eax
jne 0x140037396
mov eax, dword [0x1400db29c]
cmp eax, 0x7fffffff
je 0x1400373a1
mov dword [rbp + 0x40], 9
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x40], esi
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x40], ebx
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.1400744d0
mov rcx, rdi
call fcn.140037410
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140040ba0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140037102
mov rcx, r15
call fcn.1400744c8
test eax, eax
jne 0x140037396
mov eax, dword [0x1400db29c]
cmp eax, 0x7fffffff
je 0x1400373a1
mov dword [rbp + 0x40], 3
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 8
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.1400744d0
mov rcx, r15
call fcn.1400744c8
test eax, eax
jne 0x140037396
mov eax, dword [0x1400db29c]
cmp eax, 0x7fffffff
je 0x1400373a1
mov dword [rbp + 0x40], 5
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [0x1400341e0]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 8
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.1400744d0
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004e2e0
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.1400744c8
test eax, eax
jne 0x140037396
mov eax, dword [0x1400db29c]
cmp eax, 0x7fffffff
je 0x1400373a1
mov dword [rbp + 0x40], 4
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rdi + 0x458]
lea rcx, [rbp - 0x20]
call fcn.14001dbc0
mov rdx, rax
mov rcx, rdi
call fcn.140030c60
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001dbc0
mov rdx, rax
mov rcx, rdi
call fcn.140030c60
nop
mov rcx, r15
call fcn.1400744d0
mov ecx, 8
call fcn.140075474
mov qword [rax], rdi
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14003c180]
xor edx, edx
xor ecx, ecx
call fcn.140087fb4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400373f9
cmp dword [rbp - 0x28], 0
je 0x1400373ee
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400747b0
test eax, eax
jne 0x1400373ee
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.140075474
mov qword [rax], rdi
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14003c1b0]
xor edx, edx
xor ecx, ecx
call fcn.140087fb4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400373df
cmp dword [rbp - 0x28], 0
je 0x1400373d4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400747b0
test eax, eax
jne 0x1400373d4
lea ecx, [rax + 8]
call fcn.140075474
mov qword [rax], rdi
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14003bff0]
xor edx, edx
xor ecx, ecx
call fcn.140087fb4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400373c5
cmp dword [rbp - 0x38], 0
je 0x1400373ba
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400747b0
test eax, eax
jne 0x1400373ba
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x14003737c
nop word [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140033ef0
cmp byte [rdi + 0x4b8], 0
je 0x140037360
cmp dword [rbp - 0x38], 0
jne 0x1400373b4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.140074418
int3
dec eax
mov dword [0x1400db29c], eax
mov ecx, 6
call fcn.140074418
int3
call fcn.140087e50
nop
mov ecx, 1
call fcn.140074418
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.140074418
nop
mov ecx, 1
call fcn.140074418
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140074418
nop
mov ecx, 1
call fcn.140074418
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140074418
int3