joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f900
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x42fb9e
sub rsp, 0xa0
mov qword [rsp + 0x98], rbp
lea rbp, [rsp + 0x98]
mov qword [rsp + 0x48], 0
mov rax, qword [0x011ad140]
lea rcx, [rsp + 0x48]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x18], 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 2
call fcn.004301a0
xorps xmm15, xmm15
mov r14, qword [0x012521c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
je 0x42fb75
mov rax, qword [r14 + 0x30]
mov qword [rsp + 0x80], rax
test byte [rax], al
lea rcx, [rax + 0x308]
mov qword [rsp + 0x88], rcx
nop
mov rax, rcx
call fcn.0040afc0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
mov qword [rdx + 0x310], rcx
cmp qword [rdx + 0x328], 0
jne 0x42fa35
cmp byte [0x01251ebf], 0
je 0x42fa35
mov rax, qword [0x011ad148]
mov qword [rsp], rax
movups xmmword [rsp + 8], xmm15
mov qword [rsp + 0x18], 2
mov qword [rsp + 0x20], 0x100003
call fcn.00430020
xorps xmm15, xmm15
mov r14, qword [0x012521c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x328], rax
test rax, rax
je 0x42fb4d
nop
nop
mov rax, qword [rsp + 0x88]
nop
call fcn.0040b1e0
movups xmmword [rsp + 0x50], xmm15
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x70], xmm15
mov rcx, qword [0x011ad060]
lea rdx, [rsp + 0x50]
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0x30
call fcn.0042ffa0
xorps xmm15, xmm15
mov r14, qword [0x012521c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
je 0x42fb25
mov rcx, qword [rsp + 0x58]
lea rdx, [rcx + 0x4000]
mov qword [rsp + 0x90], r14
mov rsi, qword [r14 + 8]
cmp rsi, rdx
jb 0x42fb07
sub rsi, rcx
add rsi, 0xffffffffffffc000
cmp rsi, 0x4000000
ja 0x42fb07
mov qword [r14], rdx
lea rax, [rcx + 0x53a0]
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
nop
call fcn.0045b620
xorps xmm15, xmm15
mov r14, qword [0x012521c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbp, qword [rsp + 0x98]
add rsp, 0xa0
ret
mov rcx, qword [rsp + 0x90]
test byte [rcx], al
lea rax, [0x00dca04a]
mov ebx, 0xc
nop dword [rax]
call fcn.00432b20
call fcn.0045d240
xorps xmm15, xmm15
mov r14, qword [0x012521c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00dcc409]
mov ebx, 0x22
call fcn.00432b20
call fcn.0045d240
xorps xmm15, xmm15
mov r14, qword [0x012521c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00dcd912]
mov ebx, 0x30
call fcn.00432b20
call fcn.0045d240
xorps xmm15, xmm15
mov r14, qword [0x012521c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00dcc989]
mov ebx, 0x25
call fcn.00432b20
nop
nop
call fcn.00459620
jmp fcn.0042f900
Function at 0x43f060
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x43f1ca
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x43f078
cmp edx, ecx
jne 0x43f1b8
nop dword [rax]
test rsi, rsi
jne 0x43f1b8
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x43f0d4
nop
call fcn.0045d6a0
xorps xmm15, xmm15
mov r14, qword [0x012521c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.0043ef60
mov rcx, qword [0x011fc518]
mov rdx, qword [0x011fc510]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x43f1b3
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x43f1a8
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x011fe110]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x011fe110], rbx
nop
mov edx, 1
lea rsi, [0x011fe118]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x43f197
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x00dcce5a]
mov ebx, 0x28
call fcn.00432b20
mov rcx, rax
mov rax, rsi
call fcn.0045bc80
call fcn.00431400
lea rax, [0x00dcc673]
mov ebx, 0x23
call fcn.00432b20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00459620
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0043f060
Function at 0x44a700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44a878
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44a73c
test r8b, r8b
jne 0x44a73c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44a74f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44a838
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44a826
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44a81c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44a7a3
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44a7e6
mov eax, 1
cmp rax, rbx
ja 0x44a7d5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.0045bd40
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44a814
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44a7dd
mov r8d, eax
mov eax, r10d
jmp 0x44a7a8
mov rcx, rbx
call fcn.0045bc80
xor eax, eax
mov rcx, rax
call fcn.0045bc80
mov eax, r8d
mov rcx, rbx
call fcn.0045bd40
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44a86e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44a831
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44a755
mov eax, edx
mov rcx, rbx
call fcn.0045bc80
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0045bc80
nop
int3
Function at 0x450b00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x450bb9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00450c00]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004594e0
xorps xmm15, xmm15
mov r14, qword [0x012521c8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00459620
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00450b00
Function at 0x45b720
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x012526c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x01251ec7], 0
je 0x45b756
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x01252c20]
aesenc xmm0, xmmword [0x01252c30]
aesenc xmm0, xmmword [0x01252c40]
movq rax, xmm0
ret
jmp 0x409960

Function at 0x7fcc40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x7fcdd5
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
movabs rdx, 0x652a9d973a638583
mov qword [rsp + 0x19], rdx
movabs rdx, 0x69736f8b46c32d69
mov qword [rsp + 0x21], rdx
movabs rdx, 0x3c205a671669736f
mov qword [rsp + 0x26], rdx
movabs rdx, 0x72b66f226c20088d
mov qword [rsp + 0x2e], rdx
movabs rdx, 0x2078138a823b8d77
mov qword [rsp + 0x36], rdx
movabs rdx, 0x657a697950065158
mov qword [rsp + 0x3e], rdx
movabs rdx, 0x1b011e100d0a290c
mov qword [rsp + 0x46], rdx
movabs rdx, 0x29031b011e100d0a
mov qword [rsp + 0x48], rdx
movabs rdx, 0x505231904040221
mov qword [rsp + 0x50], rdx
movabs rdx, 0xd07072015190101
mov qword [rsp + 0x58], rdx
movabs rdx, 0x8121f250623141c
mov qword [rsp + 0x60], rdx
movabs rdx, 0x30f272325220b
mov qword [rsp + 0x68], rdx
movabs rdx, 0x16291a1d14092600
mov qword [rsp + 0x70], rdx
movabs rdx, 0x11516040816010c
mov qword [rsp + 0x78], rdx
movabs rdx, 0x20251e282914280f
mov qword [rsp + 0x80], rdx
xor eax, eax
jmp 0x7fcd68
movzx r9d, byte [rsp + rsi + 0x19]
add r9d, 0xffffffc2
add edx, r9d
mov byte [rsp + rdi + 0x19], dl
mov byte [rsp + rsi + 0x19], r8b
add rax, 2
cmp rax, 0x42
jge 0x7fcd9b
movzx edx, byte [rsp + rax + 0x46]
movzx esi, byte [rsp + rax + 0x47]
mov edi, edx
xor edx, esi
add edx, eax
nop
cmp rdi, 0x2d
jae 0x7fcdc8
movzx r8d, byte [rsp + rdi + 0x19]
add r8d, 0xffffffc2
add r8d, edx
cmp rsi, 0x2d
jb 0x7fcd4e
jmp 0x7fcdbc
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0x2d
call fcn.00447440
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov eax, esi
mov ecx, 0x2d
call fcn.0045bc80
mov eax, edi
mov ecx, 0x2d
call fcn.0045bc80
nop
call fcn.00459620
jmp fcn.007fcc40
Function at 0x140001000
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
lea rbp, [rsp - 0x710]
sub rsp, 0x810
lea rax, [rbp + 0x728]
mov r9d, 0xf013f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREdialerconfig
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
invalid
test eax, eax
jne 0x140001099
jmp 0x14000104b
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and qword [rsp + 0x38], 0
lea r9, [rbp + 0x720]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x40]
and qword [rsp + 0x28], 0
xor edx, edx
mov rcx, qword [rbp + 0x728]
and qword [rsp + 0x20], 0
mov dword [rbp + 0x720], 0x3e8
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rcx, qword [rbp + 0x728]
test eax, eax
je 0x140001040
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
lea rdx, str.SOFTWAREdialerconfig
mov r8d, 0xf013f
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
add rsp, 0x810
pop rbp
ret

Function at 0x1400010c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3e8]
sub rsp, 0x4b0
mov eax, dword [0x140005010]
lea rdx, [rbp + 0x400]
mov rdi, qword [0x140005008]
mov r14d, ecx
mov dword [rsp + 0x60], eax
xor ebx, ebx
call fcn.1400019ac
test eax, eax
je 0x1400014c5
cmp dword [rbp + 0x400], ebx
je 0x1400014c5
mov r8d, r14d
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1400014c5
mov r8d, r14d
xor edx, edx
mov ecx, 0x410
mov r15d, ebx

Function at 0x1400014e4
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x148]
sub rsp, 0x248
mov ebx, 1
xor r14d, r14d
mov dword [rbp + 0x1a8], ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, 0x9c40
xor edx, edx
mov rcx, rax
mov r8d, edi

Function at 0x1400017f8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov r14d, ecx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]

Function at 0x140001a44
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov dword [rsp + 0x18], r8d
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov r14, rdx
mov edi, ebx
mov rbp, rcx
mov rsi, rdx
mov eax, edi
lea r9, [rsp + 0x60]
mov r8d, 2
mov qword [rsp + 0x20], rbx
mov rcx, rbp
lea rdx, [r14 + rax*2]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140001aac
cmp dword [rsp + 0x60], 2
jne 0x140001aac
cmp word [rsi], bx
je 0x140001aa7
inc edi
add rsi, 2
cmp edi, 0x105
jb 0x140001a68
jmp 0x140001aac
mov ebx, 1
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140001c64
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
xor esi, esi
mov word [rbp + 0x73], 0x100
lea rax, [rbp + 0x7f]
mov dword [rbp + 0x6f], esi
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov dword [rsp + 0x48], esi
lea rcx, [rbp + 0x6f]
mov dword [rsp + 0x40], esi
xor r9d, r9d
mov dword [rsp + 0x38], esi
xor r8d, r8d
mov dword [rsp + 0x30], esi
mov dl, 1
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140001d9c
lea rax, [rbp + 0x17]
mov qword [rbp + 0x77], rax
lea ecx, [rsi + 0x30]
mov rax, qword [rbp + 0x77]
mov byte [rax], sil
mov rax, qword [rbp + 0x77]
inc rax
mov qword [rbp + 0x77], rax
sub rcx, 1
jne 0x140001ccc
mov rax, qword [rbp + 0x7f]
lea r9, [rbp - 9]
xor r8d, r8d
mov dword [rbp + 0x17], 0x1f01ff
lea rdx, [rbp + 0x17]
mov qword [rbp + 0x1b], 2
mov dword [rbp + 0x33], esi
mov dword [rbp + 0x37], 5
lea ecx, [r8 + 1]
mov qword [rbp + 0x3f], rax
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x140001d9c
lea edx, [rax + 0x28]
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140001d9c
mov edx, 1
mov rcx, rax
Function at 0x140002078
Capabilities:
Allocate or change rwx memory
Read file via mapping

Disassembly:
test rcx, rcx
je 0x14000228a
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rbx, rcx
lea rdx, [0x140003470]
lea rcx, [rsp + 0x60]
xor r13d, r13d
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r14, rax
test rax, rax
je 0x140002270
lea edi, [r13 + 0x18]
lea rax, [rsp + 0x40]
mov edx, edi
mov qword [rsp + 0x2b8], rax
lea ebx, [rdi - 0x17]
mov rcx, qword [rsp + 0x2b8]
mov byte [rcx], r13b
mov rcx, qword [rsp + 0x2b8]
add rcx, rbx
mov qword [rsp + 0x2b8], rcx
sub rdx, rbx
jne 0x1400020e9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, edi
lea r8, [rsp + 0x40]
mov rcx, rax
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x140002267
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], r13d
xor r9d, r9d
mov r8d, ebx
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140002267
mov qword [rsp + 0x28], r13
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r13d
mov r8d, 0x1000002
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbp, rax
test rax, rax
je 0x14000225e
xor r9d, r9d
mov qword [rsp + 0x20], r13
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
Function at 0x140002328
Capabilities:
Acquire debug privileges
Extract resource via kernel32 functions
Set registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x90]
sub rsp, 0x190
lea rcx, str.ntdll.dll
call fcn.140002078
mov edx, 0x11c
lea rax, [rsp + 0x70]
mov ecx, edx
mov qword [rbp + 0xc0], rax
xor edi, edi
mov rax, qword [rbp + 0xc0]
mov byte [rax], dil
mov rax, qword [rbp + 0xc0]
inc rax
mov qword [rbp + 0xc0], rax
sub rcx, 1
jne 0x14000235c
mov dword [rsp + 0x70], edx
mov r8b, 3
lea edx, [rcx + 2]
mov qword [rsp + 0x74], 0xa
mov word [rbp + 0x84], di
call qword [sym.imp.ntdll.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.ntdll.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ntdll.dll_VerSetConditionMask]
mov edx, 0x23
lea rcx, [rsp + 0x70]
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
lea rcx, str.kernel32.dll
call fcn.140002078
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x410
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140002486
lea r8, [rbp + 0xc8]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000247d
lea r8, [rbp + 0xb0]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14000247d
mov rax, qword [rbp + 0xb0]
lea r8, [rsp + 0x60]
mov rcx, qword [rbp + 0xc8]
mov r9d, 0x10
mov qword [rsp + 0x28], rdi
xor edx, edx
mov qword [rsp + 0x64], rax
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x6c], 2
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x14000247d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [0x14000352c]
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x14000269d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x140005010], eax
test eax, eax
je 0x14000269d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000269d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140005008], rax
xor eax, eax
add rsp, 0x190
pop rdi
pop rbx
pop rbp
ret
Function at 0x140002c18
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov dword [rax + 8], ecx
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
lea rcx, str..pipedialercontrol_redirect64
and dword [rax - 0x20], 0
mov edi, r8d
mov rsi, rdx
mov dword [rax - 0x28], 3
xor r8d, r8d
mov edx, 0xc0000000
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002cad
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test rsi, rsi
je 0x140002ca4
test edi, edi
je 0x140002ca4
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140008fb4
Capabilities:
Delete registry value

Disassembly:
mov rdx, qword [rsp + 0x20]
mov rdx, qword [rdx]
jle 0x1400c9ee9
int3
jae 0x140089c22
Function at 0x140011b20
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Resolve function by parsing pe exports
Resume thread
Terminate process
Use process replacement

Disassembly:
not word [rsp + 0x48]
mov rbp, qword [rsp + 0x30]
mov word [rsp + 0x48], 0x3e28
xor qword [rsp + 0x58], 0xffffffffe01eb816
shr qword [rsp + 0x58], 0x71
mov byte [rsp + 0x58], 0xa
je 0x140001f57
lea rcx, [rcx + riz - 0x5bebc1da]
mov rcx, qword [rsp + 0x28]
call fcn.1400896ae

Function at 0x140012381
Capabilities:
Enumerate process modules

Disassembly:
setge byte [rsp + rsi + 0x50]
mov word [rsp + rbp + 0x50], si
setno byte [rsp + rbp + 0x50]
seto byte [rsp + r10*8 + 0x50]
mov rbp, qword [rsp + r10*4 + 0x60]
xor word [rsp + r10*8 + 0x38], 0x39a3
mov qword [rsp + rsi*4 + 0x38], rsi
setne byte [rsp + rsi*2 + 0x38]
sub word [rsp + rsi + 0x38], r10w
shr sil, 0x3e

Function at 0x14004911b
Capabilities:
Enumerate process modules

Disassembly:
mov bpl, 0x23
and word [rsp + rbp*2 - 0x1e], bp
add qword [rsp + rbp + 0x15], 0xffffffffbff312fe
neg r10b
mov r10, qword [rsp + r10*2 - 0x1fffffb8]
sub bp, bp
cmp bpl, 1
ja 0x14006aabd
call fcn.140085468

Function at 0x1400496f1
Capabilities:
Execute shellcode via indirect call
Resolve function by parsing pe exports

Disassembly:
push rax
movabs rcx, 0xa9241d00e9ba9802
not cx
pushfq
test cx, cx
setg cl
jl 0x14002cd11
cmp ecx, 0x9150dbe
setge cl
mov rsi, qword [rsp + 0x20]
movabs rcx, 0x31bd4b83b210ebad
jg 0x1400012cd
call fcn.1400a0af1
wait
imul eax, dword [rcx], 0x10000710
add eax, 0x4541000
add byte [rax], dl
xor al, 3
add byte [rax], dl
jo 0x140049743
add byte [rbp + 2], al
leave

Function at 0x140056877
Capabilities:
Encode data using xor

Disassembly:
mov r15, qword [rsp + 0x20]
jl 0x140084db3
clc
add dword [rdx], 0x2f569a16
sub byte [rdi], 0x62
adc qword [r13 - 0x4b], r12
sbb bl, cl
push rax
insd dword [rdi], dx
adc dh, byte [rdx]
mov dl, 0x22
lodsb al, byte [rsi]
cmpsd dword [rsi], dword [rdi]
mov dh, 0x6d
pop rcx
xor eax, 0x90e368f5
xchg ecx, eax
cmp ch, byte [rdx]
mov edx, 0x579d8472
mov edi, 0xb4c3972d
movsb byte [rdi], byte [rsi]
jnp 0x140056891
retf
add eax, 0x78256941
add al, byte [ebx]
and al, 0xba
stosb byte [rdi], al
mov bl, 0x34
cld
mov edx, 0xfc34b3aa
loope 0x1400568bc
ror cl, cl
adc al, 0x91
retf
not r13d
or dword [rsp + 0x28], 0x623660a3
lea r13, [r13 + r13*4 + 0x4d008017]
mov r14, qword [rsp + 0x28]
xor r13w, 0x9f9d
mov r13, qword [rsp + 0x38]
neg qword [rsp + 0x28]
call fcn.14004cc3d
add qword [rsp + 8], 0xffffffffbff20659
lea rcx, [rcx + 0x37b92024]
add byte [rsp + 0x18], r11b
mov r11d, dword [rsp + 0x1a]
call fcn.1400612a8
movsd dword [rdi], dword [rsi]
or dword [rax], eax
invalid

Function at 0x140056c88
Capabilities:
Execute shellcode via indirect call
Resolve function by parsing pe exports

Disassembly:
push rdx
call fcn.14007b9c7
sub ebp, dword [rbx + 0x30]
invalid
add qword [rsp + 0x18], 0xfffffffffffa057e
bswap r12
mov r12d, 0x1138013f
or r12w, 0x6011
sub r12b, r12b
mov rcx, qword [rsp + r12*4 - 0x44e183d8]
jbe 0x14002f8d2