Function at 0x1800589e0
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 0x180058e23
mov rdi, rax
movzx esi, word [rax]
test si, si
je 0x180058e23
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 0x180058a88
jmp 0x180058ad4
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 0x180058ad4
add rdi, 2
cmp si, 9
je 0x180058ab0
movzx ecx, si
cmp ecx, 0x20
je 0x180058ab0
cmp ecx, 0x22
jne 0x180058ab6
not r15b
and r15b, 1
movzx esi, word [rdi]
test si, si
jne 0x180058a88
jmp 0x180058ad4
test r15b, 1
je 0x180058ad4
cmp r14, qword [rbp - 0x60]
jne 0x180058a74
mov rcx, rbx
call fcn.1800566b0
jmp 0x180058a70
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x180058ad0
cmp eax, 9
je 0x180058ad0
mov rsi, qword [rbp - 0x58]
lea rcx, [rbp - 0x48]
mov rdx, rsi
mov r8, r14
call fcn.18005c120
mov qword [rbp - 0x28], rsi
mov qword [rbp - 8], r12
lea rcx, [rbp - 0x20]
call fcn.180056800
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 [0x180094b50]
xor eax, eax
jmp 0x180058b63
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 0x180058e65
mov rbx, rdi
add rdi, 2
cmp esi, 0x21
jg 0x180058c10
cmp esi, 9
je 0x180058b8f
cmp esi, 0x20
jne 0x180058c80
test r12b, r12b
jne 0x180058c80
mov r15, qword [rbp + 8]
lea rcx, [rbp - 0x48]
mov rdx, r15
mov r8, r13
call fcn.18005c120
mov rsi, qword [rbp - 0x10]
cmp rsi, qword [rbp - 0x20]
jne 0x180058bbe
lea rcx, [rbp - 0x20]
call fcn.180056800
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 0x180058bf4
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x180058bf0
cmp eax, 9
je 0x180058bf0
xor r13d, r13d
mov eax, r12d
jmp 0x180058b63
cmp esi, 0x22
je 0x180058c97
cmp esi, 0x5c
jne 0x180058c80
movzx eax, word [rdi]
xor esi, esi
cmp ax, 0x5c
jne 0x180058c42
nop dword [rax]
add rdi, 2
movzx eax, word [rbx + rsi*2 + 4]
inc rsi
cmp ax, 0x5c
je 0x180058c30
lea r14, [rsi + 1]
cmp ax, 0x22
jne 0x180058cbd
mov rbx, r14
shr rbx, 1
mov rax, qword [rbp]
sub rax, r13
cmp rax, rbx
jae 0x180058ce1
mov rcx, rbp
mov rdx, r13
mov r8, rbx
call fcn.180079380
mov r13, qword [rbp + 0x10]
jmp 0x180058ceb
cmp r13, qword [rbp]
jne 0x180058b50
mov rcx, rbp
call fcn.1800566b0
jmp 0x180058b50
mov al, 1
test r12b, r12b
je 0x180058b63
movzx ecx, word [rdi]
cmp ecx, 0x22
je 0x180058dee
xor eax, eax
test ecx, ecx
jne 0x180058b63
jmp 0x180058eee
mov rax, qword [rbp]
sub rax, r13
cmp rax, r14
jae 0x180058cfd
mov rcx, rbp
mov rdx, r13
mov r8, r14
call fcn.180079380
mov r15, qword [rbp + 8]
mov r13, qword [rbp + 0x10]
jmp 0x180058d06
cmp r14, 2
jb 0x180058daf
mov r15, qword [rbp + 8]
cmp r14, 0x20
jae 0x180058d64
mov rax, rbx
jmp 0x180058da0
test r14, r14
je 0x180058b5c
cmp r14, 0x10
jae 0x180058d11
mov rax, r14
jmp 0x180058d50
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 0x180058d30
cmp r14, rcx
je 0x180058b5c
nop dword [rax]
mov word [r15 + r13*2], 0x5c
inc r13
dec rax
jne 0x180058d50
jmp 0x180058b5c
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 0x180058d80
cmp rbx, rcx
je 0x180058daf
nop dword [rax]
mov word [r15 + r13*2], 0x5c
inc r13
dec rax
jne 0x180058da0
mov qword [rbp + 0x10], r13
mov eax, r12d
test sil, 1
jne 0x180058b63
xor esi, esi
cmp word [rdi], 0
setne bl
cmp r13, qword [rbp]
jne 0x180058dd7
mov rcx, rbp
call fcn.1800566b0
mov sil, bl
lea rdi, [rdi + rsi*2]
mov r15, qword [rbp + 8]
mov word [r15 + r13*2], 0x22
jmp 0x180058b59
cmp r13, qword [rbp]
jne 0x180058dfc
mov rcx, rbp
call fcn.1800566b0
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 0x180058b63
lea rcx, [rbp - 0x48]
call fcn.1800639b0
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x40]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x180058e95
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x48]
call fcn.180055520
mov eax, 1
mov qword [rbp - 0x28], rax
mov bl, 1
xor esi, esi
xor eax, eax
mov qword [rbp - 8], rax
jmp 0x180058eb1
test r13, r13
jne 0x180058eee
test r12b, r12b
jne 0x180058eee
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 0x180058f41
jmp 0x180058f53
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.180056800
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 0x180058f6e
mov rdx, qword [rbp + 8]
lea rcx, [rbp - 0x48]
mov r8, r13
call fcn.18005c120
mov rsi, qword [rbp - 0x10]
cmp rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 8]
jne 0x180058f15
lea rcx, [rbp - 0x20]
call fcn.180056800
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 0x180058f53
mov rcx, qword [rbp + 8]
add rdx, rdx
mov r8d, 2
call fcn.180006090
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x180058f6e
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x28]
call fcn.180006090
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