Function at 0x14000c770
Capabilities:
Terminate process
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x7f30]
mov eax, 0x8030
call fcn.14004e810
sub rsp, rax
mov rax, qword [0x140068008]
xor rax, rsp
mov qword [rbp + 0x7f20], rax
mov ebx, dword [rbp + 0x7fa8]
mov r14, rdx
mov r15, qword [rbp + 0x7fa0]
mov rsi, rcx
mov byte [rsp + 0x20], recv
cmp ebx, 0x3fe5
jae 0x14000c9c2
mov qword [rsp + 0x8070], rdi
lea edx, [rbx + 0x1b]
cmp ebx, 0x65
jae 0x14000c7dd
mov byte [rsp + 0x21], dl
mov edi, 2
jmp 0x14000c7f5
lea eax, [rbx + 0x1b]
mov edi, 3
shr eax, 7
or al, 0x80
and dl, 0x7f
mov byte [rsp + 0x21], al
mov byte [rsp + 0x22], dl
mov r10, qword [r9 + 8]
lea ecx, [rdi + 4]
mov rax, r8
mov r11d, edi
sar rax, 0x18
mov rdx, r8
sar rdx, 0x10
mov byte [rsp + r11 + 0x20], al
lea eax, [rdi + 1]
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 2]
mov rdx, r8
sar rdx, 8
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 3]
mov byte [rsp + rax + 0x20], r8b
movzx eax, byte [rbp + 0x7f80]
mov r8d, dword [rbp + 0x7f88]
mov edx, r8d
shr edx, 8
mov byte [rsp + rcx + 0x20], al
lea eax, [rdi + 5]
mov byte [rsp + rax + 0x20], dl
lea ecx, [rdi + 9]
lea eax, [rdi + 6]
mov byte [rsp + rax + 0x20], r8b
lea eax, [rdi + 7]
mov r8d, dword [rbp + 0x7f90]
mov edx, r8d
sar edx, 8
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 8]
mov byte [rsp + rax + 0x20], r8b
movzx eax, byte [rbp + 0x7f98]
mov r8, qword [r9]
mov byte [rsp + rcx + 0x20], al
mov rdx, r8
movzx eax, byte [r9 + 0x10]
lea ecx, [rdi + 0xa]
shr rdx, 0x38
mov byte [rsp + rcx + 0x20], al
lea eax, [rdi + 0xb]
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 0xc]
mov rdx, r8
shr rdx, 0x30
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 0xd]
mov rdx, r8
shr rdx, 0x28
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 0xe]
mov rdx, r8
shr rdx, 0x20
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 0xf]
mov rdx, r8
shr rdx, 0x18
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 0x10]
mov rdx, r8
shr rdx, 0x10
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 0x11]
mov rdx, r8
shr rdx, 8
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 0x12]
mov byte [rsp + rax + 0x20], r8b
mov rdx, r10
shr rdx, 0x38
lea eax, [rdi + 0x13]
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 0x14]
mov rdx, r10
shr rdx, 0x30
mov byte [rsp + rax + 0x20], dl
mov rdx, r10
shr rdx, 0x28
lea eax, [rdi + 0x15]
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 0x16]
mov rdx, r10
shr rdx, 0x20
lea rcx, [rsp + 0x3b]
mov byte [rsp + rax + 0x20], dl
mov r8, r10
lea eax, [rdi + 0x17]
shr r8, 0x10
mov rdx, r10
add rcx, r11
shr rdx, 0x18
mov byte [rsp + rax + 0x20], dl
lea eax, [rdi + 0x18]
mov byte [rsp + rax + 0x20], r8b
mov rdx, r15
lea eax, [rdi + 0x19]
mov r8, r10
shr r8, 8
mov byte [rsp + rax + 0x20], r8b
lea eax, [rdi + 0x1a]
mov r8, rbx
mov byte [rsp + rax + 0x20], r10b
call sub.VCRUNTIME140.dll_memcpy
lea eax, [rbx + 0x1b]
mov r9, r14
add eax, edi
lea rcx, [rsp + 0x20]
mov r8d, eax
mov edx, 1
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rdi, qword [rsp + 0x8070]
cmp rax, rbx
je 0x14000c9bb
lea rcx, str.output
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add qword [rsi + 0x258], rax
mov rcx, qword [rbp + 0x7f20]
xor rcx, rsp
call fcn.14004da00
add rsp, 0x8030
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret