Function at 0x1400372c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
lea r8d, [r12 + 0x16]
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x20]
call fcn.140005310
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140030b30
test al, al
je 0x140037796
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
lea r8d, [r12 + 0x2f]
lea rdx, str._n0_keg0R
lea rcx, [rbp - 0x40]
call fcn.140005310
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140035c80
mov r8d, 0x2f2
lea rdx, [0x1400c6010]
lea rcx, [rdi + 0x458]
call fcn.140020150
mov r8d, 0x470
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_Health_nNum_3___Infinite_Stamina_nNum_4___Infinite_Ammo__Arrows_When_activated__total_ammo__arrow_wont_decrease._nNum_5___No_Reload_When_activated__loaded_ammo_wont_decrease._n_nMust_have_at_least_1_spare_ammo_for_it_to_work._nNum_6___Perfect_Body_Temperature_nNum_7___Zero_Weight_nNum_8___Set_Movement_Speed_nNum_9___Set_Game_Speed_nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_nNum____Defense_Multiplier_n_nCtrlNum_1___Edit_Dragged_Item_Amount_Activate__then_drag_an_item_to_change_its_amount._nCtrlNum_2___Ignore_Crafting__Building_Requirements_When_activated__you_can_craft_and_build_even_if_you_dont_have_enough_materials._nCtrlNum_3___Unlock_Extra_Blueprints__Recipes_Activate_before_opening_menus._nCtrlNum_4___Infinite_Exp_Takes_effect_when_you_gain_exp._nCtrlNum_5___Exp_Multiplier_nCtrlNum_6___Infinite_Skill_Points_This_option_will_temporarily_change_skill_point__the_effect_is_not_permanent._n_nIf_this_option_is_disabled__and_you_spent_move_skill_points_than_you_should_have__the_remaining_skill_point_value_will_become_negative__this_is_normal._n_n
lea rcx, [rdi + 0x478]
call fcn.140020150
call fcn.140034840
mov rcx, rdi
call fcn.140034a10
lea r13, [0x1400dc430]
mov esi, dword [0x1400dbe14]
test esi, esi
je 0x14003744b
mov ebx, dword [0x1400dbe10]
test ebx, ebx
je 0x14003744b
mov rcx, r13
call fcn.1400754e0
test eax, eax
jne 0x1400377b1
mov eax, dword [0x1400dc47c]
cmp eax, 0x7fffffff
je 0x1400377bc
mov dword [rbp + 0x50], 9
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
lea r8d, [r12 + 4]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x50], esi
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
lea r8d, [r12 + 4]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x50], ebx
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
lea r8d, [r12 + 4]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.1400754e8
mov rcx, rdi
call fcn.140037830
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140041030
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x14003751f
mov rcx, r13
call fcn.1400754e0
test eax, eax
jne 0x1400377b1
mov eax, dword [0x1400dc47c]
cmp eax, 0x7fffffff
je 0x1400377bc
mov dword [rbp + 0x50], 3
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 4
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov dword [rbp + 0x50], eax
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 4
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.1400754e8
mov rcx, r13
call fcn.1400754e0
test eax, eax
jne 0x1400377b1
mov eax, dword [0x1400dc47c]
cmp eax, 0x7fffffff
je 0x1400377bc
mov dword [rbp + 0x50], 5
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 4
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [0x1400344f0]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.1400754e8
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004e0b0
mov qword [rbp + 0x58], r13
mov rcx, r13
call fcn.1400754e0
test eax, eax
jne 0x1400377b1
mov eax, dword [0x1400dc47c]
cmp eax, 0x7fffffff
je 0x1400377bc
mov dword [rbp + 0x50], 4
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 4
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rdi + 0x458]
lea rcx, [rbp - 0x20]
call fcn.14001f2a0
mov rdx, rax
mov rcx, rdi
call fcn.140030f90
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001f2a0
mov rdx, rax
mov rcx, rdi
call fcn.140030f90
nop
mov rcx, r13
call fcn.1400754e8
mov ecx, 8
call fcn.140076414
mov qword [rax], rdi
mov qword [rbp + 0x48], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14003c6c0]
xor edx, edx
xor ecx, ecx
call fcn.140088c44
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140037814
cmp dword [rbp - 0x38], 0
je 0x140037809
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400756a0
test eax, eax
jne 0x140037809
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
lea ecx, [rax + 8]
call fcn.140076414
mov qword [rax], rdi
mov qword [rbp + 0x48], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14003c6f0]
xor edx, edx
xor ecx, ecx
call fcn.140088c44
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400377fa
cmp dword [rbp - 0x38], 0
je 0x1400377ef
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400756a0
test eax, eax
jne 0x1400377ef
lea ecx, [rax + 8]
call fcn.140076414
mov qword [rax], rdi
mov qword [rbp + 0x48], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14003c530]
xor edx, edx
xor ecx, ecx
call fcn.140088c44
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400377e0
cmp dword [rbp - 0x48], 0
je 0x1400377d5
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400756a0
test eax, eax
jne 0x1400377d5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x140037790
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140034200
cmp byte [rdi + 0x4b8], 0
je 0x140037774
cmp dword [rbp - 0x48], 0
jne 0x1400377cf
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.140075234
int3
dec eax
mov dword [0x1400dc47c], eax
mov ecx, 6
call fcn.140075234
int3
call fcn.140088ae0
nop
mov ecx, 1
call fcn.140075234
nop
mov dword [rbp - 0x48], r12d
mov ecx, 6
call fcn.140075234
nop
mov ecx, 1
call fcn.140075234
nop
mov dword [rbp - 0x38], r12d
mov ecx, 6
call fcn.140075234
nop
mov ecx, 1
call fcn.140075234
nop
mov dword [rbp - 0x38], r12d
mov ecx, 6
call fcn.140075234
int3