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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x40
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov qword [rsp + 0x30], rdx
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x140039534
mov rdx, qword [rdx]
xor ebp, ebp
movabs r9, 0xcbf29ce484222325
mov ecx, ebp
add r8, r8
je 0x140039564
movabs r10, 0x100000001b3
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140039551
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [0x140d4d360]
call fcn.14003e470
cmp qword [rax + 8], rbp
jne 0x1400395c0
mov rbx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14003958b
mov rbx, qword [rdi]
call fcn.14003a500
mov r8, rbx
mov edx, eax
mov rcx, qword [0x140d4d3f0]
call qword [sym.imp.VMM.dll_VMMDLL_ProcessGetModuleBaseW]
mov rbx, rax
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [0x140d4d360]
call fcn.14003d830
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [0x140d4d360]
call fcn.14003d830
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x30]
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x140039616
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140039611
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039645
mov rcx, r8
call fcn.14004130c
mov rax, rbx
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140041170
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14003b7f0
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.0x14003b811
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 0x14003b83e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14003b840
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14003b899
test ecx, ecx
jle 0x14003b879
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 0x14003b899
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14003b899
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 0x14003b8c0
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 0x14003b8e2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14003b8f1
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 0x14003b914
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003b916
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003b952
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 0x14003b9ee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14003b98d
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 0x14003b9ce
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 0x14003b9ee
cmp rbx, rax
ja 0x14003b9a0
test rbx, rbx
je 0x14003b9ee
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 0x14003be50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14003be7d
xor eax, eax
jmp 0x14003bfe9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14003beb7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14003beb7
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 0x14003bfe9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14003bfdc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003befa
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 0x14003bf25
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 0x14003bfe1
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 0x14003bf94
sub eax, 1
je 0x14003bf94
cmp eax, 2
jne 0x14003bfdc
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 0x14003bfe1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14003bfc2
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 0x14003bfdc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14003bfe1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140041170
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14003cbe0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14003ccb3
cmp byte [rcx + 0x71], 0
je 0x14003ccb3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14003ccaf
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 0x14003cc74
sub eax, 1
je 0x14003cc78
cmp eax, 2
jne 0x14003ccaf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140041170
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14003cca6
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 0x14003ccaf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14003cc5c
xor al, al
jmp 0x14003cc5c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140041170
add rsp, 0x60
pop rbx
ret
Function at 0x140041dbc
Capabilities:
Parse pe header

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

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140f66c00
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f66c0a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f66c33
pop rbp
sub rbp, 0x33
sub rbp, 0xf66c00
sub rsp, 0x20
jmp 0x140f66c52
mov rax, 0xf66c00
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffd430e4bf
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f66c71
jmp 0x140f66c88
div dword [rsi]
push rsi
xor al, 0x36
cmp dword [rdi + 0x3ef7bfbf], 0x7e
mov bh, 0xbe
mov edi, 0x56bef7bf
idiv dword [rax + 0x7f]
mov bh, 0xbf
mov edi, 0x7d78f7bf
xchg edi, eax
mov edi, 0x48f7bfbf
pop rbp
idiv dword [rsi - 0x4cc1cb82]
mov edi, 0xbef7bfbf
push rdi
out dx, eax
out dx, eax
test dword [rdi], 0xbf97506b
mov edi, 0xf7bfbfbf
invalid
Function at 0x1800206e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x180291e80]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ecx, ecx
xor esi, esi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x180020729
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
jmp 0x180020819
mov ecx, 1
mov qword [rsp + 0x78], rdi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
jne 0x18002075b
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
jmp 0x180020814
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rsi
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x180020780
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800097e0
cmp qword [rsp + 0x40], rsi
jne 0x1800207f4
mov rdx, qword [rsp + 0x48]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
cmp rdx, 0xf
jbe 0x180020814
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800207ed
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800207ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d465c
jmp 0x180020814
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
mov rdi, qword [rsp + 0x78]
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800d4c60
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
Function at 0x180023a30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180291e80]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180023b03
cmp byte [rcx + 0x71], 0
je 0x180023b03
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180023aff
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 0x180023ac4
sub eax, 1
je 0x180023ac8
cmp eax, 2
jne 0x180023aff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800d4c60
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180023af6
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 0x180023aff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180023aac
xor al, al
jmp 0x180023aac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800d4c60
add rsp, 0x60
pop rbx
ret

Function at 0x18002fc80
Capabilities:
Hash data with md5

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x180291e80]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
mov dword [rbp - 0x19], 0x67452301
mov edx, 0x20
mov dword [rbp - 0x15], 0xefcdab89
mov qword [rbp - 9], rdx
shr edx, 3
and edx, 0x3f
mov dword [rbp - 0x11], 0x98badcfe
mov eax, edx
movups xmmword [rbp - 1], xmm0
mov dword [rbp - 1], ecx
lea rcx, [rbp - 1]
add rcx, rax
mov dword [rbp - 0xd], 0x10325476
mov eax, 0x3f
sub eax, edx
xor edx, edx
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm0
mov byte [rcx], 0x80
inc rcx
cmp eax, 8
jae 0x18002fd26
mov r8d, eax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x19]
call fcn.18002f490
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0x2f], rax
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
jmp 0x18002fd31
add eax, 0xfffffff8
mov r8d, eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rbp - 9]
lea rdx, [rbp - 1]
mov dword [rbp + 0x37], eax
lea rcx, [rbp - 0x19]
mov eax, dword [rbp - 5]
mov dword [rbp + 0x3b], eax
call fcn.18002f490
mov eax, dword [rbp - 0x13]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800d4c60
add rsp, 0x90
pop rbp
ret
Function at 0x180041770
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x180291e80]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edi, edx
mov qword [rsp + 0x28], rcx
mov rbx, rcx
xor edx, edx
mov ecx, edi
xor esi, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov r9d, eax
lea eax, [rdi - 0x21]
cmp eax, 0x84
ja case.0x1800417cc.41
lea rdx, [0x180000000]
cdqe
movzx eax, byte [rdx + rax + 0x41994]
mov ecx, dword [rdx + rax*4 + 0x4198c]
add rcx, rdx
jmp rcx
bts r9d, 8
shl r9d, 0x10
lea rdx, [rsp + 0x30]
mov ecx, r9d
mov r8d, 0x20
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jne 0x18004193a
sub edi, 1
je 0x180041907
sub edi, 1
je 0x1800418ca
sub edi, 2
je 0x180041896
sub edi, 1
je 0x180041859
cmp edi, 1
jne 0x18004193a
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 7
mov qword [rbx + 0x18], 0xf
mov rcx, qword [str.Mouse_5]
mov dword [rbx], ecx
movzx ecx, word [0x18016d0f4]
mov word [rbx + 4], cx
movzx ecx, byte [0x18016d0f6]
mov byte [rbx + 6], cl
mov byte [rbx + 7], sil
jmp 0x18004196a
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 7
mov qword [rbx + 0x18], 0xf
mov rax, qword [str.Mouse_4]
mov dword [rbx], eax
movzx eax, word [0x18016d0ec]
mov word [rbx + 4], ax
movzx eax, byte [0x18016d0ee]
mov byte [rbx + 6], al
mov byte [rbx + 7], sil
jmp 0x18004196a
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0xc
mov qword [rbx + 0x18], 0xf
movsd xmm0, qword [str.Middle_Mouse]
movsd qword [rbx], xmm0
mov eax, dword [0x18016d0d0]
mov dword [rbx + 8], eax
mov byte [rbx + 0xc], sil
jmp 0x18004196a
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0xb
mov qword [rbx + 0x18], 0xf
movsd xmm0, qword [str.Right_Mouse]
movsd qword [rbx], xmm0
movzx eax, word [0x18016d0e0]
mov word [rbx + 8], ax
movzx eax, byte [0x18016d0e2]
mov byte [rbx + 0xa], al
mov byte [rbx + 0xb], sil
jmp 0x18004196a
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0xa
mov qword [rbx + 0x18], 0xf
movsd xmm0, qword [str.Left_Mouse]
movsd qword [rbx], xmm0
movzx eax, word [0x18016d0c0]
mov word [rbx + 8], ax
mov byte [rbx + 0xa], sil
jmp 0x18004196a
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rsi
inc r8
cmp byte [rax + r8], sil
jne 0x180041954
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1800097e0
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800d4c60
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180047cd0
Capabilities:
Access peb ldr_data

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x180291e80]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r8d, dword [0x180299028]
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [r11 - 0xe8], rbx
mov dword [rsp + 0xb0], ebx
mov qword [r11 - 0x28], rcx
mov r9, qword [rax + r8*8]
lea r8, [rsp + 0x50]
mov qword [r11 - 0x38], rcx
mov eax, 0xc
mov dword [0x180298458], ebx
mov dword [r11 - 0x40], ebx
mov dword [rsp + 0x20], 4
mov dword [rax + r9], ebx
mov eax, 8
mov dword [rax + r9], 1
lea r9, [rsp + 0x60]
movsxd rax, edx
lea rdx, [rsp + 0x54]
add rcx, rax
mov qword [r11 - 0x20], rcx
mov qword [r11 - 0x30], rcx
lea rcx, [r11 - 0xf8]
call fcn.180052a50
mov rbp, rax
test rax, rax
je 0x180047e85
mov rcx, qword [0x180298518]
lea rdx, [rsp + 0x58]
mov edi, dword [rsp + 0x54]
lea r9d, [rbx + 1]
mov esi, dword [rsp + 0x50]
mov r8d, esi
mov qword [rsp + 0x40], rbx
mov rax, qword [rcx]
mov qword [rsp + 0x38], rdx
mov edx, edi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 0x15
mov dword [rsp + 0x20], 0x200
call qword [rax + 0xb8]
test eax, eax
js 0x180047e85
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x68]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x98]
test eax, eax
jne 0x180047e85
test esi, esi
jle 0x180047e65
lea eax, [rdi*4]
mov r8, rbp
movsxd r11, eax
lea r10, [rbp + 1]
not r8
nop word [rax + rax]
test edi, edi
jle 0x180047e59
mov rax, r10
mov r9, rdi
nop word [rax + rax]
mov ecx, dword [rsp + 0x68]
imul ecx, ebx
movsxd rdx, ecx
movzx ecx, byte [rax + 1]
add rdx, r8
add rdx, rax
add rdx, qword [rsp + 0x70]
mov byte [rdx], cl
movzx ecx, byte [rax]
mov byte [rdx + 1], cl
movzx ecx, byte [rax - 1]
mov byte [rdx + 2], cl
movzx ecx, byte [rax + 2]
add rax, 4
mov byte [rdx + 3], cl
sub r9, 1
jne 0x180047e20
inc ebx
add r10, r11
sub r8, r11
cmp ebx, esi
jl 0x180047e10
mov rcx, qword [rsp + 0x58]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x58]
jmp 0x180047e87
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800d4c60
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180054fd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x180055004
cmp ecx, r10d
jge 0x180054ff2
mov rcx, rbx
call fcn.18004e9a0
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x18005503e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x180055020
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x18005506d
mov edx, dword [0x180299028]
mov rax, qword gs:[0x58]
mov ecx, 0x20
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x18005509f
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax]
cmp rax, r8
jb 0x180055089
xor dl, dl
jmp 0x180055092
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x180055080
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x180055042
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x180055114
mov edx, dword [0x180299028]
mov rax, qword gs:[0x58]
mov ecx, 0x20
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x18005512e
mov rcx, rbx
call fcn.18005a490
test eax, eax
je 0x180055107
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret