Function at 0x140003990
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
mov ebx, ecx
lea rdx, str.ANYDESK.EXE
lea rcx, [rbp - 0x20]
call fcn.1400049b0
nop
cmp ebx, 1
jle 0x140003c33
lea rcx, [rbp - 0x20]
call fcn.140002000
test eax, eax
jne 0x140003c33
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 9
mov qword [rsp + 0x60], 0xf
movsd xmm0, qword [str.NTDLL.DLL]
movsd qword [rsp + 0x48], xmm0
movzx eax, byte [0x140007550]
mov byte [rsp + 0x50], al
mov byte [rsp + 0x51], 0
lea rcx, [rsp + 0x48]
call fcn.140001f50
xorps xmm0, xmm0
test eax, eax
jne 0x140003abd
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 0xc
mov qword [rbp - 0x80], 0xf
movsd xmm0, qword [str.KERNEL32.DLL]
movsd qword [rsp + 0x68], xmm0
mov eax, dword [0x140007560]
mov dword [rsp + 0x70], eax
mov byte [rsp + 0x74], 0
lea rcx, [rsp + 0x68]
call fcn.140001420
mov edx, 0xce8c9c77
mov rcx, rax
call fcn.140001930
lea rcx, str.ntdll.dll
call rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], 9
mov qword [rbp - 0x60], 0xf
movsd xmm0, qword [str.NTDLL.DLL]
movsd qword [rbp - 0x78], xmm0
movzx eax, byte [0x140007550]
mov byte [rbp - 0x70], al
mov byte [rbp - 0x6f], 0
lea rcx, [rbp - 0x78]
jmp 0x140003af0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], 9
mov qword [rbp - 0x40], 0xf
movsd xmm0, qword [str.NTDLL.DLL]
movsd qword [rbp - 0x58], xmm0
movzx eax, byte [0x140007550]
mov byte [rbp - 0x50], al
mov byte [rbp - 0x4f], 0
lea rcx, [rbp - 0x58]
call fcn.140001420
mov edx, 0x253bd815
mov rcx, rax
call fcn.140001930
call rax
mov ebx, eax
test eax, eax
je 0x140003c71
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0xc
mov qword [rsp + 0x40], 0xf
movsd xmm0, qword [str.KERNEL32.DLL]
movsd qword [rsp + 0x28], xmm0
mov ecx, dword [0x140007560]
mov dword [rsp + 0x30], ecx
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x28]
call fcn.140001420
mov edx, 0xa31e29d2
mov rcx, rax
call fcn.140001930
mov r8d, ebx
xor edx, edx
mov ecx, 0x1000
call rax
test rax, rax
jne 0x140003c71
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x28]
call fcn.140004b60
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140002250
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140003bd8
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005994
movdqa xmm0, xmmword [0x1400076a0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
lea rcx, [rbp - 0x38]
call fcn.140002570
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140003c33
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005994
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140003c7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.140005994
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140005930
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret