joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a1970
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x4c0
mov qword [rax - 0x438], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x180272190]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
lea rcx, [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0xb6]
movzx edx, word [rsp + 0xb4]
movzx r10d, word [rsp + 0xb2]
movzx r11d, word [rsp + 0xb0]
movzx ebx, word [rsp + 0xae]
movzx r9d, word [rsp + 0xaa]
movzx r8d, word [rsp + 0xa8]
mov dword [rsp + 0x68], 0x4a7
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x58], 4
lea rax, str.WEB_keyProxy
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea rdx, str._04d__02d__02d__02d:_02d:_02d._03d___d__:___s__d._d._d:
lea rcx, [rsp + 0xc0]
call fcn.18001cbe0
mov edx, 0x1388
mov rcx, qword [0x180280338]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1800a1bad
lea rax, vtable.WKString.0
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x80], 0
xor r14d, r14d
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], r14
mov rdx, qword [rbp + 0xf8]
lea rcx, [rsp + 0x78]
call sym.WebKeyAPICPPDLLx64.dll_protected:_void___cdecl_WKString::Set_char_const____ptr64____ptr64
nop
lea rcx, [0x1801ca568]
mov rbx, qword [rsp + 0x88]
cmp qword [rsp + 0x98], r14
cmovne rcx, rbx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
test rbx, rbx
je 0x1800a1af9
mov rcx, rbx
call fcn.1801525f4
cmp rdi, 0xffffffffffffffff
je 0x1800a1ba0
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rax, [rsp + 0xc0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800a1b30
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
lea rdx, [rsp + 0xc0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1800a1b55
mov r8, rbx
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
mov r8d, 2
lea rdx, [0x1801cca18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
Function at 0x1800a8d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x20
mov ebp, dword [rcx + 0x6ec]
xor r11d, r11d
mov qword [rsp + 0x30], rsi
mov rbx, rcx
mov esi, dword [rcx + 0x6f0]
xorps xmm5, xmm5
mov qword [rsp + 0x40], r14
mov r14, qword [rcx + 0x8b50]
movzx r9d, byte [r14]
movzx r10d, r9b
test ebp, ebp
jle 0x1800a8db4
mov qword [rsp + 0x38], rdi
test esi, esi
jle 0x1800a8da7
mov eax, esi
mov rdi, rsi
imul eax, r11d
movsxd r8, eax
add r8, r14
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r8]
cmp r10b, dl
movzx eax, r10b
mov ecx, edx
cmovbe ecx, eax
movzx eax, r9b
cmp r9b, dl
movd xmm0, edx
cvtdq2pd xmm0, xmm0
cmovae edx, eax
movzx r10d, cl
inc r8
movzx r9d, dl
addsd xmm5, xmm0
sub rdi, 1
jne 0x1800a8d70
inc r11d
cmp r11d, ebp
jl 0x1800a8d51
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov eax, ebp
imul eax, esi
mov rsi, qword [rsp + 0x30]
movzx ecx, r9b
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movzx eax, r10b
sub ecx, eax
divsd xmm5, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm5
movss dword [rbx + 0x86fc], xmm0
cmp ecx, 0x80
jge 0x1800a8e14
lea rdx, str.Error_____Contrast_of_original_image_is_too_low_
mov rcx, rbx
call fcn.18001cbe0
mov dword [rbx + 0xdea4], 0xffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
xor r9d, r9d
xorps xmm2, xmm2
xorps xmm3, xmm3
xorps xmm4, xmm4
test ebp, ebp
jle 0x1800a8e98
lea r10, [rbx + 0x6f8]
nop dword [rax + rax]
mov eax, dword [rbx + 0x6f0]
xor edx, edx
test eax, eax
jle 0x1800a8e88
mov r8, qword [r10]
nop
imul eax, r9d
add eax, edx
movsxd rcx, eax
mov rax, qword [rbx + 0x8b50]
movzx ecx, byte [rcx + rax]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm0, xmm5
cvtpd2ps xmm1, xmm0
comiss xmm4, xmm1
movss dword [r8], xmm1
jbe 0x1800a8e71
movaps xmm4, xmm1
mov eax, dword [rbx + 0x6f0]
maxss xmm1, xmm3
inc edx
add r8, 4
movaps xmm3, xmm1
cmp edx, eax
jl 0x1800a8e40
inc r9d
add r10, 8
cmp r9d, dword [rbx + 0x6ec]
jl 0x1800a8e30
movaps xmm0, xmm4
xorps xmm0, xmmword [0x1801e8530]
comiss xmm3, xmm0
jbe 0x1800a8eb1
mulss xmm3, dword [0x1801e83f8]
jmp 0x1800a8ebc
movaps xmm3, xmm4
mulss xmm3, dword [0x1801e84b8]
xor edx, edx
movss dword [rbx + 0x86f8], xmm3
cmp dword [rbx + 0x6ec], edx
jle 0x1800a8f24
lea r8, [rbx + 0x6f8]
xor ecx, ecx
cmp dword [rbx + 0x6f0], ecx
jle 0x1800a8f16
mov rax, qword [r8]
nop dword [rax]
nop word [rax + rax]
movss xmm0, dword [rax]
divss xmm0, dword [rbx + 0x86f8]
comiss xmm2, xmm0
movss dword [rax], xmm0
jbe 0x1800a8f08
movaps xmm2, xmm0
inc ecx
add rax, 4
cmp ecx, dword [rbx + 0x6f0]
jl 0x1800a8ef0
inc edx
add r8, 8
cmp edx, dword [rbx + 0x6ec]
jl 0x1800a8ed5
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
Function at 0x1800b27a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1800b2340
mov r11d, eax
lea edx, [rax*4]
movsxd r9, edx
test edx, edx
jle 0x1800b281d
lea r8, [rbx + 8]
xor r10d, r10d
lea r8, [r8 + r9*4]
lea rdx, [rbx + 8]
nop
mov ecx, dword [rdx - 8]
add r10, 4
mov eax, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rdx - 8], eax
lea rdx, [rdx + 0x10]
mov eax, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], ecx
mov ecx, dword [rdx - 0x14]
mov dword [rdx - 0x14], eax
mov eax, dword [r8 + 0x10]
mov dword [r8 + 0xc], ecx
mov ecx, dword [rdx - 0x10]
mov dword [rdx - 0x10], eax
mov eax, dword [r8 + 0x14]
mov dword [r8 + 0x10], ecx
mov ecx, dword [rdx - 0xc]
mov dword [rdx - 0xc], eax
mov dword [r8 + 0x14], ecx
cmp r10, r9
jl 0x1800b27d0
cmp r11d, 1
jle 0x1800b29d7
mov qword [rsp + 0x30], rdi
lea r10d, [r11 - 1]
lea rdi, [0x180000000]
add rbx, 4
nop dword [rax + rax]
mov r9d, dword [rbx + 0x10]
lea rbx, [rbx + 0x10]
mov r8d, dword [rbx - 4]
movzx eax, byte [rbx - 3]
movzx ecx, byte [rdi + rax*4 + 0x1dabb0]
mov eax, r8d
shr rax, 0x18
mov edx, dword [rdi + rcx*4 + 0x1db7b0]
movzx eax, byte [rdi + rax*4 + 0x1dabb0]
xor edx, dword [rdi + rax*4 + 0x1dafb0]
movzx eax, byte [rbx - 2]
movzx ecx, byte [rdi + rax*4 + 0x1dabb0]
movzx eax, r8b
xor edx, dword [rdi + rcx*4 + 0x1db3b0]
movzx ecx, byte [rdi + rax*4 + 0x1dabb0]
mov eax, r9d
shr eax, 0x10
xor edx, dword [rdi + rcx*4 + 0x1dbbb0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx - 4], edx
movzx edx, byte [rdi + rcx*4 + 0x1dabb0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x1db3b0]
movzx eax, byte [rdi + rcx*4 + 0x1dabb0]
xor r8d, dword [rdi + rax*4 + 0x1db7b0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x1dabb0]
movzx eax, r9b
mov r9d, dword [rbx + 4]
xor r8d, dword [rdi + rcx*4 + 0x1dafb0]
movzx ecx, byte [rdi + rax*4 + 0x1dabb0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x1dbbb0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx], r8d
movzx edx, byte [rdi + rcx*4 + 0x1dabb0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x1db3b0]
movzx eax, byte [rdi + rcx*4 + 0x1dabb0]
xor r8d, dword [rdi + rax*4 + 0x1db7b0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x1dabb0]
movzx eax, r9b
mov r9d, dword [rbx + 8]
xor r8d, dword [rdi + rcx*4 + 0x1dafb0]
movzx ecx, byte [rdi + rax*4 + 0x1dabb0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x1dbbb0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx + 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x1dabb0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x1db3b0]
movzx eax, byte [rdi + rcx*4 + 0x1dabb0]
xor r8d, dword [rdi + rax*4 + 0x1db7b0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x1dabb0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x1dafb0]
movzx ecx, byte [rdi + rax*4 + 0x1dabb0]
xor r8d, dword [rdi + rcx*4 + 0x1dbbb0]
mov dword [rbx + 8], r8d
sub r10, 1
jne 0x1800b2840
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret
Function at 0x1800b7f90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
xor esi, esi
mov rbx, rcx
mov qword [rsp + 0x30], rsi
lea rcx, str.C:_tempWKEncryption.log
mov dword [rsp + 0x28], esi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 4
mov edx, 0xc0000000

Function at 0x1800b8050
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x138
mov rax, qword [0x180272190]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r9, rdx
mov r8, rcx
lea rdx, str._s:__s_n
lea rcx, [rsp + 0x20]
call fcn.18001cbe0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1801525d0
add rsp, 0x138
ret
Function at 0x1800be350
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov ecx, 0xc0
call fcn.180152604
mov rcx, rax
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rax + 8], rdx
mov byte [rax + 0x51], dl
mov qword [rax + 0x58], reloc.WS2_32.dll_recv
mov byte [rax + 0x51], 1
lea r8, [rax + 0x10]
mov qword [rax + 0x60], r8
mov byte [rax + 0xa9], dl
mov qword [rax + 0xb0], reloc.WS2_32.dll_recv
mov byte [rax + 0xa9], 1
lea rdx, [rax + 0x68]
mov qword [rax + 0xb8], rdx
mov rax, rdx
mov dword [rdx], 0x67452301
mov dword [rdx + 4], 0xefcdab89
mov dword [rdx + 8], 0x98badcfe
mov dword [rdx + 0xc], 0x10325476
mov dword [rdx + 0x10], 0xc3d2e1f0
lea rax, vtable.CryptoPP::SHA1.0
mov qword [rcx], rax
mov rax, rcx
add rsp, 0x38
ret

Function at 0x1800c1780
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rbx, rcx
mov qword [rsp + 0x20], rcx
call fcn.1800b70f0
nop
lea rdx, [rbx + 0xc0]
mov qword [rsp + 0x20], rdx
xor ecx, ecx
mov qword [rdx + 8], rcx
mov byte [rdx + 0x51], cl
mov qword [rdx + 0x58], reloc.WS2_32.dll_recv
mov byte [rdx + 0x51], 1
lea r8, [rdx + 0x10]
mov qword [rdx + 0x60], r8
mov byte [rdx + 0xa9], cl
mov qword [rdx + 0xb0], reloc.WS2_32.dll_recv
mov byte [rdx + 0xa9], 1
lea rcx, [rdx + 0x68]
mov qword [rdx + 0xb8], rcx
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
lea rax, vtable.CryptoPP::SHA1.0
mov qword [rdx], rax
lea rax, vtable.CryptoPP::PK_MessageAccumulatorImpl_class_CryptoPP::SHA1_.0
mov qword [rbx], rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1800c3500
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r10, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rcx
mov byte [rbx + 0x28], cl
lea rax, vtable.CryptoPP::HMAC_class_CryptoPP::SHA1_.1.0
mov qword [rbx], rax
lea rax, vtable.CryptoPP::HMAC_class_CryptoPP::SHA1_.0
mov qword [rbx + 8], rax
lea rdx, [rbx + 0x30]
mov qword [rsp + 0x30], rdx
mov qword [rdx + 8], rcx
mov byte [rdx + 0x51], cl
mov qword [rdx + 0x58], reloc.WS2_32.dll_recv
cmp byte [rdx + 0x51], cl
jne 0x1800c3563
mov byte [rdx + 0x51], 1
lea r8, [rdx + 0x10]
jmp 0x1800c3566
mov r8, rcx
mov qword [rdx + 0x60], r8
mov byte [rdx + 0xa9], 0
mov qword [rdx + 0xb0], reloc.WS2_32.dll_recv
cmp byte [rdx + 0xa9], 0
jne 0x1800c3590
mov byte [rdx + 0xa9], 1
lea rcx, [rdx + 0x68]
mov qword [rdx + 0xb8], rcx
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
lea rax, vtable.CryptoPP::SHA1.0
mov qword [rdx], rax
mov r9, qword [0x1802802e8]
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r10
mov rcx, rbx
call fcn.1800d04c0
nop
mov rax, rbx
add rsp, 0x40
pop rbx
ret
Function at 0x1800c35f0
Capabilities:
Hash data using sha1

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x120
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x180272190]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov rdi, qword [rsp + 0x150]
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [r11 - 0x78], 0x10
mov byte [r11 - 0x7f], 1
lea rax, [rsp + 0x68]
mov qword [r11 - 0x70], rax
mov qword [r11 - 0x20], 0x10
mov byte [r11 - 0x27], 1
lea rax, [r11 - 0x68]
mov qword [r11 - 0x18], rax
mov dword [r11 - 0x68], 0x67452301
mov dword [r11 - 0x64], 0xefcdab89
mov dword [r11 - 0x60], 0x98badcfe
mov dword [r11 - 0x5c], 0x10325476
mov dword [r11 - 0x58], 0xc3d2e1f0
lea rax, vtable.CryptoPP::SHA1.0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x40], 1
mov byte [rsp + 0x38], 0
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x58]
call fcn.1800e8520
nop
lea rax, [rsp + 0xc0]
mov rdi, qword [rsp + 0x110]
cmp rdi, rax
jne 0x1800c36dd
xor eax, eax
mov rcx, qword [rsp + 0x108]
rep stosd dword [rdi], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0xb8]
cmp rdi, rax
jne 0x1800c36fb
xor eax, eax
mov rcx, qword [rsp + 0xb0]
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1801525d0
add rsp, 0x120
pop rdi
ret
Function at 0x1800d5f30
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x100
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x180272190]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [r11 - 0x98], 0x10
mov byte [rsp + 0x79], 1
lea rax, [rsp + 0x38]
mov qword [r11 - 0x90], rax
mov qword [r11 - 0x38], 0x10
mov byte [r11 - 0x3f], 1
lea rax, [r11 - 0x88]
neg rax
and eax, 0xf
lea rsi, [r11 - 0x88]
add rsi, rax
mov qword [r11 - 0x30], rsi
movups xmm0, xmmword [0x1801e3d00]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [0x1801e3d10]
movups xmmword [rsi + 0x10], xmm1
lea rax, vtable.CryptoPP::SHA256.0
mov qword [rsp + 0x28], rax
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, qword [rcx + 0x38]
lea rcx, [rsp + 0x28]
call fcn.180102300
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180102300
mov rdi, qword [rbp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call qword [rbx + gethostname]
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x28]
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov byte [rbp + 0x70], 0
mov rdi, qword [rsp + 0xe8]
cmp rdi, rsi
jne 0x1800d6031
xor eax, eax
mov rcx, qword [rsp + 0xe0]
rep stosd dword [rdi], eax
lea rax, [rsp + 0x38]
mov rdi, qword [rsp + 0x88]
cmp rdi, rax
jne 0x1800d604f
xor eax, eax
mov rcx, qword [rsp + 0x80]
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1801525d0
mov rbx, qword [rsp + 0x138]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800d7790
Capabilities:
Generate random numbers via winapi

Disassembly:
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov rax, qword [0x180272190]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, r8
mov rbx, rdx
call fcn.1800d7ac0
mov r8, rbx
mov edx, edi
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1800d77fa
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1801525d0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
lea rdx, str.CryptGenRandom
lea rcx, [rsp + 0x28]
call fcn.180004260
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1800d74e0
lea rdx, [0x180246a70]
lea rcx, [rsp + 0x50]
call fcn.180155078
int3

Function at 0x1800d7830
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbx
sub rsp, 0xa0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x180272190]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
lea rax, vtable.CryptoPP::NonblockingRng.0
mov qword [rsp + 0x28], rax
call fcn.1800d7ac0
mov r8, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1800d7896
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1801525d0
add rsp, 0xa0
pop rbx
ret
lea rdx, str.CryptGenRandom
lea rcx, [rsp + 0x30]
call fcn.180004260
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1800d74e0
lea rdx, [0x180246a70]
lea rcx, [rsp + 0x50]
call fcn.180155078
int3

Function at 0x1800d7ac0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x180272190]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov ecx, dword [0x18027ed4c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180280d30], ecx
jle 0x1800d7b47
lea rcx, [0x180280d30]
call fcn.180153734
cmp dword [0x180280d30], 0xffffffff
jne 0x1800d7b47
mov qword [0x180280d38], 0
lea rcx, [0x1801aed30]
call fcn.180152e90
lea rcx, [0x180280d30]
call fcn.1801536d4
mov rax, qword [0x180280d38]
test rax, rax
jne 0x1800d7bb6
lea ecx, [rax + 8]
call fcn.180152604
mov rbx, rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1800d7bd7
mov rdi, qword [0x180280d38]
test rdi, rdi
je 0x1800d7bac
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, 8
mov rcx, rbx
call fcn.1801525f4
mov rax, rdi
jmp 0x1800d7bb6
mov qword [0x180280d38], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1801525d0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
lea rdx, str.CryptAcquireContext
lea rcx, [rsp + 0x40]
call fcn.180004260
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1800d74e0
lea rdx, [0x180246a70]
lea rcx, [rsp + 0x60]
call fcn.180155078
int3
Function at 0x1800eac00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x180272190]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx ebx, r9b
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
cmp byte [r8], 0
je 0x1800eaca7
mov rcx, qword [rcx + 8]
call fcn.1800b6dd0
movzx ecx, bl
xor ecx, 1
inc ecx
imul eax, ecx
inc eax
mov dword [rsp + 0x60], 0xffffffff
mov byte [rsp + 0x68], 0
lea rcx, vtable.CryptoPP::NullStore.1.0
mov qword [rsp + 0x48], rcx
lea rcx, vtable.CryptoPP::NullStore.0
mov qword [rsp + 0x50], rcx
mov ecx, 0xffffffff
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x20], 1
lea r9, [0x180274678]
lea r8, [rsp + 0x38]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call qword [0x1801e4a98]
jmp 0x1800eae3c
test bl, bl
je 0x1800ead51
cmp qword [r8 + 0x40], 0
ja 0x1800eacba
xor al, al
jmp 0x1800eacc3
mov rax, qword [r8 + 0x48]
movzx eax, byte [rax]
and al, 1
add al, 2
mov byte [rsp + 0x30], al
mov rax, qword [rdx]
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [rax + Ordinal_41]
mov rcx, qword [rbp + 8]
call fcn.1800b6dd0
mov ebp, eax
test eax, eax
je 0x1800eae3c
lea rbx, [rbp - 1]
nop word [rax + rax]
mov r8, rbx
shr r8, 3
cmp r8, qword [rdi + 0x18]
jb 0x1800ead11
xor al, al
jmp 0x1800ead25
mov rdx, qword [rdi + 0x20]
movzx ecx, bl
and cl, 7
shl cl, 3
mov rax, qword [rdx + r8*8]
shr rax, cl
mov byte [rsp + 0x30], al
mov rax, qword [rsi]
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [rax + Ordinal_41]
dec rbx
sub rbp, 1
jne 0x1800ead00
jmp 0x1800eae3c
mov rcx, qword [rcx + 8]
call fcn.1800b6dd0
mov ebx, eax
mov byte [rsp + 0x30], 4
mov r10, qword [rsi]
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [r10 + Ordinal_41]
mov ebp, ebx
mov r14d, ebx
test ebx, ebx
je 0x1800eaddc
dec rbx
nop dword [rax + rax]
mov r8, rbx
shr r8, 3
cmp r8, qword [rdi + 0x18]
jb 0x1800eada1
xor al, al
jmp 0x1800eadb5
mov rdx, qword [rdi + 0x20]
movzx ecx, bl
and cl, 7
shl cl, 3
mov rax, qword [rdx + r8*8]
shr rax, cl
mov byte [rsp + 0x30], al
mov rax, qword [rsi]
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [rax + Ordinal_41]
dec rbx
sub r14, 1
jne 0x1800ead90
test rbp, rbp
je 0x1800eae3c
lea rbx, [rbp - 1]
nop word [rax + rax]
mov r8, rbx
shr r8, 3
cmp r8, qword [rdi + 0x40]
jb 0x1800eae01
xor al, al
jmp 0x1800eae15
mov rdx, qword [rdi + 0x48]
movzx ecx, bl
and cl, 7
shl cl, 3
mov rax, qword [rdx + r8*8]
shr rax, cl
mov byte [rsp + 0x30], al
mov rax, qword [rsi]
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [rax + Ordinal_41]
dec rbx
sub rbp, 1
jne 0x1800eadf0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1801525d0
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800fd5f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx ebx, byte [rcx + 0x128]
mov rsi, rdx
mov rdi, qword [rcx + 0x38]
add rcx, 0xfffffffffffffff8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
movzx r9d, bl
mov rdx, rsi
mov r8, rax
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1800eac00
Function at 0x18010c830
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x180272190]
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
jne 0x18010c88e
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x18010c888
shr ax, 8
cmp al, 2
jne 0x18010c888
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1801525d0
add rsp, 0x1d8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1801525d0
add rsp, 0x1d8
ret

Function at 0x180111760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [rcx + 4], 2
mov rax, rdx
je 0x18011176c
xor eax, eax
ret
mov rdx, qword [rcx + 0x20]
mov r9, r8
add rdx, 4
mov r8, rax
mov ecx, 2
jmp fcn.180125630