Function at 0x140049370
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 0x1400497b3
mov rdi, rax
movzx esi, word [rax]
test si, si
je 0x1400497b3
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 0x140049418
jmp 0x140049464
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 0x140049464
add rdi, 2
cmp si, 9
je 0x140049440
movzx ecx, si
cmp ecx, 0x20
je 0x140049440
cmp ecx, 0x22
jne 0x140049446
not r15b
and r15b, 1
movzx esi, word [rdi]
test si, si
jne 0x140049418
jmp 0x140049464
test r15b, 1
je 0x140049464
cmp r14, qword [rbp - 0x60]
jne 0x140049404
mov rcx, rbx
call fcn.140047fe0
jmp 0x140049400
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140049460
cmp eax, 9
je 0x140049460
mov rsi, qword [rbp - 0x58]
lea rcx, [rbp - 0x48]
mov rdx, rsi
mov r8, r14
call fcn.14004bdf0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 8], r12
lea rcx, [rbp - 0x20]
call fcn.140048080
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 [0x1400616b0]
xor eax, eax
jmp 0x1400494f3
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 0x1400497f5
mov rbx, rdi
add rdi, 2
cmp esi, 0x21
jg 0x1400495a0
cmp esi, 9
je 0x14004951f
cmp esi, 0x20
jne 0x140049610
test r12b, r12b
jne 0x140049610
mov r15, qword [rbp + 8]
lea rcx, [rbp - 0x48]
mov rdx, r15
mov r8, r13
call fcn.14004bdf0
mov rsi, qword [rbp - 0x10]
cmp rsi, qword [rbp - 0x20]
jne 0x14004954e
lea rcx, [rbp - 0x20]
call fcn.140048080
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 0x140049584
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140049580
cmp eax, 9
je 0x140049580
xor r13d, r13d
mov eax, r12d
jmp 0x1400494f3
cmp esi, 0x22
je 0x140049627
cmp esi, 0x5c
jne 0x140049610
movzx eax, word [rdi]
xor esi, esi
cmp ax, 0x5c
jne 0x1400495d2
nop dword [rax]
add rdi, 2
movzx eax, word [rbx + rsi*2 + 4]
inc rsi
cmp ax, 0x5c
je 0x1400495c0
lea r14, [rsi + 1]
cmp ax, 0x22
jne 0x14004964d
mov rbx, r14
shr rbx, 1
mov rax, qword [rbp]
sub rax, r13
cmp rax, rbx
jae 0x140049671
mov rcx, rbp
mov rdx, r13
mov r8, rbx
call fcn.14005f610
mov r13, qword [rbp + 0x10]
jmp 0x14004967b
cmp r13, qword [rbp]
jne 0x1400494e0
mov rcx, rbp
call fcn.140047fe0
jmp 0x1400494e0
mov al, 1
test r12b, r12b
je 0x1400494f3
movzx ecx, word [rdi]
cmp ecx, 0x22
je 0x14004977e
xor eax, eax
test ecx, ecx
jne 0x1400494f3
jmp 0x14004987e
mov rax, qword [rbp]
sub rax, r13
cmp rax, r14
jae 0x14004968d
mov rcx, rbp
mov rdx, r13
mov r8, r14
call fcn.14005f610
mov r15, qword [rbp + 8]
mov r13, qword [rbp + 0x10]
jmp 0x140049696
cmp r14, 2
jb 0x14004973f
mov r15, qword [rbp + 8]
cmp r14, 0x20
jae 0x1400496f4
mov rax, rbx
jmp 0x140049730
test r14, r14
je 0x1400494ec
cmp r14, 0x10
jae 0x1400496a1
mov rax, r14
jmp 0x1400496e0
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 0x1400496c0
cmp r14, rcx
je 0x1400494ec
nop dword [rax]
mov word [r15 + r13*2], 0x5c
inc r13
dec rax
jne 0x1400496e0
jmp 0x1400494ec
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 0x140049710
cmp rbx, rcx
je 0x14004973f
nop dword [rax]
mov word [r15 + r13*2], 0x5c
inc r13
dec rax
jne 0x140049730
mov qword [rbp + 0x10], r13
mov eax, r12d
test sil, 1
jne 0x1400494f3
xor esi, esi
cmp word [rdi], 0
setne bl
cmp r13, qword [rbp]
jne 0x140049767
mov rcx, rbp
call fcn.140047fe0
mov sil, bl
lea rdi, [rdi + rsi*2]
mov r15, qword [rbp + 8]
mov word [r15 + r13*2], 0x22
jmp 0x1400494e9
cmp r13, qword [rbp]
jne 0x14004978c
mov rcx, rbp
call fcn.140047fe0
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 0x1400494f3
lea rcx, [rbp - 0x48]
call fcn.140050ce0
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x40]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x140049825
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x48]
call fcn.140047100
mov eax, 1
mov qword [rbp - 0x28], rax
mov bl, 1
xor esi, esi
xor eax, eax
mov qword [rbp - 8], rax
jmp 0x140049841
test r13, r13
jne 0x14004987e
test r12b, r12b
jne 0x14004987e
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 0x1400498d1
jmp 0x1400498e3
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.140048080
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 0x1400498fe
mov rdx, qword [rbp + 8]
lea rcx, [rbp - 0x48]
mov r8, r13
call fcn.14004bdf0
mov rsi, qword [rbp - 0x10]
cmp rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 8]
jne 0x1400498a5
lea rcx, [rbp - 0x20]
call fcn.140048080
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 0x1400498e3
mov rcx, qword [rbp + 8]
add rdx, rdx
mov r8d, 2
call fcn.140044640
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x1400498fe
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x28]
call fcn.140044640
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