Function at 0x140036ca0
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4e8]
sub rsp, 0x5e8
mov rax, qword [0x1406bd868]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
mov rsi, r9
mov r15, r8
mov rbx, rdx
mov r14, rcx
mov rdi, qword [rbp + 0x550]
mov rax, qword [rbp + 0x558]
mov qword [rsp + 0x60], rax
mov eax, dword [0x140713540]
mov dword [rbp - 0x60], eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x5c], xmm0
mov qword [rbp - 0x4c], rax
mov dword [rbp - 0x44], eax
mov qword [rsp + 0x68], rax
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
mov byte [rsp + 0x51], al
mov dword [rsp + 0x54], eax
xor r12b, r12b
mov byte [rsp + 0x50], r12b
mov r13d, eax
cmp byte [0x140713544], al
setne r13b
mov rcx, rdi
call fcn.140032a30
mov rcx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400370ef
cmp dword [r15], 2
jl 0x140036d7b
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
mov rcx, qword [rsp + 0x58]
test eax, eax
jne 0x140036d7b
mov r12b, 1
mov byte [rsp + 0x50], r12b
mov byte [0x140713545], r12b
xor eax, eax
mov qword [rsp + 0x68], rax
lea rdx, str.defaults
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rbx
cmp qword [rbx], rax
je 0x140036db2
nop dword [rax + rax]
inc rax
lea rbx, [rbx + 8]
cmp qword [rbx], 0
jne 0x140036da0
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x78], rdi
lea rax, [rbp - 0x60]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x68], rax
mov byte [rsp + 0x40], r12b
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [0x140036bb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
mov r8, rsi
mov rdx, r15
mov rcx, r14
call fcn.140033fe0
mov ebx, eax
test eax, eax
je 0x140036e39
cmp dword [rbp - 0x5c], 0
jge 0x140036e14
mov rcx, qword [rbp - 0x58]
call fcn.140010ad0
nop
mov eax, ebx
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.1400f2410
add rsp, 0x5e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp byte [0x1403f6d60], 0
je 0x140036ebb
mov edx, 0x200
lea rcx, [rbp + 0x2d0]
call fcn.140033bd0
test eax, eax
je 0x140036ebb
mov byte [rsp + 0x40], r12b
mov byte [rsp + 0x38], 1
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [0x140036bb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
mov r8, rsi
mov rdx, r15
lea rcx, [rbp + 0x2d0]
call fcn.140033fe0
mov ebx, eax
test eax, eax
je 0x140036ebb
mov rcx, rdi
call fcn.14000de10
nop
cmp dword [rbp - 0x5c], 0
jge 0x140036eb6
mov rcx, qword [rbp - 0x58]
call fcn.140010ad0
nop
jmp 0x140036e14
movsxd rax, dword [rbp - 0x5c]
test eax, eax
mov rcx, rax
jns 0x140036eca
mov rcx, qword [rbp - 0x50]
mov r12d, r13d
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 0x140036efc
lea rax, [r14 + rdx]
mov qword [rdi + 8], rax
jmp 0x140036f07
mov rcx, rdi
call fcn.14000dd30
mov r14, rax
test r14, r14
je 0x1400370ef
mov rcx, qword [rsi]
mov rdx, qword [rcx]
mov qword [r14], rdx
mov rdi, qword [rbp - 0x50]
movsxd rbx, dword [rbp - 0x5c]
test ebx, ebx
mov rax, rbx
jns 0x140036f2b
mov rax, rdi
test rax, rax
je 0x140036f5a
test ebx, ebx
js 0x140036f37
mov rdi, rbx
lea rdx, [rbp - 0x58]
test ebx, ebx
cmovs rdx, qword [rbp - 0x58]
lea r8, [rdi*8]
lea rcx, [r14 + 8]
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rbp - 0x50]
mov ebx, dword [rbp - 0x5c]
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 0x140036f9a
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 0x140036f9a
mov byte [rsp + 0x51], 1
lea eax, [r13 - 1]
mov dword [r15], eax
add qword [rsi], 8
cmp byte [0x140713544], 0
je 0x140036fbd
test ebx, ebx
js 0x140036faa
movsxd rdi, ebx
mov rax, qword [str.____args_separator____]
mov qword [r14 + rdi*8 + 8], rax
mov rdi, qword [rbp - 0x50]
mov ebx, dword [rbp - 0x5c]
mov eax, dword [r15]
test eax, eax
je 0x140036ff6
test ebx, ebx
js 0x140036fcb
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 - 0x50]
mov ebx, dword [rbp - 0x5c]
test ebx, ebx
js 0x140036ffd
movsxd rdi, ebx
cdqe
add rax, r12
add rax, rdi
mov qword [r14 + rax*8], 0
movsxd rdx, dword [rbp - 0x5c]
test edx, edx
mov rax, rdx
jns 0x14003701c
mov rax, qword [rbp - 0x50]
lea rcx, [r12 + rax]
add dword [r15], ecx
mov qword [rsi], r14
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140037038
mov rax, qword [rsp + 0x58]
mov qword [rcx], rax
cmp byte [rsp + 0x50], 0
je 0x140037044
jmp 0x1400370da
cmp byte [rsp + 0x51], 0
je 0x1400370da
mov rdx, qword [rsi]
mov rdx, qword [rdx]
lea rcx, str._s_would_have_been_started_with_the_following_arguments:_n
call fcn.14000ae20
mov ebx, 1
cmp dword [r15], ebx
jle 0x1400370c4
mov edi, 8
mov rax, qword [rsi]
mov r14, qword [rdi + rax]
mov rcx, r14
call fcn.140033d80
test al, al
jne 0x1400370b9
mov r8d, 0xa
lea rdx, [0x1401019f8]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
lea rcx, [0x140101a1c]
test eax, eax
jne 0x1400370ad
lea rdx, str.__password
jmp 0x1400370b4
mov rdx, qword [rsi]
mov rdx, qword [rdi + rdx]
call fcn.14000ae20
inc ebx
add rdi, 8
cmp ebx, dword [r15]
jl 0x140037070
lea rcx, [0x1400fb935]
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 0x1400370e8
mov rcx, qword [rbp - 0x58]
call fcn.140010ad0
nop
xor eax, eax
jmp 0x140036e16
mov edx, 0x30
mov ebx, 1
mov ecx, ebx
call fcn.140041370
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3