Function at 0x1400396f0
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.1400056c0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400315f0
test al, al
je 0x140039c32
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x2a]
lea rdx, [0x1400caf80]
lea rcx, [rbp - 0x20]
call fcn.1400056c0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140038120
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x61e
jb 0x1400397b5
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x61e
mov r8d, 0xc3c
lea rdx, [0x1400cc1c0]
mov rcx, rbx
call fcn.1400a0dd0
mov word [rbx + 0xc3c], r14w
jmp 0x1400397c6
lea r9, [0x1400cc1c0]
mov edx, 0x61e
call fcn.1400215e0
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x8e9
jb 0x140039801
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x8e9
mov r8d, 0x11d2
lea rdx, str._n_nNum_1___God_Mode_Works_for_player__speeder__and_spaceship._n_nSome_attacks__such_as_melee_attack__explosion__etc.__can_still_hit_you__but_wont_cause_any_damage._nNum_2___Infinite_Health_nNum_3___Infinite_Bacta_Vials_When_activated__bacta_vials_amount_wont_decrease._nNum_4___Infinite_Grenades_When_activated__grenades_amount_wont_decrease._nNum_5___Infinite_Adrenaline_When_activated__the_adrenaline_meter_will_autofill_itself._nNum_6___Weapon_No_Overheat_nNum_7___Stun_Shot_Instant_Cooldown_nNum_8___Stealth_Mode_When_activated__enemies_wont_see_you__but_if_you_attack_them__they_will_fight_back._nNum_9___Set_Game_Speed_nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_nNum____Defense_Multiplier_n_nCtrlNum_1___Edit_Money__Credits__nCtrlNum_2___Edit_Selected_Item_Amount_Open_the_inventory_and_select_an_item__then_activate_this_option_to_change_its_amount._nCtrlNum_3___Max_Faction_Reputation_Takes_effect_when_faction_reputation_changes._nCtrlNum_4___Faction_Reputation_Multiplier_nCtrlNum_5___Edit_Pyke_Syndicate_Reputation_This_option_temporarily_changes_faction_reputation_rank__value_between_1_and_5_._n_nIf_you_want_permanent_change__you_can_use__Max_Faction_Reputation__or__Faction_Reputation_Multiplier__options._nCtrlNum_6___Edit_Crimson_Dawn_Reputation_This_option_temporarily_changes_faction_reputation_rank__value_between_1_and_5_._n_nIf_you_want_permanent_change__you_can_use__Max_Faction_Reputation__or__Faction_Reputation_Multiplier__options._nCtrlNum_7___Edit_Hutt_Cartel_Reputation_This_option_temporarily_changes_faction_reputation_rank__value_between_1_and_5_._n_nIf_you_want_permanent_change__you_can_use__Max_Faction_Reputation__or__Faction_Reputation_Multiplier__options._n_nAltNum_1___Speeder_Infinite_Health_nAltNum_2___Spaceship_Infinite_Health_nAltNum_3___Infinite_Spaceship_Shield_nAltNum_4___Empty_AI_Spaceship_Shield_nAltNum_5___Set_Movement_Speed_nAltNum_6___Set_Jump_Height_Note__jumping_too_high_may_cause_fall_damage__you_can_use__God_Mode__or__Infinite_Health__options_to_prevent_health_loss._nAltNum_7___Save_Location_Note__teleport_only_works_within_the_same_map._nAltNum_8___Teleport_Note__teleport_only_works_within_the_same_map._nAltNum_9___Undo_Teleport_Note__teleport_only_works_within_the_same_map._n_n
mov rcx, rbx
call fcn.1400a0dd0
mov word [rbx + 0x11d2], r14w
jmp 0x140039812
lea r9, str._n_nNum_1___God_Mode_Works_for_player__speeder__and_spaceship._n_nSome_attacks__such_as_melee_attack__explosion__etc.__can_still_hit_you__but_wont_cause_any_damage._nNum_2___Infinite_Health_nNum_3___Infinite_Bacta_Vials_When_activated__bacta_vials_amount_wont_decrease._nNum_4___Infinite_Grenades_When_activated__grenades_amount_wont_decrease._nNum_5___Infinite_Adrenaline_When_activated__the_adrenaline_meter_will_autofill_itself._nNum_6___Weapon_No_Overheat_nNum_7___Stun_Shot_Instant_Cooldown_nNum_8___Stealth_Mode_When_activated__enemies_wont_see_you__but_if_you_attack_them__they_will_fight_back._nNum_9___Set_Game_Speed_nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_nNum____Defense_Multiplier_n_nCtrlNum_1___Edit_Money__Credits__nCtrlNum_2___Edit_Selected_Item_Amount_Open_the_inventory_and_select_an_item__then_activate_this_option_to_change_its_amount._nCtrlNum_3___Max_Faction_Reputation_Takes_effect_when_faction_reputation_changes._nCtrlNum_4___Faction_Reputation_Multiplier_nCtrlNum_5___Edit_Pyke_Syndicate_Reputation_This_option_temporarily_changes_faction_reputation_rank__value_between_1_and_5_._n_nIf_you_want_permanent_change__you_can_use__Max_Faction_Reputation__or__Faction_Reputation_Multiplier__options._nCtrlNum_6___Edit_Crimson_Dawn_Reputation_This_option_temporarily_changes_faction_reputation_rank__value_between_1_and_5_._n_nIf_you_want_permanent_change__you_can_use__Max_Faction_Reputation__or__Faction_Reputation_Multiplier__options._nCtrlNum_7___Edit_Hutt_Cartel_Reputation_This_option_temporarily_changes_faction_reputation_rank__value_between_1_and_5_._n_nIf_you_want_permanent_change__you_can_use__Max_Faction_Reputation__or__Faction_Reputation_Multiplier__options._n_nAltNum_1___Speeder_Infinite_Health_nAltNum_2___Spaceship_Infinite_Health_nAltNum_3___Infinite_Spaceship_Shield_nAltNum_4___Empty_AI_Spaceship_Shield_nAltNum_5___Set_Movement_Speed_nAltNum_6___Set_Jump_Height_Note__jumping_too_high_may_cause_fall_damage__you_can_use__God_Mode__or__Infinite_Health__options_to_prevent_health_loss._nAltNum_7___Save_Location_Note__teleport_only_works_within_the_same_map._nAltNum_8___Teleport_Note__teleport_only_works_within_the_same_map._nAltNum_9___Undo_Teleport_Note__teleport_only_works_within_the_same_map._n_n
mov edx, 0x8e9
call fcn.1400215e0
mov rcx, rdi
call fcn.140036db0
mov rcx, rdi
call fcn.1400370a0
lea r15, [0x1400e5250]
mov esi, dword [0x1400e4c28]
test esi, esi
je 0x1400398de
mov ebx, dword [0x1400e4c2c]
test ebx, ebx
je 0x1400398de
mov rcx, r15
call fcn.1400786f8
test eax, eax
jne 0x140039c46
mov eax, dword [0x1400e529c]
cmp eax, 0x7fffffff
je 0x140039c51
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.140078700
mov rcx, rdi
call fcn.140039cc0
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140043920
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x1400399b2
mov rcx, r15
call fcn.1400786f8
test eax, eax
jne 0x140039c46
mov eax, dword [0x1400e529c]
cmp eax, 0x7fffffff
je 0x140039c51
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.140078700
mov rcx, r15
call fcn.1400786f8
test eax, eax
jne 0x140039c46
mov eax, dword [0x1400e529c]
cmp eax, 0x7fffffff
je 0x140039c51
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, [0x140036a90]
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.140078700
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.140050f50
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.1400786f8
test eax, eax
jne 0x140039c46
mov eax, dword [0x1400e529c]
cmp eax, 0x7fffffff
je 0x140039c51
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.14001e7f0
mov rdx, rax
mov rcx, rdi
call fcn.1400319e0
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001e7f0
mov rdx, rax
mov rcx, rdi
call fcn.1400319e0
nop
mov rcx, r15
call fcn.140078700
mov ecx, 8
call fcn.1400796a4
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, [0x14003f0b0]
xor edx, edx
xor ecx, ecx
call fcn.14008c1e4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140039ca9
cmp dword [rbp - 0x28], 0
je 0x140039c9e
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400789e0
test eax, eax
jne 0x140039c9e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.1400796a4
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, [0x14003f0e0]
xor edx, edx
xor ecx, ecx
call fcn.14008c1e4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140039c8f
cmp dword [rbp - 0x28], 0
je 0x140039c84
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400789e0
test eax, eax
jne 0x140039c84
call fcn.140035480
mov ecx, 8
call fcn.1400796a4
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, [0x14003ef20]
xor edx, edx
xor ecx, ecx
call fcn.14008c1e4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140039c75
cmp dword [rbp - 0x38], 0
je 0x140039c6a
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400789e0
test eax, eax
jne 0x140039c6a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b9], al
jne 0x140039c2c
nop
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140036760
cmp byte [rdi + 0x4b9], 0
je 0x140039c10
cmp dword [rbp - 0x38], 0
jne 0x140039c64
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.140078648
int3
dec eax
mov dword [0x1400e529c], eax
mov ecx, 6
call fcn.140078648
int3
call fcn.14008c080
nop
mov ecx, 1
call fcn.140078648
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.140078648
nop
mov ecx, 1
call fcn.140078648
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140078648
nop
mov ecx, 1
call fcn.140078648
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140078648
int3