Function at 0x140142ae0
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x518]
sub rsp, 0x618
mov rax, qword [0x1407ddd00]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov rsi, r9
mov r15, r8
mov rbx, rdx
mov qword [rsp + 0x68], rcx
mov rdi, qword [rbp + 0x580]
mov rax, qword [rbp + 0x588]
mov qword [rsp + 0x70], rax
mov eax, dword [0x1407e4b40]
mov dword [rbp - 0x30], eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x2c], xmm0
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x14], eax
mov qword [rsp + 0x78], rax
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
mov byte [rsp + 0x52], al
mov dword [rsp + 0x54], eax
mov r12d, dword [r8]
mov r13, qword [r9]
xor r14b, r14b
mov byte [rsp + 0x51], r14b
mov byte [rsp + 0x50], al
cmp byte [0x1407e4b44], al
setne al
mov dword [rsp + 0x58], eax
mov rcx, rdi
call fcn.14013ef70
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140142f6f
cmp dword [r15], 2
jl 0x140142bbe
mov rcx, qword [rsi]
lea rdx, str.__no_defaults
mov rcx, qword [rcx + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140142bbe
mov r14b, 1
mov byte [rsp + 0x51], r14b
mov byte [0x1407e4b45], r14b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], r14b
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x38]
mov rdx, r13
mov ecx, r12d
call fcn.14013ed00
xor eax, eax
mov qword [rsp + 0x78], rax
lea rcx, str.defaults
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rbx
cmp qword [rbx], rax
je 0x140142c22
nop dword [rax]
inc rax
lea rbx, [rbx + 8]
cmp qword [rbx], 0
jne 0x140142c10
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x68], rdi
lea rax, [rbp - 0x30]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x58], rax
mov byte [rsp + 0x40], r14b
mov byte [rsp + 0x38], 0
mov r12, qword [rsp + 0x60]
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea r13, [0x1401429f0]
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x54]
mov r8, rsi
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call fcn.1401402a0
mov ebx, eax
test eax, eax
je 0x140142cb0
cmp dword [rbp - 0x2c], 0
jge 0x140142c8b
mov rcx, qword [rbp - 0x28]
call fcn.14012a820
nop
mov eax, ebx
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.1401db8e0
add rsp, 0x618
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x140142d2d
cmp byte [rsp + 0x50], 0
jne 0x140142d2d
mov edx, 0x200
lea rcx, [rbp + 0x300]
call fcn.1401400e0
test eax, eax
je 0x140142d2d
mov byte [rsp + 0x40], r14b
mov byte [rsp + 0x38], 1
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x54]
mov r8, rsi
mov rdx, r15
lea rcx, [rbp + 0x300]
call fcn.1401402a0
mov ebx, eax
test eax, eax
je 0x140142d2d
mov rcx, rdi
call fcn.140128f20
nop
cmp dword [rbp - 0x2c], 0
jge 0x140142d28
mov rcx, qword [rbp - 0x28]
call fcn.14012a820
nop
jmp 0x140142c8b
movsxd rax, dword [rbp - 0x2c]
test eax, eax
mov rcx, rax
jns 0x140142d3c
mov rcx, qword [rbp - 0x20]
mov r12d, dword [rsp + 0x58]
movsxd rax, dword [r15]
add rax, r12
add rax, rcx
lea rdx, [rax*8 + 0xf]
and rdx, 0xfffffffffffffff8
mov r14, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
sub rax, r14
cmp rax, rdx
jb 0x140142d70
lea rax, [r14 + rdx]
mov qword [rdi + 8], rax
jmp 0x140142d7b
mov rcx, rdi
call fcn.140128e80
mov r14, rax
test r14, r14
je 0x140142f6f
mov rcx, qword [rsi]
mov rdx, qword [rcx]
mov qword [r14], rdx
mov rdi, qword [rbp - 0x20]
movsxd rbx, dword [rbp - 0x2c]
test ebx, ebx
mov rax, rbx
jns 0x140142d9f
mov rax, rdi
test rax, rax
je 0x140142dce
test ebx, ebx
js 0x140142dab
mov rdi, rbx
lea rdx, [rbp - 0x28]
test ebx, ebx
cmovs rdx, qword [rbp - 0x28]
lea r8, [rdi*8]
lea rcx, [r14 + 8]
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rbp - 0x20]
mov ebx, dword [rbp - 0x2c]
mov eax, dword [rsp + 0x54]
sub dword [r15], eax
mov ecx, eax
mov rax, qword [rsi]
lea rcx, [rax + rcx*8]
mov qword [rsi], rcx
mov r13d, dword [r15]
cmp r13d, 2
jl 0x140142e0e
lea rdx, str.__print_defaults
mov rcx, qword [rcx + 8]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140142e0e
mov byte [rsp + 0x52], 1
lea eax, [r13 - 1]
mov dword [r15], eax
add qword [rsi], 8
cmp byte [0x1407e4b44], 0
je 0x140142e31
test ebx, ebx
js 0x140142e1e
movsxd rdi, ebx
mov rax, qword [str.____args_separator____]
mov qword [r14 + rdi*8 + 8], rax
mov rdi, qword [rbp - 0x20]
mov ebx, dword [rbp - 0x2c]
mov eax, dword [r15]
test eax, eax
je 0x140142e6a
test ebx, ebx
js 0x140142e3f
movsxd rdi, ebx
dec eax
movsxd r8, eax
shl r8, 3
mov rdx, qword [rsi]
add rdx, 8
lea rax, [r12 + 1]
add rax, rdi
lea rcx, [r14 + rax*8]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [r15]
mov rdi, qword [rbp - 0x20]
mov ebx, dword [rbp - 0x2c]
test ebx, ebx
js 0x140142e71
movsxd rdi, ebx
cdqe
add rax, r12
add rax, rdi
mov qword [r14 + rax*8], 0
movsxd rdx, dword [rbp - 0x2c]
test edx, edx
mov rax, rdx
jns 0x140142e90
mov rax, qword [rbp - 0x20]
lea rcx, [r12 + rax]
add dword [r15], ecx
mov qword [rsi], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140142eac
mov rax, qword [rsp + 0x60]
mov qword [rcx], rax
cmp byte [rsp + 0x51], 0
je 0x140142eb8
jmp 0x140142f5a
cmp byte [rsp + 0x52], 0
je 0x140142f5a
mov rdx, qword [rsi]
mov rdx, qword [rdx]
lea rcx, str._s_would_have_been_started_with_the_following_arguments:_n
call fcn.140001b80
mov ebx, 1
cmp dword [r15], ebx
jle 0x140142f44
mov edi, 8
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsi]
mov r14, qword [rdi + rax]
mov rcx, r14
call fcn.140140290
test al, al
jne 0x140142f39
mov r8d, 0xa
lea rdx, [0x14022ab98]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
lea rcx, [0x1401edae0]
test eax, eax
jne 0x140142f2d
lea rdx, str.__password
jmp 0x140142f34
mov rdx, qword [rsi]
mov rdx, qword [rdi + rdx]
call fcn.140001b80
inc ebx
add rdi, 8
cmp ebx, dword [r15]
jl 0x140142ef0
lea rcx, [0x1404df8b6]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
test edx, edx
jns 0x140142f68
mov rcx, qword [rbp - 0x28]
call fcn.14012a820
nop
xor eax, eax
jmp 0x140142c8d
mov edx, Ordinal_50
mov ebx, 1
mov ecx, ebx
call fcn.14012f780
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3