joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140045220
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140045284
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rcx, rbx
test eax, eax
je 0x1400452a4
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140045260
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1401ac9ac]
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x270]
mov dword [0x1401ac9ac], eax
add rsp, 0x260
pop rdi
ret

Function at 0x1400452d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rsi, rcx
mov ebx, r8d
mov rcx, qword [0x1401ac9d0]
mov rdi, rdx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140045303
lea ecx, [rax - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1401ac9ac]
lea r8, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x38], rcx
mov edx, 0xf34644
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 0x28]
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x61], ecx
mov word [rsp + 0x65], cx
mov byte [rsp + 0x67], cl
mov byte [rsp + 0x60], cl
mov rcx, qword [0x1401ac9b0]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x40], eax
call qword [0x1401acdb8]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140048580
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
push rbp
lea rbp, [rax - 0xf8]
sub rsp, 0x1f0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rbx, r8
mov rsi, rcx
movsxd rax, edx
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, qword [r8 + 0x20]
lea rcx, [rbp - 0x50]
call fcn.140051bb0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp - 0x70], xmm0
mov rdi, qword [rbx + 0x18]
add rdi, 0x250
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm0
mov rcx, qword [0x1401ac9d0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140048622
lea ecx, [rax - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x61], ecx
mov word [rsp + 0x65], cx
mov byte [rsp + 0x67], cl
mov qword [rsp + 0x48], rdi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x30
mov eax, dword [0x1401ac9ac]
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x60], cl
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 0x28]
lea r8, [rsp + 0x40]
mov edx, 0xf34644
mov rcx, qword [0x1401ac9b0]
call qword [0x1401acdb8]
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rsp + 0x60], xmm0
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140047c10
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
movups xmm9, xmmword [rax + 0x30]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140047c10
movaps xmmword [rbp - 0x50], xmm6
movaps xmmword [rbp - 0x40], xmm7
movaps xmmword [rbp - 0x30], xmm8
movaps xmmword [rbp - 0x20], xmm9
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x60], xmm1
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.140047d90
movups xmm1, xmmword [rax + 0x30]
movss dword [rsi], xmm1
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [rsi + 4], xmm0
shufps xmm1, xmm1, 0xaa
movss dword [rsi + 8], xmm1
mov rcx, rbx
call fcn.1400481a0
mov rax, rsi
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret
Function at 0x14004fa70
Capabilities:
Execute command
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, [0x1400c2e8c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x1401aca60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400514d0
xor eax, eax
cmp eax, 1
je 0x14004fac8
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14004fac6
jmp 0x14004fac8
jmp 0x14004faad
lea rcx, str.VALORANT_Win64_Shipping.exe
call fcn.140045220
cmp dword [0x1401ac9ac], 0
je 0x14004faed
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14004f3d0
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400500c0
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.0x1400500e1
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 0x14005010e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140050110
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140050169
test ecx, ecx
jle 0x140050149
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 0x140050169
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140050169
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
idiv dword [rax + 0x24]
or bh, ch
push 0x232c061c
sbb eax, 0xf41c37f8
cmp byte [rdx], ah
sbb eax, 0xa1c25fe
and dword [0x1648b1c9b], esi
or bh, bl
sub bl, byte [rdx + rdi*8]
cli
xor eax, 0xf70e1d22
js 0x140122582
invalid
Function at 0x140050190
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400501c1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400501d8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400501fb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400501fd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140050239
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400502ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140050274
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 0x1400502ae
nop dword [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 0x1400502ce
cmp rbx, rax
ja 0x140050280
test rbx, rbx
je 0x1400502ce
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
js 0x140122538
or bh, bl
sub bl, byte [rdx + rdi*8]
xor eax, 0xfa1c1d22
test eax, 0x2d2b0a1c
sbb eax, 0xa2478f7
sti
sub bl, byte [rdx + rdi*8]
xor eax, 0x8cfe1d22
sbb al, 0xa
test al, 0x33
sbb eax, 0xa2478f7
and al, 0xa
sti
sub bl, byte [rdx + rdi*8]
xor eax, 0xfb1c1d22
sbb al, 8
mov eax, 0x78f70a2f
and al, 0xa
std
sbb al, 6
sub al, 0x23
sbb eax, 0xf41c19f8
cmp byte [rdx], ah
sbb eax, 0xa1c27fd
mov dh, byte [rdx + rcx]
Function at 0x140050710
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140050734
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140050777
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x140050777
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x1400508a8
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400507ba
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 0x1400507e5
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
cmove edi, ecx
mov eax, edi
jmp 0x1400508ad
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
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 0x14005085a
sub eax, 1
je 0x14005085a
cmp eax, 2
jne 0x1400508a8
movsx ecx, byte [rsp + 0x40]
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
cmove edi, ecx
mov eax, edi
jmp 0x1400508ad
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14005088b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400508a8
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400508ad
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140051170
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140051239
cmp byte [rcx + 0x71], 0
je 0x140051239
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14005122c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
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 0x1400511e8
sub eax, 1
je 0x1400511ec
cmp eax, 2
jne 0x14005122c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x14005121a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14005122c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret

Function at 0x1400518a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rbx, rcx
xor edi, edi
mov rcx, qword [0x1401ac9d0]
mov qword [rsp + 0x88], rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400518d2
lea ecx, [rdi - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x1401ac9b0]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r9d, 0x28
mov eax, dword [0x1401ac9ac]
mov edx, 0xf34644
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x61], edi
mov word [rsp + 0x65], di
mov byte [rsp + 0x67], dil
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], 8
mov byte [rsp + 0x60], dil
mov qword [rsp + 0x20], rdi
call qword [0x1401acdb8]
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140051960
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rbx, rcx
xor edi, edi
mov rcx, qword [0x1401ac9d0]
mov qword [rsp + 0x88], rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140051992
lea ecx, [rdi - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x1401ac9b0]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r9d, 0x28
mov eax, dword [0x1401ac9ac]
mov edx, 0xf34644
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x61], edi
mov word [rsp + 0x65], di
mov byte [rsp + 0x67], dil
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], 8
mov byte [rsp + 0x60], dil
mov qword [rsp + 0x20], rdi
call qword [0x1401acdb8]
mov r8, qword [rsp + 0x88]
movabs rax, 0xffffffff00000000
mov rcx, r8
movabs rdx, 0xffffff8000000000
and rcx, rax
movabs r9, 0xffffff7fffffffff
lea rax, [rcx + rdx]
test r9, rax
jne 0x140051a4d
add rdx, rcx
mov rcx, r8
and ecx, 0xffffff
add rcx, qword [0x1401ac978]
test r9, rdx
cmove r8, rcx
mov rbx, qword [rsp + 0x80]
mov rax, r8
add rsp, 0x70
pop rdi
ret

Function at 0x140051a60
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
mov dword [rsp + 0x88], 0
mov rcx, qword [0x1401ac9d0]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140051a8f
lea ecx, [rax - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], ecx
mov edx, 0xf34644
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 0x28]
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x61], ecx
mov word [rsp + 0x65], cx
mov byte [rsp + 0x67], cl
mov qword [rsp + 0x50], rax
mov eax, dword [0x1401ac9ac]
mov byte [rsp + 0x60], cl
mov rcx, qword [0x1401ac9b0]
mov qword [rsp + 0x58], 4
mov dword [rsp + 0x40], eax
call qword [0x1401acdb8]
movss xmm0, dword [rsp + 0x88]
xor eax, eax
movss xmm2, dword [0x1400c32b8]
movaps xmm1, xmm0
comiss xmm1, xmm2
jb 0x140051b2a
subss xmm1, xmm2
comiss xmm1, xmm2
jae 0x140051b2a
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttss2si rdx, xmm1
movabs r8, 0xffffff8000000000
movabs r9, 0xffffff7fffffffff
add rdx, rax
movabs rax, 0xffffffff00000000
mov rcx, rdx
and rcx, rax
lea rax, [rcx + r8]
test r9, rax
jne 0x140051ba0
mov rax, rdx
add rcx, r8
and eax, 0xffffff
xorps xmm0, xmm0
add rax, qword [0x1401ac978]
test r9, rcx
cmove rdx, rax
test rdx, rdx
js 0x140051b8b
cvtsi2ss xmm0, rdx
add rsp, 0x70
pop rbx
ret
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
add rsp, 0x70
pop rbx
ret
Function at 0x140051bb0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0xa0
xorps xmm0, xmm0
mov rbx, rcx
mov rcx, qword [0x1401ac9d0]
xorps xmm1, xmm1
movups xmmword [rax - 0x40], xmm0
mov rdi, rdx
movups xmmword [rax - 0x30], xmm1
movups xmmword [rax - 0x20], xmm0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140051bf2
lea ecx, [rax - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], ecx
mov edx, 0xf34644
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 0x28]
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x61], ecx
mov word [rsp + 0x65], cx
mov byte [rsp + 0x67], cl
mov qword [rsp + 0x50], rax
mov eax, dword [0x1401ac9ac]
mov byte [rsp + 0x60], cl
mov rcx, qword [0x1401ac9b0]
mov qword [rsp + 0x58], 0x30
mov dword [rsp + 0x40], eax
call qword [0x1401acdb8]
movups xmm0, xmmword [rsp + 0x68]
mov rax, rbx
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret

Function at 0x140051c90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rbx, rcx
xor edi, edi
mov rcx, qword [0x1401ac9d0]
mov dword [rsp + 0x88], edi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140051cc1
lea ecx, [rdi - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x1401ac9b0]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov r9d, 0x28
mov eax, dword [0x1401ac9ac]
mov edx, 0xf34644
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x61], edi
mov word [rsp + 0x65], di
mov byte [rsp + 0x67], dil
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], 4
mov byte [rsp + 0x60], dil
mov qword [rsp + 0x20], rdi
call qword [0x1401acdb8]
movsxd rcx, dword [rsp + 0x88]
movabs rax, 0xffffffff00000000
mov r8, rcx
movabs r9, 0xffffff8000000000
and r8, rax
movabs r10, 0xffffff7fffffffff
mov rdx, rcx
lea rax, [r8 + r9]
test r10, rax
jne 0x140051d82
mov rax, rdx
lea rcx, [r8 + r9]
and eax, 0xffffff
add rax, qword [0x1401ac978]
test r10, rcx
cmove rdx, rax
mov rcx, rdx
mov rbx, qword [rsp + 0x80]
mov eax, ecx
add rsp, 0x70
pop rdi
ret
Function at 0x140052a90
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 0x140052af1
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 0x140052ab0
mov ecx, dword [r9]
jmp 0x140052bdb
cmp ecx, 0x4e0
jb 0x140052bdb
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 0x140052b10
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 0x140052b60
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 0x1400539a4
Capabilities:
Parse pe header

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