Function at 0x140005670
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x20], xmm6
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov r12, rcx
call qword [sym.imp.kernel32.dll_GetCommandLineW]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
test rax, rax
je 0x140005ab3
mov rdi, rax
movzx esi, word [rax]
test si, si
je 0x140005ab3
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x50], 0
mov eax, 2
xor r14d, r14d
lea rbx, [rbp - 0x60]
xor r15d, r15d
test si, si
jne 0x140005718
jmp 0x140005764
mov rax, qword [rbp - 0x58]
mov word [rax + r14*2], si
inc r14
mov qword [rbp - 0x50], r14
movzx esi, word [rdi]
test si, si
je 0x140005764
add rdi, 2
cmp si, 9
je 0x140005740
movzx ecx, si
cmp ecx, 0x20
je 0x140005740
cmp ecx, 0x22
jne 0x140005746
not r15b
and r15b, 1
movzx esi, word [rdi]
test si, si
jne 0x140005718
jmp 0x140005764
test r15b, 1
je 0x140005764
cmp r14, qword [rbp - 0x60]
jne 0x140005704
mov rcx, rbx
call fcn.140004520
jmp 0x140005700
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140005760
cmp eax, 9
je 0x140005760
mov rsi, qword [rbp - 0x58]
lea rcx, [rbp - 0x48]
mov rdx, rsi
mov r8, r14
call fcn.140008080
mov qword [rbp - 0x28], rsi
mov qword [rbp - 8], r12
lea rcx, [rbp - 0x20]
call fcn.1400045c0
mov rax, qword [rbp - 0x18]
movups xmm0, xmmword [rbp - 0x48]
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov qword [rbp - 0x10], 1
mov qword [rbp], 0
mov qword [rbp + 8], 2
mov qword [rbp + 0x10], 0
mov r15d, 2
xor r13d, r13d
movaps xmm6, xmmword [str._]
xor eax, eax
jmp 0x1400057f3
mov r15, qword [rbp + 8]
mov word [r15 + r13*2], si
inc r13
mov qword [rbp + 0x10], r13
mov eax, r12d
mov r12d, eax
movzx esi, word [rdi]
test esi, esi
je 0x140005af5
mov rbx, rdi
add rdi, 2
cmp esi, 0x21
jg 0x1400058a0
cmp esi, 9
je 0x14000581f
cmp esi, 0x20
jne 0x140005910
test r12b, r12b
jne 0x140005910
mov r15, qword [rbp + 8]
lea rcx, [rbp - 0x48]
mov rdx, r15
mov r8, r13
call fcn.140008080
mov rsi, qword [rbp - 0x10]
cmp rsi, qword [rbp - 0x20]
jne 0x14000584e
lea rcx, [rbp - 0x20]
call fcn.1400045c0
mov rax, qword [rbp - 0x18]
mov rcx, rsi
shl rcx, 5
movups xmm0, xmmword [rbp - 0x48]
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp + 0x10], 0
jmp 0x140005884
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140005880
cmp eax, 9
je 0x140005880
xor r13d, r13d
mov eax, r12d
jmp 0x1400057f3
cmp esi, 0x22
je 0x140005927
cmp esi, 0x5c
jne 0x140005910
movzx eax, word [rdi]
xor esi, esi
cmp ax, 0x5c
jne 0x1400058d2
nop dword [rax]
add rdi, 2
movzx eax, word [rbx + rsi*2 + 4]
inc rsi
cmp ax, 0x5c
je 0x1400058c0
lea r14, [rsi + 1]
cmp ax, 0x22
jne 0x14000594d
mov rbx, r14
shr rbx, 1
mov rax, qword [rbp]
sub rax, r13
cmp rax, rbx
jae 0x140005971
mov rcx, rbp
mov rdx, r13
mov r8, rbx
call fcn.14001b930
mov r13, qword [rbp + 0x10]
jmp 0x14000597b
cmp r13, qword [rbp]
jne 0x1400057e0
mov rcx, rbp
call fcn.140004520
jmp 0x1400057e0
mov al, 1
test r12b, r12b
je 0x1400057f3
movzx ecx, word [rdi]
cmp ecx, 0x22
je 0x140005a7e
xor eax, eax
test ecx, ecx
jne 0x1400057f3
jmp 0x140005b7e
mov rax, qword [rbp]
sub rax, r13
cmp rax, r14
jae 0x14000598d
mov rcx, rbp
mov rdx, r13
mov r8, r14
call fcn.14001b930
mov r15, qword [rbp + 8]
mov r13, qword [rbp + 0x10]
jmp 0x140005996
cmp r14, 2
jb 0x140005a3f
mov r15, qword [rbp + 8]
cmp r14, 0x20
jae 0x1400059f4
mov rax, rbx
jmp 0x140005a30
test r14, r14
je 0x1400057ec
cmp r14, 0x10
jae 0x1400059a1
mov rax, r14
jmp 0x1400059e0
mov rcx, r14
and rcx, 0xfffffffffffffff0
mov eax, r14d
and eax, 0xf
lea rdx, [r15 + r13*2]
add rdx, 0x10
add r13, rcx
xor r8d, r8d
nop dword [rax]
movups xmmword [rdx + r8*2 - 0x10], xmm6
movups xmmword [rdx + r8*2], xmm6
add r8, 0x10
cmp rcx, r8
jne 0x1400059c0
cmp r14, rcx
je 0x1400057ec
nop dword [rax]
mov word [r15 + r13*2], 0x5c
inc r13
dec rax
jne 0x1400059e0
jmp 0x1400057ec
mov rcx, rbx
and rcx, 0xfffffffffffffff0
mov eax, ebx
and eax, 0xf
lea rdx, [r15 + r13*2]
add rdx, 0x10
add r13, rcx
xor r8d, r8d
nop
movups xmmword [rdx + r8*2 - 0x10], xmm6
movups xmmword [rdx + r8*2], xmm6
add r8, 0x10
cmp rcx, r8
jne 0x140005a10
cmp rbx, rcx
je 0x140005a3f
nop dword [rax]
mov word [r15 + r13*2], 0x5c
inc r13
dec rax
jne 0x140005a30
mov qword [rbp + 0x10], r13
mov eax, r12d
test sil, 1
jne 0x1400057f3
xor esi, esi
cmp word [rdi], 0
setne bl
cmp r13, qword [rbp]
jne 0x140005a67
mov rcx, rbp
call fcn.140004520
mov sil, bl
lea rdi, [rdi + rsi*2]
mov r15, qword [rbp + 8]
mov word [r15 + r13*2], 0x22
jmp 0x1400057e9
cmp r13, qword [rbp]
jne 0x140005a8c
mov rcx, rbp
call fcn.140004520
mov r15, qword [rbp + 8]
mov word [r15 + r13*2], 0x22
inc r13
mov qword [rbp + 0x10], r13
cmp word [rbx + 2], 0
lea rax, [rbx + 4]
cmovne rdi, rax
mov eax, r12d
jmp 0x1400057f3
lea rcx, [rbp - 0x48]
call fcn.14000cdd0
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x40]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x140005b25
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x48]
call fcn.1400034b0
mov eax, 1
mov qword [rbp - 0x28], rax
mov bl, 1
xor esi, esi
xor eax, eax
mov qword [rbp - 8], rax
jmp 0x140005b41
test r13, r13
jne 0x140005b7e
test r12b, r12b
jne 0x140005b7e
mov rdi, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
mov r12, qword [rbp - 8]
mov rbx, qword [rbp - 0x20]
mov rdx, qword [rbp]
test rdx, rdx
jne 0x140005bd1
jmp 0x140005be3
mov qword [rbp - 8], rdx
mov qword [rbp - 0x28], rcx
mov rsi, qword [rbp - 0x38]
movzx ebx, byte [rbp - 0x30]
mov eax, dword [rbp - 0x2f]
mov dword [rbp], eax
mov eax, dword [rbp - 0x2c]
mov dword [rbp + 3], eax
lea rcx, [rbp - 0x20]
call fcn.1400045c0
mov rdi, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
mov qword [rdi], rax
mov rax, qword [rbp - 0x28]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rsi
mov byte [rdi + 0x18], bl
mov eax, dword [rbp]
mov ecx, dword [rbp + 3]
mov dword [rdi + 0x1c], ecx
mov dword [rdi + 0x19], eax
mov rbx, qword [rbp - 0x20]
mov esi, 1
jmp 0x140005bfe
mov rdx, qword [rbp + 8]
lea rcx, [rbp - 0x48]
mov r8, r13
call fcn.140008080
mov rsi, qword [rbp - 0x10]
cmp rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 8]
jne 0x140005ba5
lea rcx, [rbp - 0x20]
call fcn.1400045c0
mov rdi, qword [rbp - 0x18]
mov rax, rsi
shl rax, 5
movups xmm0, xmmword [rbp - 0x48]
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rdi + rax + 0x10], xmm1
movups xmmword [rdi + rax], xmm0
inc rsi
mov rbx, qword [rbp - 0x20]
mov rdx, qword [rbp]
test rdx, rdx
je 0x140005be3
mov rcx, qword [rbp + 8]
add rdx, rdx
mov r8d, 2
call fcn.140002100
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x140005bfe
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x28]
call fcn.140002100
shl rsi, 5
add rsi, rdi
mov qword [r12], rdi
mov qword [r12 + 8], rdi
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], rsi
mov rax, r12
movaps xmm6, xmmword [rbp + 0x20]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret