Function at 0x140045c80
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x30], xmm6
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov rsi, rcx
call qword [sym.imp.kernel32.dll_GetCommandLineW]
mov qword [rbp - 0x10], 8
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
test rax, rax
je 0x140046115
mov rdi, rax
movzx r14d, word [rax]
test r14w, r14w
je 0x140046115
mov qword [rbp - 0x50], 2
movups xmmword [rbp - 0x48], xmm0
mov eax, 2
xor r8d, r8d
lea rbx, [rbp - 0x50]
xor r15d, r15d
test r14w, r14w
jne 0x140045d16
jmp 0x140045d84
mov word [rax + r8*2], r14w
inc r8
mov qword [rbp - 0x40], r8
movzx r14d, word [rdi]
test r14w, r14w
je 0x140045d84
add rdi, 2
cmp r14w, 9
je 0x140045d50
movzx ecx, r14w
cmp ecx, 0x20
je 0x140045d50
cmp ecx, 0x22
jne 0x140045d56
not r15b
and r15b, 1
movzx r14d, word [rdi]
test r14w, r14w
jne 0x140045d16
jmp 0x140045d84
test r15b, 1
je 0x140045d84
cmp r8, qword [rbp - 0x48]
jne 0x140045d00
mov rcx, rbx
mov rdx, r8
call fcn.1400447e0
mov rax, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
jmp 0x140045d00
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140045d80
cmp eax, 9
je 0x140045d80
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x18], rdx
call fcn.140048930
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.140044610
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp]
mov rdx, rcx
shl rdx, 5
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rax + rdx + 0x10], xmm1
movups xmmword [rax + rdx], xmm0
inc rcx
mov qword [rbp], rcx
mov qword [rbp + 8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov r13d, 2
xor r8d, r8d
lea r12, [rbp + 8]
movaps xmm6, xmmword [str._]
xor eax, eax
jmp 0x140045e18
mov r8, qword [rbp + 0x18]
mov r13, qword [rbp + 8]
mov word [r13 + r8*2], r15w
inc r8
mov qword [rbp + 0x18], r8
mov eax, r14d
mov r14d, eax
movzx r15d, word [rdi]
test r15d, r15d
je 0x1400461a8
mov rbx, rdi
add rdi, 2
cmp r15d, 0x21
jg 0x140045ed0
cmp r15d, 9
je 0x140045e49
cmp r15d, 0x20
jne 0x140045f40
test r14b, r14b
jne 0x140045f40
mov r13, qword [rbp + 8]
lea rcx, [rbp - 0x38]
mov rdx, r13
call fcn.140048930
mov rdx, qword [rbp]
cmp rdx, qword [rbp - 8]
jne 0x140045e79
lea rcx, [rbp - 0x10]
call fcn.140044610
mov rdx, qword [rbp]
mov rax, qword [rbp - 0x10]
mov rcx, rdx
shl rcx, 5
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rdx
mov qword [rbp], rdx
mov qword [rbp + 0x18], 0
jmp 0x140045eb4
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140045eb0
cmp eax, 9
je 0x140045eb0
xor r8d, r8d
mov eax, r14d
jmp 0x140045e18
cmp r15d, 0x22
je 0x140045f5a
cmp r15d, 0x5c
jne 0x140045f40
movzx eax, word [rdi]
xor r15d, r15d
cmp ax, 0x5c
jne 0x140045f03
nop dword [rax]
add rdi, 2
movzx eax, word [rbx + r15*2 + 4]
inc r15
cmp ax, 0x5c
je 0x140045ef0
inc r15
cmp ax, 0x22
jne 0x140045f80
mov rbx, r15
shr rbx, 1
mov rax, qword [rbp + 0x10]
sub rax, r8
cmp rax, rbx
jae 0x140045fa4
mov rcx, r12
mov rdx, r8
mov r8, rbx
call fcn.140069a50
mov r8, qword [rbp + 0x18]
jmp 0x140045fae
cmp r8, qword [rbp + 0x10]
jne 0x140045e04
mov rcx, r12
mov rdx, r8
call fcn.1400447e0
jmp 0x140045e00
mov al, 1
test r14b, r14b
je 0x140045e18
movzx ecx, word [rdi]
cmp ecx, 0x22
je 0x1400460d8
xor eax, eax
test ecx, ecx
jne 0x140045e18
jmp 0x140046222
mov rax, qword [rbp + 0x10]
sub rax, r8
cmp rax, r15
jae 0x140045fc0
mov rcx, r12
mov rdx, r8
mov r8, r15
call fcn.140069a50
mov r13, qword [rbp + 8]
mov r8, qword [rbp + 0x18]
jmp 0x140045fc9
cmp r15, 2
jb 0x140046090
mov r13, qword [rbp + 8]
cmp r15, 0x20
jae 0x140046035
mov rax, rbx
jmp 0x140046080
test r15, r15
je 0x140045e11
cmp r15, 0x10
jae 0x140045fd4
mov rax, r15
jmp 0x140046020
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov eax, r15d
and eax, 0xf
lea rdx, [r8*2 + 0x10]
add rdx, r13
add r8, rcx
xor r9d, r9d
nop word cs:[rax + rax]
movups xmmword [rdx + r9*2 - 0x10], xmm6
movups xmmword [rdx + r9*2], xmm6
add r9, 0x10
cmp rcx, r9
jne 0x140046000
cmp r15, rcx
je 0x140045e11
nop dword [rax]
mov word [r13 + r8*2], 0x5c
inc r8
dec rax
jne 0x140046020
jmp 0x140045e11
mov rcx, rbx
and rcx, 0xfffffffffffffff0
mov eax, ebx
and eax, 0xf
lea rdx, [r8*2 + 0x10]
add rdx, r13
add r8, rcx
xor r9d, r9d
nop word cs:[rax + rax]
movups xmmword [rdx + r9*2 - 0x10], xmm6
movups xmmword [rdx + r9*2], xmm6
add r9, 0x10
cmp rcx, r9
jne 0x140046060
cmp rbx, rcx
je 0x140046090
nop dword [rax]
mov word [r13 + r8*2], 0x5c
inc r8
dec rax
jne 0x140046080
mov qword [rbp + 0x18], r8
mov eax, r14d
test r15b, 1
je 0x140045e18
xor ebx, ebx
cmp word [rdi], 0
setne r15b
cmp r8, qword [rbp + 0x10]
jne 0x1400460c0
mov rcx, r12
mov rdx, r8
call fcn.1400447e0
mov r8, qword [rbp + 0x18]
mov bl, r15b
lea rdi, [rdi + rbx*2]
mov r13, qword [rbp + 8]
mov word [r13 + r8*2], 0x22
jmp 0x140045e0e
cmp r8, qword [rbp + 0x10]
jne 0x1400460ed
mov rcx, r12
mov rdx, r8
call fcn.1400447e0
mov r8, qword [rbp + 0x18]
mov r13, qword [rbp + 8]
mov word [r13 + r8*2], 0x22
inc r8
mov qword [rbp + 0x18], r8
cmp word [rbx + 2], 0
lea rax, [rbx + 4]
cmovne rdi, rax
mov eax, r14d
jmp 0x140045e18
lea rcx, [rbp - 0x38]
call fcn.140051270
movzx ecx, byte [rbp - 0x20]
mov rax, qword [rbp - 0x38]
cmp cl, 2
jne 0x1400461d0
mov qword [rbp + 8], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov byte [rbp + 0x20], 1
mov ecx, eax
and ecx, 3
lea rdx, [rcx - 2]
cmp rdx, 2
jb 0x1400461eb
test rcx, rcx
je 0x1400461eb
lea rcx, [rax - 1]
mov qword [rbp - 0x18], rcx
mov rcx, qword [rax - 1]
mov rax, qword [rax + 7]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rax
call qword [rax]
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140046192
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x58]
call fcn.1400032c0
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.1400032c0
jmp 0x1400461eb
test r8, r8
jne 0x140046222
test r14b, r14b
jne 0x140046222
mov rbx, qword [rbp - 0x10]
mov rdi, qword [rbp]
mov r14, qword [rbp - 8]
mov rdx, qword [rbp + 0x10]
test rdx, rdx
jne 0x140046275
jmp 0x140046287
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x10], xmm0
mov edx, dword [rbp - 0x1f]
mov dword [rbp + 0x21], edx
mov edx, dword [rbp - 0x1c]
mov dword [rbp + 0x24], edx
mov qword [rbp + 8], rax
mov byte [rbp + 0x20], cl
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.140044610
mov rbx, qword [rbp - 0x10]
mov rdi, qword [rbp]
mov rax, rdi
shl rax, 5
movups xmm0, xmmword [rbp + 8]
movups xmm1, xmmword [rbp + 0x18]
movups xmmword [rbx + rax + 0x10], xmm1
movups xmmword [rbx + rax], xmm0
inc rdi
mov r14, qword [rbp - 8]
jmp 0x1400462a2
mov rdx, qword [rbp + 8]
lea rcx, [rbp - 0x38]
call fcn.140048930
mov rdi, qword [rbp]
cmp rdi, qword [rbp - 8]
jne 0x140046249
lea rcx, [rbp - 0x10]
mov rdx, rdi
call fcn.140044610
mov rdi, qword [rbp]
mov rbx, qword [rbp - 0x10]
mov rax, rdi
shl rax, 5
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rbx + rax + 0x10], xmm1
movups xmmword [rbx + rax], xmm0
inc rdi
mov r14, qword [rbp - 8]
mov rdx, qword [rbp + 0x10]
test rdx, rdx
je 0x140046287
mov rcx, qword [rbp + 8]
add rdx, rdx
mov r8d, 2
call fcn.1400032c0
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1400462a2
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x18]
call fcn.1400032c0
shl rdi, 5
add rdi, rbx
mov qword [rsi], rbx
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rdi
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x30]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret