joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d4c00
Capabilities:
Parse pe header

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400d4d69
push rbp
mov rbp, rsp
sub rsp, 0x30
test rax, rax
je 0x1400d4d61
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rax
mov rcx, rax
mov qword [rsp + 0x28], rax
test rbx, rbx
je 0x1400d4c4d
lea rdx, [rcx + rbx]
lea rsi, [rcx + 0x40]
nop
nop dword [rax + rax]
cmp rsi, rdx
jbe 0x1400d4c4d
xor eax, eax
add rsp, 0x30
pop rbp
ret
lea rax, [0x1401116a0]
call fcn.14000d8a0
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov qword [rax + 8], 0x40
mov rdx, qword [0x1400f2af0]
mov rbx, rax
mov edi, 2
mov rax, rdx
mov rcx, rdi
nop
call fcn.1400bdda0
test rax, rax
jne 0x1400d4d59
mov rcx, qword [rsp + 0x28]
cmp word [rcx], 0x5a4d
jne 0x1400d4d51
mov ecx, dword [rcx + 0x3c]
cmp ecx, 0x400
jg 0x1400d4d49
movsxd rcx, ecx
mov rdx, qword [rsp + 0x40]
add rcx, rdx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rcx
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x1400d4ce7
nop
add rsi, rdx
cmp rdx, 8
ja 0x1400d4cdf
cmp rsi, 0x100
jae 0x1400d4ce7
xor eax, eax
add rsp, 0x30
pop rbp
ret
lea rax, [0x1401116a0]
call fcn.14000d8a0
mov rcx, qword [rsp + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], 0x40
mov rcx, qword [0x1400f2af0]
mov rbx, rax
mov edi, 2
mov rax, rcx
mov rcx, rdi
call fcn.1400bdda0
nop dword [rax]
test rax, rax
jne 0x1400d4d41
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400d4d3a
xor eax, eax
add rsp, 0x30
pop rbp
ret
add rsp, 0x30
pop rbp
nop
ret
xor eax, eax
add rsp, 0x30
pop rbp
ret
xor eax, eax
add rsp, 0x30
pop rbp
ret
xor eax, eax
add rsp, 0x30
pop rbp
ret
xor eax, eax
add rsp, 0x30
pop rbp
ret
xor eax, eax
add rsp, 0x30
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400633c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1400d4c00

Function at 0x1400dc340
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400e7510
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400e7510
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x1400dc3b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x1402b9574]
mov r12, rcx
test ebx, ebx
jle 0x1400dc4e0
mov rax, qword [0x1402b9578]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x1400dc3fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400dc483
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x1400dc3e0
mov rcx, r12
call fcn.1400dcd50
mov rsi, rax
test rax, rax
je 0x1400dc502
mov rax, qword [0x1402b9578]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.1400dce80
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1402b9578]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400dc4e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400dc47c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400dc490
add dword [0x1402b9574], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x1402b9578]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400dc47c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400dc340
nop dword [rax]
xor ebx, ebx
jmp 0x1400dc407
mov rax, qword [0x1402b9578]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400dc340
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400dc340
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400dc9c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1402b95e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1402b95c0]
test rbx, rbx
je 0x1400dca14
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1400dca0b
test r12, r12
je 0x1400dca0b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400dc9f0
lea rcx, [0x1402b95e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400dcd50
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402578c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400dcd70
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400dcd78
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400dcd70
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1400dcdc5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400dcdbc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400dcd70
add rax, 0x28
cmp rax, r9
jne 0x1400dcda8
xor eax, eax
ret

Function at 0x1400dcdd0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402578c0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400dcdf0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400dcdf8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400dcdf0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1400dce80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402578c0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400dcea0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400dcea8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x1400de830
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x140257940]
mov rax, qword [rsi]
test rax, rax
je 0x1400de8c0
cmp qword [rax + 0x30], 0
jne 0x1400de8e0
lea rbx, [0x140102128]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x1400de890
cmp qword [rax + 0x30], 0
jne 0x1400de8b0
lea rdx, [0x140102128]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x1400e76a0
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400e3730
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x1400de872
test rax, rax
jne 0x1400de8b0
call fcn.1400e3730
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x1400de880
call fcn.1400e3730
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x1400de850
test rax, rax
jne 0x1400de8e0
call fcn.1400e3730
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x1400de85b
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [pe_dos_header]
ud2
Function at 0x1400de8f0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x1400dea02
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x1400de9da
add rax, 1
cmp rax, 0x6b
je 0x1400de9f7
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x1400de9d0
cmp edx, 0x6a
je 0x1400de9f7
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x1400de9eb
Function at 0x1400df410
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [0x140257940]
mov rax, qword [rsi]
test rax, rax
je 0x1400df600
cmp qword [rax + 0x28], 0
jne 0x1400df5e8
lea rcx, [0x1402b9698]
cmp dword [rcx], 1
mov qword [rax + 0x28], rcx
je 0x1400df5f5
call fcn.1400dea20
mov rax, qword [rsi]
test rax, rax
je 0x1400df490
cmp qword [rax + 0x30], 0
jne 0x1400df4b0
lea rdx, [0x140102128]
mov qword [rax + 0x30], rdx
mov rax, rdx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x1400df4c4
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.1400e3730
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x1400df460
test rax, rax
jne 0x1400df4b0
call fcn.1400e3730
nop dword [rax]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
jne 0x1400df47e
call fcn.1400de560
cmp qword [0x1402bd050], 0
mov rbx, rax
je 0x1400df47e
test rax, rax
je 0x1400df47e
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.1400e55d0
cmp eax, 1
je 0x1400df66d
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, r12
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400e76a6
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [rsi]
test rax, rax
je 0x1400df648
cmp qword [rax + 0x30], 0
je 0x1400df630
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400e76a6
mov r12, rbx
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x1400df44c
mov rax, qword [rsi]
jmp 0x1400df459
call fcn.1400e3730
cmp qword [rax + 0x28], 0
mov rax, qword [rsi]
je 0x1400df438
test rax, rax
jne 0x1400df5e8
call fcn.1400e3730
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x1400df44c
jmp 0x1400df451
lea rdx, [0x140102128]
mov qword [rax + 0x30], rdx
mov rax, rdx
jmp 0x1400df5be
call fcn.1400e3730
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x1400df630
test rax, rax
jne 0x1400df5ba
call fcn.1400e3730
jmp 0x1400df5ba
call fcn.1400de8f0
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [0x140257940]
mov rdx, qword [rax]
lea rax, [0x1402b96a8]
mov qword [rdx + 0x10], rax
ret
Function at 0x1400e35b0
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400e35d0
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x1400e3618
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400e35c4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400e3605
Function at 0x1400e3730
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x1402b9780]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x1400e3753
lea rax, [0x1402b9788]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x1400e379b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400e3798
lea rax, [0x1402b97c0]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x1400e37cb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400e37c8
xor ecx, ecx
mov byte [0x1402b97d9], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x1402b97e2], rdx
lea r8, [0x1402b9780]
lea rbx, [0x1402b97da]
mov qword [0x1402b97f2], rdx
mov qword [0x1402b9802], rdx
mov qword [0x1402b9812], rdx
xor edx, edx
mov qword [0x1402b97da], rax
mov qword [0x1402b97ea], rax
mov qword [0x1402b97fa], rax
mov qword [0x1402b980a], rax
mov byte [0x1402b981a], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400e39a6
lea rcx, [0x1402b97c0]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x1400e38f1
lea rsi, [0x1402b96c0]
lea r8, [0x1402b981a]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x1400e389d
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x1400e3890
lea rcx, [0x1402b97c0]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x1400e3993
lea rcx, [0x1400e3640]
mov qword [0x1402b96c0], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x1402b96c0]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x1402b97c0]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x1402b981a]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x1400e39c6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x1400e3943
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x1400e3930
mov rax, rdx
mov qword [0x1402b96c0], rax
lea rsi, [0x1402b96c0]
jmp 0x1400e3969
cmp rdx, rsi
je 0x1400e38cf
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400e3960
cmp rdx, rsi
je 0x1400e38cf
mov qword [rdx + 8], rsi
lea rcx, [0x1400e3640]
call sub.msvcrt.dll__onexit
jmp 0x1400e38cf
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.1400e35b0
xor eax, eax
jmp 0x1400e38e8
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.1400e35b0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.1400e35b0
xor eax, eax
jmp 0x1400e394f
Function at 0x14000c260
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140165340]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, byte [0x1401858fa]
test eax, eax
jne 0x14000c288
jmp 0x14000c359
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000c29f
mov byte [rsp + 0x21], 1
jmp 0x14000c2a4
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x50]
call fcn.14000c220
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x30]
lea rcx, [0x1401859b0]
call fcn.14003a150
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14000c310
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14000c310
mov dword [rsp + 0x24], 0xf
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x28]
call fcn.14002f030
mov rcx, rax
call fcn.14002f050
mov edx, 0x10001
lea rcx, [0x1401859b0]
call fcn.14003a110
jmp 0x14000c359
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14000c335
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x14000c335
mov edx, 0x100
lea rcx, [0x1401859b0]
call fcn.14003a110
jmp 0x14000c359
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14000c359
cmp dword [rsp + 0x30], 0x10001
jne 0x14000c359
mov edx, 0x100
lea rcx, [0x1401859b0]
call fcn.14003a110
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14011d870
add rsp, 0x48
ret

Function at 0x1400317f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140032280
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140036930
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x140036952
mov rcx, qword [rsp + 0x40]
call fcn.140036a00
jmp 0x140036969
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x140036969
mov rcx, qword [rsp + 0x40]
call fcn.140036ab0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140036a00
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x140036a21
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x140036aa5
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x140036a70
mov dword [rsp + 4], 0x9908b0df
jmp 0x140036a78
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140036a14
add rsp, 0x18
ret
Function at 0x140036ab0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x140036ae0
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x140036b62
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x140036b2e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x140036b36
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140036ad5
mov qword [rsp + 8], 0xe3
jmp 0x140036b7a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x140036c01
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x140036bcb
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x140036bd3
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140036b6d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140036c55
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x140036c5d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x140038b20
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
vmovss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140038b56
mov rax, qword [rsp + 0x38]
mov byte [rax], 1
jmp 0x140038bbb
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
test eax, eax
je 0x140038bbb
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 8
movzx edx, al
movzx ecx, byte [rsp + 0x40]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 2
movzx edx, al
movzx ecx, byte [rsp + 0x40]
call qword [sym.imp.USER32.dll_keybd_event]
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
add rsp, 0x28
ret

Function at 0x140038bc0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x48
movzx eax, byte [0x1401858fb]
test eax, eax
jne 0x140038bd1
jmp 0x140038c23
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.https:__discord.com_invite_VgRrxwesPz
lea rdx, [0x14012d360]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
movzx eax, byte [0x1401858fb]
test eax, eax
jne 0x140038c10
mov dword [rsp + 0x30], 1
jmp 0x140038c18
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [0x1401858fb], al
add rsp, 0x48
ret

Function at 0x140038c30
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x48
movzx eax, byte [0x1401858fc]
test eax, eax
jne 0x140038c41
jmp 0x140038c93
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.https:__github.com_CowNowK_AimStar
lea rdx, [0x14012d38c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
movzx eax, byte [0x1401858fc]
test eax, eax
jne 0x140038c80
mov dword [rsp + 0x30], 1
jmp 0x140038c88
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [0x1401858fc], al
add rsp, 0x48
ret