Function at 0x140035d84
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1401a7d98]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, r8
mov r12, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rbp - 0x10], r13d
test rdx, rdx
je 0x140035dcb
mov qword [rdx], r13
test r15, r15
je 0x140035dd3
mov qword [r8], r13
test r12, r12
jne 0x140035dd9
int3
test r15, r15
jne 0x140035ddf
int3
mov qword [rbp - 0x20], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x18], r13
lea rax, [rbp - 0x30]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r13w
jne 0x140035e17
lea r9, [rbp - 0x30]
mov rdx, rax
call fcn.1400355c4
mov edx, eax
test eax, eax
js 0x14003609b
mov rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x30]
cmp rcx, rax
je 0x140035f15
mov rbx, r13
lea rax, [rbp - 0x30]
cmp rcx, rax
cmovne rbx, rcx
lea rsi, [rbx + 0x18]
mov r8, qword [rsi]
mov al, r8b
and al, 1
mov rax, r8
je 0x140035e68
int3
test rax, rax
je 0x140035ebd
cmp rax, 2
je 0x140035ea3
mov rcx, qword [rsi + 0x10]
cmp word [rcx], 0x40
jne 0x140035ea3
lea rdx, [rcx + 2]
call fcn.14010b910
add qword [rsi], 0xfffffffffffffffe
lea r8, [rbp - 0x30]
mov rdx, qword [rsi + 0x10]
call fcn.1400359a8
mov edx, eax
test eax, eax
js 0x14003609b
jmp 0x140035eb9
lea rcx, [rdi + 0x18]
mov r8, rsi
lea rdx, [rbp - 0x48]
call fcn.1400361c8
mov edx, dword [rax]
test edx, edx
js 0x140035f03
mov rcx, qword [rbp - 0x30]
test rbx, rbx
je 0x140035e3b
lea rax, [rbp - 0x30]
cmp qword [rbx + 0x10], rax
jne 0x140035e3b
lea rax, [rbp - 0x30]
cmp rbx, rax
je 0x140035e3b
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov qword [rbx + 0x10], r13
dec qword [rbp - 0x18]
jmp 0x140035e37
mov eax, edx
shr eax, 0x1f
xor al, 1
je 0x14003609b
jmp 0x14003609a
mov rcx, qword [rdi + 0x20]
sub rcx, qword [rdi + 0x18]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
mov rsi, rdx
sar rsi, 2
mov rax, rsi
shr rax, 0x3f
add rsi, rax
mov rbx, qword [rdi + 8]
mov rax, rbx
sub rax, qword [rdi]
sar rax, 3
cmp rsi, rax
jbe 0x140036071
mov rax, qword [rdi + 0x10]
sub rax, qword [rdi]
sar rax, 3
cmp rsi, rax
jbe 0x140036043
lea r9, [rbp - 0x40]
mov r8, rsi
mov edx, 8
lea rcx, [rbp - 0x4c]
call fcn.140004800
mov edx, dword [rbp - 0x4c]
test edx, edx
js 0x140036091
mov rax, qword gs:[0x60]
mov r8, qword [rbp - 0x40]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x140035fb7
mov edx, 0xc0000017
jmp 0x14003608d
mov rcx, qword [rdi]
mov rdx, r14
mov rax, qword [rdi + 8]
mov r8, rcx
mov r9, rax
cmp rcx, rax
je 0x140035ff1
test rdx, rdx
je 0x140035fd7
mov rax, qword [rcx]
mov qword [rdx], rax
add rcx, 8
add rdx, 8
mov rax, qword [rdi + 8]
mov r9, rax
cmp rcx, rax
jne 0x140035fcc
mov rcx, qword [rdi]
mov r8, rcx
mov rbx, rax
sub rbx, r8
sar rbx, 3
cmp r8, rax
je 0x140036010
sub r9, 8
cmp rcx, r9
jne 0x140036000
mov qword [rdi + 8], r9
mov r8, rcx
test r8, r8
je 0x140036030
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov qword [rdi], r14
lea rbx, [r14 + rbx*8]
mov qword [rdi + 8], rbx
lea rax, [r14 + rsi*8]
mov qword [rdi + 0x10], rax
mov edx, r13d
test edx, edx
js 0x140036091
test rbx, rbx
je 0x140036058
xor eax, eax
mov qword [rbx], rax
mov rbx, qword [rdi + 8]
add rbx, 8
mov qword [rdi + 8], rbx
mov rax, rbx
sub rax, qword [rdi]
sar rax, 3
cmp rsi, rax
jne 0x14003604a
jmp 0x14003608a
jae 0x14003608a
sub rbx, 8
mov rax, rbx
sub rax, qword [rdi]
sar rax, 3
cmp rsi, rax
jb 0x140036073
mov qword [rdi + 8], rbx
mov edx, r13d
test edx, edx
jns 0x140036105
mov eax, edx
shr eax, 0x1f
test al, al
jne 0x14003609b
int3
lea rax, [rbp - 0x30]
mov r8, qword [rbp - 0x30]
cmp r8, rax
je 0x1400360f6
mov r9, r8
mov rax, r8
lea rcx, [rbp - 0x30]
cmp rax, rcx
je 0x1400360e7
test rax, rax
je 0x1400360e7
lea rax, [rbp - 0x30]
cmp qword [r8 + 0x10], rax
jne 0x1400360e7
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, qword [r8 + 8]
mov rax, qword [r9]
mov qword [rcx], rax
mov qword [r8 + 0x10], r13
dec qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
mov r9, r8
mov rax, r8
lea rcx, [rbp - 0x30]
cmp r8, rcx
jne 0x1400360ae
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x20], r13
mov eax, edx
jmp 0x14003619c
mov rdx, r13
test rsi, rsi
je 0x14003612c
mov r8, r13
mov rax, qword [rdi + 0x18]
mov rcx, qword [r8 + rax + 0x10]
mov rax, qword [rdi]
mov qword [rax + rdx*8], rcx
inc rdx
lea r8, [r8 + 0x18]
cmp rdx, rsi
jne 0x140036110
mov rax, qword [rdi]
mov qword [r15], rax
mov qword [r12], rsi
lea rax, [rbp - 0x30]
mov rdx, qword [rbp - 0x30]
cmp rdx, rax
je 0x140036191
mov r8, rdx
mov rax, rdx
lea rcx, [rbp - 0x30]
cmp rax, rcx
je 0x140036182
test rax, rax
je 0x140036182
lea rax, [rbp - 0x30]
cmp qword [rdx + 0x10], rax
jne 0x140036182
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rdx + 8]
mov rax, qword [r8]
mov qword [rcx], rax
mov qword [rdx + 0x10], r13
dec qword [rbp - 0x18]
mov rdx, qword [rbp - 0x30]
mov r8, rdx
mov rax, rdx
lea rcx, [rbp - 0x30]
cmp rdx, rcx
jne 0x140036149
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x20], r13
mov eax, dword [rbp - 0x10]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140109af0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret