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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x62
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x288]
mov rax, qword [0x14009ad80]
xor rax, rbp
mov qword [rbp + 0x238], rax
lea rcx, [0x1401a021f]
call fcn.140068b20
mov qword [rbp + 0x128], 0x100
mov qword [rbp + 0x148], 0
mov eax, dword [rbp + 0x278]
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 1
je 0x140012177
cmp dword [rbp + 0x234], 2
je 0x140012196
cmp dword [rbp + 0x234], 3
je 0x1400121b5
jmp 0x1400121d4
mov r9d, 0xa
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.1400117e0
jmp 0x1400121d9
mov r9d, recv
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.1400117e0
jmp 0x1400121d9
mov r9d, recv
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.1400117e0
jmp 0x1400121d9
jmp 0x140012397
mov r9d, 0x1a
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.1400117e0
mov r9, qword [rbp + 0x270]
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.140011880
mov eax, dword [rbp + 0x288]
mov r9d, eax
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.1400117e0
mov eax, dword [rbp + 0x290]
mov r9d, eax
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.140011b60
mov eax, dword [rbp + 0x298]
mov r9d, eax
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.1400117e0
mov eax, dword [rbp + 0x2a0]
mov r9d, eax
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.1400117e0
mov rax, qword [rbp + 0x280]
movzx eax, byte [rax + 0x10]
mov r9d, eax
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.1400117e0
mov rax, qword [rbp + 0x280]
mov r9, qword [rax]
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.1400119a0
mov rax, qword [rbp + 0x280]
mov r9, qword [rax + 8]
lea r8, [rbp + 0x148]
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x10]
call fcn.1400119a0
cmp qword [rbp + 0x148], 0x1c
je 0x140012328
mov eax, dword [0x1400968b8]
add eax, 0x23
mov r8d, eax
lea rdx, str.C:UsersAdministratorDownloadsmasscan_1.3.2_srcout_binary.c
lea rcx, str.offset__2__26
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
mov r9, qword [rbp + 0x268]
mov r8, qword [rbp + 0x148]
mov edx, 1
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x148]
cmp qword [rbp + 0x168], rax
je 0x140012374
lea rcx, str.output
call qword [sym.imp.ucrtbased.dll_perror]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov rax, qword [rbp + 0x260]
mov rax, qword [rax + 0x258]
add rax, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x260]
mov qword [rcx + 0x258], rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140071ef0]
call fcn.140068a90
mov rcx, qword [rbp + 0x238]
xor rcx, rbp
call fcn.140068cb0
lea rsp, [rbp + 0x248]
pop rdi
pop rbp
ret