joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005ca0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Msm_tbenny_tlogviewer_tlistings_tclipserve_tpersonalize_tbristol_tdash_tdynamicdata_tabuse_tpel_tmergetopics_tforgotpassword_tsdmenu_temailus_tbronze_txml_tslimstat_timagegallery_tsingleapp_tlas_tregulamin_teditdesign_tlh_tpeliculas_tcommailto_tesborrar_tforgotpassword_tning_tep_tskindefault_turun_tszukajtttassets_tencrypted_tsohbet_terp_tvecchio_trankchecker_tbuonisconto_tsexo_tfileadmin_ttvbox_tproposal_tiu_tuploadsadmin_tdokumente_trings_tihm_tnorthdakota_tusercarts_thtmlemails_tinformatique_thowto_tax_tcaes
mov r10, rax
sub rbx, rax
movabs rdi, 0x1b17c67f2bae2b21
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rax, r8
mov rcx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1cf
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 2]
movsx eax, al
mov word [r9 - 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1cf
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx]
movsx eax, al
mov word [r9], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1cf
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 2]
movsx eax, al
mov word [r9 + 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1cf
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 4]
movsx eax, al
mov word [r9 + 4], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1cf
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 6]
movsx eax, al
mov word [r9 + 6], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1cf
sub rcx, rax
movzx eax, byte [rcx + rsi]
add r11d, 6
xor al, byte [rbx + r9 + 8]
lea r9, [r9 + 0xc]
movsx eax, al
mov word [r9 - 4], ax
cmp r11d, 6
jb 0x140005cf0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a8e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000a942
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000c130
test al, al
jne 0x14000a954
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000a910
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6c
mov dword [rbp - 0x20], 0x360006
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x47003f
mov dword [rbp - 0x18], 0x290027
mov dword [rbp - 0x14], 0x2f002c
mov dword [rbp - 0x10], 0x4c002a
call fcn.140005e60
mov rcx, rax
call 0x14000a8e0
mov qword [0x1400161b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x79
mov dword [rbp - 0x20], 0x360006
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x47003f
mov dword [rbp - 0x18], 0x290027
mov dword [rbp - 0x14], 0x5c005d
call fcn.140002590
mov rcx, rax
call 0x14000a8e0
lea rcx, [rbp - 0x20]
mov qword [0x1400161a8], rax
mov dword [rbp - 0x20], 0x70023
mov dword [rbp - 0x1c], 0x650009
mov dword [rbp - 0x18], 0x65000e
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000a8e0
Function at 0x14000ac90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000a942
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000c130
test al, al
jne 0x14000a954
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000a910
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x6c
mov dword [rbp - 0x20], 0x360006
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x47003f
mov dword [rbp - 0x18], 0x290027
mov dword [rbp - 0x14], 0x2f002c
mov dword [rbp - 0x10], 0x4c002a
call fcn.140005e60
mov rcx, rax
call 0x14000a8e0
mov qword [0x1400161b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x79
mov dword [rbp - 0x20], 0x360006
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x47003f
mov dword [rbp - 0x18], 0x290027
mov dword [rbp - 0x14], 0x5c005d
call fcn.140002590
mov rcx, rax
call 0x14000a8e0
lea rcx, [rbp - 0x20]
mov qword [0x1400161a8], rax
mov dword [rbp - 0x20], 0x70023
mov dword [rbp - 0x1c], 0x650009
mov dword [rbp - 0x18], 0x65000e
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000a8e0
Function at 0x14000e520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1b001e
mov dword [rbp - 0x1c], 0x650008
mov dword [rbp - 0x18], 0x56000e
mov dword [rbp - 0x14], 0x40005c
mov dword [rbp - 0x10], 0x65001d
mov dword [rbp - 0xc], 0x6f0000
call fcn.140002e40
mov rcx, rax
call rbx
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400161a0], rax
mov dword [rbp - 0x20], 0x1a001a
mov dword [rbp - 0x1c], 0x600003
mov dword [rbp - 0x18], 0xc
mov dword [rbp - 0x14], 0x40001a
mov dword [rbp - 0x10], 0x65001d
mov dword [rbp - 0xc], 0x6f0000
call fcn.140002e40
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x1400154b0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400161b0], rax
mov word [rbp - 0x10], 0x3201
mov byte [rbp - 0xe], 0x72
call fcn.140005220
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x65081b1e
mov dword [rbp - 0x1c], 0xb16200e
mov dword [rbp - 0x18], 0xa187c1a
mov word [rbp - 0x14], 0x7630
call fcn.140001180
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6c191d04
mov dword [rbp - 0x1c], 0x1a0b0b10
mov dword [rbp - 0x18], 0x1097936
mov word [rbp - 0x14], 0x7626
call fcn.140001180
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015590]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e8], rax
mov byte [rbp - 0x10], 0x77
call fcn.140004e60
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015510]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160f0], rax
mov dword [rbp - 0x10], 0x9170913
call fcn.1400029f0
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015480]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e0], rax
mov byte [rbp - 0x10], 0x77
call fcn.140004e60
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015560]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160d8], rax
mov dword [rbp - 0x10], 0x481c0a1e
mov byte [rbp - 0xc], 0x6c
call fcn.140003790
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400154f0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x2419
mov byte [rbp - 0xe], 0x72
call fcn.140005220
mov rcx, qword [0x1400161b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000e860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000ea8e
mov word [rbp + 0x50], 0x734d
mov word [rbp + 0x58], 0x734d
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000e914
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000e900
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000e945
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000e930
cmp rdi, rbx
jne 0x14000ea62
mov r13, rsi
mov word [rbp - 0x50], 0x734d
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000e986
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000e972
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000ea88
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x73002c
call fcn.1400027f0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000e9f8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x730037
call fcn.1400027f0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000e9f8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x73002c
mov dword [rbp - 0x42], 0x73000c
call fcn.1400027f0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x73002c
call fcn.1400027f0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000ea55
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x730037
call fcn.1400027f0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000ea55
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x73002c
mov dword [rbp - 0x32], 0x73000c
call fcn.1400027f0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000ea62
inc r14
jmp 0x14000e960
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000ea8e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000e8d0
mov rax, qword [rbp - 8]
jmp 0x14000ea90
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180001300
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
lea r8, section..text
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x180001190]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x1800011f0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x180001250]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x1800012c0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [rbx + 0x38]
call fcn.1800113b4
lea rcx, [0x1800131c0]
mov qword [rax], rcx
mov rcx, qword [0x181778748]
mov qword [rax + 8], rcx
mov rcx, qword [0x181778740]
mov qword [rax + 0x10], rcx
mov rcx, qword [0x181778760]
mov qword [rax + 0x18], rcx
mov rcx, qword [0x181778758]
mov qword [rax + 0x20], rcx
mov rcx, qword [0x181778750]
mov qword [rax + 0x28], rcx
mov rcx, rax
mov qword [rax + 0x30], rbx
call fcn.180001480
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x180003118
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rbx, [rcx + 8]
mov rdi, rcx
mov rax, qword [rbx]
test rax, rax
jne 0x180003180
mov eax, dword [rcx + 4]
xor r8d, r8d
mov r9d, dword [rcx]
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x18000317d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x180003177
mov r9d, dword [rdi]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x18000317d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x18000318c
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x50
and qword [rax - 0x18], 0
mov rbx, rcx
lea rcx, [rax - 0x20]
mov dword [rax - 0x20], 0x18
mov ebp, r9d
mov dword [rax - 0x1c], 0xf0000000
mov rdi, r8
mov rsi, rdx
call fcn.180003118
test rax, rax
je 0x18000320d
lea rcx, [rsp + 0x38]
call fcn.180003118
mov rcx, rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x180003207
mov rcx, qword [rbx]
xor r9d, r9d
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x180003239
call qword [sym.imp.KERNEL32.dll_GetLastError]
or ebx, 0xffffffff
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180003222
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov r8, qword [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x30], r8d
call sub.msvcrt.dll_memset
mov r8, qword [rsp + 0x80]
lea r9, [rsp + 0x30]
mov rcx, qword [rbx]
mov edx, 2
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x180003207
xor ebx, ebx
jmp 0x180003210

Function at 0x180003280
Capabilities:
Encrypt data using aes via winapi

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, 0x60
mov rbp, rcx
mov rdi, r9
mov rcx, rdx
mov rsi, r8
mov rbx, rdx
call fcn.180003118
xor r14d, r14d
test rax, rax
jne 0x1800032ba
or eax, 0xffffffff
jmp 0x180003325
xorps xmm0, xmm0
mov dword [rsp + 0x30], 0x208
xorps xmm1, xmm1
mov dword [rsp + 0x34], 0x660e
mov r8, rdi
mov dword [rsp + 0x38], edi
mov rdx, rsi
lea rcx, [rsp + 0x3c]
movdqu xmmword [rsp + 0x3c], xmm0
movdqu xmmword [rsp + 0x4c], xmm1
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call fcn.180003118
xor r9d, r9d
mov qword [rsp + 0x28], rbp
mov rcx, rax
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 0x2c]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x180003323
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800032b5
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x180003340
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
and dword [rbp - 0x14], 0
mov rsi, rcx
and qword [rbp - 0x10], 0
lea rcx, [rbp - 0x18]
mov ebx, 1
mov r15, r9
mov dword [rbp - 0x18], ebx
mov r12, r8
mov rdi, rdx
call fcn.180003118
test rax, rax
jne 0x180003397
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x1800034aa
mov r14d, dword [rsi + 8]
lea rcx, [rbp - 0x18]
mov rsi, qword [rsi]
and qword [rbp - 0x28], 0
call fcn.180003118
test rax, rax
je 0x180003427
lea rax, [rbp - 0x2c]
mov dword [rbp - 0x2c], 0x30
mov qword [rsp + 0x38], rax
mov r9d, r14d
lea rax, [rbp - 0x20]
mov r8, rsi
mov qword [rsp + 0x30], rax
mov edx, 8
and qword [rsp + 0x28], 0
mov ecx, ebx
mov dword [rsp + 0x20], 0x8000
call qword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
jne 0x1800033f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180003427
lea rcx, [rbp - 0x18]
call fcn.180003118
mov r8, qword [rbp - 0x20]
lea r9, [rbp - 0x28]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
test eax, eax
jne 0x18000341d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x18000348e
lea rax, [rbp - 0x30]
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, ebx
mov qword [rsp + 0x20], rdi
xor edx, edx
mov dword [rbp - 0x30], r15d
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x18000348e
mov ecx, dword [rbp - 0x30]
mov rax, qword [rbp + 0x40]
lea rdx, [rcx - 1]
mov qword [rax], rcx
test rdx, rdx
je 0x180003496
mov r8, rdi
mov al, byte [rdx + rdi]
mov cl, byte [r8]
mov byte [r8], al
add r8, rbx
mov rax, r8
mov byte [rdx + rdi], cl
sub rax, rdi
sub rdx, rbx
cmp rax, rdx
jb 0x18000346f
jmp 0x180003496
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1800034aa
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
and qword [rbp - 0x28], 0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1800034bb
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r11, [rsp + 0x70]
mov al, bl
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1800034dc
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 8], 0
mov rdi, rcx
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x18
mov rsi, r9
mov dword [rbp - 0xc], 0xf0000000
mov r14, r8
mov r15, rdx
call fcn.180003118
test rax, rax
jne 0x180003531
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1800035fc
mov r9d, dword [rdi + 8]
lea rdx, [rbp - 0x10]
mov r8, qword [rdi]
lea rcx, [rbp - 0x18]
and qword [rbp - 0x18], 0
call fcn.180003280
test eax, eax
jne 0x1800035e0
mov rcx, qword [rbp - 0x18]
xor ebx, ebx
mov dword [rbp - 0x1c], 1
test rcx, rcx
je 0x180003576
xor r9d, r9d
lea r8, [rbp - 0x1c]
lea edx, [rax + 4]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 1
jne 0x1800035e0
mov rcx, qword [rbp - 0x18]
xor ebx, ebx
test rcx, rcx
je 0x18000359e
mov r8, qword [rdi + 0x10]
lea edx, [rbx + 1]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 1
jne 0x1800035e0
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1800035e0
lea rax, [rbp - 0x20]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r15
xor edx, edx
mov dword [rbp - 0x20], esi
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov rax, qword [rbp + 0x40]
mov ecx, dword [rbp - 0x20]
mov qword [rax], rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x18]
mov ebx, eax
test rcx, rcx
je 0x1800035fc
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
and qword [rbp - 0x18], 0
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x18000360d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x18000362c
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x10], 0
mov rdi, rcx
lea rcx, [rbp - 0x18]
mov dword [rbp - 0x18], 0x18
mov rsi, r9
mov dword [rbp - 0x14], 0xf0000000
mov r14, rdx
call fcn.180003118
test rax, rax
jne 0x18000367d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180003735
mov r9d, dword [rdi + 8]
lea rdx, [rbp - 0x18]
mov r8, qword [rdi]
lea rcx, [rbp - 0x20]
and qword [rbp - 0x20], 0
call fcn.180003280
test eax, eax
jne 0x180003719
mov rcx, qword [rbp - 0x20]
xor ebx, ebx
mov dword [rbp + 0x30], 1
test rcx, rcx
je 0x1800036be
xor r9d, r9d
lea r8, [rbp + 0x30]
lea edx, [rax + 4]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 1
jne 0x180003719
mov rcx, qword [rbp - 0x20]
xor ebx, ebx
test rcx, rcx
je 0x1800036e6
mov r8, qword [rdi + 0x10]
lea edx, [rbx + 1]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 1
jne 0x180003719
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x180003719
lea rax, [rbp + 0x40]
mov dword [rbp + 0x40], esi
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x20]
mov ebx, eax
test rcx, rcx
je 0x180003735
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
and qword [rbp - 0x20], 0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x180003746
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rsi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret

Function at 0x180003798
Capabilities:
Generate random numbers via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x30
and dword [rax - 0x14], 0
lea rcx, [rax - 0x18]
and qword [rax - 0x10], 0
mov ebx, r8d
mov rdi, rdx
mov dword [rax - 0x18], 1
call fcn.180003118
test rax, rax
je 0x1800037de
mov r8, rdi
mov edx, ebx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1800037de
xor ebx, ebx
jmp 0x1800037e1
or ebx, 0xffffffff
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800037f3
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret