Function at 0x140057a80
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.140005680
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400514b0
test al, al
je 0x140057fc2
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x35]
lea rdx, str._n0MR
lea rcx, [rbp - 0x20]
call fcn.140005680
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400564b0
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x496
jb 0x140057b45
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x496
mov r8d, 0x92c
lea rdx, [0x140112c90]
mov rcx, rbx
call fcn.1400c6360
mov word [rbx + 0x92c], r14w
jmp 0x140057b56
lea r9, [0x140112c90]
mov edx, 0x496
call fcn.1400212e0
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x588
jb 0x140057b91
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x588
mov r8d, 0xb10
lea rdx, str._n_nNum_1___Infinite_Health_Takes_effect_when_health_value_changes._nNum_2___Infinite_Shield_Takes_effect_when_shield_value_changes._nNum_3___Infinite_Stamina_nNum_4___Infinite_Ammo_When_activated__spare_ammo_wont_decrease_when_you_reload._Only_works_when_the_decrease_amount_is_less_than_the_current_ammo_stack_amount._nNum_5___No_Reload_nNum_6___Instant_Reload_nNum_7___Super_Accuracy_nNum_8___No_Recoil_nNum_9___Set_Shooting_Speed_nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_n_nCtrlNum_1___Edit_Materials_Takes_effect_when_material_value_updates._nCtrlNum_2___Edit_Power_Takes_effect_when_power_value_updates._nCtrlNum_3___Edit_Core_Outpost_Takes_effect_when_core_outpost_value_updates._nCtrlNum_4___Infinite_Money__Tech_Points_This_option_temporarily_change_money_and_tech_points__may_also_work_for_other_currencies_and_points_._n_nThe_effects_are_not_permanent__when_this_option_is_disabled__values_will_be_reset_to_normal._nCtrlNum_5___Boost_Research_Without_Efficiency_Points_nCtrlNum_6___Ignore_Crafting_Requirements_n_nAltNum_1___Fast_Level_Up_When_activated__you_will_level_up_every_time_you_gain_exp._n_nNote__max_level_is_30__this_may_change_in_different_game_versions._nAltNum_2___Infinite_Trait_Points_Takes_effect_when_you_open_the_trait_menu._nAltNum_3___Set_Game_Speed_nAltNum_4___Set_Player_Speed_nAltNum_5___Set_Movement_Speed_nAltNum_6___Set_Gravity_nAltNum_7___Set_FOV_n_n
mov rcx, rbx
call fcn.1400c6360
mov word [rbx + 0xb10], r14w
jmp 0x140057ba2
lea r9, str._n_nNum_1___Infinite_Health_Takes_effect_when_health_value_changes._nNum_2___Infinite_Shield_Takes_effect_when_shield_value_changes._nNum_3___Infinite_Stamina_nNum_4___Infinite_Ammo_When_activated__spare_ammo_wont_decrease_when_you_reload._Only_works_when_the_decrease_amount_is_less_than_the_current_ammo_stack_amount._nNum_5___No_Reload_nNum_6___Instant_Reload_nNum_7___Super_Accuracy_nNum_8___No_Recoil_nNum_9___Set_Shooting_Speed_nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_n_nCtrlNum_1___Edit_Materials_Takes_effect_when_material_value_updates._nCtrlNum_2___Edit_Power_Takes_effect_when_power_value_updates._nCtrlNum_3___Edit_Core_Outpost_Takes_effect_when_core_outpost_value_updates._nCtrlNum_4___Infinite_Money__Tech_Points_This_option_temporarily_change_money_and_tech_points__may_also_work_for_other_currencies_and_points_._n_nThe_effects_are_not_permanent__when_this_option_is_disabled__values_will_be_reset_to_normal._nCtrlNum_5___Boost_Research_Without_Efficiency_Points_nCtrlNum_6___Ignore_Crafting_Requirements_n_nAltNum_1___Fast_Level_Up_When_activated__you_will_level_up_every_time_you_gain_exp._n_nNote__max_level_is_30__this_may_change_in_different_game_versions._nAltNum_2___Infinite_Trait_Points_Takes_effect_when_you_open_the_trait_menu._nAltNum_3___Set_Game_Speed_nAltNum_4___Set_Player_Speed_nAltNum_5___Set_Movement_Speed_nAltNum_6___Set_Gravity_nAltNum_7___Set_FOV_n_n
mov edx, 0x588
call fcn.1400212e0
mov rcx, rdi
call fcn.140055140
mov rcx, rdi
call fcn.140055430
lea r15, [0x14013faa0]
mov esi, dword [0x14013f298]
test esi, esi
je 0x140057c6e
mov ebx, dword [0x14013f294]
test ebx, ebx
je 0x140057c6e
mov rcx, r15
call fcn.14009c640
test eax, eax
jne 0x140057fd6
mov eax, dword [0x14013faec]
cmp eax, 0x7fffffff
je 0x140057fe1
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.14009c648
mov rcx, rdi
call fcn.140058050
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400614c0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140057d42
mov rcx, r15
call fcn.14009c640
test eax, eax
jne 0x140057fd6
mov eax, dword [0x14013faec]
cmp eax, 0x7fffffff
je 0x140057fe1
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.14009c648
mov rcx, r15
call fcn.14009c640
test eax, eax
jne 0x140057fd6
mov eax, dword [0x14013faec]
cmp eax, 0x7fffffff
je 0x140057fe1
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, [0x140054e20]
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.14009c648
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14006eb80
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.14009c640
test eax, eax
jne 0x140057fd6
mov eax, dword [0x14013faec]
cmp eax, 0x7fffffff
je 0x140057fe1
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.14001e4f0
mov rdx, rax
mov rcx, rdi
call fcn.1400518a0
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001e4f0
mov rdx, rax
mov rcx, rdi
call fcn.1400518a0
nop
mov rcx, r15
call fcn.14009c648
mov ecx, 8
call fcn.14009d6c4
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, [0x14005cc50]
xor edx, edx
xor ecx, ecx
call fcn.1400b16e4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140058039
cmp dword [rbp - 0x28], 0
je 0x14005802e
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009ca00
test eax, eax
jne 0x14005802e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.14009d6c4
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, [0x14005cc80]
xor edx, edx
xor ecx, ecx
call fcn.1400b16e4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14005801f
cmp dword [rbp - 0x28], 0
je 0x140058014
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009ca00
test eax, eax
jne 0x140058014
lea ecx, [rax + 8]
call fcn.14009d6c4
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, [0x14005cac0]
xor edx, edx
xor ecx, ecx
call fcn.1400b16e4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140058005
cmp dword [rbp - 0x38], 0
je 0x140057ffa
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009ca00
test eax, eax
jne 0x140057ffa
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x140057fbc
nop word [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140054b30
cmp byte [rdi + 0x4b8], 0
je 0x140057fa0
cmp dword [rbp - 0x38], 0
jne 0x140057ff4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14009c590
int3
dec eax
mov dword [0x14013faec], eax
mov ecx, 6
call fcn.14009c590
int3
call fcn.1400b1580
nop
mov ecx, 1
call fcn.14009c590
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.14009c590
nop
mov ecx, 1
call fcn.14009c590
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14009c590
nop
mov ecx, 1
call fcn.14009c590
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14009c590
int3