joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400622c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140199400]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
mov qword [rbp + 0x27], rcx
xor eax, eax
mov dword [rbp - 0x11], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
mov dword [rbp - 0x11], 1
lea r9, [rbp + 0x2f]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14011ee40]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140062441
mov rcx, qword [rbp + 0x2f]
mov qword [rbp - 9], rcx
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140062340
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 0x37], xmm0
lea rdx, [rbp + 0x37]
lea rcx, [rbp + 7]
call fcn.140076060
mov dword [rbp - 0x11], 3
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.140064700
lea rcx, [rbp + 7]
call fcn.140066170
movabs rax, 0xa50aa71f2f217e0f
mov qword [rbp - 0x19], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp - 9], rax
movabs rcx, 0x33819152b17295d6
mov qword [rbp - 0x19], rcx
mov rax, qword [rbp - 0x19]
mov qword [rbp - 1], rax
movabs rax, 0xa558f3474a5b075d
mov qword [rbp - 0x19], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp + 0x37], rax
mov qword [rbp - 0x19], rcx
mov rax, qword [rbp - 0x19]
mov qword [rbp + 0x3f], rax
movdqa xmm0, xmmword [rbp - 9]
xorps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 9], xmm0
lea rax, [rbp - 9]
mov qword [rbp + 0x37], rax
lea rax, [rbp - 9]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400623f0
mov qword [rbp + 0x3f], rbx
call fcn.140116ea4
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x37], xmm0
lea r8, [rbp + 0x37]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.140059ca0
mov dword [rbp - 0x11], 0xf
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.140059f20
nop
lea rcx, [rbp + 7]
call fcn.140066170
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140117850
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140063140
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 0x140063168
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 0x14006318e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140063190
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400631e9
test ecx, ecx
jle 0x1400631c9
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 0x1400631e9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400631e9
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

Function at 0x140063210
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 0x140063232
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140063248
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 0x140063264
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140063266
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400632a2
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 0x14006333e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400632dd
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 0x14006331e
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 0x14006333e
cmp rbx, rax
ja 0x1400632f0
test rbx, rbx
je 0x14006333e
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
Function at 0x140063760
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140199400]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14006378d
xor eax, eax
jmp 0x1400638f9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400637c7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400637c7
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 0x1400638f9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400638ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14006380a
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 0x140063835
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 0x1400638f1
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 0x1400638a4
sub eax, 1
je 0x1400638a4
cmp eax, 2
jne 0x1400638ec
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 0x1400638f1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400638d2
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 0x1400638ec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400638f1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140117850
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140065900
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140199400]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400659d3
cmp byte [rcx + 0x71], 0
je 0x1400659d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400659cf
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 0x140065994
sub eax, 1
je 0x140065998
cmp eax, 2
jne 0x1400659cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140117850
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400659c6
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 0x1400659cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14006597c
xor al, al
jmp 0x14006597c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140117850
add rsp, 0x60
pop rbx
ret
Function at 0x14007eb00
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140199400]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], sil
mov byte [rsp + 0x20], sil
mov edx, 0x20
mov r9d, edx
lea rcx, [rsp + 0x50]
call fcn.140007630
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401d6398], eax
jle 0x14007ebad
lea rcx, [0x1401d6398]
call fcn.140117c30
cmp dword [0x1401d6398], 0xffffffff
jne 0x14007ebad
movabs rcx, 0x891141f7499e7fdc
call fcn.1400a53d0
mov dword [0x1401d638c], eax
lea rcx, [0x1401d6398]
call fcn.140117bc4
mov edx, dword [0x1401d638c]
add rdx, rdi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rsp + 0x70]
mov rcx, qword [0x14019efc8]
call qword [0x14019efe8]
nop
mov r8, qword [rsp + 0x70]
test r8, r8
jne 0x14007ebfa
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r8b
jmp 0x14007ec57
lea rdx, [rsp + 0x30]
call fcn.14007e800
lea rcx, [rsp + 0x50]
cmp rcx, rax
je 0x14007ec29
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007ec1c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400661e0
lea rcx, [rsp + 0x30]
call fcn.140048100
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.140048100
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140117850
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140080b30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x13e0
call fcn.140118280
sub rsp, rax
mov rax, qword [0x140199400]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov ecx, dword [0x1401db9c4]
call fcn.14007c7c0
mov ecx, dword [rax]
test ecx, ecx
je 0x140080d91
mov eax, dword [rax + 4]
test eax, eax
jne 0x140080b7e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x140080b89
cmp eax, 1
jne 0x140080b99
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
test al, al
je 0x140080d91
jmp 0x140080ba2
cmp eax, 2
jne 0x140080d91
mov rbx, qword [0x1401d62e8]
movabs rsi, 0xcbdf49e242648c6f
mov rcx, rsi
call fcn.1400a53d0
mov edx, eax
add rdx, rbx
xor edi, edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x30]
mov rcx, qword [0x14019efc8]
call qword [0x14019efe8]
nop
cmp dword [rsp + 0x30], 9
je 0x140080d91
mov rbx, qword [0x1401d62e8]
mov rcx, rsi
call fcn.1400a53d0
mov edx, eax
add rdx, rbx
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x34]
mov rcx, qword [0x14019efc8]
call qword [0x14019efe8]
nop
cmp dword [rsp + 0x34], 8
je 0x140080d91
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13c4], 0xffffffff
mov dword [rsp + 0x44], eax
mov edx, 1
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 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x140080c50
mov dword [rsp + 0x40], 0x270
lea rcx, [rsp + 0x40]
call fcn.140081000
mov ecx, eax
imul rbx, rcx, 0x65
cmp ebx, 0x43
ja 0x140080ca5
nop dword [rax]
lea rcx, [rsp + 0x40]
call fcn.140081000
mov ecx, eax
imul rbx, rcx, 0x65
cmp ebx, 0x44
jb 0x140080c90
shr rbx, 0x20
mov ecx, dword [0x1401db9c8]
call fcn.140080aa0
lea ecx, [rbx - 0x80000000]
xor ecx, 0x80000000
cmp ecx, dword [rax]
jg 0x140080d91
mov rbx, qword [0x1401d62e8]
movabs rsi, 0xd8ebe4a818fb8887
mov rcx, rsi
call fcn.1400a53d0
mov edx, eax
add rdx, rbx
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x34]
mov rcx, qword [0x14019efc8]
call qword [0x14019efe8]
nop
test byte [rsp + 0x34], 1
jne 0x140080d5b
mov rbx, qword [0x1401d62e8]
mov rcx, rsi
call fcn.1400a53d0
mov edx, eax
add rdx, rbx
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x30]
mov rcx, qword [0x14019efc8]
call qword [0x14019efe8]
nop
test dword [rsp + 0x30], 0x40000
jne 0x140080d5b
mov dword [0x1401d63cc], 0xa
jmp 0x140080d79
xor edx, edx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [0x1401d63ca], ax
mov dword [0x1401d63cc], 8
mov r8d, 0x28
lea rdx, [0x1401d63c0]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.140117850
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140080dc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x13f0
call fcn.140118280
sub rsp, rax
mov rax, qword [0x140199400]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov rbx, qword [0x1401d62e8]
movabs rsi, 0xcbdf49e242648c6f
mov rcx, rsi
call fcn.1400a53d0
mov edx, eax
add rdx, rbx
xor edi, edi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x40]
mov rcx, qword [0x14019efc8]
call qword [0x14019efe8]
nop
cmp dword [rsp + 0x40], 9
je 0x140080fd5
mov rbx, qword [0x1401d62e8]
mov rcx, rsi
call fcn.1400a53d0
mov edx, eax
add rdx, rbx
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x38]
mov rcx, qword [0x14019efc8]
call qword [0x14019efe8]
nop
cmp dword [rsp + 0x38], 8
je 0x140080fd5
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140080fd5
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov edx, 1
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 + 0x54], eax
inc rdx
cmp rdx, 0x270
jb 0x140080eb0
mov dword [rsp + 0x50], 0x270
lea rcx, [rsp + 0x50]
call fcn.140081000
mov ecx, eax
imul rbx, rcx, 0x65
cmp ebx, 0x43
ja 0x140080f05
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140081000
mov ecx, eax
imul rbx, rcx, 0x65
cmp ebx, 0x44
jb 0x140080ef0
shr rbx, 0x20
mov ecx, dword [0x1401db9c8]
call fcn.140080aa0
lea ecx, [rbx - 0x80000000]
xor ecx, 0x80000000
cmp ecx, dword [rax]
jg 0x140080fd5
mov rbx, qword [0x1401d62e8]
movabs rcx, 0xd8ebe4a818fb8887
call fcn.1400a53d0
mov edx, eax
add rdx, rbx
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x38]
mov rcx, qword [0x14019efc8]
call qword [0x14019efe8]
nop
test byte [rsp + 0x38], 1
je 0x140080fa8
movss xmm0, dword [0x14017de4c]
call fcn.1400809d0
mov dword [rsp + 0x38], 0x10001
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x38]
mov rdx, qword [0x1401d63b0]
mov rcx, qword [0x14019efc8]
call qword [0x14019eff0]
nop
jmp 0x140080fd5
mov dword [rsp + 0x38], 0x100
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x38]
mov rdx, qword [0x1401d63b0]
mov rcx, qword [0x14019efc8]
call qword [0x14019eff0]
nop
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.140117850
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140081000
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 0x140081061
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 0x140081020
mov ecx, dword [r9]
jmp 0x14008114b
cmp ecx, 0x4e0
jb 0x14008114b
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 0x140081080
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 0x1400810d0
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 0x140081a10
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140199400]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], sil
mov byte [rsp + 0x20], sil
mov edx, 0x20
mov r9d, edx
lea rcx, [rsp + 0x50]
call fcn.140007630
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401d643c], eax
jle 0x140081abd
lea rcx, [0x1401d643c]
call fcn.140117c30
cmp dword [0x1401d643c], 0xffffffff
jne 0x140081abd
movabs rcx, 0x91f3227d5e5b0316
call fcn.1400a53d0
mov dword [0x1401d6438], eax
lea rcx, [0x1401d643c]
call fcn.140117bc4
mov edx, dword [0x1401d6438]
add rdx, rdi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rsp + 0x70]
mov rcx, qword [0x14019efc8]
call qword [0x14019efe8]
nop
mov r8, qword [rsp + 0x70]
test r8, r8
jne 0x140081b0a
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r8b
jmp 0x140081b67
lea rdx, [rsp + 0x30]
call fcn.14007e800
lea rcx, [rsp + 0x50]
cmp rcx, rax
je 0x140081b39
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140081b2c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400661e0
lea rcx, [rsp + 0x30]
call fcn.140048100
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.140048100
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140117850
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400a4420
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
push r14
sub rsp, 0x28
mov r14, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [r14 + 0x10]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
test rax, rax
jne 0x1400a4465
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, r14
add rsp, 0x28
pop r14
pop rbp
jmp fcn.140048100
cmp qword [r14 + 0x18], 0xf
mov qword [rsp + 0x48], rbx
mov rbx, qword [r14 + 0x10]
mov qword [rsp + 0x50], rsi
mov rsi, r14
jbe 0x1400a4480
mov rsi, qword [r14]
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbx
mov rdi, rax
and ecx, 3
jne 0x1400a44a4
shr rbx, 2
mov rcx, rbx
rep movsd dword [rdi], dword [rsi]
jmp 0x1400a44ba
cmp rcx, 2
jne 0x1400a44b5
shr rbx, 1
mov rcx, rbx
rep movsw word [rdi], word [rsi]
jmp 0x1400a44ba
mov rcx, rbx
rep movsb byte [rdi], byte [rsi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbp
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdi, qword [rsp + 0x20]
mov rcx, r14
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop r14
pop rbp
jmp fcn.140048100