joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027d04
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140015194
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140027d8e
cmp byte [rbp - 0x21], r15b
je 0x140027d89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140027dc4
call fcn.14001f6bc
test eax, eax
jne 0x140027db0
cmp byte [rbp - 0x21], r15b
je 0x140027da8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140027dc4
cmp byte [rbp - 0x21], r15b
je 0x140027dc1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001574c
test eax, eax
jne 0x140027e64
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140015194
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140027e03
cmp byte [rbp - 0x21], r15b
je 0x140027e38
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140027e38
call fcn.14001f6bc
test eax, eax
jne 0x140027e24
cmp byte [rbp - 0x21], r15b
je 0x140027e1d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140027e38
cmp byte [rbp - 0x21], r15b
je 0x140027e35
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001574c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140027e64
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140027e67
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140027e75
mov rcx, rdi
call fcn.14001b1cc
cmp byte [rbp + 0x3f], r15b
je 0x140027e84
mov rcx, qword [rbp + 0x27]
call fcn.14001b1cc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14002943c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001cb04
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001cb04
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002958c
cmp rax, 0xffffffffffffffff
je 0x14002958c
xor edi, edi
test rbp, rbp
jle 0x140029537
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f430
mov rbx, rax
test rax, rax
jne 0x1400294c4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002952d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a438
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d7e0
cmp eax, 0xffffffff
je 0x14002950d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400294d4
mov edx, r15d
mov ecx, r14d
call fcn.14001a438
jmp 0x14002952d
cmp byte [rsi + 0x38], dil
je 0x140029524
cmp dword [rsi + 0x34], 5
jne 0x140029524
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002952d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b1cc
jmp 0x1400295a0
jns 0x1400295a0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001cb04
cmp rax, 0xffffffffffffffff
jne 0x140029558
cmp byte [rsi + 0x30], dil
je 0x1400295a0
mov edi, dword [rsi + 0x2c]
jmp 0x1400295a0
mov ecx, r14d
call fcn.1400188f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400295a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400295a0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029599
mov eax, dword [rsi + 0x2c]
jmp 0x14002959e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001cb04
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140006d10
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x140104340]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140006d90
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140006e0a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140006dbb
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400d40d0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140006e0a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x140006e0d
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
jbe 0x140006e1a
mov rcx, qword [rdi]
sub rcx, rbx
nop dword [rax]
movzx edx, byte [rbx]
movzx eax, byte [rbx + rcx]
sub edx, eax
jne 0x140006e32
inc rbx
test eax, eax
jne 0x140006e20
mov rcx, rsi
test edx, edx
je 0x140006e60
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006d80
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400064a0
xor eax, eax
jmp 0x140006e73
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 8]
mov rcx, rdi
call fcn.1400064a0
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.1400d3010
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
Function at 0x1400287a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx]
mov qword [rcx], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x20]
mov dword [rcx + 0x20], eax
movzx eax, byte [rdx + 0x24]
mov byte [rcx + 0x24], al
mov rax, qword [rdx + 0x28]
mov qword [rcx + 0x28], rax
add rcx, 0x30
add rdx, 0x30
call fcn.140008760
mov eax, dword [rdi + 0x50]
mov dword [rsi + 0x50], eax
lea rbx, [rsi + 0x58]
mov qword [rsp + 0x38], rbx
mov rax, qword [rdi + 0x58]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rdi + 0x60]
call fcn.140028960
nop
vmovsd xmm0, qword [rdi + 0x80]
vmovsd qword [rbx + 0x28], xmm0
vmovsd xmm0, qword [rdi + 0x88]
vmovsd qword [rbx + 0x30], xmm0
mov eax, dword [rdi + 0x90]
mov dword [rbx + 0x38], eax
vmovsd xmm0, qword [rdi + 0x94]
vmovsd qword [rbx + 0x3c], xmm0
vmovsd xmm0, qword [rdi + 0x9c]
vmovsd qword [rbx + 0x44], xmm0
mov eax, dword [rdi + 0xa4]
mov dword [rbx + 0x4c], eax
mov eax, dword [rdi + 0xa8]
mov dword [rbx + 0x50], eax
lea rcx, [rbx + 0x58]
lea rdx, [rdi + 0xb0]
call fcn.140008760
mov eax, dword [rdi + 0xd0]
mov dword [rbx + 0x78], eax
vmovsd xmm0, qword [rdi + 0xd4]
vmovsd qword [rbx + 0x7c], xmm0
vmovups xmm0, xmmword [rdi + 0xe0]
vmovups xmmword [rbx + 0x88], xmm0
mov eax, dword [rdi + 0xf0]
mov dword [rbx + 0x98], eax
mov eax, dword [rdi + 0xf4]
mov dword [rbx + 0x9c], eax
mov eax, dword [rdi + 0xf8]
mov dword [rbx + 0xa0], eax
mov eax, dword [rdi + 0xfc]
mov dword [rbx + 0xa4], eax
mov eax, dword [rdi + 0x100]
mov dword [rbx + 0xa8], eax
mov eax, dword [rdi + 0x104]
mov dword [rbx + 0xac], eax
mov eax, dword [rdi + 0x108]
mov dword [rbx + 0xb0], eax
mov rax, qword [rdi + 0x110]
mov qword [rbx + 0xb8], rax
mov eax, dword [rdi + 0x118]
mov dword [rbx + 0xc0], eax
mov eax, dword [rdi + 0x11c]
mov dword [rbx + 0xc4], eax
movzx eax, byte [rdi + 0x120]
mov byte [rbx + 0xc8], al
vmovss xmm0, dword [rdi + 0x128]
vmovss dword [rsi + 0x128], xmm0
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140029390
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.0x1400293b1
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 0x1400293de
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400293e0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140029439
test ecx, ecx
jle 0x140029419
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 0x140029439
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140029439
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
invalid
Function at 0x140029460
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 0x140029482
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140029491
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 0x1400294b4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400294b6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400294f2
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 0x14002958e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14002952d
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 0x14002956e
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 0x14002958e
cmp rbx, rax
ja 0x140029540
test rbx, rbx
je 0x14002958e
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
rol dword [rsi], cl
add byte [rcx - 0x7efff52a], al
ror dword [rdi], cl
add byte [rdi - 0x79ffea29], al
rcr dword [0x166f48f6c], cl
add byte [rdi - 0x77ffcf2a], al
invalid
Function at 0x1400299c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140104340]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400299ed
xor eax, eax
jmp 0x140029b59
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140029a27
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140029a27
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 0x140029b59
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140029b4c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140029a6a
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 0x140029a95
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 0x140029b51
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 0x140029b04
sub eax, 1
je 0x140029b04
cmp eax, 2
jne 0x140029b4c
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 0x140029b51
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140029b32
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 0x140029b4c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140029b51
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400d3010
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14002ab80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140104340]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14002ac53
cmp byte [rcx + 0x71], 0
je 0x14002ac53
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14002ac4f
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 0x14002ac14
sub eax, 1
je 0x14002ac18
cmp eax, 2
jne 0x14002ac4f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d3010
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14002ac46
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 0x14002ac4f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14002abfc
xor al, al
jmp 0x14002abfc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d3010
add rsp, 0x60
pop rbx
ret

Function at 0x14002b860
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.1400d40d0
sub rsp, rax
vmovaps xmmword [rsp + 0x13d0], xmm6
vmovaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x140104340]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
vmovaps xmm7, xmm1
vmovaps xmm6, xmm0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
mov r9d, 0x270
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, r9
jb 0x14002b8c0
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x28]
nop word [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 r9, 1
jne 0x14002b8f0
mov eax, dword [rsp + 0x20]
vsubss xmm0, xmm7, xmm6
vxorps xmm1, xmm1, xmm1
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
vcvtsi2ss xmm1, xmm1, rax
vmulss xmm2, xmm1, xmm0
vmovaps xmm0, xmm6
vfmadd231ss xmm0, xmm2, dword [0x1400eacc0]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400d3010
vmovaps xmm6, xmmword [rsp + 0x13d0]
vmovaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e8
ret
Function at 0x140031290
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x1401b773c], 0
je 0x14003147c
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14003147c
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14003147c
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400312e2
mov byte [0x1401b721e], 1
jmp 0x140031335
cmp byte [0x1401b721e], 0
je 0x140031335
xor edx, edx
lea ecx, [rdx + 0x44]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x44
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x44]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x44
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401b721e], 0
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14003134e
mov byte [0x1401b7234], 1
jmp 0x1400313a1
cmp byte [0x1401b7234], 0
je 0x1400313a1
xor edx, edx
lea ecx, [rdx + 0x41]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x41
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x41]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x41
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401b7234], 0
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400313ba
mov byte [0x1401b7235], 1
jmp 0x14003140d
cmp byte [0x1401b7235], 0
je 0x14003140d
xor edx, edx
lea ecx, [rdx + 0x53]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x53
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x53]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x53
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401b7235], 0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140031429
mov byte [0x1401b721f], 1
add rsp, 0x28
ret
cmp byte [0x1401b721f], 0
je 0x14003147c
xor edx, edx
lea ecx, [rdx + 0x57]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x57
mov edx, eax
lea r8d, [r9 + 8]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
lea ecx, [rdx + 0x57]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov cl, 0x57
mov edx, eax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov byte [0x1401b721f], 0
add rsp, 0x28
ret
Function at 0x140035240
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x490], rbx
mov rax, qword [0x140104340]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400352b0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14003532a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400352db
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400d40d0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14003532a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x30]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14003532d
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
jbe 0x14003533a
mov rcx, qword [rdi]
sub rcx, rbx
nop dword [rax]
movzx edx, byte [rbx]
movzx eax, byte [rbx + rcx]
sub edx, eax
jne 0x140035352
inc rbx
test eax, eax
jne 0x140035340
mov rcx, rsi
test edx, edx
je 0x140035380
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400352a1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400064a0
xor eax, eax
jmp 0x140035395
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbp + 0x28]
mov rcx, rdi
call fcn.1400064a0
mov rax, rbx
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.1400d3010
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret