joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006ad0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140061ad0]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140006b64
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001a9f0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140006b80
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x140061ad0]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x140013ae0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140071040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140078060]
mov edi, ecx
cmp byte [rbx + 0x4a75], 0
jne 0x140013b41
cmp byte [rbx + 0x4a76], 0
jne 0x140013b41
movsx r9d, word [rbx + 0x5b9a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002de0
test dil, 1
je 0x140013c6f
jmp 0x140013bcc
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b9a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140067a50]
mov edx, 0x10
mulss xmm1, dword [0x140067a34]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x140067894]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.140002de0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013c20
lea r11, [0x140061ad0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140013c03
cmp byte [r8], r9b
jne 0x140013c03
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140013bf0
not ecx
call fcn.14000ac20
test rax, rax
je 0x140013c6f
cmp byte [rax + 0xb6], 0
je 0x140013c6f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b9a]
movsx r9d, word [rbx + 0x5b9a]
call fcn.140002de0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d360
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005dba0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140019390
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c80], 0
lea rbx, [rcx + 0x5c88]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140019437
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400193ea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001b740
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400038f0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c80]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c90]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140078058]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001943f
mov rcx, rbx
call fcn.1400038f0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400197d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140078060]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019833
mov qword [rsp], rbx
lea rbx, [0x140061ad0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019813
cmp byte [r8], r9b
jne 0x140019813
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140019800
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bf8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019867
mov r10, qword [r10 + 0x5c00]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001986e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019854
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140051980
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x13d0
call fcn.14005ed80
sub rsp, rax
mov rax, qword [0x140071040]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x13b0], xmm0
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 word [rax + 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 0x1400519d0
mov dword [rsp + 0x20], 0x270
lea rdi, str.2s119sf3f59gga60473wxyzABCfDEFGHIJKLMN
xor ebx, ebx
lea rcx, [rsp + 0x20]
call fcn.14005d970
mov ecx, eax
imul rax, rcx, 0x64
cmp eax, 0x5f
ja 0x140051a2a
lea rcx, [rsp + 0x20]
call fcn.14005d970
mov ecx, eax
imul rax, rcx, 0x64
cmp eax, 0x60
jb 0x140051a15
shr rax, 0x20
sub rax, 0x7fffff9c
xor rax, 0xffffffff80000000
movzx ecx, byte [rax + rdi]
add byte [rsp + rbx + 0x13b0], cl
inc rbx
cmp rbx, 0xf
jl 0x140051a00
lea rcx, [rsp + 0x13b0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.14005dba0
mov rbx, qword [rsp + 0x13e0]
add rsp, 0x13d0
pop rdi
ret
Function at 0x14005d970
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 0x14005d9d1
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 0x14005d990
mov ecx, dword [r9]
jmp 0x14005dab8
cmp ecx, 0x4e0
jb 0x14005dab8
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 0x14005d9f0
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 0x14005da40
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 0x14005e90c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005e956
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005e956
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005e956
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005e956
cmp dword [rcx + 0x84], 0xe
jbe 0x14005e956
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005e958
xor al, al
add rsp, 0x28
ret
Function at 0x140001070
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, r8
lea r9, [rsp + 0x20]
mov r14d, edx
mov r15, rcx
xor edi, edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov ecx, 0x10
mov esi, 0xffffffff
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140001128
mov qword [rsp + 0x58], rbx
nop word [rax + rax]
mov ebx, dword [rsp + 0x20]
add rbx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
test rdi, rdi
je 0x1400010f8
mov r9, rbx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
jmp 0x140001101
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0x10
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400010d0
mov rbx, qword [rsp + 0x58]
test eax, eax
je 0x14000116a
mov esi, eax
test rdi, rdi
je 0x140001147
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400016c0
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
mov r9d, dword [rdi]
xor edx, edx
test r9d, r9d
je 0x14000112e
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rdx + rdx*2]
movzx eax, word [rdi + rcx*8 + 8]
lea r8, [rdi + rcx*8]
cmp eax, r14d
jne 0x140001199
cmp word [r8 + 0xe], bp
je 0x1400011a2
inc edx
cmp edx, r9d
jb 0x140001180
jmp 0x140001133
mov rax, qword [r8 + 0x10]
xor esi, esi
mov qword [r15], rax
jmp 0x140001133
Function at 0x1400011b0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor esi, esi
lea r9, [rsp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x20], esi
xor edx, edx
mov ecx, 0xb
mov ebx, esi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140001256
mov eax, dword [rsp + 0x20]
test rbx, rbx
je 0x14000121a
lea edi, [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r9d, edi
mov r8, rbx
mov rcx, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
jmp 0x140001234
lea ebx, [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400011f2
test eax, eax
jne 0x140001291
cmp dword [rbx], esi
jbe 0x1400012a4
nop
mov eax, esi
lea rdx, str.ntoskrnl.exe
imul rdi, rax, 0x128
lea rcx, [rdi + 0x30]
add rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14000128a
inc esi
cmp esi, dword [rbx]
jb 0x140001260
jmp 0x1400012a4
mov rax, qword [rdi + rbx + 0x18]
jmp 0x1400012ba
test rbx, rbx
je 0x1400012a4
mov edx, eax
lea rcx, str.____NtQuerySystemInformation_failed.__NTSTATUS_code:_0x_X__n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400016c0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x40ac8c
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, edx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
add rax, 0x20
xor edi, edi
mov rax, qword [rax]
mov rbx, qword [rax + 0x20]
test rbx, rbx
je 0x40ad73
add rax, 0xfffffffffffffff0
movsxd rdx, dword [rbx + 0x3c]
mov edx, dword [rdx + rbx + 0x88]
test rdx, rdx
je 0x40ad1e
mov r8, qword [rax + 0x60]
test r8, r8
je 0x40ad1e
movzx r9d, word [rax + 0x58]
shr r9d, 1
mov r10d, 0x4d2
xor r11d, r11d
cmp r9, r11
je 0x40ad19
movzx r14d, word [r8 + r11*2]
lea ebp, [r14 - 0x20]
cmp r14w, 0x61
cmovb ebp, r14d
rol r10d, 0x1b
movzx ebp, bp
add r10d, ebp
inc r11
jmp 0x40acf3
cmp r10d, ecx
je 0x40ad24
add rax, 0x10
jmp 0x40acb5
mov r14d, dword [rdx + rbx + 0x20]
add r14, rbx
mov r15d, dword [rdx + rbx + 0x24]
add r15, rbx
mov r13d, dword [rdx + rbx + 0x18]
mov r12d, dword [rdx + rbx + 0x1c]
add r12, rbx
xor edi, edi
xor ebp, ebp
cmp r13, rbp
je 0x40ad73
mov ecx, dword [r14 + rbp*4]
add rcx, rbx
call fcn.0040ad87
mov rcx, rax
call fcn.0040ada0
cmp eax, esi
je 0x40ad67
inc rbp
jmp 0x40ad45
movzx eax, word [r15 + rbp*2]
mov edi, dword [r12 + rax*4]
add rdi, rbx
mov rax, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x41638c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
xor eax, eax
xor ecx, ecx
cmp rax, 0x13
je 0x4163c4
movzx r8d, byte [rdx + rax]
and r8, 0xf
je 0x4163bf
cmp rcx, r8
cmovbe rcx, r8
inc word [rsp + r8*2 + 0x20]
inc rax
jmp 0x4163a1
test rcx, rcx
je 0x416400
mov eax, 1
mov ecx, 1
cmp rax, 8
je 0x4163f3
add rcx, rcx
movzx r8d, word [rsp + rax*2 + 0x20]
inc rax
sub rcx, r8
jae 0x4163d3
mov ax, 0x5b
jmp 0x4165d7
mov ax, 0x5c
test rcx, rcx
jne 0x4165d7
movabs rdi, 0xc0003fffffff
xor eax, eax
lea rcx, [rdi - 0x3fffcf00]
cmp rax, 0x13
je 0x41646e
movzx r8d, byte [rdx + rax]
mov r9d, dword [rsi + rax*8]
mov r10d, dword [rsi + rax*8 + 4]
movzx r11d, word [rsi + rax*8 + 4]
shl r11, 0x20
or r11, r9
and r11, 0xffffffffffffcfff
mov dword [rsi + rax*8], r11d
mov byte [rsi + rax*8], al
shl r10, 0x20
mov r9d, dword [rsi + rax*8]
or r9, r10
and r9, rcx
and r8d, 0xf
shl r8d, 8
or r8, r9
mov dword [rsi + rax*8], r8d
shr r9, 0x20
mov word [rsi + rax*8 + 4], r9w
inc rax
jmp 0x416413
mov edx, 0x13
mov rcx, rsi
call fcn.004165de
xor eax, eax
cmp rax, 0x80
je 0x41649b
and word [rsi + rax*8 + 0x9c], 0
and dword [rsi + rax*8 + 0x98], 0
inc rax
jmp 0x41647d
xor edx, edx
movabs r8, 0x3fffc0000000
xor r10d, r10d
xor r9d, r9d
cmp r9, 0x13
je 0x4165d5
mov eax, dword [rsi + r9*8]
movzx r11d, word [rsi + r9*8 + 4]
shl r11, 0x20
or r11, rax
test r11w, 0xf00
je 0x4165cd
mov rax, r11
and rax, 0xffffffffc0003fff
movzx ecx, dx
shl ecx, 0xe
or rcx, rax
mov rax, r11
shr rax, 0x20
mov word [rsi + r9*8 + 4], ax
mov dword [rsi + r9*8], ecx
shr r11d, 8
mov ecx, r11d
xor cl, 7
and cl, 0xf
mov eax, 1
shl eax, cl
add eax, edx
mov edx, eax
xor eax, eax
cmp dx, 0x80
ja 0x4165d7
cmp r10w, 0x7f
ja 0x4165d7
shl r11b, 4
sar r11b, 4
movzx eax, r10w
js 0x416566
movzx ecx, dx
cmp rcx, rax
je 0x4165ca
mov r10, qword [rsi + r9*8]
mov dword [rsi + rax*8 + 0x98], r10d
shr r10, 0x20
and r10d, 0x3fff
mov word [rsi + rax*8 + 0x9c], r10w
inc rax
jmp 0x416538
mov r10d, dword [rsi + rax*8 + 0x98]
movzx ecx, word [rsi + rax*8 + 0x9c]
shl rcx, 0x20
or rcx, r10
mov r10, rcx
and r10, rdi
mov r11, r9
shl r11, 0x1e
or r11, r10
mov dword [rsi + rax*8 + 0x98], r11d
shr r11, 0x20
mov word [rsi + rax*8 + 0x9c], r11w
mov eax, dword [rsi + r9*8]
movzx r10d, word [rsi + r9*8 + 4]
shl r10, 0x20
or r10, rax
and r10, rdi
and rcx, r8
or rcx, r10
mov dword [rsi + r9*8], ecx
shr rcx, 0x20
mov word [rsi + r9*8 + 4], cx
mov r10d, edx
inc r9
jmp 0x4164ad
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x418a63
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rsi, r8
mov rdi, rdx
mov al, byte [0x004d4010]
xor ecx, ecx
test al, 1
mov edx, 0x210
cmove rdx, rcx
test rdx, rdx
je 0x418aa3
test al, 1
jne 0x418aaa
movabs rax, 0xaaaaaaaaaaaaaaaa
jmp 0x418ab1
mov byte [0x004d4010], 1
lea rax, [0x004d5000]
cmp byte [rax + 0x208], 0
je 0x418ad7
mov rcx, rdi
mov rdx, rsi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.004236b9
lea rbx, [rsp + 0x20]
mov r15d, 0x20
xor r12d, r12d
mov r13d, 0xffffffff
cmp r12, 0x1f
ja 0x418b1c
cmp r15, r13
mov r14d, 0xffffffff
cmovb r14, r15
mov rcx, rbx
mov edx, r14d
call sub.ADVAPI32.dll_SystemFunction036
test eax, eax
je 0x418ba9
add r12, r14
add rbx, r14
sub r15, r14
jmp 0x418aeb
cmp byte [0x004d4010], 0
lea rax, [0x004d5000]
movabs rbx, 0xaaaaaaaaaaaaaaaa
cmovne rbx, rax
lea r14, [rsp + 0x48]
mov r8d, 0x208
mov rcx, r14
xor edx, edx
call fcn.0046bf36
lea rcx, [rsp + 0x50]
lea r8, [0x004ce5b6]
lea r15, [rsp + 0x20]
mov rdx, r15
call fcn.0045aec9
mov r8d, 0x208
mov rcx, rbx
mov rdx, r14
call fcn.0046bf16
xorps xmm0, xmm0
movaps xmmword [r15], xmm0
movaps xmmword [r15 + 0x10], xmm0
mov byte [rbx + 0x208], 1
mov rcx, rdi
mov rdx, rsi
call fcn.004236b9
nop
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
lea rcx, str.getrandom___failed_to_provide_entropy
lea r8, [0x004ceb70]
mov edx, 0x25
call fcn.0040784f
int3

Function at 0x41b5d8
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rbx, r8
mov r8, rdx
mov rdx, rcx
lea rsi, [0x004c7e30]
lea r14, [rsp + 0x20]
mov ecx, 0xe
mov rdi, r14
rep movsq qword [rdi], qword [rsi]
mov rcx, r14
call fcn.0041cb3a
mov rcx, r14
mov rdx, rbx
call fcn.00449b2a
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x421bda
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x488
movdqa xmmword [rsp + 0x470], xmm6
mov r12, r9
mov qword [rsp + 0x28], r8
mov r15, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov rdx, rsi
call fcn.0044d16f
movzx eax, word [rdi + 0x20]
test ax, ax
jne 0x421c51
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsi, 0x20
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov rdx, rsi
call fcn.0044d16f
movzx eax, word [rdi + 0x20]
test ax, ax
je 0x421c6d
movaps xmm6, xmmword [rsp + 0x470]
add rsp, 0x488
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
or rcx, r13
or rcx, rbp
mov ax, 0xaf
or rcx, r14
je 0x421c51
mov rdx, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xd0]
mov r10, qword [rsp + 0xd8]
mov rcx, r8
or rcx, rdx
or rcx, r9
or rcx, r10
je 0x421c51
mov r11, r14
mov r14, r13
mov r13, rbp
lea rsi, [0x004c7e30]
lea rbp, [rsp + 0x2e0]
mov ecx, 0xe
mov rdi, rbp
rep movsq qword [rdi], qword [rsi]
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], r11
mov qword [rbp + 0x90], rdx
mov qword [rbp + 0x98], r8
mov qword [rbp + 0xa0], r9
mov qword [rbp + 0xa8], r10
lea r14, [rsp + 0x390]
mov ecx, 0xd
mov rdi, r14
mov rsi, r12
rep movsq qword [rdi], qword [rsi]
mov rcx, rbp
mov rdx, r15
mov r8, qword [rsp + 0x28]
call fcn.0041cb3a
pxor xmm6, xmm6
lea rsi, [rsp + 0x150]
movdqa xmmword [rsi + 0x10], xmm6
movdqa xmmword [rsi], xmm6
mov rcx, rbp
mov rdx, rsi
call fcn.00449b2a
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov rdx, rsi
call fcn.00456fb8
movdqu xmm0, xmmword [rdi]
movdqu xmm1, xmmword [rdi + 0x10]
por xmm1, xmm0
pcmpeqd xmm1, xmm6
movmskps eax, xmm1
xor eax, 0xf
je 0x421ecb
lea rbx, [rsp + 0x350]
lea rdx, [rsp + 0x370]
lea rsi, [rsp + 0x178]
mov rcx, rsi
call fcn.00457003
lea rdi, [rsp + 0x198]
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov r8, rsi
call fcn.0045734e
lea r15, [rsp + 0x1f8]
mov rcx, r15
mov rdx, rdi
mov r8b, 1
call fcn.004237b3
lea rdi, [rsp + 0x1b8]
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call fcn.0045734e
lea rcx, [rsp + 0x130]
mov rdx, rdi
mov r8b, 1
call fcn.004237b3
lea rdx, [0x004cccb0]
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8, r15
mov r9b, 1
call fcn.0041c1a7
movzx eax, word [rsi + 0x68]
test ax, ax
jne 0x421c51
lea rdi, [rsp + 0x238]
lea rsi, [rsp + 0x50]
mov ecx, 0xd
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0xc0]
lea r8, [rsp + 0x130]
mov rcx, rsi
mov rdx, r14
mov r9b, 1
call fcn.0041c1a7
movzx eax, word [rsi + 0x68]
test ax, ax
jne 0x421c51
lea rsi, [rsp + 0x408]
lea rdx, [rsp + 0x238]
lea r8, [rsp + 0xc0]
mov rcx, rsi
call fcn.0044eec1
lea rdi, [rsp + 0x2a0]
mov rcx, rdi
mov rdx, rsi
call fcn.0041c5b5
xor ebp, ebp
lea rsi, [rsp + 0x218]
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.0041c9a7
lea rdi, [rsp + 0x1d8]
mov rcx, rdi
mov rdx, rsi
call fcn.00456fb8
mov rcx, rbx
mov rdx, rdi
call fcn.0045738f
test al, 1
mov eax, 0xb0
cmovne eax, ebp
jmp 0x421c51
mov ax, 0xb0
jmp 0x421c51