joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fc8a0
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r9
mov rdi, r8
mov qword [rsp + 0x28], rcx
mov r14, qword [rdx + 0x18]
cmp r14, 0xffffffffffffffff
je 0x1400fca30
mov rax, qword [rsp + 0xb0]
mov r15, qword [rdx + 0x10]
mov r13, qword [rdx + 0x20]
cmp rax, 0x7fffffff
mov r12d, 0x7fffffff
cmovb r12, rax
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
mov rdx, r15
mov r8, rdi
mov r9b, 1
call fcn.1400ff240
movzx eax, byte [rsp + 0x39]
cmp al, 3
je 0x1400fca4d
mov rsi, qword [rsp + 0x30]
cmp al, 2
je 0x1400fca64
movzx ebx, byte [rsp + 0x38]
mov rcx, r14
mov rdx, qword [rsp + 0x40]
mov r8d, r12d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x1400fca76
call sub.ws2_32.dll_WSAGetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rbp
call fcn.1400467a0
cmp al, 0xd
jne 0x1400fc989
test r13, r13
je 0x1400fc989
mov rcx, qword [r13]
mov rdx, qword [r13 + 8]
lock inc qword [rdx]
jle 0x1400fcaab
add rcx, 0x10
mov r8, qword [r13 + 0x10]
movzx r9d, byte [r13 + 0x18]
call fcn.1400466b0
test rax, rax
cmovne rbp, rax
mov rcx, rbp
call fcn.1400467a0
cmp al, 0xd
jne 0x1400fca8a
and esi, 0x23
mov rax, qword [r15 + 0xd0]
xor rsi, 0x2f
mov rcx, rbx
shl rcx, 0x10
nop
mov edx, eax
shr edx, 0x10
cmp bl, dl
jne 0x1400fc9cb
mov edx, esi
and edx, eax
or rdx, rcx
lock cmpxchg qword [r15 + 0xd0], rdx
jne 0x1400fc9b0
mov eax, ebp
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400fc8f0
test rax, rax
je 0x1400fc8f0
mov rsi, qword [rbp - 1]
mov rbx, qword [rbp + 7]
mov rcx, rsi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x1400fca17
cmp qword [rbx + 0x10], 0x11
jb 0x1400fca06
mov rsi, qword [rsi - 8]
mov rcx, qword [0x140205100]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
dec rbp
mov rcx, qword [0x140205100]
xor edx, edx
mov r8, rbp
call sub.kernel32.dll_HeapFree
jmp 0x1400fc8f0
mov rdx, qword [rdx + 0x10]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov r9b, 1
call fcn.1400ff240
movzx eax, byte [rsp + 0x39]
cmp al, 3
jne 0x1400fca5b
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x1400fca9a
cmp al, 2
jne 0x1400fcaab
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
jmp 0x1400fca9a
cdqe
mov rcx, qword [rsp + 0x28]
mov qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x1400fca9a
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rbp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x140101510
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0xc8
mov rdi, rcx
mov ecx, dword [0x140194120]
test ecx, ecx
je 0x1401016e3
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140101545
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x140101718
mov ecx, dword [0x140194120]
test ecx, ecx
je 0x14010171e
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14010173b
mov rsi, rax
test rax, rax
jne 0x1401015da
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x140101597
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14010175d
mov rcx, rax
mov qword [0x140205100], rax
mov r8d, 0x60
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x14010175d
mov rsi, rax
lea rax, [0x140194108]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140194120]
test ecx, ecx
je 0x14010174a
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rax, [rsi + 8]
test rdi, rdi
je 0x1401015ff
lea rdx, [rdi + 8]
cmp qword [rdi], 0
mov qword [rdi], 0
lea rcx, [0x1401cd910]
cmovne rcx, rdx
jmp 0x140101606
lea rcx, [0x1401cd910]
movups xmm0, xmmword [rcx + 0x40]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
movups xmm3, xmmword [rcx + 0x30]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rcx, qword [rax + 0x50]
mov qword [rsp + 0xc0], rcx
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0xa0], xmm3
movaps xmmword [rsp + 0x90], xmm2
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsi + 8], 1
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movaps xmm3, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x40], xmm3
movups xmmword [rsi + 0x30], xmm2
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x10], xmm0
cmp qword [rsp + 0x70], 0
je 0x140101718
mov rax, qword [rsp + 0x80]
cmp rax, 2
je 0x140101718
lea rcx, [rsp + 0x88]
test rax, rax
je 0x140101705
mov rax, qword [rsp + 0x88]
lock dec qword [rax]
jne 0x140101718
call fcn.1400fead0
jmp 0x140101718
lea rcx, [0x140194108]
call fcn.1400db390
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140101537
jmp 0x140101545
mov rax, qword [rsp + 0x88]
lock dec qword [rax]
jne 0x140101718
call fcn.1400fe3f0
add rsi, 0x10
jmp 0x14010173d
lea rcx, [0x140194108]
call fcn.1400db390
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140101564
xor esi, esi
mov rax, rsi
add rsp, 0xc8
pop rdi
pop rsi
ret
lea rcx, [0x140194108]
call fcn.1400db390
mov ecx, eax
jmp 0x1401015d2
ud2
Function at 0x140101760
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1401940f8]
test ecx, ecx
je 0x14010178f
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1401017a8
mov rsi, rax
cmp qword [rax + 8], 0
je 0x1401017a8
add rsi, 8
jmp 0x1401018d7
lea rcx, [0x1401940e0]
call fcn.1400db390
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x14010177c
mov ecx, dword [0x1401940f8]
test ecx, ecx
je 0x1401018b8
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1401018d5
mov rsi, rax
test rax, rax
jne 0x14010183d
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x1401017fa
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401018f3
mov rcx, rax
mov qword [0x140205100], rax
mov r8d, 0x10
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401018f3
mov rsi, rax
lea rax, [0x1401940e0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1401940f8]
test ecx, ecx
je 0x1401018e0
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x140101868
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401018f3
mov rcx, rax
mov qword [0x140205100], rax
mov r8d, 0x30
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1401018f3
add rsi, 8
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
mov byte [rax + 0x18], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x20], xmm0
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x1401018d7
lock dec qword [rcx]
jne 0x1401018d7
call fcn.140092870
jmp 0x1401018d7
lea rcx, [0x1401940e0]
call fcn.1400db390
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1401017c7
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401940e0]
call fcn.1400db390
mov ecx, eax
jmp 0x140101835
ud2
Function at 0x1401134b0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x50], 0
lea r12, [rsp + 0x50]
mov qword [rsp + 0x20], r12
lea rcx, [0x1401f0d44]
lea r9, [0x1401f0d28]
xor ebx, ebx
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x1401135bf
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1401135d6
mov rcx, r15
mov rdx, r14
call fcn.14010fa70
mov r14, rax
mov qword [rsp + 0x50], 0
mov rax, qword [rdi]
mov qword [rsp + 0x40], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x20], 0
xor r15d, r15d
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
js 0x1401135f8
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140113610
test r14, r14
je 0x14011357a
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x140113657
mov qword [rsi + 8], rbx
mov byte [rsi], 0x11
jmp 0x14011363e
mov ecx, eax
call fcn.14010f630
mov ebx, edx
test rax, rax
je 0x1401135d6
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
movzx eax, byte [rsp + 0x4f]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x4d]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
jmp 0x140113647
mov ecx, eax
call fcn.14010f630
mov r15d, edx
test rax, rax
je 0x140113610
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
test r14, r14
je 0x14011361d
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
movzx eax, byte [rsp + 0x4f]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x4d]
mov word [rsi + 1], ax
mov dword [rsi + 4], r15d
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, eax
call fcn.14010f630
mov ebp, edx
test rax, rax
je 0x14011366e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
movzx eax, byte [rsp + 0x52]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x50]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebp
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x18], rax
mov byte [rsi], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x14011363e
Function at 0x140115dc0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140116b80
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140116b80
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140115e30
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1402051a4]
mov rbx, rcx
test esi, esi
jle 0x140115f60
mov rax, qword [0x1402051a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140115e7b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140115f05
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140115e60
mov rcx, rbx
call fcn.1401168a0
mov rdi, rax
test rax, rax
je 0x140115f82
mov rax, qword [0x1402051a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1401169e0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1402051a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140115f67
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140115efe
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140115f10
add dword [0x1402051a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1402051a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140115efe
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140115dc0
nop dword [rax]
xor esi, esi
jmp 0x140115e88
mov rax, qword [0x1402051a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140115dc0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140115dc0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140116510
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140205200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1402051e0]
test rbx, rbx
je 0x14011656c
mov rbp, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140116563
test eax, eax
jne 0x140116563
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140116548
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1401168a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401f53d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401168c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401168c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401168c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14011691d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140116914
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401168c0
add rax, 0x28
cmp rax, r9
jne 0x140116900
xor eax, eax
ret

Function at 0x140116920
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401f53d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14011693f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140116948
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14011693f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1401169e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401f53d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1401169ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140116a08
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14018ff20
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9d, dword [rcx + 0x60]
mov ebx, dword [rcx + 0x5c]
mov r8, rcx
test r9d, r9d
jle 0x14018ffe8
mov r10, qword [0x1401f5350]
mov edx, dword [rcx + 0x288]
movzx r11d, bl
xor ecx, ecx
nop word [rax + rax]
mov eax, edx
add ecx, 1
shl edx, 8
shr eax, 0x18
xor eax, r11d
xor edx, dword [r10 + rax*4]
cmp ecx, r9d
jne 0x14018ff50
mov eax, ebx
mov dword [r8 + 0x288], edx
mov byte [r8 + rax + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
add rax, qword [r8 + 0x40]
cmp ecx, 2
je 0x14018ffe0
cmp ecx, 3
je 0x14018ffa0
cmp ecx, 1
jne 0x14018fff2
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
mov byte [rax], bl
jmp 0x14018ffb6
mov eax, ebx
mov byte [rcx + rax + 0x80], 1
sub r9d, 4
movsxd r9, r9d
mov byte [r8 + r9 + 0x80], 1
movsxd rax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
mov rdx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
cdqe
mov byte [rdx + rax], bl
mov eax, dword [r8 + 0x6c]
movzx ebx, byte [r8 + 0x60]
mov rcx, qword [r8 + 0x40]
add eax, 1
mov dword [r8 + 0x6c], eax
lea edx, [rbx - 4]
cdqe
mov byte [rcx + rax], dl
mov eax, dword [r8 + 0x6c]
add eax, 1
mov dword [r8 + 0x6c], eax
pop rbx
ret
Function at 0x141b5f3b0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x141b5f3ba
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x141b5f3e3
pop rbp
sub rbp, 0x33
sub rbp, 0x1b5f3b0
sub rsp, 0x20
jmp 0x141b5f402
mov rax, 0x1b5f3b0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x898976d
xor byte [rax], dl
inc rax
dec rcx
jne 0x141b5f421
jmp 0x141b5f438
and eax, 0xe4e684e4
push rcx
insd dword [rdi], dx
insd dword [rdi], dx
insd dword [rdi], dx
and eax, 0x6c65acec
insd dword [rdi], dx
insd dword [rdi], dx
and eax, 0xaa25846c
lodsd eax, dword [rsi]
insd dword [rdi], dx
insd dword [rdi], dx
insd dword [rdi], dx
and eax, 0x6d45afaa
insd dword [rdi], dx
insd dword [rdi], dx
and eax, 0x6c258f9a
lodsb al, byte [rsi]
out 0xec, al
invalid
Function at 0x45b4b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, r8d
mov edx, edx
lea rdx, [rcx + rdx]
cmp rcx, rdx
jae 0x45b4d4
movzx r8, byte [rcx]
xor eax, r8d
imul eax, eax, 0x1000193
add rcx, 1
cmp rcx, rdx
jb 0x45b4be
nop
ret

Function at 0x472630
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov byte [rbp + 0x88], dl
cmp byte [rbp + 0x88], 0
je 0x47266e
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.0040c3f0
mov qword [rbp + 0x80], rax
nop
mov rcx, qword [0x0046a570]
mov dl, 1
call fcn.0049f6d0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rcx, qword [0x00471118]
mov dl, 1
call fcn.004a4470
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x10], rax
mov rcx, qword [0x00471118]
mov dl, 1
call fcn.004a4470
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x18], rax
lea rcx, [rbp + 0x30]
call sub.kernel32.dll_GetSystemInfo
mov rax, qword [rbp + 0x80]
mov ecx, dword [rbp + 0x34]
mov dword [rax + 0x20], ecx
cmp byte [rbp + 0x88], 0
je 0x47272b
mov rcx, qword [rbp + 0x80]
call fcn.0040c430
mov qword [rbp + 0x80], rax
jmp 0x47272b
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret

Function at 0x4f1510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov qword [rbp + 0x60], r8
movzx rax, byte [rbp + 0x70]
mov byte [rbp + 0x70], al
mov rcx, rsi
mov rdx, qword [rbp + 0x60]
mov r8, r9
call sub.kernel32.dll_FindResourceW
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x20], 0
jne 0x4f154f
mov rcx, rbp
call fcn.004f1430
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_LoadResource
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x28], 0
jne 0x4f156e
mov rcx, rbp
call fcn.004f1430
mov rcx, qword [rbx + 0x28]
call sub.kernel32.dll_LockResource
mov rdi, rax
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call sub.kernel32.dll_SizeofResource
mov rcx, rbx
mov rdx, rdi
mov r8d, eax
call fcn.004f0530
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x503be0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
movzx rax, byte [rcx + 0x19]
or al, dl
test al, al
je 0x503c30
cmp byte [rcx + 0x1d], 0
jne 0x503c30
cmp byte [rcx + 0x40], 0
jne 0x503c30
mov byte [rcx + 0x1b], 0
mov byte [rcx + 0x19], 0
mov rcx, qword [rcx + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x503c4d
mov rcx, qword [0x004c4728]
mov dl, 1
mov r8, qword [0x005549e0]
call fcn.00437c80
mov rcx, rax
call fcn.0040deb0
jmp 0x503c4d
mov rcx, qword [0x004c4728]
mov dl, 1
mov r8, qword [0x005549e0]
call fcn.00437c80
mov rcx, rax
call fcn.0040deb0
add rsp, 0x28
ret
Function at 0x5048e0
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.00503a60
jmp 0x50493b
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x504960
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.00503a60
cmp esi, 1
jne 0x50498a
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x52d7b0
Capabilities:
Get hostname

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov dword [rbp + 0x34], 0x1f
mov ecx, dword [rbp + 0x34]
call fcn.004091b0
mov qword [rbp + 0x38], rax
nop
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp + 0x34]
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x52d7f4
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x38]
call fcn.0040ffe0
jmp 0x52d808
mov rcx, qword [rbp + 0x50]
mov edx, 1
mov r8d, 2
call fcn.0052ca10
nop
mov rcx, qword [rbp + 0x38]
call fcn.004091e0
mov rax, qword [rbp + 0x50]
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x52e030
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x50], r8
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x88], 0
nop
lea rcx, [rbp + 0x78]
mov edx, 0xd
mov r8d, 0xe
call fcn.0052ca10
lea rcx, [rbp + 0x70]
mov edx, 0xe
mov r8d, 0xf
call fcn.0052ca10
lea rcx, [rbp + 0x88]
mov edx, 6
mov r8, qword [rbp + 0x78]
mov r9, qword [rbp + 0x40]
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [0x0052e1dc]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x38], rax
call fcn.00410480
lea rcx, [rbp + 0x68]
mov edx, 0xf
mov r8d, 0x10
call fcn.0052ca10
mov rcx, qword [rbp + 0x68]
call fcn.0040ff50
mov rbx, rax
lea rcx, [rbp + 0x60]
mov edx, 0x10
mov r8d, 0x11
call fcn.0052ca10
mov rcx, qword [rbp + 0x60]
call fcn.0040ff50
mov rsi, rax
lea rcx, [rbp + 0x58]
mov edx, 0x11
mov r8d, 0x12
call fcn.0052ca10
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x88]
call fcn.00410280
mov rcx, qword [rbp + 0x58]
call fcn.0040ff50
xor ecx, ecx
mov rdx, rbx
mov r8, rsi
mov r9, rax
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call sub.shell32.dll_ShellExecuteW
nop
lea rcx, [rbp + 0x58]
mov edx, 5
call fcn.0040ecc0
lea rcx, [rbp + 0x88]
call fcn.0040ebe0
lea rsp, [rbp + 0x90]
pop rbx
pop rsi
pop rbp
ret