Function at 0x14003da40
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.140008270
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140035d40
test al, al
je 0x14003df82
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x22]
lea rdx, str._n0_gKb3
lea rcx, [rbp - 0x20]
call fcn.140008270
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14003c490
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x247
jb 0x14003db05
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x247
mov r8d, 0x48e
lea rdx, [0x1400d21b0]
mov rcx, rbx
call fcn.1400a7010
mov word [rbx + 0x48e], r14w
jmp 0x14003db16
lea r9, [0x1400d21b0]
mov edx, 0x247
call fcn.140025400
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x335
jb 0x14003db51
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x335
mov r8d, 0x66a
lea rdx, str._n_nNum_1___Infinite_Health_nNum_2___Infinite_Ammo_Takes_effect_when_you_reload._nNum_3___No_Reload_nNum_4___Super_Accuracy_nNum_5___No_Recoil_nNum_6___Rapid_Fire_nNum_7___Jam_Enemies_Weapon_nNum_8___Super_Speed_nNum_9___Slow_Motion_nNum_0___One_Hit_Kill_nNum_.___Stealth_Mode__Invisible_To_Enemies__If_you_are_already_engaged_in_battle_before_activating_this_option__youll_need_to_escape_finish_the_battle_to_have_stealth_effect._n_nNote__while_in_stealth_mode__you_may_not_be_able_to_accept_some_challenges_side_quests__you_may_need_to_disable_this_option_for_those_events._nNum____Stealth_Mode__Invisible_To_Cameras__nNum_____Freelancer_Mode:_Edit_Merces_Takes_effect_when_you_abort_a_campaign__only_works_if_you_have_at_least_1_merces._n_nSelect_a_campaign__then_activate_this_option__then_abort_the_campaign_immediately._n_n
mov rcx, rbx
call fcn.1400a7010
mov word [rbx + 0x66a], r14w
jmp 0x14003db62
lea r9, str._n_nNum_1___Infinite_Health_nNum_2___Infinite_Ammo_Takes_effect_when_you_reload._nNum_3___No_Reload_nNum_4___Super_Accuracy_nNum_5___No_Recoil_nNum_6___Rapid_Fire_nNum_7___Jam_Enemies_Weapon_nNum_8___Super_Speed_nNum_9___Slow_Motion_nNum_0___One_Hit_Kill_nNum_.___Stealth_Mode__Invisible_To_Enemies__If_you_are_already_engaged_in_battle_before_activating_this_option__youll_need_to_escape_finish_the_battle_to_have_stealth_effect._n_nNote__while_in_stealth_mode__you_may_not_be_able_to_accept_some_challenges_side_quests__you_may_need_to_disable_this_option_for_those_events._nNum____Stealth_Mode__Invisible_To_Cameras__nNum_____Freelancer_Mode:_Edit_Merces_Takes_effect_when_you_abort_a_campaign__only_works_if_you_have_at_least_1_merces._n_nSelect_a_campaign__then_activate_this_option__then_abort_the_campaign_immediately._n_n
mov edx, 0x335
call fcn.140025400
mov rcx, rdi
call fcn.14003b120
mov rcx, rdi
call fcn.14003b410
lea r15, [0x1400ea3a0]
mov esi, dword [0x1400ea6fc]
test esi, esi
je 0x14003dc2e
mov ebx, dword [0x1400ea6f8]
test ebx, ebx
je 0x14003dc2e
mov rcx, r15
call fcn.14007e438
test eax, eax
jne 0x14003df96
mov eax, dword [0x1400ea3ec]
cmp eax, 0x7fffffff
je 0x14003dfa1
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.14007e440
mov rcx, rdi
call fcn.14003e010
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140047ca0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x14003dd02
mov rcx, r15
call fcn.14007e438
test eax, eax
jne 0x14003df96
mov eax, dword [0x1400ea3ec]
cmp eax, 0x7fffffff
je 0x14003dfa1
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.14007e440
mov rcx, r15
call fcn.14007e438
test eax, eax
jne 0x14003df96
mov eax, dword [0x1400ea3ec]
cmp eax, 0x7fffffff
je 0x14003dfa1
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, [0x14003ae00]
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.14007e440
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.1400545a0
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.14007e438
test eax, eax
jne 0x14003df96
mov eax, dword [0x1400ea3ec]
cmp eax, 0x7fffffff
je 0x14003dfa1
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.140021e70
mov rdx, rax
mov rcx, rdi
call fcn.140036170
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.140021e70
mov rdx, rax
mov rcx, rdi
call fcn.140036170
nop
mov rcx, r15
call fcn.14007e440
mov ecx, 8
call fcn.14007f8d4
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, [0x1400433a0]
xor edx, edx
xor ecx, ecx
call fcn.140092414
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14003dff9
cmp dword [rbp - 0x28], 0
je 0x14003dfee
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14007ec10
test eax, eax
jne 0x14003dfee
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.14007f8d4
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, [0x1400433d0]
xor edx, edx
xor ecx, ecx
call fcn.140092414
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14003dfdf
cmp dword [rbp - 0x28], 0
je 0x14003dfd4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14007ec10
test eax, eax
jne 0x14003dfd4
call fcn.1400397e0
mov ecx, 8
call fcn.14007f8d4
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, [0x140043210]
xor edx, edx
xor ecx, ecx
call fcn.140092414
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14003dfc5
cmp dword [rbp - 0x38], 0
je 0x14003dfba
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14007ec10
test eax, eax
jne 0x14003dfba
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [0x1400ea700], al
jne 0x14003df7c
nop
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.14003aad0
cmp byte [0x1400ea700], 0
je 0x14003df60
cmp dword [rbp - 0x38], 0
jne 0x14003dfb4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14007e3dc
int3
dec eax
mov dword [0x1400ea3ec], eax
mov ecx, 6
call fcn.14007e3dc
int3
call fcn.1400922b0
nop
mov ecx, 1
call fcn.14007e3dc
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.14007e3dc
nop
mov ecx, 1
call fcn.14007e3dc
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14007e3dc
nop
mov ecx, 1
call fcn.14007e3dc
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14007e3dc
int3