Function at 0x140001f30
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rsi
push r12
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
movups xmm0, xmmword [str.HVDAgent.dll]
lea rcx, [rbp - 0x46]
movzx eax, word [0x140004350]
movsd xmm1, qword [0x140004348]
xor edx, edx
mov r8d, 0x1ee
movaps xmmword [rbp - 0x60], xmm0
movsd qword [rbp - 0x50], xmm1
mov word [rbp - 0x48], ax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x3c0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
movdqa xmm0, xmmword [0x140004390]
xor r12d, r12d
mov rsi, 0xffffffffffffffff
mov word [rbp - 0x80], r12w
movdqu xmmword [rbp - 0x70], xmm0
mov r8, rsi
inc r8
cmp word [rax + r8*2], r12w
jne 0x140001fc2
mov qword [rsp + 0x910], rbx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x918], rdi
mov rdx, rax
mov qword [rsp + 0x920], r14
call fcn.1400018b0
movdqa xmm1, xmmword [0x140004390]
lea rdx, [0x140004354]
xorps xmm0, xmm0
mov qword [rsp + 0x38], r12
mov r8d, 1
mov word [rsp + 0x40], r12w
lea rcx, [rsp + 0x40]
movdqu xmmword [rsp + 0x28], xmm0
movdqu xmmword [rsp + 0x50], xmm1
call fcn.1400018b0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x80]
call fcn.140001d00
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000207e
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002079
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000245d
call fcn.1400024e4
mov rdi, qword [rsp + 0x28]
cmp qword [rdi + 0x78], 8
lea r14, [rdi + 0x60]
mov qword [rsp + 0x928], r15
mov r15, qword [r14 + 0x10]
jb 0x14000209d
mov r14, qword [r14]
cmp r15, 8
jae 0x1400020b7
movups xmm0, xmmword [r14]
mov qword [rsp + 0x78], 7
movups xmmword [rsp + 0x60], xmm0
jmp 0x1400020fa
movabs rax, 0x7ffffffffffffffe
lea rcx, [rsp + 0x60]
mov rbx, r15
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.140001830
lea r8, [r15*2 + 2]
mov qword [rsp + 0x60], rax
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], rbx
lea r8, [rbp - 0x60]
mov qword [rsp + 0x70], r15
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x60]
call fcn.140001b60
mov r15, qword [rsp + 0x928]
mov rbx, rax
test rax, rax
jne 0x14000225e
xor edx, edx
lea rcx, [rbp + 0x5d0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x1b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140002176
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
movdqa xmm0, xmmword [0x140004390]
lea rax, [rbp + 0x1b0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
inc rsi
cmp word [rax + rsi*2], r12w
jne 0x140002191
mov r8, rsi
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x40]
call fcn.1400018b0
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x5d0]
lea rcx, [rsp + 0x40]
call fcn.140001b60
mov rbx, rax
test rax, rax
jne 0x140002219
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0x58]
mov r14d, eax
cmp rdx, 8
jb 0x140002283
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002212
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002252
call fcn.1400024e4
jmp 0x140002283
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000225e
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002259
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002259
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400024e4
lea rdx, str.HVDAgentEntryPoint
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x140002369
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400022c5
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022c0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000245d
call fcn.1400024e4
test rdi, rdi
je 0x140002321
mov rsi, qword [rsp + 0x30]
mov rbx, rdi
cmp rdi, rsi
je 0x1400022e8
mov rcx, rbx
call fcn.1400016e0
add rbx, 0x20
cmp rbx, rsi
jne 0x1400022d7
mov rdx, qword [rsp + 0x38]
mov rax, rdi
sub rdx, rdi
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x140002319
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000245d
mov rcx, rdi
call fcn.1400024e4
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140002361
mov rcx, qword [rbp - 0x80]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000235c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000245d
call fcn.1400024e4
mov eax, r14d
jmp 0x140002469
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [rsp + 0x20]
mov rdx, rax
call rbx
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400023c8
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023c3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000245d
call fcn.1400024e4
test rdi, rdi
je 0x140002426
mov rsi, qword [rsp + 0x30]
mov rbx, rdi
cmp rdi, rsi
je 0x1400023f1
nop word [rax + rax]
mov rcx, rbx
call fcn.1400016e0
add rbx, 0x20
cmp rbx, rsi
jne 0x1400023e0
mov rdx, qword [rsp + 0x38]
mov rax, rdi
sub rdx, rdi
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x14000241e
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000245d
mov rcx, rdi
call fcn.1400024e4
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140002469
mov rcx, qword [rbp - 0x80]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002464
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002464
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400024e4
mov r14, qword [rsp + 0x920]
mov rdi, qword [rsp + 0x918]
mov rbx, qword [rsp + 0x910]
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.140002600
add rsp, 0x8f0
pop r12
pop rsi
pop rbp
ret