joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014e70
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x140014ec0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x140014f26
movsxd rax, dword [rsp + 0x20]
add rax, 0xa
mov r8, rax
xor edx, edx
mov rcx, qword [0x14064a960]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
jmp 0x140014f51
movsxd rax, dword [rsp + 0x20]
add rax, 0xa
mov r9, rax
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x14064a960]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 2
div rcx
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
add rcx, qword [rdx]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.140015590
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x140015040
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
add rsp, 0x38
ret

Function at 0x140015070
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
add rax, 2
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x1400151f0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x140015330
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x140647060], 0xffffffff
jne 0x14001535f
call fcn.140014e00
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rax
lea rcx, [0x1400152e0]
call fcn.14005e310
jmp 0x140015390
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140015390
call fcn.140015960
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rax
lea rcx, [0x1400152e0]
call fcn.14005e310
add rsp, 0x28
ret

Function at 0x1400153d0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x58], 0xffffffff
jne 0x140015400
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
lea rax, [rcx + rax*2]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
sub rcx, 4
cmp rax, rcx
jl 0x140015470
mov eax, dword [rsp + 0x20]
add eax, 0x4000
cdqe
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
add rax, 0xa
mov r9, rax
mov rax, qword [rsp + 0x28]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x14064a960]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
add rax, qword [rcx]
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x50]
lea rax, [rax + rcx*2]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400154b0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x40]
shl eax, 1
cdqe
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x10]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x1400154f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
cmp qword [rsp + 0x40], rax
jb 0x14001554b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
cmp qword [rsp + 0x40], rax
ja 0x14001554b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
inc rax
jmp 0x14001554d
xor eax, eax
add rsp, 0x38
ret
Function at 0x140015560
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
lea rax, [rcx + rax - 1]
add rsp, 0x38
ret

Function at 0x140015960
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x38
mov r8d, 0x18
xor edx, edx
mov rcx, qword [0x14064a960]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x20], rax
mov r8d, 0x10
xor edx, edx
mov rcx, qword [0x14064a960]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0x10
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x10], 0
mov rdx, qword [rsp + 0x20]
mov ecx, dword [0x140647060]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x1400339c0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1c8
cmp dword [0x14064a428], 0
jne 0x140033a65
mov rax, qword [sym.imp.msvcrt.dll_malloc]
mov dword [0x14064a428], 1
mov qword [sub.msvcrt.dll_malloc], rax
mov rax, qword [sym.imp.msvcrt.dll_free]
mov qword [fcn.14000409c], rax
mov rax, qword [sym.imp.msvcrt.dll_realloc]
mov qword [0x140647078], rax
lea rax, case.0x14003c377.0
mov qword [case.0x14003c377.11], rax
mov rax, qword [sym.imp.msvcrt.dll_calloc]
mov qword [case.0x14003c377.1], rax
call fcn.14003d9a0
test eax, eax
je 0x140033a93
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x140033a93
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x140033a8d
shr ax, 8
cmp al, 2
jne 0x140033a8d
call fcn.14003e060
test eax, eax
jne 0x140033a93
mov dword [0x14064a42c], 3
lea rcx, [rsp + 0x1d0]
call fcn.1400357d0
mov rcx, qword [rsp + 0x1d0]
xor edx, edx
test eax, eax
cmovne rcx, rdx
mov rax, rcx
add rsp, 0x1c8
ret
call qword [sym.imp.WSOCK32.DLL_WSACleanup]
xor eax, eax
add rsp, 0x1c8
ret
Function at 0x140033e10
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1c0
mov eax, dword [0x14064a428]
mov ebx, ecx
mov edx, eax
inc eax
mov dword [0x14064a428], eax
test edx, edx
jne 0x140033ed7
mov rax, qword [sym.imp.msvcrt.dll_malloc]
mov qword [sub.msvcrt.dll_malloc], rax
mov rax, qword [sym.imp.msvcrt.dll_free]
mov qword [fcn.14000409c], rax
mov rax, qword [sym.imp.msvcrt.dll_realloc]
mov qword [0x140647078], rax
lea rax, case.0x14003c377.0
mov qword [case.0x14003c377.11], rax
mov rax, qword [sym.imp.msvcrt.dll_calloc]
mov qword [case.0x14003c377.1], rax
test cl, 1
je 0x140033e87
call fcn.14003d9a0
test eax, eax
je 0x140033ee8
test bl, 2
je 0x140033eba
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x140033ee8
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x140033ee2
shr ax, 8
cmp al, 2
jne 0x140033ee2
call fcn.14003e060
test eax, eax
jne 0x140033ee8
mov eax, dword [0x14064a48c]
test bl, 4
mov ecx, 1
cmovne eax, ecx
mov dword [0x14064a42c], ebx
mov dword [0x14064a48c], eax
xor eax, eax
add rsp, 0x1c0
pop rbx
ret
call qword [sym.imp.WSOCK32.DLL_WSACleanup]
mov eax, 2
add rsp, 0x1c0
pop rbx
ret

Function at 0x140038c40
Capabilities:
Write file on windows

Disassembly:
mov rdx, qword [r8 + 0x10]
mov r9, rcx
or rax, 0xffffffffffffffff
mov qword [r8 + 0x18], rdx
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140038c50
test rax, rax
je 0x140038c6a
cmp byte [rdx + rax - 1], 0x2e
jne 0x140038c6a
mov byte [rdx + rax - 1], 0
mov rcx, qword [r8 + 0x10]
movzx eax, byte [rcx]
test al, al
je 0x140038c94
lea rcx, [rcx + 1]
and al, 0x80
jne 0x140038c85
movzx eax, byte [rcx]
test al, al
jne 0x140038c75
ret
lea rdx, str.IDN_support_not_present__cant_parse_Unicode_domains_n
mov rcx, r9
jmp fcn.14003e620
ret
Function at 0x14003ed80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rcx + 0x258]
mov rdi, r9
mov rsi, r8
mov rbx, rcx
test r10, r10
je 0x14003edc3
mov rax, qword [rcx + 0x1a8]
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 2
ja 0x14003ee08
mov r9, qword [rbx + 0x1a0]
movsxd rax, edx
mov edx, 2
lea rcx, [rax + rax*2]
lea rax, [0x140072fc8]
lea r8d, [rdx - 1]
add rcx, rax
call qword [sym.imp.msvcrt.dll_fwrite]
mov r9, qword [rbx + 0x1a0]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fwrite]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x798]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x140041e2d
mov rax, qword [rcx + 0x80]
test rax, rax
jne 0x140041df3
cmp qword [rcx + 0x78], rax
je 0x140041e2d
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 0
test rax, rax
jne 0x140041e06
mov rax, qword [rcx + 0x78]
mov rcx, qword [rax + 0x60]
lea r8, [0x140042d40]
lea rdx, [rsp + 0x20]
call fcn.14004ac40
cmp byte [rsp + 0x28], 0
jne 0x140041e41
mov qword [rdi + 0x798], 0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test rsi, rsi
je 0x140041e49
mov qword [rsi], rbx
cmp byte [rbx + 0x1f0], 0
mov rdi, qword [rbx + 0x1a8]
je 0x140041e67
mov rcx, rbx
call fcn.14003d330
test eax, eax
jne 0x140041e83
jmp 0x140041e2d
mov r9d, 2
lea rdx, [rsp + 0x40]
mov rcx, rdi
lea r8d, [r9 - 1]
call qword [sym.imp.WSOCK32.DLL_recv]
test eax, eax
je 0x140041e2d
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x1400423f0
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xd0
mov dword [rax + 0x18], 0x4020
mov dword [rax + 0x10], 0
mov dword [rax + 0x20], 4
mov eax, dword [0x14064a450]
mov rbx, rcx
test eax, eax
jne 0x140042485
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x9c
call sub.msvcrt.dll_memset
mov r8b, 3
mov edx, 2
xor ecx, ecx
mov dword [rsp + 0x30], 0x9c
mov dword [rsp + 0x34], 6
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
je 0x140042479
mov dword [0x14064a450], 2
add rsp, 0xd0
pop rbx
ret
mov dword [0x14064a450], 1
jmp 0x14004248a
cmp eax, 2
je 0x1400424eb
lea rax, [rsp + 0xf8]
lea r9, [rsp + 0xe8]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WSOCK32.DLL_getsockopt]
test eax, eax
jne 0x1400424c7
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0xe8], eax
jg 0x1400424eb
lea r9, [rsp + 0xf0]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov dword [rsp + 0x20], 4
call qword [sym.imp.WSOCK32.DLL_setsockopt]
add rsp, 0xd0
pop rbx
ret
Function at 0x14005e310
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x14064a4e0], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x14064a4f0]
jne 0x14005e35d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x14064a518], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x14064a4e0], 1
mov ecx, dword [0x14064a518]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x14005e432
mov rcx, qword [0x1406493b0]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x14005e45d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14064a4e8]
test rax, rax
je 0x14005e3ad
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x14064a4e8], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x14005e478]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x14064a518]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1406493b0]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14005e45d
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x401713
Capabilities:
Resolve dns

Disassembly:
push r13
push r12
push rdi
sub rsp, 0x450
xor eax, eax
mov r9d, 0x401
mov r10, rcx
lea rdi, [rsp + 0x4f]
mov ecx, 0x401
mov r12, r8
rep stosb byte [rdi], al
lea r13, [rsp + 0x4f]
mov dword [rsp + 0x30], 2
mov rcx, r10
mov r8, r13
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov r8d, eax
xor eax, eax
test r8d, r8d
jne 0x40177a
mov rdx, r13
mov rcx, r12
call fcn.005d8a20
mov al, 1
add rsp, 0x450
pop rdi
pop r12
pop r13
ret
push r13
push r12
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [rcx]
mov r12, rcx
mov r13d, edx
mov rsi, r8
mov rbx, r9
cmp ax, 2
je 0x527654
cmp ax, 0x17
jne 0x52767d
movzx ecx, word [r12 + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov r8, rsi
mov edx, r13d
mov rcx, r12
movzx eax, ax
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
jmp 0x401713
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
ret

Function at 0x40260f
Capabilities:
Copy file

Disassembly:
push r12
sub rsp, 0x130
xor ecx, ecx
mov r8d, 0x104
lea r12, [rsp + 0x2c]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rdx, qword [0x0066e060]
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CopyFileA]
nop
add rsp, 0x130
pop r12
ret

Function at 0x40264c
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x68
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareDeltanetworkDeltasoftware
mov rcx, 0xffffffff80000001
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 0x2001f
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea rax, str.U2FsdGVkX1_vLGqBFOvrrj1xz_xmFqcX5Ougarm0UD8
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov r9d, 1
lea rdx, [0x006128a5]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x2d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x68
ret

Function at 0x4026d6
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x78
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareDeltanetworkDeltasoftware
mov rcx, 0xffffffff80000001
lea rax, [rsp + 0x68]
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea rax, [rsp + 0x64]
xor r8d, r8d
mov dword [rsp + 0x64], 4
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
lea rdx, str.Discord
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40278f
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov r9d, 4
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.Discord
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x78
ret
Function at 0x402822
Capabilities:
Execute command

Disassembly:
push r15
push r14
push r13
push r12
sub rsp, 0xa8
lea r8, [0x0066e0c0]
lea rdx, str.powershell_Compress_Archive__Path_
lea r13, [rsp + 0x40]
lea r14, [rsp + 0x60]
mov rcx, r13
call fcn.005ff3b0
lea r8, str.__DestinationPath_
mov rdx, r13
mov rcx, r14
call fcn.005ff2d0
lea r15, [rsp + 0x80]
lea r8, [0x0066e080]
mov rdx, r14
mov rcx, r15
call fcn.005ff300
lea r12, [rsp + 0x20]
lea r8, str.__Force
mov rdx, r15
mov rcx, r12
call fcn.005ff2d0
mov rcx, r15
call fcn.005d5f80
mov rcx, r14
call fcn.005d5f80
mov rcx, r13
call fcn.005d5f80
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_system
mov rcx, r12
call fcn.005d5f80
nop
add rsp, 0xa8
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x403d36
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x158
xor edx, edx
mov rbx, rcx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x403d7e
mov rcx, qword [0x0062bc40]
lea rdx, str.Error_al_crear_el_snapshot_de_procesos.
xor r14d, r14d
call fcn.005fecb0
mov rcx, rax
call fcn.005fc1f0
jmp 0x403dfb
lea rsi, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x130
xor r14d, r14d
mov rdx, rsi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x403df2
mov rdi, qword [sym.imp.msvcrt.dll__stricmp]
mov rdx, qword [rbx]
lea rcx, [rsp + 0x4c]
call rdi
test eax, eax
jne 0x403de3
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
test rax, rax
je 0x403de3
xor edx, edx
mov rcx, rax
mov r14b, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rsi
mov rcx, r12
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403da4
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret

Function at 0x40401f
Capabilities:
Encrypt data using dpapi

Disassembly:
push r13
push r12
push rbx
add rsp, 0xffffffffffffff80
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rdx]
mov qword [rsp + 0x58], rax
mov rax, qword [rdx + 8]
mov r12, rcx
xor edx, edx
mov byte [rsp + 0x70], 0
lea rcx, [rsp + 0x50]
lea r13, [rsp + 0x60]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x4040bb
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
cmp dword [rsp + 0x40], ebx
jle 0x4040a8
movsx edx, byte [rcx + rbx]
mov rcx, r13
call fcn.005d81a0
inc rbx
jmp 0x40408c
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, r13
mov rcx, r12
call fcn.005d8220
jmp 0x4040df
lea rdx, [0x00613e54]
mov rcx, r12
call fcn.00403b14
jmp 0x4040df
mov rcx, r13
call fcn.005d5f80
mov rax, r12
sub rsp, 0xffffffffffffff80
pop rbx
pop r12
pop r13
ret
Function at 0x404224
Capabilities:
Copy file

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov r12, rcx
mov rbx, rdx
call fcn.005d8360
lea rdx, str..delta
mov rcx, r12
call fcn.005d6c70
jmp 0x40424b
mov rdx, qword [r12]
mov rcx, qword [rbx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret

Function at 0x4043d3
Capabilities:
Enumerate processes

Disassembly:
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x170
xor edx, edx
mov qword [rcx], 0
mov r12, rcx
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rbx, [rsp + 0x40]
mov rcx, rax
mov dword [rsp + 0x40], 0x130
mov r13, rax
mov rdx, rbx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x404491
lea rsi, [rsp + 0x6c]
lea r14, [rsp + 0x20]
lea rdx, str..exe
mov rcx, rsi
call sub.msvcrt.dll_strstr
test rax, rax
je 0x404482
mov rdx, rsi
mov rcx, r14
call fcn.00403b14
mov rcx, qword [r12 + 8]
cmp rcx, qword [r12 + 0x10]
je 0x40446c
mov rdx, r14
call fcn.005d8220
add qword [r12 + 8], 0x20
jmp 0x40447a
mov rdx, rcx
mov r8, r14
mov rcx, r12
call fcn.005d2580
mov rcx, r14
call fcn.005d5f80
mov rdx, rbx
mov rcx, r13
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x404431
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r12
add rsp, 0x170
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret

Function at 0x40e320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movsxd r12, dword [rdx]
mov rdi, r12
mov r13, rdx
movzx edx, byte [r8]
mov rbp, rcx
mov rcx, r8
lea rbx, [rbp + r12]
test dl, dl
je 0x40e38d
mov eax, edx
mov rsi, r8
lea r10, [0x00625c40]
xor r9d, r9d
nop word [rax + rax]
movzx r8d, al
test byte [r10 + r8], 6
jne 0x40e36f
cmp al, 0x5f
jne 0x40e37f
movzx eax, byte [rsi + 1]
add rsi, 1
add r9d, 1
test al, al
jne 0x40e360
movzx eax, dl
test byte [r10 + rax], 4
je 0x40e420
mov byte [rbx], 0x22
add edi, 1
movzx edx, byte [rcx]
mov r8d, 1
movsxd r12, edi
mov eax, edi
lea rbx, [rbp + r12]
test dl, dl
jne 0x40e3c2
jmp 0x40e408
movzx edx, byte [rcx + 1]
add rcx, 1
test dl, dl
je 0x40e3ec
movsxd r12, eax
mov rdi, r12
lea eax, [rdi + 1]
mov byte [rbp + r12], dl
movsxd rbx, eax
add rbx, rbp
cmp byte [rcx], 0x22
jne 0x40e3b0
add rcx, 1
mov byte [rbx], 0x22
lea eax, [rdi + 2]
movzx edx, byte [rcx]
movsxd rbx, eax
add rbx, rbp
test dl, dl
jne 0x40e3bc
test r8d, r8d
jne 0x40e408
mov byte [rbx], 0
mov dword [r13], eax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
add eax, 1
mov byte [rbx], 0x22
movsxd rbx, eax
add rbx, rbp
jmp 0x40e3f1
mov dword [rsp + 0x2c], 0x3b
cmp r9d, 1
jle 0x40e460
lea r8, [rsp + 0x2c]
mov edx, r9d
call fcn.0040e1e0
cmp dword [rsp + 0x2c], 0x3b
jne 0x40e38d
cmp byte [rsi], 0
jne 0x40e38d
movzx edx, byte [rcx]
test dl, dl
jne 0x40e477
mov eax, edi
jmp 0x40e3f1
cmp byte [rsi], 0
setne al
xor r9d, 1
and r9d, 1
or al, r9b
jne 0x40e38d
xor r8d, r8d
jmp 0x40e3c2