joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801fa5a0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1801fa5cd
xor al, al
jmp 0x1801fa72f
mov rax, qword [0x1802196c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1802196c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1802196d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1802196d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1802196e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1802196e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1802196f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1802196f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x180219700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1801fa721
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1801fa679
mov r11d, 2
jmp 0x1801fa69d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1801fa693
mov r11d, 1
jmp 0x1801fa69d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1801fa745
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1801fa6e2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x1801fa6fa
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1801fa70a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1801fa718
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1801fa660
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1801fa72a

Function at 0x180993a6d
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
syscall
ret
Function at 0x140027db0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b754
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b754
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f00
cmp rax, 0xffffffffffffffff
je 0x140027f00
xor edi, edi
test rbp, rbp
jle 0x140027eab
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dd40
mov rbx, rax
test rax, rax
jne 0x140027e38
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027ea1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400158f8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c430
cmp eax, 0xffffffff
je 0x140027e81
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027e48
mov edx, r15d
mov ecx, r14d
call fcn.1400158f8
jmp 0x140027ea1
cmp byte [rsi + 0x38], dil
je 0x140027e98
cmp dword [rsi + 0x34], 5
jne 0x140027e98
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027ea1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019e18
jmp 0x140027f14
jns 0x140027f14
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b754
cmp rax, 0xffffffffffffffff
jne 0x140027ecc
cmp byte [rsi + 0x30], dil
je 0x140027f14
mov edi, dword [rsi + 0x2c]
jmp 0x140027f14
mov ecx, r14d
call fcn.140016ef8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027f14
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f0d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f12
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b754
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140014900
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x14001a108]
test rax, rax
je 0x14001494a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001494a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001494a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001494a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001494a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001494c
xor al, al
add rsp, 0x28
ret
Function at 0x140003d90
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003dc4
cmp word [rcx], 0x5a4d
jne 0x140003dc4
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003dc4
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003dc4
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003cd0
test eax, eax
jne 0x140003de0
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003d40
test rax, rax
je 0x140003dd5
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.14000458f
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004490
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004430
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400048e4
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x140561678]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x140561674]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140004932
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000492a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140004a19
inc ebx
add rax, 0x28
jmp 0x14000490a
mov rcx, r12
call fcn.140005111
mov rbp, rax
test rax, rax
jne 0x140004951
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140004880
movsxd rbx, ebx
mov rax, qword [0x140561678]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.1400051bf
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140561678]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400049b3
mov rax, qword [0x140561678]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140004880
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140004a13
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140004a13
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 [0x140561678]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140004a13
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140004880
inc dword [0x140561674]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004e40
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x1405616e0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1405616c0]
test rbx, rbx
je 0x140004e8c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004e86
test eax, eax
jne 0x140004e86
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004e5e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140005040
Capabilities:
Parse pe header

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

Function at 0x140005064
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x14000509e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140005095
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400050a0
inc r8d
add rax, 0x28
jmp 0x14000507c
xor eax, eax
ret

Function at 0x140005111
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14055d770]
mov r8, rcx
mov rcx, r9
call fcn.140005040
test eax, eax
je 0x14000513d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140005064
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov esi, r9d
mov ebp, r8d
mov r14, rdx
mov r15d, ecx
mov r10, qword [rax + 0x18]
mov rdi, qword [r10 + 0x18]
mov rbx, rdi
nop dword [rax + rax]
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], 0
je 0x14000105f
mov rcx, qword [rbx + 0x60]
lea rdx, [0x140003280]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001064
cmp rdi, rbx
jne 0x140001040
mov rbx, qword [rbx + 0x30]
lea rcx, str.LoadLibraryA
mov edx, 0xc
lea r8d, [rdx - 2]
call fcn.140001220
mov r9d, 0xa
mov edx, eax
mov rcx, rbx
lea r8d, [r9 + 2]
call fcn.1400010d0
mov rcx, r14
mov qword [0x140005040], rax
call rax
mov r9d, esi
mov r8d, ebp
mov edx, r15d
mov rcx, rax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
jmp fcn.1400010d0

Function at 0x1400010d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov r12d, r9d
mov r13d, r8d
mov rsi, rcx
mov ebp, 0xffffffff
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r15d, dword [rdi + 0x20]
mov eax, dword [rdi + 0x24]
add r15, rcx
add rax, rcx
cmp dword [rdi + 0x18], 1
mov qword [rsp + 0x60], rax
je 0x140001153
mov qword [rsp + 0x70], r14
nop dword [rax]
mov ecx, dword [r15 + rbx*4]
mov r8d, r12d
add rcx, rsi
mov edx, r13d
call fcn.140001220
cmp dword [rsp + 0x68], eax
je 0x140001145
mov eax, dword [rdi + 0x18]
inc ebx
dec eax
cmp ebx, eax
jb 0x140001120
jmp 0x14000114e
mov rax, qword [rsp + 0x60]
movzx ebp, word [rax + rbx*2]
mov r14, qword [rsp + 0x70]
mov ecx, dword [rdi + 0x1c]
add rcx, rsi
mov eax, dword [rcx + rbp*4]
add rax, rsi
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140001220
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
mov r9d, edx
mov r11d, r8d
mov r8d, edx
cmp edx, 4
jl 0x140001267
mov r10d, r9d
shr r10, 2
mov eax, r10d
neg eax
lea r9d, [r9 + rax*4]
nop
imul eax, dword [rcx], 0x5bd1e995
add rcx, 4
imul r11d, r11d, 0x5bd1e995
mov edx, eax
shr edx, 0x18
xor edx, eax
imul edx, edx, 0x5bd1e995
xor r11d, edx
sub r10, 1
jne 0x140001240
xor edx, edx
sub r9d, 1
je 0x14000128b
sub r9d, 1
je 0x140001282
cmp r9d, 1
jne 0x140001290
movzx edx, byte [rcx + 2]
shl edx, 0x10
movzx eax, byte [rcx + 1]
shl eax, 8
xor edx, eax
movzx eax, byte [rcx]
xor edx, eax
imul ecx, edx, 0x5bd1e995
imul r8d, r8d, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, r11d, 0x5bd1e995
xor ecx, eax
mov eax, r8d
shr eax, 0x18
xor eax, r8d
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
ret
Function at 0x140001570
Capabilities:
Execute command

Disassembly:
sub rsp, 0x38
lea rcx, str.urlmon.dll
call fcn.1400011d0
test rax, rax
je 0x140001613
lea rdx, str.URLDownloadToFileW
mov rcx, rax
call fcn.140001170
test rax, rax
je 0x140001607
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8, str.downloaded_file.txt
mov qword [rsp + 0x20], 0
lea rdx, str.https:__en.wikipedia.org_wiki_Windows.h
xor ecx, ecx
call rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov ebx, eax
test eax, eax
js 0x1400015db
lea rdx, str.File_downloaded_successfully.
call fcn.1400012e0
jmp 0x1400015f2
lea rdx, str.Failed_to_download_file._Error_code:
call fcn.1400012e0
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x1400014b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rbx, qword [rsp + 0x30]
lea rcx, str.urlmon.dll
call fcn.1400011d0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140003460
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x14009f320]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
sete al
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14006ab10
add rsp, 0x1d8
ret
Function at 0x140007c40
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp dword [rcx + 0x580], 0
jne 0x140007cb9
mov ecx, reloc.WS2_32.dll_recv
call fcn.14006ab30
test rax, rax
je 0x140007c6f
mov qword [rax], rbx
lea rcx, [0x140007a00]
mov qword [rax + 8], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140003f70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140007cc6
cmp dword [rbx + 0x580], 0
jne 0x140007cbf
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x578], xmm1
add rsp, 0x40
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140010bb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
movsxd rcx, dword [rcx + 8]
xor r9d, r9d
nop
call qword [sym.imp.WS2_32.dll_recv]
cdqe
add rsp, 0x28
ret

Function at 0x140010bd0
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
movsxd rcx, dword [rcx + 8]
xor r9d, r9d
nop
call qword [sym.imp.WS2_32.dll_send]
cdqe
add rsp, 0x28
ret
Function at 0x140012d70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x140012dd1
lea r8, [r9 + 8]
nop dword [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 0x140012d90
mov ecx, dword [r9]
jmp 0x140012eb8
cmp ecx, 0x4e0
jb 0x140012eb8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
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 [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140012df0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
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 [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140012e40
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 0x140015490
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov eax, 0x13f0
call fcn.14006b180
sub rsp, rax
mov rax, qword [0x14009f320]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
movsxd rsi, r8d
mov rdi, rdx
mov qword [rsp + 0x28], rdx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
lea edx, [rbx + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140002100
mov rbp, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x1a
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.0123456789ABCDEFGHabcdefgh]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140070248]
movsd qword [rax + 0x10], xmm0
movzx eax, word [0x140070250]
mov word [rbp + 0x18], ax
mov byte [rbp + 0x1a], bl
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea ecx, [rbx + 1]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x140015540
mov dword [rsp + 0x50], 0x270
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], select
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.140015980
test rsi, rsi
jle 0x1400155f0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
call fcn.140012d70
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x1400155cb
lea rcx, [rsp + 0x28]
call fcn.140012d70
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x1400155b6
shr rax, 0x20
movsxd rcx, eax
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400155df
mov rax, qword [rdi]
movzx r8d, byte [rcx + rbp]
mov byte [rax + rbx], r8b
inc rbx
cmp rbx, rsi
jl 0x1400155a1
mov edx, 0x20
mov rcx, rbp
call fcn.14006adc4
mov rax, rdi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.14006ab10
mov rbx, qword [rsp + 0x1410]
add rsp, 0x13f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001d0b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, r8
lea rdx, [0x140070b30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
jne 0x14001d0ef
mov eax, 0xffffc200
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbp, eax
mov rcx, rbx
cmp ebp, 0xffffffff
jne 0x14001d127
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, 0xffffc200
jmp 0x14001d1c7
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
lea rdx, [rbp + 1]
mov qword [rdi], rbp
test rdx, rdx
je 0x14001d1b9
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rsi], rax
test rax, rax
je 0x14001d1b9
mov r8, qword [rdi]
mov r9, rbx
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, qword [rdi]
je 0x14001d18e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, qword [rdi]
mov rcx, qword [rsi]
call fcn.140020050
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 0xffffc200
jmp 0x14001d1c7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsi]
lea rdx, str._____BEGIN
mov rax, qword [rdi]
mov byte [rcx + rax], 0
mov rcx, qword [rsi]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x14001d1b5
inc qword [rdi]
xor eax, eax
jmp 0x14001d1c7
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, 0xffffc080
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400389c0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
lea rbx, [0x140075f50]
mov r14, rdx
mov rcx, rbx
test rsi, rsi
je 0x140038a1e
cmp qword [0x140075f50], 0
je 0x140038a1e
mov rdi, qword [rsi + 8]
cmp qword [rcx + 8], rdi
jne 0x140038a11
mov rdx, qword [rsi + 0x10]
mov r8, rdi
mov rcx, qword [rcx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140038a39
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x1400389f8
mov eax, 0xffffffd2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
test rbx, rbx
je 0x140038a1e
mov eax, dword [rbx + 0x20]
mov dword [r14], eax
xor eax, eax
jmp 0x140038a23

Function at 0x140038af0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x20
mov rsi, rcx
lea rbx, [0x140075d20]
mov r14, r8
mov r15, rdx
mov rcx, rbx
test rsi, rsi
je 0x140038b56
cmp qword [0x140075d20], 0
je 0x140038b56
mov rdi, qword [rsi + 8]
cmp qword [rcx + 8], rdi
jne 0x140038b49
mov rdx, qword [rsi + 0x10]
mov r8, rdi
mov rcx, qword [rcx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140038b76
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x140038b30
mov eax, 0xffffffd2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
test rbx, rbx
je 0x140038b56
mov eax, dword [rbx + 0x20]
mov dword [r15], eax
mov eax, dword [rbx + 0x24]
mov dword [r14], eax
xor eax, eax
jmp 0x140038b5b