Function at 0x140049060
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 rdi, rcx
call qword [sym.imp.kernel32.dll_GetCommandLineW]
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 8
mov qword [rbp], 0
test rax, rax
mov qword [rbp - 0x60], rdi
je 0x1400495e9
mov r13, rax
movzx esi, word [rax]
test si, si
je 0x1400495e9
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x48], 2
mov qword [rbp - 0x40], 0
mov eax, 2
xor r8d, r8d
lea rbx, [rbp - 0x50]
xor edi, edi
test si, si
jne 0x14004911e
jmp 0x140049174
mov rax, qword [rbp - 0x48]
mov r8, qword [rbp - 0x40]
mov word [rax + r8*2], si
inc r8
mov qword [rbp - 0x40], r8
movzx esi, word [r13]
test si, si
je 0x140049174
add r13, 2
cmp si, 9
je 0x140049150
movzx ecx, si
cmp ecx, 0x20
je 0x140049150
cmp ecx, 0x22
jne 0x140049156
not dil
and dil, 1
movzx esi, word [r13]
test si, si
jne 0x14004911e
jmp 0x140049174
test dil, 1
je 0x140049174
cmp r8, qword [rbp - 0x50]
jne 0x140049108
mov rcx, rbx
mov rdx, r8
call fcn.140047c90
jmp 0x140049100
add r13, 2
movzx eax, word [r13]
cmp eax, 0x20
je 0x140049170
cmp eax, 9
je 0x140049170
mov rsi, qword [rbp - 0x48]
lea rcx, [rbp - 0x38]
mov rdx, rsi
call fcn.14004bce0
mov qword [rbp - 0x18], rsi
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.1400479f0
mov rax, qword [rbp - 8]
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], 0
mov qword [rbp + 0x10], 2
mov qword [rbp + 0x18], 0
mov ebx, 2
xor r8d, r8d
movaps xmm6, xmmword [str._]
xor eax, eax
jmp 0x140049217
mov r8, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x10]
mov word [rbx + r8*2], si
inc r8
mov qword [rbp + 0x18], r8
mov eax, r12d
mov r12d, eax
movzx esi, word [r13]
test esi, esi
je 0x140049678
mov rdi, r13
add r13, 2
cmp esi, 0x21
jg 0x1400492d0
cmp esi, 9
je 0x140049245
cmp esi, 0x20
jne 0x140049340
test r12b, r12b
jne 0x140049340
mov rbx, qword [rbp + 0x10]
lea rcx, [rbp - 0x38]
mov rdx, rbx
call fcn.14004bce0
mov rdx, qword [rbp]
cmp rdx, qword [rbp - 0x10]
jne 0x140049275
lea rcx, [rbp - 0x10]
call fcn.1400479f0
mov rdx, qword [rbp]
mov rax, qword [rbp - 8]
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 0x1400492b4
add r13, 2
movzx eax, word [r13]
cmp eax, 0x20
je 0x1400492b0
cmp eax, 9
je 0x1400492b0
xor r8d, r8d
mov eax, r12d
jmp 0x140049217
cmp esi, 0x22
je 0x14004935b
cmp esi, 0x5c
jne 0x140049340
movzx eax, word [r13]
xor r15d, r15d
cmp ax, 0x5c
jne 0x140049303
nop dword [rax]
add r13, 2
movzx eax, word [rdi + r15*2 + 4]
inc r15
cmp ax, 0x5c
je 0x1400492f0
inc r15
cmp ax, 0x22
jne 0x140049383
mov r14, r15
shr r14, 1
mov rax, qword [rbp + 8]
sub rax, r8
cmp rax, r14
jae 0x1400493a8
lea rcx, [rbp + 8]
mov rdx, r8
mov r8, r14
call fcn.140062270
mov r8, qword [rbp + 0x18]
jmp 0x1400493b2
cmp r8, qword [rbp + 8]
jne 0x140049204
lea rcx, [rbp + 8]
mov rdx, r8
call fcn.140047c90
jmp 0x140049200
mov al, 1
test r12b, r12b
je 0x140049217
movzx ecx, word [r13]
cmp ecx, 0x22
je 0x140049422
xor eax, eax
test ecx, ecx
jne 0x140049217
jmp 0x1400496f2
mov rax, qword [rbp + 8]
sub rax, r8
cmp rax, r15
jae 0x1400493eb
lea rcx, [rbp + 8]
mov rdx, r8
mov r8, r15
call fcn.140062270
mov rbx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x18]
jmp 0x1400493f4
cmp r15, 2
jb 0x14004959f
mov rbx, qword [rbp + 0x10]
cmp r15, 0x20
jb 0x140049590
mov rax, r14
and rax, 0xfffffffffffffff0
lea rdi, [rax - 0x10]
mov rdx, rdi
shr rdx, 4
inc rdx
mov ecx, edx
and ecx, 3
cmp rdi, 0x30
jae 0x140049504
xor edi, edi
jmp 0x140049551
test r15, r15
je 0x140049210
cmp r15, 0x10
jb 0x1400494f0
mov rax, r15
and rax, 0xfffffffffffffff0
lea rdi, [rax - 0x10]
mov rdx, rdi
shr rdx, 4
inc rdx
mov ecx, edx
and ecx, 3
cmp rdi, 0x30
jae 0x14004945f
xor edi, edi
jmp 0x1400494a1
cmp r8, qword [rbp + 8]
jne 0x140049438
lea rcx, [rbp + 8]
mov rdx, r8
call fcn.140047c90
mov r8, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x10]
mov word [rbx + r8*2], 0x22
inc r8
mov qword [rbp + 0x18], r8
cmp word [rdi + 2], 0
lea rax, [rdi + 4]
cmovne r13, rax
mov eax, r12d
jmp 0x140049217
and rdx, 0xfffffffffffffffc
lea rsi, [rbx + r8*2]
add rsi, 0x70
xor edi, edi
nop dword [rax]
movups xmmword [rsi + rdi*2 - 0x70], xmm6
movups xmmword [rsi + rdi*2 - 0x60], xmm6
movups xmmword [rsi + rdi*2 - 0x50], xmm6
movups xmmword [rsi + rdi*2 - 0x40], xmm6
movups xmmword [rsi + rdi*2 - 0x30], xmm6
movups xmmword [rsi + rdi*2 - 0x20], xmm6
movups xmmword [rsi + rdi*2 - 0x10], xmm6
movups xmmword [rsi + rdi*2], xmm6
add rdi, 0x40
add rdx, 0xfffffffffffffffc
jne 0x140049470
test rcx, rcx
je 0x1400494d2
add rdi, r8
lea rdx, [rbx + rdi*2]
add rdx, 0x10
shl rcx, 5
xor edi, edi
nop word [rax + rax]
movups xmmword [rdx + rdi - 0x10], xmm6
movups xmmword [rdx + rdi], xmm6
add rdi, 0x20
cmp rcx, rdi
jne 0x1400494c0
add r8, rax
cmp r15, rax
je 0x140049210
and r15d, 0xf
nop word cs:[rax + rax]
mov word [rbx + r8*2], 0x5c
inc r8
dec r15
jne 0x1400494f0
jmp 0x140049210
and rdx, 0xfffffffffffffffc
lea rsi, [rbx + r8*2]
add rsi, 0x70
xor edi, edi
nop word cs:[rax + rax]
movups xmmword [rsi + rdi*2 - 0x70], xmm6
movups xmmword [rsi + rdi*2 - 0x60], xmm6
movups xmmword [rsi + rdi*2 - 0x50], xmm6
movups xmmword [rsi + rdi*2 - 0x40], xmm6
movups xmmword [rsi + rdi*2 - 0x30], xmm6
movups xmmword [rsi + rdi*2 - 0x20], xmm6
movups xmmword [rsi + rdi*2 - 0x10], xmm6
movups xmmword [rsi + rdi*2], xmm6
add rdi, 0x40
add rdx, 0xfffffffffffffffc
jne 0x140049520
test rcx, rcx
je 0x140049582
add rdi, r8
lea rdx, [rbx + rdi*2]
add rdx, 0x10
shl rcx, 5
xor edi, edi
nop word [rax + rax]
movups xmmword [rdx + rdi - 0x10], xmm6
movups xmmword [rdx + rdi], xmm6
add rdi, 0x20
cmp rcx, rdi
jne 0x140049570
add r8, rax
cmp r14, rax
je 0x14004959f
and r14d, 0xf
nop
mov word [rbx + r8*2], 0x5c
inc r8
dec r14
jne 0x140049590
mov qword [rbp + 0x18], r8
mov eax, r12d
test r15b, 1
je 0x140049217
xor esi, esi
cmp word [r13], 0
setne bl
cmp r8, qword [rbp + 8]
jne 0x1400495d1
lea rcx, [rbp + 8]
mov rdx, r8
call fcn.140047c90
mov r8, qword [rbp + 0x18]
mov sil, bl
lea r13, [r13 + rsi*2]
mov rbx, qword [rbp + 0x10]
mov word [rbx + r8*2], 0x22
jmp 0x14004920d
lea rcx, [rbp - 0x38]
call fcn.1400516b0
movzx eax, byte [rbp - 0x20]
mov rdx, qword [rbp - 0x38]
cmp al, 2
jne 0x1400496a0
mov qword [rbp + 8], 0
mov qword [rbp + 0x10], 1
mov qword [rbp + 0x18], 0
mov byte [rbp + 0x20], 1
mov eax, edx
and eax, 3
cmp eax, 1
jne 0x1400496bb
lea rax, [rdx - 1]
mov qword [rbp - 0x18], rax
mov rcx, qword [rdx - 1]
mov qword [rbp - 0x58], rdx
mov rax, qword [rdx + 7]
call qword [rax]
mov rax, qword [rbp - 0x58]
mov rax, qword [rax + 7]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rsi, qword [rbp - 0x18]
je 0x140049663
mov r8, qword [rax + 0x10]
mov rcx, qword [rsi]
call fcn.140043660
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140043660
jmp 0x1400496bb
test r8, r8
jne 0x1400496f2
test r12b, r12b
jne 0x1400496f2
mov rsi, qword [rbp - 8]
mov rdi, qword [rbp]
mov rbx, qword [rbp - 0x10]
mov rdx, qword [rbp + 8]
test rdx, rdx
jne 0x140049745
jmp 0x140049757
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x10], xmm0
mov ecx, dword [rbp - 0x1f]
mov dword [rbp + 0x21], ecx
mov ecx, dword [rbp - 0x1c]
mov dword [rbp + 0x24], ecx
mov qword [rbp + 8], rdx
mov byte [rbp + 0x20], al
lea rcx, [rbp - 0x10]
xor edx, edx
call fcn.1400479f0
mov rsi, qword [rbp - 8]
mov rdi, qword [rbp]
mov rax, rdi
shl rax, 5
movups xmm0, xmmword [rbp + 8]
movups xmm1, xmmword [rbp + 0x18]
movups xmmword [rsi + rax + 0x10], xmm1
movups xmmword [rsi + rax], xmm0
inc rdi
mov rbx, qword [rbp - 0x10]
jmp 0x140049772
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp - 0x38]
call fcn.14004bce0
mov rdi, qword [rbp]
cmp rdi, qword [rbp - 0x10]
jne 0x140049719
lea rcx, [rbp - 0x10]
mov rdx, rdi
call fcn.1400479f0
mov rdi, qword [rbp]
mov rsi, qword [rbp - 8]
mov rax, rdi
shl rax, 5
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rsi + rax + 0x10], xmm1
movups xmmword [rsi + rax], xmm0
inc rdi
mov rbx, qword [rbp - 0x10]
mov rdx, qword [rbp + 8]
test rdx, rdx
je 0x140049757
mov rcx, qword [rbp + 0x10]
add rdx, rdx
mov r8d, 2
call fcn.140043660
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140049772
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x18]
call fcn.140043660
shl rdi, 5
add rdi, rsi
mov rax, qword [rbp - 0x60]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 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