Function at 0x140036430
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.140020ed0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14002fc20
test al, al
je 0x140036952
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
lea r8d, [r12 + 0x4e]
lea rdx, str._n0_nN
lea rcx, [rbp - 0x40]
call fcn.140020ed0
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140034d70
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov qword [rbp - 8], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rax, qword [str.5317236]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1400c4f74]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x1400c4f76]
mov byte [rbp - 0x1a], al
mov byte [rbp - 0x19], r12b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140036380
mov r8d, 0x191
lea rdx, [0x1400c4f80]
lea rcx, [rdi + 0x430]
call fcn.14001f130
mov r8d, 0x194
lea rdx, str._n_nNum_1___Infinite_HP_nNum_2___Infinite_MP_nNum_3___Infinite_Stamina_nNum_4___Edit_Gold_nNum_5___Edit_Perk_Points_nNum_6___Zero_Weight_Takes_effect_when_opening_the_inventory_menu._nNum_7___Set_Game_Speed_nNum_8___Set_Jump_Height_Note_you_may_take_fall_damage_when_falling__you_can_use__No_Fall_Damage__or__Infinite_HP__option_to_avoid_fall_damage._nNum_9___No_Fall_Damage_nNum_0___Dragon_Shouts_No_Cooldown_n_n
lea rcx, [rdi + 0x450]
call fcn.14001f130
call fcn.140033930
mov rcx, rdi
call fcn.140033b00
lea r13, [0x1400da360]
mov esi, dword [0x1400d9d24]
test esi, esi
je 0x1400365fe
mov ebx, dword [0x1400d9d20]
test ebx, ebx
je 0x1400365fe
mov rcx, r13
call fcn.140074370
test eax, eax
jne 0x14003696d
mov eax, dword [0x1400da3ac]
cmp eax, 0x7fffffff
je 0x140036978
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.140074378
mov rcx, rdi
call fcn.1400369e0
lea rbx, [rdi + 0x550]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400402f0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x1400366d2
mov rcx, r13
call fcn.140074370
test eax, eax
jne 0x14003696d
mov eax, dword [0x1400da3ac]
cmp eax, 0x7fffffff
je 0x140036978
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.140074378
mov rcx, r13
call fcn.140074370
test eax, eax
jne 0x14003696d
mov eax, dword [0x1400da3ac]
cmp eax, 0x7fffffff
je 0x140036978
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, [0x1400335e0]
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.140074378
lea r8, [rdi + 0x450]
lea rdx, [rdi + 0x430]
call fcn.14004d150
mov qword [rbp + 0x58], r13
mov rcx, r13
call fcn.140074370
test eax, eax
jne 0x14003696d
mov eax, dword [0x1400da3ac]
cmp eax, 0x7fffffff
je 0x140036978
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 + 0x430]
lea rcx, [rbp - 0x20]
call fcn.14001e350
mov rdx, rax
mov rcx, rdi
call fcn.140030080
lea rdx, [rdi + 0x450]
lea rcx, [rbp - 0x20]
call fcn.14001e350
mov rdx, rax
mov rcx, rdi
call fcn.140030080
nop
mov rcx, r13
call fcn.140074378
mov ecx, 8
call fcn.1400752a4
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, [0x14003b980]
xor edx, edx
xor ecx, ecx
call fcn.140087ad4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400369d0
cmp dword [rbp - 0x38], 0
je 0x1400369c5
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140074530
test eax, eax
jne 0x1400369c5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
lea ecx, [rax + 8]
call fcn.1400752a4
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, [0x14003b9b0]
xor edx, edx
xor ecx, ecx
call fcn.140087ad4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400369b6
cmp dword [rbp - 0x38], 0
je 0x1400369ab
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140074530
test eax, eax
jne 0x1400369ab
lea ecx, [rax + 8]
call fcn.1400752a4
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, [0x14003b7f0]
xor edx, edx
xor ecx, ecx
call fcn.140087ad4
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14003699c
cmp dword [rbp - 0x48], 0
je 0x140036991
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140074530
test eax, eax
jne 0x140036991
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
cmp byte [rdi + 0x490], al
jne 0x14003694c
nop word [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.1400332f0
cmp byte [rdi + 0x490], 0
je 0x140036930
cmp dword [rbp - 0x48], 0
jne 0x14003698b
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.1400740c4
int3
dec eax
mov dword [0x1400da3ac], eax
mov ecx, 6
call fcn.1400740c4
int3
call fcn.140087970
nop
mov ecx, 1
call fcn.1400740c4
nop
mov dword [rbp - 0x48], r12d
mov ecx, 6
call fcn.1400740c4
nop
mov ecx, 1
call fcn.1400740c4
nop
mov dword [rbp - 0x38], r12d
mov ecx, 6
call fcn.1400740c4
nop
mov ecx, 1
call fcn.1400740c4
nop
mov dword [rbp - 0x38], r12d
mov ecx, 6
call fcn.1400740c4
int3