joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c7ac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003c7c2
mov al, 1
jmp 0x14003c82e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003c7d3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003c82c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003a690
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003c82c
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003c82c
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003c82c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14003c82e
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14003fd60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003fd88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14003fd88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14009a7d0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14009a7e0]
mov dword [rax], 1
mov rax, qword [0x14009a7f0]
mov dword [rax], 1
mov rax, qword [0x14009a750]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14009a7c0]
mov dword [0x14009d00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14009a8a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14009a880]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14009a730]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001da0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14009d0a4]
mov rbx, rcx
test esi, esi
jle 0x140001ed0
mov rax, qword [0x14009d0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001deb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001e75
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001dd0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001ef2
mov rax, qword [0x14009d0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14009d0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001ed7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001e6e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001e80
add dword [0x14009d0a4], 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 [0x14009d0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001e6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001df8
mov rax, qword [0x14009d0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002480
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14009d100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14009d0e0]
test rbx, rbx
je 0x1400024dc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400024d3
test eax, eax
jne 0x1400024d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400024b8
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 0x1400026f0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002708
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002710
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140002720
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000276d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002764
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000276f
add rax, 0x28
cmp rax, r9
jne 0x140002750
xor eax, eax
ret

Function at 0x140002770
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002800
mov rdx, qword [0x14009a750]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400027ee
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400027ee
cmp word [rax + 0x18], 0x20b
jne 0x1400027ee
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002800
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400027d9
add rbx, 0x28
cmp rbx, rdi
je 0x140002800
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400027d0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002810
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140002890
Capabilities:
Parse pe header

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

Function at 0x1400028d0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14009a750]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400028f0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400028f8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400028f0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002940
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002937
test rcx, rcx
je 0x1400028f0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002928
xor eax, eax
ret
Function at 0x140002950
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14009a750]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000296f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002978
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002990
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14009a750]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400029b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400029b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400029b0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400029b0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002a04
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002a10
add rdx, 0x28
cmp rdx, r9
jne 0x1400029f0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002a20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14009a750]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002a42
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002a50
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002a42
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002a42
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002a42
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002aa5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002ab8
add rdx, 0x28
cmp r10, rdx
jne 0x140002a90
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002ac7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002ad7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002aae
test ecx, ecx
jg 0x140002ac0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140011262
Capabilities:
Terminate process

Disassembly:
jmp 0x140013ff0
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 0x140011302
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015340
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015360
xor al, al
jmp 0x1400153e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015373
xor al, al
jmp 0x1400153e1
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 0x14001539d
xor al, al
jmp 0x1400153e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400153b1
xor al, al
jmp 0x1400153e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400153c3
xor al, al
jmp 0x1400153e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400153df
xor al, al
jmp 0x1400153e1
mov al, 1
add rsp, 0x38
ret
Function at 0x140013220
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001145b
movzx eax, al
test eax, eax
jne 0x140013240
mov ecx, 7
call fcn.1400113b6
nop
mov byte [rsp + 0x20], 0
call fcn.1400113ca
mov byte [rsp + 0x21], al
cmp dword [0x14001f868], 1
jne 0x140013264
mov ecx, 7
call fcn.1400113b6
nop
jmp 0x1400132bc
cmp dword [0x14001f868], 0
jne 0x1400132b7
mov dword [0x14001f868], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111fe
test eax, eax
je 0x140013298
mov eax, 0xff
jmp 0x1400133c1
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.1400113c0
mov dword [0x14001f868], 2
jmp 0x1400132bc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001139d
call fcn.14001132a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013319
mov rcx, qword [rsp + 0x30]
call fcn.1400111ae
movzx eax, al
test eax, eax
je 0x140013319
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 [0x140026020]
nop
call fcn.14001135c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001334d
mov rcx, qword [rsp + 0x38]
call fcn.1400111ae
movzx eax, al
test eax, eax
je 0x14001334d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011415
nop
call fcn.140013470
mov dword [rsp + 0x28], eax
call fcn.140011302
movzx eax, al
test eax, eax
jne 0x14001336c
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001337b
call fcn.140011424
nop
xor edx, edx
mov cl, 1
call fcn.14001119a
mov eax, dword [rsp + 0x28]
jmp 0x1400133c1
add rsp, 0x68
ret
Function at 0x140004930
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x1400a3080]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
movsxd r10, edx
mov r8, rcx
mov r9d, edx
mov ecx, 0x40
lea rdi, [rsp]
rep stosb byte [rdi], al
mov rdi, r10
lea rax, [rsp]
shr rdi, 3
test rdi, rdi
je 0x140004984
nop dword [rax + rax]
mov rcx, qword [r8]
add r8, 8
mov qword [rax], rcx
add rax, 8
sub rdi, 1
jne 0x140004970
mov rdx, r10
and edx, 7
je 0x1400049a4
nop dword [rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
mov byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140004990
xor r8d, r8d
test r9d, r9d
jle 0x1400049c9
mov edx, r8d
nop
movzx ecx, byte [rsp + rdx]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x1400049c1
add cl, 0x20
mov byte [rsp + rdx], cl
inc rdx
cmp rdx, r10
jl 0x1400049b0
lea rdx, [rsp]
mov r11d, r9d
mov r10d, 0xb801fcda
cmp r9d, 4
jl 0x140004a17
mov rdi, r9
shr rdi, 2
mov eax, edi
neg eax
lea r9d, [r9 + rax*4]
nop dword [rax + rax]
imul eax, dword [rdx], 0x5bd1e995
add rdx, 4
imul r10d, r10d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r10d, ecx
sub rdi, 1
jne 0x1400049f0
sub r9d, 1
je 0x140004a3c
sub r9d, 1
je 0x140004a32
cmp r9d, 1
jne 0x140004a42
movzx r8d, byte [rdx + 2]
shl r8d, 0x10
movzx eax, byte [rdx + 1]
shl eax, 8
xor r8d, eax
movzx eax, byte [rdx]
xor r8d, eax
imul ecx, r8d, 0x5bd1e995
imul edi, r11d, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, r10d, 0x5bd1e995
xor ecx, eax
mov eax, edi
shr eax, 0x18
xor eax, edi
imul edx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor edx, eax
mov eax, edx
shr eax, 0xd
xor eax, edx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14004dfe0
add rsp, 0x50
pop rdi
ret
Function at 0x140016240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov edx, 0x16
mov r8d, 0xf8aefe61
mov rdi, rcx
lea r9d, [rdx + 1]
call fcn.140004760
lea rdx, [0x1400a70b8]
mov rcx, rdi
call rax
test rax, rax
jne 0x1400163da
mov byte [rbp - 0x30], al
mov byte [rbp - 0x2f], 3
mov byte [rbp - 0x2e], 0x2d
mov byte [rbp - 0x2d], 0x3a
mov byte [rbp - 0x2c], 0x2d
mov byte [rbp - 0x2b], 0x60
mov byte [rbp - 0x2a], 0x2d
mov byte [rbp - 0x29], 0x54
mov byte [rbp - 0x28], 0x2d
mov byte [rbp - 0x27], 0x4f
mov byte [rbp - 0x26], 0x2d
mov byte [rbp - 0x25], 0x3e
mov byte [rbp - 0x24], 0x2d
mov byte [rbp - 0x23], 0x4f
mov byte [rbp - 0x22], 0x2d
mov byte [rbp - 0x21], 0x37
mov byte [rbp - 0x20], 0x2d
mov byte [rbp - 0x1f], 0x22
mov byte [rbp - 0x1e], 0x2d
mov byte [rbp - 0x1d], 0x60
mov byte [rbp - 0x1c], 0x2d
mov byte [rbp - 0x1b], 0x41
mov byte [rbp - 0x1a], 0x2d
mov byte [rbp - 0x19], 0x52
mov byte [rbp - 0x18], 0x2d
mov byte [rbp - 0x17], 0x21
mov byte [rbp - 0x16], 0x2d
mov byte [rbp - 0x15], 0x71
mov byte [rbp - 0x14], 0x2d
mov byte [rbp - 0x13], 0x60
mov byte [rbp - 0x12], 0x2d
mov byte [rbp - 0x11], 3
mov byte [rbp - 0x10], 0x2d
mov byte [rbp - 0xf], 0x41
mov byte [rbp - 0xe], 0x2d
mov byte [rbp - 0xd], 0x78
mov byte [rbp - 0xc], 0x2d
mov byte [rbp - 0xb], 0x54
mov byte [rbp - 0xa], 0x2d
mov byte [rbp - 9], 0x52
mov byte [rbp - 8], 0x2d
mov byte [rbp - 7], 0x30
mov byte [rbp - 6], 0x2d
mov byte [rbp - 5], 0x60
mov byte [rbp - 4], 0x2d
mov byte [rbp - 3], 0x2d
mov byte [rbp - 2], 0x2d
movzx eax, byte [rbp - 0x2f]
movzx eax, byte [rbp - 0x30]
mov qword [rsp + 0x60], rbx
xor ebx, ebx
test al, al
jne 0x1400163a5
mov r11d, ebx
nop word [rax + rax]
movzx ecx, byte [rbp + r11 - 0x2f]
mov eax, 0x81020409
sub ecx, 0x2d
imul r10d, ecx, 0x25
imul r10d
add edx, r10d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r10d, eax
mov eax, 0x81020409
add r10d, 0x7f
imul r10d
add edx, r10d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r10d, eax
mov byte [rbp + r11 - 0x2f], r10b
inc r11
cmp r11, 0x2e
jb 0x140016350
mov edx, 0x16
mov r8d, 0xf8aefe61
lea r9d, [rdx + 1]
call fcn.140004760
lea rdx, [rbp - 0x2f]
mov rcx, rdi
call rax
test rax, rax
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
mov rdi, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x50
pop rbp
ret
Function at 0x140019780
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1400197e1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400197a0
mov ecx, dword [r9]
jmp 0x1400198cb
cmp ecx, 0x4e0
jb 0x1400198cb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140019800
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140019850
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14001a6c0
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1400a3080]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor r14d, r14d
mov rdi, rcx
cmp qword [rdx + 0x18], 0xf
mov rsi, rdx
mov dword [rsp + 0x50], r14d
mov rcx, rdx
jbe 0x14001a6fa
mov rcx, qword [rdx]
xor r9d, r9d
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov ebp, dword [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rsp + 0x68], r14
movdqu xmmword [rsp + 0x58], xmm0
test rbp, rbp
je 0x14001a799
cmp rbp, 0x1000
jb 0x14001a771
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x14001a8d5
call fcn.14004e380
mov rcx, rax
test rax, rax
je 0x14001a8cf
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14001a779
mov rcx, rbp
call fcn.14004e380
lea rbx, [rax + rbp]
mov qword [rsp + 0x58], rax
mov r8, rbp
mov qword [rsp + 0x68], rbx
xor edx, edx
mov rcx, rax
call fcn.14007a360
mov qword [rsp + 0x60], rbx
cmp qword [rsi + 0x18], 0xf
jbe 0x14001a7a3
mov rsi, qword [rsi]
mov r9, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14001a889
call fcn.14001b4b0
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rbx + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x48], rcx
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x40]
call fcn.14001b250
mov rcx, rax
mov dl, 0xa
mov rax, qword [rax]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x48]
movzx esi, al
test rcx, rcx
je 0x14001a830
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x14001a830
mov rax, qword [rax]
mov edx, 1
call qword [rax]
movzx edx, sil
mov rcx, rbx
call fcn.14001c220
mov rcx, rbx
call fcn.14001bf20
mov rcx, qword [rsp + 0x58]
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
test rcx, rcx
je 0x14001a8a3
mov rdx, qword [rsp + 0x68]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001a882
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a8cf
call fcn.14004e604
jmp 0x14001a8a3
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
mov rbx, qword [rsp + 0xb0]
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14004dfe0
mov rbp, qword [rsp + 0xb8]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
call fcn.140054e14
int3
call fcn.140005250
int3
Function at 0x1400232e0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r9, str._c_SCHTASKS.exe__Delete__TN__Windows_Update_ALPHV___F
mov dword [rsp + 0x28], eax
lea r8, str.cmd.exe
lea rdx, str.open
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x38
ret
Function at 0x140023760
Capabilities:
Delete file
Get common file path
Get startup folder

Disassembly:
sub rsp, 0x258
mov rax, qword [0x1400a3080]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x18]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400237b6
lea rdx, str.7766.exe
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14004dfe0
add rsp, 0x258
ret