Function at 0x140015f80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
xor r12d, r12d
mov qword [rbp - 0x19], r12
mov qword [rbp - 9], r12
mov qword [rbp - 1], 7
lea r8d, [r12 + 0x16]
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x19]
call fcn.140005c20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.140011f80
test al, al
je 0x140016566
lea rcx, [rdi + 0x578]
xor r8d, r8d
lea rdx, [0x14006d340]
call fcn.140005c20
lea rcx, [rdi + 0x420]
lea r8d, [r12 + 6]
lea rdx, str._n0_gOBl
call fcn.140005c20
lea rcx, [rdi + 0x460]
lea r8d, [r12 + 0xb]
lea rdx, str.v1.0
call fcn.140005c20
lea r8d, [r12 + 4]
lea rdx, str.Raft
lea rcx, [rdi + 0x440]
call fcn.140005c20
lea rcx, [rdi + 0x480]
lea r8d, [r12 + 0x14]
lea rdx, str.v1.0_Plus_20_Trainer
call fcn.140005c20
lea rdx, [rdi + 0x440]
lea rcx, [rbp + 7]
call fcn.14001aac0
mov rbx, rax
lea rax, [0x140081980]
cmp rax, rbx
je 0x14001610d
mov rdx, qword [0x140081998]
cmp rdx, 0x10
jb 0x1400160d0
mov rcx, qword [0x140081980]
inc rdx
cmp rdx, 0x1000
jb 0x1400160cb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400165a2
mov rcx, r8
call fcn.140034040
mov qword [0x140081990], r12
mov qword [0x140081998], 0xf
mov byte [0x140081980], r12b
movups xmm0, xmmword [rbx]
movaps xmmword [0x140081980], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [0x140081990], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], r12b
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140016148
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016143
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400165a2
call fcn.140034040
xor r8d, r8d
lea rdx, [0x14006d197]
lea rcx, [0x140081960]
call fcn.140005cb0
mov r8d, 0x24a
lea rdx, [0x140071020]
lea rcx, [rdi + 0x4a0]
call fcn.140005c20
mov r8d, 0x25d
lea rdx, str._n_nNum_1___Invulnerable_Ignore_Damage_nNum_2___Infinite_Health_nNum_3___Infinite_Food_nNum_4___Infinite_Water_nNum_5___Infinite_Oxygen_nNum_6___Infinite_Building_Durability_nNum_7___Infinite_Items_nNum_8___Infinite_Item_Durability_nNum_9___Set_Game_Speed_nNum_0___One_Hit_Kill_nNum_.___Freeze_Daytime_nNum____Daytime_1_Hour_nNum_____Daytime__1_Hour_n_nCtrlNum_1___No_Crafting_Requirement_nCtrlNum_2___No_Building_Requirement_nCtrlNum_3___Unlock_All_Crafting_Recipes_nCtrlNum_4___Instant_Grill__Purify_nCtrlNum_5___Instant_Fishing_nCtrlNum_6___Set_Move_Speed_nCtrlNum_7___Set_Swim_Speed_nCtrlNum_8___Set_Jump_Height_n_n
lea rcx, [rdi + 0x4c0]
call fcn.140005c20
call fcn.1400152c0
mov rcx, rdi
call fcn.1400154b0
lea r13, [0x1400819f0]
mov esi, dword [0x1400814a0]
test esi, esi
je 0x140016246
mov ebx, dword [0x140081494]
test ebx, ebx
je 0x140016246
mov rcx, r13
call fcn.140033608
test eax, eax
jne 0x1400165a8
mov dword [rbp - 0x39], 9
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
lea r8d, [rax + 4]
lea rdx, [rbp - 0x39]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0x49], esi
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
mov r8d, 4
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0x49], ebx
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
mov r8d, 4
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.140033610
mov rcx, rdi
call fcn.140016630
lea rbx, [rdi + 0x5c0]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140018a90
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140016307
mov rcx, r13
call fcn.140033608
test eax, eax
jne 0x1400165b0
mov dword [rbp - 0x49], 3
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
lea r8d, [rax + 4]
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov dword [rbp - 0x49], eax
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
mov r8d, 4
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
mov r8d, 8
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.140033610
mov rcx, r13
call fcn.140033608
test eax, eax
jne 0x1400165b8
mov dword [rbp - 0x49], 5
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
lea r8d, [rax + 4]
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [0x1400150e0]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
mov r8d, 8
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.140033610
lea r8, [rdi + 0x4c0]
lea rdx, [rdi + 0x4a0]
call fcn.140028d70
mov qword [rbp + 7], r13
mov rcx, r13
call fcn.140033608
test eax, eax
jne 0x1400165c0
mov dword [rbp - 0x49], 4
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
lea r8d, [rax + 4]
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rdi + 0x4a0]
lea rcx, [rbp - 0x39]
call fcn.140018420
mov rdx, rax
mov rcx, rdi
call fcn.140012310
lea rdx, [rdi + 0x4c0]
lea rcx, [rbp - 0x39]
call fcn.140018420
mov rdx, rax
mov rcx, rdi
call fcn.140012310
nop
mov rcx, r13
call fcn.140033610
mov ecx, 8
call fcn.140034074
mov qword [rax], rdi
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400189e0]
xor edx, edx
xor ecx, ecx
call fcn.140040db0
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140016593
cmp dword [rbp - 0x31], 0
je 0x1400165c8
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.1400332b4
test eax, eax
jne 0x1400165d3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
lea ecx, [rax + 8]
call fcn.140034074
mov qword [rax], rdi
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140018a10]
xor edx, edx
xor ecx, ecx
call fcn.140040db0
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140016616
cmp dword [rbp - 0x31], 0
je 0x1400165db
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.1400332b4
test eax, eax
jne 0x1400165e6
lea ecx, [rax + 8]
call fcn.140034074
mov qword [rax], rdi
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140018890]
xor edx, edx
xor ecx, ecx
call fcn.140040db0
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140016607
cmp dword [rbp - 0x11], 0
je 0x1400165ee
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.1400332b4
test eax, eax
jne 0x1400165f9
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x19], xmm0
cmp byte [rdi + 0x500], al
jne 0x14001655c
nop word [rax + rax]
mov rcx, rdi
call fcn.140014f00
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rdi + 0x500], 0
je 0x140016540
cmp dword [rbp - 0x11], 0
jne 0x140016601
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140034020
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp - 0x31], r12d
mov ecx, 6
call fcn.1400331cc
nop
call fcn.14003aa14
int3
mov ecx, eax
call fcn.140033190
int3
mov ecx, eax
call fcn.140033190
int3
mov ecx, eax
call fcn.140033190
int3
mov ecx, eax
call fcn.140033190
nop
mov ecx, 1
call fcn.1400331cc
int3
mov ecx, eax
call fcn.140033190
nop
mov ecx, 1
call fcn.1400331cc
int3
mov ecx, eax
call fcn.140033190
nop
mov ecx, 1
call fcn.1400331cc
int3
mov ecx, eax
call fcn.140033190
nop
call fcn.14003fdec
nop
mov dword [rbp - 0x11], r12d
mov ecx, 6
call fcn.1400331cc
nop
mov dword [rbp - 0x31], r12d
mov ecx, 6
call fcn.1400331cc
int3