Function at 0x140040640
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14019d040]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.14008f970
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14004088e
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1401793b8]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400408de
lea rdx, [0x140179408]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400408cd
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1401904a0]
mov rbx, rax
movsxd r13, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r13, r13
je 0x140040824
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
test r13d, r13d
js 0x1400408d4
movabs rbp, 0x7ffffffffffffff7
shl r13, 3
lea r15, [r13*2]
add r15, r13
mov rcx, r15
call fcn.1400c5ab8
mov r14, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
add rax, r15
mov qword [rsp + 0x40], rax
xor esi, esi
jmp 0x1400407d8
mov rax, r12
or rax, 3
lea rdi, [rax + 1]
cmp rax, 0xb
mov eax, 0xd
cmove rdi, rax
test rdi, rdi
js 0x1400408c0
lea rcx, [rdi + rdi]
call fcn.1400c5ab8
mov rcx, rax
mov qword [r14], rax
lea rax, [rdi + rbp]
add rax, 9
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], r12
lea rdi, [rcx + r12*2]
cmp r15, rcx
jb 0x1400407b3
cmp r15, rdi
jb 0x1400408be
test r12, r12
je 0x1400407c6
add r12, r12
mov rdx, r15
mov r8, r12
call fcn.1400f5780
mov word [rdi], 0
add r14, 0x18
add rsi, 8
cmp r13, rsi
je 0x140040815
test r14, r14
je 0x1400408be
mov r15, qword [rbx + rsi]
test r15, r15
je 0x1400408be
mov rcx, r15
call fcn.1400e09e8
cmp rax, rbp
ja 0x1400408c5
mov r12, rax
cmp rax, 0xa
ja 0x140040761
mov byte [r14 + 0x17], r12b
mov rcx, r14
jmp 0x1400407a1
mov qword [rsp + 0x38], r14
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140040340
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14004084b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x14004088e
mov rdi, qword [rsp + 0x38]
cmp rsi, rdi
je 0x140040886
add rdi, 0xffffffffffffffe8
jmp 0x140040879
mov rcx, qword [rdi]
call fcn.1400c5af4
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140040886
test rdi, rdi
je 0x1400408be
cmp byte [rdi + 0x17], 0
js 0x140040865
jmp 0x14004086d
mov rcx, rsi
call fcn.1400c5af4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
cmp rcx, qword [0x14019d040]
je 0x1400408a5
call fcn.1400c6de0
int3
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
call fcn.1400f6890
mov rcx, r14
call fcn.1400f6850
xor ebx, ebx
jmp 0x1400406f5
lea rcx, [rsp + 0x30]
call fcn.1400f6a90
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1400406f2