Function at 0x14000fd20
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 rbx, rcx
xor r14d, r14d
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.140002350
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.14000b160
test al, al
je 0x140010192
mov rcx, rbx
call fcn.140014500
call fcn.14000f130
mov rcx, rbx
call fcn.14000f2f0
lea r15, [0x14006f8a0]
mov esi, dword [0x14006f344]
test esi, esi
je 0x14000fe44
mov edi, dword [0x14006f340]
test edi, edi
je 0x14000fe44
mov rcx, r15
call fcn.14002e4c8
test eax, eax
jne 0x1400101a6
mov eax, dword [0x14006f8ec]
cmp eax, 0x7fffffff
je 0x1400101b1
mov dword [rbp + 0x40], 9
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
lea r8d, [r14 + 4]
lea rdx, [rbp + 0x40]
mov rcx, qword [rbx + 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]
lea r8d, [r14 + 4]
lea rdx, [rbp + 0x40]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x40], edi
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
lea r8d, [r14 + 4]
lea rdx, [rbp + 0x40]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.14002e4d0
mov rcx, rbx
call fcn.140010220
lea rdi, [rbx + 0x4f8]
mov r8, rdi
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140012a00
mov rax, qword [rdi + 8]
cmp rax, qword [rdi]
je 0x14000ff18
mov rcx, r15
call fcn.14002e4c8
test eax, eax
jne 0x1400101a6
mov eax, dword [0x14006f8ec]
cmp eax, 0x7fffffff
je 0x1400101b1
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 [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rdi + 8]
sub rax, qword [rdi]
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 [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rdi]
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 [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.14002e4d0
mov rcx, r15
call fcn.14002e4c8
test eax, eax
jne 0x1400101a6
mov eax, dword [0x14006f8ec]
cmp eax, 0x7fffffff
je 0x1400101b1
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 [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [0x14000ee90]
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 [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.14002e4d0
lea r8, [rbx + 0x3f8]
lea rdx, [rbx + 0x3d8]
call fcn.140023570
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.14002e4c8
test eax, eax
jne 0x1400101a6
mov eax, dword [0x14006f8ec]
cmp eax, 0x7fffffff
je 0x1400101b1
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 [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rbx + 0x3d8]
lea rcx, [rbp - 0x20]
call fcn.1400121c0
mov rdx, rax
mov rcx, rbx
call fcn.14000b4f0
lea rdx, [rbx + 0x3f8]
lea rcx, [rbp - 0x20]
call fcn.1400121c0
mov rdx, rax
mov rcx, rbx
call fcn.14000b4f0
nop
mov rcx, r15
call fcn.14002e4d0
mov ecx, 8
call fcn.14002ec84
mov qword [rax], rbx
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140012950]
xor edx, edx
xor ecx, ecx
call fcn.140039be8
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140010209
cmp dword [rbp - 0x28], 0
je 0x1400101fe
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14002e22c
test eax, eax
jne 0x1400101fe
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.14002ec84
mov qword [rax], rbx
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140012980]
xor edx, edx
xor ecx, ecx
call fcn.140039be8
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400101ef
cmp dword [rbp - 0x28], 0
je 0x1400101e4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14002e22c
test eax, eax
jne 0x1400101e4
lea ecx, [rax + 8]
call fcn.14002ec84
mov qword [rax], rbx
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400127d0]
xor edx, edx
xor ecx, ecx
call fcn.140039be8
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400101d5
cmp dword [rbp - 0x38], 0
je 0x1400101ca
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14002e22c
test eax, eax
jne 0x1400101ca
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rbx + 0x438], al
jne 0x14001018c
nop dword [rax]
mov rcx, rbx
call fcn.14000ebb0
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbx + 0x438], 0
je 0x140010170
cmp dword [rbp - 0x38], 0
jne 0x1400101c4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14002e190
int3
dec eax
mov dword [0x14006f8ec], eax
mov ecx, 6
call fcn.14002e190
int3
call fcn.140038c90
nop
mov ecx, 1
call fcn.14002e190
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.14002e190
nop
mov ecx, 1
call fcn.14002e190
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14002e190
nop
mov ecx, 1
call fcn.14002e190
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14002e190
int3