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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x0072aa10]
test rcx, rcx
jne 0x43bee4
xor ecx, ecx
xor edx, edx
jmp 0x43bef9
call fcn.0044e060
mov rcx, rbx
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], r14
mov rsi, qword [r14 + 0x30]
inc dword [rsi + 0xd8]
mov qword [r14 + 0x10], 0xfffffffffffffade
mov byte [r14 + 0xb7], 1
call fcn.0043be60
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x70], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rax + 0x78], rdx
mov ebx, 2
mov ecx, 3
call fcn.00435bc0
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x70]
cmp qword [rcx], rdx
ja 0x43bf66
nop dword [rax + rax]
cmp qword [rcx + 8], rdx
jae 0x43bfa2
movups xmmword [rsp + 0x40], xmm15
lea rax, [0x0043c1c0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov qword [rsp], rax
call fcn.00458620
xorps xmm15, xmm15
mov r14, qword [0x0072ac68]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x10]
test rax, rax
je 0x43c00b
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 0
lea rcx, [0x0043c140]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp], rax
nop
call fcn.00458620
xorps xmm15, xmm15
mov r14, qword [0x0072ac68]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043be60
mov rcx, qword [rsp + 0x20]
mov al, byte [0x006a70f8]
test al, al
je 0x43c04b
lea rax, [0x004d3900]
mov qword [rsp], rax
call fcn.00458620
xorps xmm15, xmm15
mov r14, qword [0x0072ac68]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043be60
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
cmp dword [rax + 0x2298], 0
nop
je 0x43c098
lea rax, fcn.004373e0
mov qword [rsp], rax
call fcn.00458620
xorps xmm15, xmm15
mov r14, qword [0x0072ac68]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043be60
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rdx, qword [rax + 0xa0]
mov edx, dword [rdx + 0x14]
mov dword [rax + 0x388], edx
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
mov qword [rax + 0x38], 0
mov rdx, qword [rcx + 0x30]
mov rbx, rax
mov qword [rdx + 0xb0], rax
mov rax, qword [rcx + 0x30]
mov qword [rax + 0xa0], 0
mov eax, 2
xchg dword [rbx + 4], eax
mov al, byte [0x006a70e8]
test al, al
je 0x43c124
lea rax, [0x004d38f8]
mov qword [rsp], rax
call fcn.00458620
xorps xmm15, xmm15
mov r14, qword [0x0072ac68]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043be60
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x50
pop rbp
ret
Function at 0x440020
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x440187
push rbp
mov rbp, rsp
sub 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 0x440032
cmp edx, ecx
jne 0x440175
nop word [rax + rax]
test rsi, rsi
jne 0x440175
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x440094
nop
call fcn.0045c320
xorps xmm15, xmm15
mov r14, qword [0x0072ac68]
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.0043ff40
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x440170
mov rdx, qword [0x006a5d48]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x440165
mov rcx, qword [0x006a5d40]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x006a7050]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x006a7050], rax
nop
mov edx, 1
lea rsi, [0x006a7058]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x440153
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004d1180]
mov ebx, 0x28
nop
call fcn.004324a0
mov rax, rsi
mov rcx, rdx
call fcn.0045aa20
call fcn.004314a0
lea rax, [0x004d0487]
mov ebx, 0x23
call fcn.004324a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00458740
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00440020
Function at 0x4732c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47338a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403740
xorps xmm15, xmm15
mov r14, qword [0x0072ac68]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47336f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004ae440]
xor ebx, ebx
mov rcx, rdx
call fcn.00444420
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00473be0
inc rbx
cmp rcx, rbx
jae 0x47335e
mov edi, 1
lea rsi, [0x004ae440]
call fcn.00444500
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004f1c28]
lea rsi, [0x004f13f8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00458740
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004732c0

Function at 0x487ba0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4882df
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x487bcd
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x487e51
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x487e7d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004f30c0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004ae340]
lea rbx, [0x004f1af8]
call fcn.00431a80
inc rax
cmp rax, r8
jge 0x487ea2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x487ed7
lea rdi, [0x004ae3c0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x487bc3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x487ebb
jmp 0x487e90
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00458740
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00487ba0

Function at 0x488480
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x488497
inc rax
cmp rax, 4
jge 0x4884af
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x488494
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4884c0
inc rax
cmp rax, 4
jge 0x4884ce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4884f7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4884db
jmp 0x4884bd
Function at 0x48a180
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x48a3ff
push rbp
mov rbp, rsp
sub rsp, 0x98
cmp qword [0x0072aac8], 0
jne 0x48a1da
call fcn.00478680
nop
bt rax, 0x3f
jae 0x48a1c6
shl rax, 1
shr rax, 0x1f
movabs rcx, 0xdd7b17f80
lea rbx, [rax + rcx]
movabs rcx, 0xfffffff1886e0900
add rcx, rbx
mov qword [0x0072aac8], rcx
mov rax, qword [0x0072aac8]
call fcn.00489a20
movabs rcx, 0x484746242340217e
mov qword [rsp + 0x28], rcx
movabs rcx, 0x504f4e4d4c4b4a49
mov qword [rsp + 0x30], rcx
movabs rcx, 0x5857565554535251
mov qword [rsp + 0x38], rcx
movabs rcx, 0x6665646362615a59
mov qword [rsp + 0x40], rcx
movabs rcx, 0x6e6d6c6b6a696867
mov qword [rsp + 0x48], rcx
movabs rcx, 0x257574737271706f
mov qword [rsp + 0x50], rcx
movabs rcx, 0x33323130282a265e
mov qword [rsp + 0x58], rcx
movabs rcx, 0x2f29393837363534
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0x40
mov qword [rsp + 0x78], 0x40
mov qword [rsp + 0x80], 0x40
jmp 0x48a28f
mov qword [0x006a5a70], rax
cmp qword [rsp + 0x80], 0
je 0x48a33e
mov rax, qword [rsp + 0x80]
nop
call fcn.00489b60
mov rcx, qword [rsp + 0x70]
cmp rax, rcx
jae 0x48a3f9
mov rdx, qword [rsp + 0x68]
movzx ebx, byte [rdx + rax]
jmp 0x48a3a4
mov rcx, qword [rsp + 0x70]
cmp rax, rcx
jae 0x48a3e7
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax], 0x3d
dec qword [rsp + 0x80]
xor eax, eax
call fcn.00447b80
mov rcx, qword [0x006a5a70]
mov rdx, qword [0x006a5a78]
mov rdi, rax
mov rsi, rbx
xor eax, eax
mov rbx, rcx
mov rcx, rdx
call fcn.00447580
mov qword [0x006a5a78], rbx
cmp dword [0x0072ac90], 0
nop dword [rax]
je 0x48a288
call fcn.0045a680
mov qword [r11], rax
mov rcx, qword [0x006a5a70]
mov qword [r11 + 8], rcx
jmp 0x48a288
movups xmmword [rsp + 0x88], xmm15
mov rax, qword [0x006a5a70]
mov rbx, qword [0x006a5a78]
call fcn.0040a380
lea rcx, [0x004ae340]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rax
mov rbx, qword [0x006a4ce8]
lea rax, [0x004f1b88]
lea rcx, [rsp + 0x88]
mov edi, 1
mov rsi, rdi
call fcn.0047fd80
add rsp, 0x98
pop rbp
ret
mov byte [rdx + rax], dil
mov rax, rsi
mov rdx, qword [rsp + 0x80]
cmp rax, rdx
jge 0x48a2df
lea rsi, [rax + 1]
nop dword [rax]
cmp rdx, rsi
je 0x48a2c8
mov rcx, qword [rsp + 0x70]
cmp rcx, rsi
jbe 0x48a3f1
mov rdx, qword [rsp + 0x68]
movzx edi, byte [rax + rdx + 1]
nop dword [rax]
cmp rax, rcx
jb 0x48a39d
jmp 0x48a3ec
call fcn.0045aa20
call fcn.0045aa20
mov rax, rsi
call fcn.0045aa20
call fcn.0045aa20
nop
nop
call fcn.00458740
jmp fcn.0048a180
Function at 0x14000b300
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.1400157e0
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.1400157e0
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 0x14000b370
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14119b0a4]
mov rbx, rcx
test esi, esi
jle 0x14000b4a0
mov rax, qword [0x14119b0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000b3bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000b445
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000b3a0
mov rcx, rbx
call fcn.14000bdc0
mov rdi, rax
test rax, rax
je 0x14000b4c2
mov rax, qword [0x14119b0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000bf00
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14119b0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b4a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000b43e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000b450
add dword [0x14119b0a4], 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 [0x14119b0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b43e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000b300
nop dword [rax]
xor esi, esi
jmp 0x14000b3c8
mov rax, qword [0x14119b0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000b300
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000b300
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000ba30
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14119b100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14119b0e0]
test rbx, rbx
je 0x14000ba8c
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 eax, eax
jne 0x14000ba83
test rsi, rsi
je 0x14000ba83
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000ba68
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 0x14000bdc0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x141175260]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000bde0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000bde8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000bde0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000be3d
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 0x14000be34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000bde0
add rax, 0x28
cmp rax, r9
jne 0x14000be20
xor eax, eax
ret

Function at 0x14000be40
Capabilities:
Parse pe header

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

Function at 0x14000bf00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x141175260]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000bf1f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000bf28
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140078d60
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140078da8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x140078d7a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400b3690
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b80a0]
jmp 0x14000cc20

Function at 0x1400b36a0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b80a0]
jmp 0x14000cc20

Function at 0x1400b3e50
Capabilities:
Create thread
Inject thread

Disassembly:
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
lea rsi, [0x1400b80c0]
call fcn.14000b0f0
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0x10b6150
call rbx
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea r9, [rsp + 0x70]
mov dword [rsp + 0x28], 4
mov rcx, rax
mov dword [rsp + 0x20], 0x3000
call sub.ntdll.dll_NtAllocateVirtualMemory
call fcn.140016220
mov edx, dword [0x1400b51e0]
mov r9d, 0x10
mov rcx, rsi
lea r8, [0x1400b51d0]
call fcn.1400160f0
mov rdi, qword [rsp + 0x68]
call rbx
mov r9d, 0x10b6150
mov r8, rsi
mov qword [rsp + 0x20], 0
mov rcx, rax
mov rdx, rdi
call sub.ntdll.dll_NtWriteVirtualMemory
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x64]
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400b3f98
call fcn.140016220
mov rsi, qword [rsp + 0x68]
call rbx
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov edx, 0x1fffff
mov qword [rsp + 0x50], 0
mov r9, rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
call sub.ntdll.dll_NtCreateThreadEx
call fcn.140016220
mov rcx, qword [rsp + 0x78]
xor r8d, r8d
xor edx, edx
call sub.ntdll.dll_NtWaitForSingleObject
call fcn.140016220
mov rcx, qword [rsp + 0x78]
call sub.ntdll.dll_NtClose
xor eax, eax
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.VirtualProtect_failed_with_error_code:__lx_n
mov edx, eax
call fcn.1400166e0
or eax, 0xffffffff
jmp 0x1400b3f90
Function at 0x14002518c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140025204
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140025204
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140025204
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400251f8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140025216
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400251e6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140025206

Function at 0x140026a90
Capabilities:
Parse pe header

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

Function at 0x14002f534
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002f298

Function at 0x140039480
Capabilities:
Parse pe header

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

Function at 0x1400018f8
Capabilities:
Parse pe header

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

Function at 0x14015c3ef
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea rsp, [rsp + 0x20]
jmp fcn.140170df2

Function at 0x140170574
Capabilities:
Encode data using xor

Disassembly:
call fcn.140139983
lea rsi, [0x140177a60]
movzx r9d, byte [rdx]
xor r9d, edi
push 0x49834632
and r9d, 0xff
push 0xffffffffe2893b80
mov r9d, dword [rsi + r9*4]
shr edi, 8
dec dword [rsp]
xor edi, r9d
inc rdx
xor edi, 0x4f088e20
dec r11
mov word [rsp + 3], 0x6989
lea rsp, [rsp + 0x10]
jne 0x140170580
jmp 0x14017e798
Function at 0x7ff794c46c00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rax, qword [0x7ff794c70008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov r14, rdx
mov rbp, rcx
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff794c46d17
mov qword [rsp + 0x48], rdi
mov rax, 0xffffffffffffffff
xor edi, edi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x7ff794c46c60
test rax, rax
je 0x7ff794c46cf0
mov qword [rsp + 0x88], rsi
mov rcx, rdi
mov qword [rsp + 0x40], r15
lea r15, [0x7ff794c700e0]
nop dword [rax]
lea rsi, [rbx + rcx*2]
movzx ecx, word [rbx + rcx*2]
call qword [sym.imp.user32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x7ff794c46cc9
call qword [sym.imp.ucrtbase.dll_rand]
cdqe
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [r15 + rcx*2], 0
jne 0x7ff794c46cb1
xor edx, edx
div rcx
movzx eax, word [r15 + rdx*2]
mov word [rsi], ax
inc edi
mov rax, 0xffffffffffffffff
mov ecx, edi
inc rax
cmp word [rbx + rax*2], 0
jne 0x7ff794c46cd4
cmp rcx, rax
jb 0x7ff794c46c90
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x88]
mov eax, dword [rsp + 0x30]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rbx
mov rcx, rbp
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.7ff794c61b10
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
Function at 0x7ff794c46d30
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rbp
sub rsp, 0x278
mov rax, qword [0x7ff794c70008]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, r8
lea rax, [rsp + 0x30]
xor ebx, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov r9d, 0xf003f
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7ff794c46ef7
mov qword [rsp + 0x270], rsi
lea rcx, [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 0x208
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ff794c46ee6
movzx ecx, word [rsp + 0x40]
call qword [sym.imp.user32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x7ff794c46de5
mov eax, 0x30
mov word [rsp + 0x40], ax
movzx ecx, word [rsp + 0x42]
call qword [sym.imp.user32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x7ff794c46dfe
mov eax, 0x32
mov word [rsp + 0x42], ax
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], bx
jne 0x7ff794c46e10
test rax, rax
je 0x7ff794c46ebf
mov qword [rsp + 0x268], rdi
mov rcx, rbx
mov qword [rsp + 0x260], r14
lea r14, [0x7ff794c700c0]
nop dword [rax]
lea rdi, [rsp + 0x40]
lea rdi, [rdi + rcx*2]
movzx ecx, word [rdi]
call qword [sym.imp.user32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x7ff794c46e88
cmp ebx, 1
jbe 0x7ff794c46e88
call qword [sym.imp.ucrtbase.dll_rand]
cdqe
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [r14 + rcx*2], 0
jne 0x7ff794c46e70
xor edx, edx
div rcx
movzx eax, word [r14 + rdx*2]
mov word [rdi], ax
inc ebx
lea rdx, [rsp + 0x40]
mov ecx, ebx
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x7ff794c46ea0
cmp rcx, rax
jb 0x7ff794c46e40
mov r14, qword [rsp + 0x260]
mov rdi, qword [rsp + 0x268]
mov eax, dword [rsp + 0x38]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.advapi32.dll_RegSetValueExW]
mov rcx, rsi
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.7ff794c61b10
add rsp, 0x278
pop rbp
pop rbx
ret