Function at 0x1400376b0
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.140004ac0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140030280
test al, al
je 0x140037c33
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x26]
lea rdx, str._n0T_
lea rcx, [rbp - 0x20]
call fcn.140004ac0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400360a0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov qword [rbp - 8], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rax, qword [str.6435986]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1400bfecc]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x1400bfece]
mov byte [rbp - 0x1a], al
mov byte [rbp - 0x19], r14b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140037600
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0xaaf
jb 0x1400377b8
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0xaaf
mov r8d, 0x155e
lea rdx, str._n_n_label_
mov rcx, rbx
call fcn.140096c20
mov word [rbx + 0x155e], r14w
jmp 0x1400377c9
lea r9, str._n_n_label_
mov edx, 0xaaf
call fcn.140020220
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x13c4
jb 0x140037804
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x13c4
mov r8d, 0x2788
lea rdx, str._n_nImportant_Notes__Read_Before_Use_This_is_a_mod__not_a_regular_trainer._n_nYou_must_enable_the_mod_named__FLiNG_Trainer_Mod__in_Main_Menu___Mod_Manager_in_order_to_use_the_trainer_mod__If_the_mod_didnt_show_up__try_close_and_re_enter_the_Mod_Manager_._n_nYou_must_use_hotkeys_to_enable_mod_cheat_options_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._n_nShiftQ___Invulnerable_When_activated__the_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftW___Infinite_AP_When_activated__AP_wont_decrease._n_nThe_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftE___Infinite_Ammo_No_Reload_When_activated__ammo_wont_decrease._n_nThe_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftR___Infinite_Weapon_Durability_When_activated__weapon_durability_wont_decrease._n_nThe_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftT___Max_Hit_Chance_When_activated__the_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftI___Max_Evade_Chance_When_activated__the_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftY___Max_Critical_Chance_When_activated__the_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftU___Super_Damage_One_Hit_Kill_When_activated__the_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftP___Kill_All_Enemies_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._n_nShiftF1___Add_1_000_000_Money_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftF2___Enable_Cheat_Menu_When_activated__you_can_open_Cheat_Menu_from_the_Esc_Menu_during_gameplay._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftF3___Set_Game_Speed_n_nShiftF5___Selected_Unit:_Level_Up_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftF6___Selected_Unit:_Max_Level_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftF7___Selected_Unit:_Infinite_Perk_Points_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._n_nCharacter_Stats_Editor_n_nShiftA___Selected_Unit:_Add_5_Health_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftS___Selected_Unit:_Add_5_Agility_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftD___Selected_Unit:_Add_5_Dexterity_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftF___Selected_Unit:_Add_5_Strength_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_w
mov rcx, rbx
call fcn.140096c20
mov word [rbx + 0x2788], r14w
jmp 0x140037815
lea r9, str._n_nImportant_Notes__Read_Before_Use_This_is_a_mod__not_a_regular_trainer._n_nYou_must_enable_the_mod_named__FLiNG_Trainer_Mod__in_Main_Menu___Mod_Manager_in_order_to_use_the_trainer_mod__If_the_mod_didnt_show_up__try_close_and_re_enter_the_Mod_Manager_._n_nYou_must_use_hotkeys_to_enable_mod_cheat_options_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._n_nShiftQ___Invulnerable_When_activated__the_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftW___Infinite_AP_When_activated__AP_wont_decrease._n_nThe_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftE___Infinite_Ammo_No_Reload_When_activated__ammo_wont_decrease._n_nThe_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftR___Infinite_Weapon_Durability_When_activated__weapon_durability_wont_decrease._n_nThe_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftT___Max_Hit_Chance_When_activated__the_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftI___Max_Evade_Chance_When_activated__the_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftY___Max_Critical_Chance_When_activated__the_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftU___Super_Damage_One_Hit_Kill_When_activated__the_effect_will_remain_active_until_you_restart_the_game._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftP___Kill_All_Enemies_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._n_nShiftF1___Add_1_000_000_Money_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftF2___Enable_Cheat_Menu_When_activated__you_can_open_Cheat_Menu_from_the_Esc_Menu_during_gameplay._n_nYou_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftF3___Set_Game_Speed_n_nShiftF5___Selected_Unit:_Level_Up_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftF6___Selected_Unit:_Max_Level_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftF7___Selected_Unit:_Infinite_Perk_Points_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._n_nCharacter_Stats_Editor_n_nShiftA___Selected_Unit:_Add_5_Health_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftS___Selected_Unit:_Add_5_Agility_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftD___Selected_Unit:_Add_5_Dexterity_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_window_will_not_work._nShiftF___Selected_Unit:_Add_5_Strength_You_must_use_hotkey_to_enable_mod_cheat_option_during_gameplay__activating_cheats_outside_the_games_w
mov edx, 0x13c4
call fcn.140020220
mov rcx, rdi
call fcn.140034d30
mov rcx, rdi
call fcn.140035020
lea r15, [0x1400d9220]
mov esi, dword [0x1400d8bf8]
test esi, esi
je 0x1400378e1
mov ebx, dword [0x1400d8bfc]
test ebx, ebx
je 0x1400378e1
mov rcx, r15
call fcn.14006e548
test eax, eax
jne 0x140037c47
mov eax, dword [0x1400d926c]
cmp eax, 0x7fffffff
je 0x140037c52
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.14006e550
mov rcx, rdi
call fcn.140037cc0
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400414f0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x1400379b5
mov rcx, r15
call fcn.14006e548
test eax, eax
jne 0x140037c47
mov eax, dword [0x1400d926c]
cmp eax, 0x7fffffff
je 0x140037c52
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.14006e550
mov rcx, r15
call fcn.14006e548
test eax, eax
jne 0x140037c47
mov eax, dword [0x1400d926c]
cmp eax, 0x7fffffff
je 0x140037c52
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, [0x140034a10]
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.14006e550
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004e990
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.14006e548
test eax, eax
jne 0x140037c47
mov eax, dword [0x1400d926c]
cmp eax, 0x7fffffff
je 0x140037c52
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.14001d5b0
mov rdx, rax
mov rcx, rdi
call fcn.140030670
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001d5b0
mov rdx, rax
mov rcx, rdi
call fcn.140030670
nop
mov rcx, r15
call fcn.14006e550
mov ecx, 8
call fcn.14006f4f4
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, [0x14003cc80]
xor edx, edx
xor ecx, ecx
call fcn.140082034
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140037caa
cmp dword [rbp - 0x28], 0
je 0x140037c9f
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14006e830
test eax, eax
jne 0x140037c9f
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.14006f4f4
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, [0x14003ccb0]
xor edx, edx
xor ecx, ecx
call fcn.140082034
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140037c90
cmp dword [rbp - 0x28], 0
je 0x140037c85
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14006e830
test eax, eax
jne 0x140037c85
call fcn.140033950
mov ecx, 8
call fcn.14006f4f4
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, [0x14003caf0]
xor edx, edx
xor ecx, ecx
call fcn.140082034
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140037c76
cmp dword [rbp - 0x38], 0
je 0x140037c6b
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14006e830
test eax, eax
jne 0x140037c6b
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b9], al
jne 0x140037c2d
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.1400346e0
cmp byte [rdi + 0x4b9], 0
je 0x140037c11
cmp dword [rbp - 0x38], 0
jne 0x140037c65
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14006e498
int3
dec eax
mov dword [0x1400d926c], eax
mov ecx, 6
call fcn.14006e498
int3
call fcn.140081ed0
nop
mov ecx, 1
call fcn.14006e498
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.14006e498
nop
mov ecx, 1
call fcn.14006e498
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14006e498
nop
mov ecx, 1
call fcn.14006e498
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14006e498
int3