Function at 0x140036cc0
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.140004c50
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400306f0
test al, al
je 0x140037202
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x22]
lea rdx, [0x1400c24b0]
lea rcx, [rbp - 0x20]
call fcn.140004c50
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400356f0
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x160
jb 0x140036d85
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x160
mov r8d, 0x2c0
lea rdx, [0x1400c2500]
mov rcx, rbx
call fcn.1400989a0
mov word [rbx + 0x2c0], r14w
jmp 0x140036d96
lea r9, [0x1400c2500]
mov edx, 0x160
call fcn.140020840
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x181
jb 0x140036dd1
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x181
mov r8d, 0x302
lea rdx, str._n_nNum_1___Infinite_Health_Takes_effect_when_player_units_take_damage__their_health_will_be_restored_to_max._nNum_2___Edit_Resource_nNum_3___Resource_Multiplier_nNum_4___Fast_Construction_nNum_5___Fast_Research_nNum_6___Set_Game_Speed_This_option_will_override_the_effect_of_in_game_speed_setting._nNum_7___Super_Damage_One_Hit_Kills_nNum_8___Damage_Multiplier_nNum_9___Defense_Multiplier_n_n
mov rcx, rbx
call fcn.1400989a0
mov word [rbx + 0x302], r14w
jmp 0x140036de2
lea r9, str._n_nNum_1___Infinite_Health_Takes_effect_when_player_units_take_damage__their_health_will_be_restored_to_max._nNum_2___Edit_Resource_nNum_3___Resource_Multiplier_nNum_4___Fast_Construction_nNum_5___Fast_Research_nNum_6___Set_Game_Speed_This_option_will_override_the_effect_of_in_game_speed_setting._nNum_7___Super_Damage_One_Hit_Kills_nNum_8___Damage_Multiplier_nNum_9___Defense_Multiplier_n_n
mov edx, 0x181
call fcn.140020840
mov rcx, rdi
call fcn.140034380
mov rcx, rdi
call fcn.140034670
lea r15, [0x1400d7270]
mov esi, dword [0x1400d6c48]
test esi, esi
je 0x140036eae
mov ebx, dword [0x1400d6c4c]
test ebx, ebx
je 0x140036eae
mov rcx, r15
call fcn.140073498
test eax, eax
jne 0x140037216
mov eax, dword [0x1400d72bc]
cmp eax, 0x7fffffff
je 0x140037221
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.1400734a0
mov rcx, rdi
call fcn.140037290
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140040a20
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140036f82
mov rcx, r15
call fcn.140073498
test eax, eax
jne 0x140037216
mov eax, dword [0x1400d72bc]
cmp eax, 0x7fffffff
je 0x140037221
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.1400734a0
mov rcx, r15
call fcn.140073498
test eax, eax
jne 0x140037216
mov eax, dword [0x1400d72bc]
cmp eax, 0x7fffffff
je 0x140037221
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, [0x140034060]
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.1400734a0
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004d580
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.140073498
test eax, eax
jne 0x140037216
mov eax, dword [0x1400d72bc]
cmp eax, 0x7fffffff
je 0x140037221
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.14001d9f0
mov rdx, rax
mov rcx, rdi
call fcn.140030ae0
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001d9f0
mov rdx, rax
mov rcx, rdi
call fcn.140030ae0
nop
mov rcx, r15
call fcn.1400734a0
mov ecx, 8
call fcn.140074444
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, [0x14003c000]
xor edx, edx
xor ecx, ecx
call fcn.1400847dc
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140037279
cmp dword [rbp - 0x28], 0
je 0x14003726e
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140073780
test eax, eax
jne 0x14003726e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.140074444
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, [0x14003c030]
xor edx, edx
xor ecx, ecx
call fcn.1400847dc
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14003725f
cmp dword [rbp - 0x28], 0
je 0x140037254
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140073780
test eax, eax
jne 0x140037254
lea ecx, [rax + 8]
call fcn.140074444
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, [0x14003be70]
xor edx, edx
xor ecx, ecx
call fcn.1400847dc
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140037245
cmp dword [rbp - 0x38], 0
je 0x14003723a
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140073780
test eax, eax
jne 0x14003723a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x1400371fc
nop word [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140033d70
cmp byte [rdi + 0x4b8], 0
je 0x1400371e0
cmp dword [rbp - 0x38], 0
jne 0x140037234
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.1400733e8
int3
dec eax
mov dword [0x1400d72bc], eax
mov ecx, 6
call fcn.1400733e8
int3
call fcn.140084690
nop
mov ecx, 1
call fcn.1400733e8
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.1400733e8
nop
mov ecx, 1
call fcn.1400733e8
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400733e8
nop
mov ecx, 1
call fcn.1400733e8
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400733e8
int3