joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cf80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44d0f7
movzx edx, byte [rax]
test edx, edx
jne 0x44cfb4
nop dword [rax]
test r8b, r8b
jne 0x44cfb4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x44cfc7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44d0b7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x44d0a5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x44d097
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x44d01d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x44d060
mov eax, 1
cmp rax, rbx
ja 0x44d04b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.0045f560
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x44d08f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x44d053
mov rcx, r11
mov eax, r12d
jmp 0x44d022
mov rcx, rbx
call fcn.0045f4a0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0045f4a0
mov eax, r8d
mov rcx, rbx
call fcn.0045f560
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44d0ed
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x44d0b0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44cfcd
mov eax, edx
mov rcx, rbx
call fcn.0045f4a0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0045f4a0
nop
int3

Function at 0x452cc0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x452d75
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00450940
nop
test bl, bl
je 0x452d6f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x00452dc0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.0045d100
xorps xmm15, xmm15
mov r14, qword [0x0058c8d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045d220
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00452cc0
Function at 0x455ce0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x455d8f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
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 rsi, [0x00455de0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045d100
xorps xmm15, xmm15
mov r14, qword [0x0058c8d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045d220
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00455ce0
Function at 0x460de0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x460e14
mov rcx, 0x28
jmp 0x460e1f
shl rcx, 3
add rcx, 0x1480
mov qword [0x0058c8d0], rcx
pop rbp
ret

Function at 0x468d60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x468e2a
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.00402aa0
xorps xmm15, xmm15
mov r14, qword [0x0058c8d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x468e0f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004774e0]
xor ebx, ebx
mov rcx, rdx
call fcn.00446d20
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.004696c0
inc rbx
cmp rcx, rbx
jae 0x468dfe
mov edi, 1
lea rsi, [0x004774e0]
call fcn.00446e00
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, [0x004a5358]
lea rsi, [0x004a4fd8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d220
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00468d60
Function at 0x1400111e5
Capabilities:
Execute command

Disassembly:
jmp 0x1400119d0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240a6]
call fcn.1400113b6
nop
lea rcx, [0x14001ae1c]
call qword [sym.imp.ucrtbased.dll_system]
nop
mov edx, dword [rbp + 0x138]
lea rcx, [0x14001ae20]
call fcn.1400111ae
nop
mov dword [rbp + 4], 0
jmp 0x140011a30
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x128]
cmp dword [rbp + 4], eax
jge 0x140011ab6
mov dword [rbp + 0x24], 0
jmp 0x140011a4c
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x130]
cmp dword [rbp + 0x24], eax
jge 0x140011aa4
movsxd rax, dword [rbp + 4]
movsxd rcx, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x120]
mov rax, qword [rdx + rax*8]
cmp dword [rax + rcx*4], 0
jne 0x140011a7f
lea rcx, [0x14001ae34]
call fcn.1400111ae
nop
jmp 0x140011aa2
movsxd rax, dword [rbp + 4]
movsxd rcx, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x120]
mov rax, qword [rdx + rax*8]
mov edx, dword [rax + rcx*4]
lea rcx, [0x14001ae38]
call fcn.1400111ae
nop
jmp 0x140011a44
lea rcx, [0x14001ae3c]
call fcn.1400111ae
nop
jmp 0x140011a28
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011217
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140014670
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014690
xor al, al
jmp 0x140014711
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400146a3
xor al, al
jmp 0x140014711
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 0x1400146cd
xor al, al
jmp 0x140014711
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400146e1
xor al, al
jmp 0x140014711
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400146f3
xor al, al
jmp 0x140014711
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001470f
xor al, al
jmp 0x140014711
mov al, 1
add rsp, 0x38
ret
Function at 0x140012ab0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113e3
movzx eax, al
test eax, eax
jne 0x140012ad0
mov ecx, 7
call fcn.140011357
nop
mov byte [rsp + 0x20], 0
call fcn.14001136b
mov byte [rsp + 0x21], al
cmp dword [0x14001e208], 1
jne 0x140012af4
mov ecx, 7
call fcn.140011357
nop
jmp 0x140012b4c
cmp dword [0x14001e208], 0
jne 0x140012b47
mov dword [0x14001e208], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111b3
test eax, eax
je 0x140012b28
mov eax, 0xff
jmp 0x140012c51
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011361
mov dword [0x14001e208], 2
jmp 0x140012b4c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011343
call fcn.1400112d0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012ba9
mov rcx, qword [rsp + 0x30]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x140012ba9
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 [0x140025020]
nop
call fcn.14001130c
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012bdd
mov rcx, qword [rsp + 0x38]
call fcn.140011163
movzx eax, al
test eax, eax
je 0x140012bdd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001139d
nop
call fcn.140012d00
mov dword [rsp + 0x28], eax
call fcn.1400112ad
movzx eax, al
test eax, eax
jne 0x140012bfc
mov ecx, dword [rsp + 0x28]
call fcn.14001105a
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012c0b
call fcn.1400113a7
nop
xor edx, edx
mov cl, 1
call fcn.140011154
mov eax, dword [rsp + 0x28]
jmp 0x140012c51
add rsp, 0x68
ret
Function at 0x140001610
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x10]
mov r9d, 0x3000
mov r8, qword [rcx + 0x28]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
add rsp, 0x38
ret

Function at 0x140003340
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140003364
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x1400033f2
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400033c0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x1400033c0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.140065100
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400033dd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400033e5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140003381
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x1400034d0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140003409
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000340b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000343d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.140065100
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400034cd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003478
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x1400034ae
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.140044fc8
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x1400034cd
cmp rsi, rax
ja 0x140003481
test rsi, rsi
je 0x1400034cd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140044fc8
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x14000c1c0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b1100]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
lea rax, [rsp + 0x30]
mov rdi, rcx
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
mov r9d, 0x20006
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000c20e
xor al, al
jmp 0x14000c25e
cmp qword [rbx + 0x18], 7
mov eax, dword [rbx + 0x10]
lea eax, [rax*2 + 2]
jbe 0x14000c222
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 7
jbe 0x14000c22c
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x30]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14003a8e0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000eb60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xf
jbe 0x14000eb6e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000eb84
test al, 0x30
je 0x14000eb84
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x14000f480
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400b1100]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x50]
xor ebp, ebp
mov edx, 0x208
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], bp
jne 0x14000f4d0
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
mov r9d, ebx
mov dword [rsp + 0x28], ebp
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.1400041d0
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x14000f51f
mov rdx, qword [rdi]
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
mov r9d, ebx
mov dword [rsp + 0x28], esi
mov ecx, 0xfde9
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14003a8e0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14000fee0
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x290
mov rax, qword [0x1400b1100]
xor rax, rsp
mov qword [rsp + 0x280], rax
cmp qword [rcx + 0x18], 0xf
mov rdx, rcx
jbe 0x14000ff11
mov r8, qword [rcx]
mov rdx, r8
add r8, qword [rcx + 0x10]
jmp 0x14000ff18
mov r8, qword [rcx + 0x10]
add r8, rcx
lea rcx, [rsp + 0x20]
call fcn.140010c00
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x234
call fcn.1400657a0
xor edx, edx
mov dword [rsp + 0x40], 0x238
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000ff91
nop
cmp qword [rsp + 0x38], 7
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x6c]
cmova rcx, qword [rsp + 0x20]
call fcn.140052198
mov rcx, rbx
test eax, eax
je 0x14000fff1
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000ff60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14000ffd8
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ffd3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001003d
call fcn.14003a900
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14003a8e0
add rsp, 0x290
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x38]
mov ebx, dword [rsp + 0x48]
cmp rdx, 7
jbe 0x140010039
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov r8, rcx
cmp rdx, 0x1000
jb 0x140010034
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14001003d
call fcn.14003a900
mov eax, ebx
jmp 0x14000ffd8
call fcn.140043e18
int3
Function at 0x140010050
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
sub rsp, 0x268
mov rax, qword [0x1400b1100]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x10e
call fcn.1400657a0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x100
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xf
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
call fcn.140047880
xor r9d, r9d
mov edx, 5
mov ecx, 4
mov r8, qword [rax]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.1400657a0
call fcn.140047880
lea rdx, [0x1400a4a5c]
lea rcx, [rsp + 0x30]
mov r8, qword [rax]
call fcn.14000df00
lea r8, [rsp + 0x30]
lea rdx, str._c_timeout__T_1__del__q___s_
lea rcx, [rsp + 0x140]
call fcn.14000df00
xor eax, eax
lea r9, [rsp + 0x140]
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_ShellExecuteA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14003037c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14001cf32
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14001cf15
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14001cf00

Function at 0x14003a0c4
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.140048038
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14003a116
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14003a116
sub ecx, 1
je 0x14003a10f
cmp ecx, 1
je 0x14003a108
xor eax, eax
jmp 0x14003a11b
mov eax, 3
jmp 0x14003a11b
mov eax, 1
jmp 0x14003a11b
mov eax, 2
add rsp, 0x28
ret

Function at 0x14003b76c
Capabilities:
Parse pe header

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

Function at 0x140045540
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400455af
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400455af
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400455af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400455af
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400455af
cmp dword [rcx + 0x84], 0xe
jbe 0x1400455af
cmp dword [rcx + 0xf8], 0
je 0x1400455af
mov ecx, ebx
call fcn.140045654
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140045448
nop
cmp dword [rbp + 0x20], 0
jne 0x140045610
call fcn.140058b80
cmp eax, 1
jne 0x140045600
xor dl, dl
jmp 0x14004560a
call fcn.140058b0c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14004561b
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140045624
int3
xor r8d, r8d
xor edx, edx
jmp 0x140045540
Function at 0x140045728
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400455af
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400455af
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400455af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400455af
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400455af
cmp dword [rcx + 0x84], 0xe
jbe 0x1400455af
cmp dword [rcx + 0xf8], 0
je 0x1400455af
mov ecx, ebx
call fcn.140045654
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140045448
nop
cmp dword [rbp + 0x20], 0
jne 0x140045610
call fcn.140058b80
cmp eax, 1
jne 0x140045600
xor dl, dl
jmp 0x14004560a
call fcn.140058b0c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14004561b
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140045624
int3
xor r8d, r8d
xor edx, edx
jmp 0x140045540

Function at 0x140045864
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14004589b
call fcn.140044608
mov dword [rax], 0x16
call fcn.140043df8
xor eax, eax
jmp 0x14004592d
mov rdx, r9
mov rcx, r8
call fcn.140045800
mov rbx, rax
test rax, rax
je 0x14004592a
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
lea r8, [0x140045734]
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov r9, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140045917
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044598
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400458fe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004590d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140053fb0
jmp 0x14004592a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140045927
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret