Function at 0x14004a6c0
Capabilities:
Create thread
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rdi, rcx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rsi
lea r8d, [rsi + 0x16]
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x20]
call fcn.140005dcc
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140044308
test al, al
je 0x14004a91d
mov rcx, rdi
call fcn.140064f70
mov rcx, rdi
call fcn.140048328
mov rcx, rdi
call fcn.1400485dc
mov edx, dword [0x140120e30]
test edx, edx
je 0x14004a74c
mov r8d, dword [0x140120e34]
test r8d, r8d
je 0x14004a74c
mov rcx, rdi
call fcn.14004b4c0
mov rcx, rdi
call fcn.14004a99c
mov rcx, rdi
call fcn.14004ace4
lea rcx, [0x140120c00]
call fcn.140084fb0
test eax, eax
jne 0x14004a93b
mov eax, dword [0x140120c4c]
cmp eax, 0x7fffffff
je 0x14004a946
mov edx, 5
mov rcx, rdi
call fcn.140051f3c
lea rax, [0x140047fa8]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x28]
mov ebx, 8
mov r8d, ebx
lea rdx, [rbp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140120c00]
call fcn.140084fb8
mov rcx, rdi
call fcn.14004add8
mov ecx, ebx
call fcn.140086524
mov qword [rax], rdi
mov qword [rbp + 0x28], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14004e8c8]
xor edx, edx
xor ecx, ecx
call fcn.14009a544
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14004a92d
cmp dword [rbp - 0x28], esi
je 0x14004a991
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140085860
test eax, eax
jne 0x14004a991
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov ecx, ebx
call fcn.140086524
mov qword [rax], rdi
mov qword [rbp + 0x28], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14004e8f8]
xor edx, edx
xor ecx, ecx
call fcn.14009a544
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14004a983
cmp dword [rbp - 0x28], esi
je 0x14004a978
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140085860
test eax, eax
jne 0x14004a978
call fcn.140047110
mov ecx, ebx
call fcn.140086524
mov qword [rax], rdi
mov qword [rbp + 0x28], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14004e79c]
xor edx, edx
xor ecx, ecx
call fcn.14009a544
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14004a96a
cmp dword [rbp - 0x38], esi
je 0x14004a95f
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140085860
test eax, eax
jne 0x14004a95f
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
jmp 0x14004a90f
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140047d84
cmp byte [0x140120e38], sil
je 0x14004a8fc
cmp dword [rbp - 0x38], esi
jne 0x14004a959
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x28], esi
mov ecx, 6
call fcn.140084f54
nop
mov ecx, 5
call fcn.140084f54
int3
dec eax
mov dword [0x140120c4c], eax
mov ecx, 6
call fcn.140084f54
int3
call fcn.14009a3e0
nop
mov ecx, 1
call fcn.140084f54
nop
mov dword [rbp - 0x38], esi
mov ecx, 6
call fcn.140084f54
nop
mov ecx, 1
call fcn.140084f54
nop
mov dword [rbp - 0x28], esi
mov ecx, 6
call fcn.140084f54
nop
mov ecx, 1
call fcn.140084f54
int3