joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035b40
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
mov eax, 1
xchg byte [0x14006b348], al
xor dil, dil
movzx eax, byte [0x14006b34b]
xor esi, esi
test al, al
jne 0x140035c5c
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
mov ecx, WSACleanup
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
and bl, 1
je 0x140035bd7
test al, al
je 0x140035bd7
test dil, dil
sete dil
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
test dil, dil
je 0x140035c4d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x34], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x44], 2
mov r8d, 0x28
lea rdx, [rsp + 0x30]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x34], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x44], 4
mov r8d, 0x28
lea rdx, [rsp + 0x30]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [0x14006b34b]
test al, al
je 0x140035b90
mov byte [rsp + 0x20], 1
xchg byte [0x14006b348], sil
lea rdx, [rsp + 0x20]
mov rcx, qword [r14 + 8]
call fcn.14003ef20
nop
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004de30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14003ff90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x14003ffb1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14003ffde
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14003ffe0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140040039
test ecx, ecx
jle 0x140040019
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140040039
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140040039
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add al, 0xd
jmp qword [rdi]
Function at 0x140040060
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140040082
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140040091
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400400b4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400400b6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400400f2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14004018e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14004012d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14004016e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14004018e
cmp rbx, rax
ja 0x140040140
test rbx, rbx
je 0x14004018e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
adc eax, 0x44ff0704
invalid
Function at 0x1400405f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14004061d
xor eax, eax
jmp 0x140040789
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140040657
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140040657
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140040789
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14004077c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004069a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400406c5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140040781
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140040734
sub eax, 1
je 0x140040734
cmp eax, 2
jne 0x14004077c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140040781
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140040762
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14004077c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140040781
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14004de30
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400411a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x1400411d1
xor eax, eax
jmp 0x14004131b
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14004120e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14004120e
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x14004131b
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x140041310
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140041255
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140041263
movzx ecx, di
jmp 0x1400412b7
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x52]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400412d0
sub eax, 1
je 0x1400412d0
cmp eax, 2
jne 0x140041310
movzx ecx, word [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x140041313
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x1400412fe
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x140041310
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14004de30
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140042c50
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140042d23
cmp byte [rcx + 0x71], 0
je 0x140042d23
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140042d1f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140042ce4
sub eax, 1
je 0x140042ce8
cmp eax, 2
jne 0x140042d1f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004de30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140042d16
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140042d1f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140042ccc
xor al, al
jmp 0x140042ccc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004de30
add rsp, 0x60
pop rbx
ret

Function at 0x140042f90
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140043065
cmp byte [rcx + 0x72], 0
je 0x140043065
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140043061
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140043026
sub eax, 1
je 0x14004302a
cmp eax, 2
jne 0x140043061
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004de30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140043058
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140043061
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14004300e
xor al, al
jmp 0x14004300e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004de30
add rsp, 0x60
pop rbx
ret
Function at 0x14004c030
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 0x14004c091
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 0x14004c050
mov ecx, dword [r9]
jmp 0x14004c17b
cmp ecx, 0x4e0
jb 0x14004c17b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
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 [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14004c0b0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
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 [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14004c100
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 0x14004cf40
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14004cf7a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14004cf7f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14004cfc8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140055000]
cmp byte [rcx + rax], 0
je 0x14004cfc8
dec r8
sub rdx, 1
jne 0x14004cfae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14004eac0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004eb0a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004eb0a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004eb0a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004eb0a
cmp dword [rcx + 0x84], 0xe
jbe 0x14004eb0a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004eb0c
xor al, al
add rsp, 0x28
ret

Function at 0x141fc0910
Capabilities:
Encode data using xor

Disassembly:
push r11
push r8
mov r11d, 0x53335502
lea r11, [r11 + r11*4 + 0x7797eabb]
ror r11, 0xd7
lea r11, [0x141fe00d0]
movzx r8d, byte [rcx]
xor r8d, eax
push 0xffffffffdfa2f190
and r8d, 0xff
mov r8d, dword [r11 + r8*4]
shr eax, 8
xor eax, r8d
push 0xf0a558c
inc rcx
xor eax, 0x4b211615
dec rdi
push 0x4c820e9d
lea rsp, [rsp + 0x18]
jne 0x141fae30b
pop r8
jmp 0x141fcf244
mov rsp, rbp
mov edi, 0x12b104a0
mov r15d, edi
pop rdi
call fcn.141fd3981
mov ecx, 0xd9ab6918
movzx edi, cx
mov rcx, qword [r8 + rdi - 0x6918]
add di, di
mov rdi, qword [r8 + rdi*8 - 0x69178]
push 0x44138eb8
jbe 0x141fbc694
adc r8, 0xc
add qword [rsp], 0x59838a2a
xor eax, eax
test rdi, rdi
lea rsp, [rsp + 8]
je 0x141fdfd60
jmp 0x141fae2ee
call fcn.141fdfd51
rol rcx, cl
xor cl, byte [rbp + riz + 2]
call fcn.141fb23f2
push 0x382b2b32
jmp 0x141fc08ff
not eax
call fcn.141fd4419
lea rsp, [rsp + 0x90]
ret

Function at 0x141fcd8f0
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 0x10]
je 0x141fcd95f
mov edi, 0x3b8eb386
push r9
lea rdi, [0x141fd6188]
mov r9d, 0x8f88329c
inc r9d
movzx r9d, byte [rcx]
push 0xfffffffff12f1b01
xor r9d, r11d
and r9d, 0xff
mov r9d, dword [rdi + r9*4]
shr r11d, 8
xor r11d, r9d
shr qword [rsp], 0x7b
inc rcx
xor r11d, 0x1d07ed3d
dec rdx
lea rsp, [rsp + 8]
jne 0x141fcd909
mov r9d, 0x9a055327
push r9
mov r9, qword [rsp + 8]
lea rsp, [rsp + 0x10]
not r11d
call fcn.141fd1335
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140013150
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400144a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400144c0
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400144d3
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400144fd
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014511
xor al, al
jmp 0x140014541
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014523
xor al, al
jmp 0x140014541
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001453f
xor al, al
jmp 0x140014541
mov al, 1
add rsp, 0x38
ret
Function at 0x180002da0
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x180007008]
xor rax, rsp
mov qword [rsp + 0x150], rax
movups xmm0, xmmword [str.HMN34P67R9TWCXYF]
movzx eax, byte [0x18000d788]
mov rdi, rcx
mov r9d, 0x18
mov byte [rsp + 0x48], al
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000040
xor edx, edx
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x180002f1c
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x50]
mov edx, 0x100
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test ebx, ebx
je 0x180002f1c
mov qword [rsp + 0x178], rsi
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x51]
sub r8, rdi
lea r10, [rsp + 0x52]
sub r9, rdi
lea r11, [rsp + 0x53]
sub r10, rdi
lea rbx, [rsp + 0x54]
sub r11, rdi
sub rbx, rdi
lea rsi, [rsp + 0x55]
xor edx, edx
lea rax, [rdi + 2]
sub rsi, rdi
nop dword [rax]
movzx ecx, byte [r8 + rax - 2]
lea rax, [rax + 8]
and ecx, 0xf
add edx, 8
movzx ecx, byte [rsp + rcx + 0x38]
mov byte [rax - 0xa], cl
movzx ecx, byte [r9 + rax - 0xa]
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x38]
mov byte [rax - 9], cl
movzx ecx, byte [r8 + rax - 8]
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x38]
mov byte [rax - 8], cl
movzx ecx, byte [r9 + rax - 8]
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x38]
mov byte [rax - 7], cl
movzx ecx, byte [r10 + rax - 8]
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x38]
mov byte [rax - 6], cl
movzx ecx, byte [r11 + rax - 8]
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x38]
mov byte [rax - 5], cl
movzx ecx, byte [rbx + rax - 8]
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x38]
mov byte [rax - 4], cl
movzx ecx, byte [rsi + rax - 8]
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x38]
mov byte [rax - 3], cl
cmp edx, 8
jb 0x180002e70
mov rsi, qword [rsp + 0x178]
movsxd rax, edx
mov byte [rax + rdi], 0
mov eax, 1
jmp 0x180002f1e
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180001010
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret

Function at 0x180002f50
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov dword [rsp + 0x20], 0xf0000040
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r9d, 0x18
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x180002f8d
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsp + 0x50]
mov r8, rdi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret