joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401f3ee0
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x68
mov r13d, r9d
mov r14, rdx
cmp rdx, 0x14
jne 0x1401f3f12
mov rbx, qword [0x140360fb0]
lea rax, str.SHA1
jmp 0x1401f3f56
cmp r14, 0x20
jne 0x1401f3f28
mov rbx, qword [0x140360fb8]
lea rax, str.SHA256
jmp 0x1401f3f56
cmp r14, 0x30
jne 0x1401f3f3e
mov rbx, qword [0x140360fc0]
lea rax, str.SHA384
jmp 0x1401f3f56
cmp r14, 0x40
jne 0x1401f4157
mov rbx, qword [0x140360fc8]
lea rax, str.SHA512
mov esi, dword [rsp + 0xc8]
mov ecx, esi
mov qword [rsp + 0x50], rax
call fcn.140203764
mov rbp, rax
test rax, rax
je 0x1401f4157
mov rcx, r14
mov qword [rsp + 0xb8], r12
call fcn.140203764
mov r12, rax
mov rcx, rbp
test rax, rax
jne 0x1401f3f9f
call fcn.140204100
lea eax, [r12 - 1]
jmp 0x1401f4073
mov rdx, qword [rsp + 0xc0]
mov r8, rsi
mov qword [rsp + 0x60], r15
call fcn.14021a580
xor edi, edi
lea rax, [rsp + 0x44]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x40]
lea rdx, str.HashDigestLength
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea r9d, [rdi + 4]
call sub.bcrypt.dll_BCryptGetProperty
test eax, eax
js 0x1401f4059
cmp dword [rsp + 0x40], r14d
jne 0x1401f4059
lea rax, [rsp + 0x44]
mov dword [rsp + 0x28], edi
lea r9d, [rdi + 4]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0xa8]
mov rcx, rbx
lea rdx, str.ObjectLength
call sub.bcrypt.dll_BCryptGetProperty
test eax, eax
js 0x1401f4059
mov ecx, dword [rsp + 0xa8]
call fcn.140203764
mov r15, rax
test rax, rax
je 0x1401f4059
mov r9d, dword [rsp + 0xa8]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x30], edi
mov r8, rax
mov dword [rsp + 0x28], edi
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call sub.bcrypt.dll_BCryptCreateHash
test eax, eax
jns 0x1401f4088
mov rcx, r15
call fcn.140204100
mov rcx, rbp
call fcn.140204100
mov rcx, r12
call fcn.140204100
mov eax, 0xffffffff
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0xb8]
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rdi, qword [rsp + 0x48]
xor r9d, r9d
mov ebx, dword [rsp + 0x40]
mov rcx, rdi
mov r8d, esi
mov rdx, rbp
call sub.bcrypt.dll_BCryptHashData
xor r9d, r9d
mov r8d, ebx
mov rdx, r12
mov rcx, rdi
mov esi, eax
call sub.bcrypt.dll_BCryptFinishHash
mov rcx, rdi
mov ebx, eax
call sub.bcrypt.dll_BCryptDestroyHash
mov rcx, r15
call fcn.140204100
or esi, ebx
mov rcx, rbp
sar esi, 0x1f
call fcn.140204100
test esi, esi
jne 0x1401f4061
mov rcx, r13
call fcn.140203764
mov rdi, rax
test rax, rax
je 0x1401f4061
mov rdx, qword [rsp + 0xb0]
mov r8, r13
mov rcx, rax
call fcn.14021a580
mov ecx, dword [rsp + 0xd0]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x30], ecx
test cl, 2
mov rcx, qword [rsp + 0xa0]
mov eax, 0
cmove rdx, rax
mov dword [rsp + 0x28], r13d
mov r9d, r14d
mov qword [rsp + 0x20], rdi
mov r8, r12
mov rcx, qword [rcx]
call sub.bcrypt.dll_BCryptVerifySignature
mov rcx, r12
mov ebx, eax
call fcn.140204100
mov rcx, rdi
call fcn.140204100
sar ebx, 0x1f
mov eax, ebx
jmp 0x1401f406e
mov eax, 0xffffffff
add rsp, 0x68
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401f4170
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x28
mov r8d, edx
xor r9d, r9d
mov rdx, rcx
mov rcx, qword [0x140360fa0]
call sub.bcrypt.dll_BCryptGenRandom
sar eax, 0x1f
add rsp, 0x28
ret
Function at 0x1401fe3f0
Capabilities:
Parse pe header

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

Function at 0x14020a474
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14020a270

Function at 0x14020f998
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1403608f0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14020f9ef
cmp word [rdx], r13w
jne 0x14020f9ef
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14020f9f4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14020fb19
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14020fb3a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14020fa2d
mov rdx, r9
mov word [rbx], cx
jmp 0x14020fa54
cmp r9, r8
jae 0x14020fa64
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14020fa0e
jmp 0x14020fb19
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x14020fb0e
cmp dword [rsp + 0x80], esi
je 0x14020fb0e
lea r8, [0x1403608f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14020fae6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14020fab6
mov word [rbx], r13w
jmp 0x14020fb16
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14020fac3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14020fb16
cmp word [rsp + 0x70], r13w
jne 0x14020faf3
cmp rbx, r14
je 0x14020fab0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140210760
cmp word [rsp + 0x70], r13w
je 0x14020fb19
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1403608f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14020fb13
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14020fb19
Function at 0x14021170c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140211722
mov al, 1
jmp 0x140211782
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140211733
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140211780
mov ecx, dword [rcx + 0x18]
nop
call fcn.14021404c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140211780
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
je 0x140211780
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
je 0x140211780
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140211782
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140213538
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140213568
xor eax, eax
jmp 0x14021362b
mov rbp, rbx
cmp word [rax], si
je 0x14021358d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140213574
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140213570
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140213458
movsxd r14, eax
test eax, eax
jne 0x1402135cb
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x140213561
mov rcx, r14
call fcn.14020afa4
mov rdi, rax
test rax, rax
jne 0x1402135e4
xor ecx, ecx
call fcn.14020cf90
jmp 0x1402135c0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140213458
test eax, eax
jne 0x140213615
mov rcx, rdi
call fcn.14020cf90
jmp 0x14021361f
xor ecx, ecx
call fcn.14020cf90
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140218e28
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.14020b990
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140218eb2
cmp byte [rbp - 0x21], r15b
je 0x140218ead
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140218ee8
call fcn.14020c9c4
test eax, eax
jne 0x140218ed4
cmp byte [rbp - 0x21], r15b
je 0x140218ecc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140218ee8
cmp byte [rbp - 0x21], r15b
je 0x140218ee5
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.140211de4
test eax, eax
jne 0x140218f88
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14020b990
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140218f27
cmp byte [rbp - 0x21], r15b
je 0x140218f5c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140218f5c
call fcn.14020c9c4
test eax, eax
jne 0x140218f48
cmp byte [rbp - 0x21], r15b
je 0x140218f41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140218f5c
cmp byte [rbp - 0x21], r15b
je 0x140218f59
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.140211de4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140218f88
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140218f8b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140218f99
mov rcx, rdi
call fcn.14020cf90
cmp byte [rbp + 0x3f], r15b
je 0x140218fa8
mov rcx, qword [rbp + 0x27]
call fcn.14020cf90
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 0x140219c60
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.140210760
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140210760
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140219db0
cmp rax, 0xffffffffffffffff
je 0x140219db0
xor edi, edi
test rbp, rbp
jle 0x140219d5b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140211d58
mov rbx, rax
test rax, rax
jne 0x140219ce8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140219d51
mov edx, 0x8000
mov ecx, r14d
call fcn.14020a4f0
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.140211210
cmp eax, 0xffffffff
je 0x140219d31
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140219cf8
mov edx, r15d
mov ecx, r14d
call fcn.14020a4f0
jmp 0x140219d51
cmp byte [rsi + 0x38], dil
je 0x140219d48
cmp dword [rsi + 0x34], 5
jne 0x140219d48
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140219d51
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14020cf90
jmp 0x140219dc4
jns 0x140219dc4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140210760
cmp rax, 0xffffffffffffffff
jne 0x140219d7c
cmp byte [rsi + 0x30], dil
je 0x140219dc4
mov edi, dword [rsi + 0x2c]
jmp 0x140219dc4
mov ecx, r14d
call fcn.14021404c
mov rcx, rax
call qword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
jne 0x140219dc4
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 0x140219dc4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140219dbd
mov eax, dword [rsi + 0x2c]
jmp 0x140219dc2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140210760
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 0x14021a410
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14021a438
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14021a438
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1402231a0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, [0x1402d6dc5]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x140223201
mov rdi, rax
lea rdx, [0x1402d6de6]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140223201
mov rsi, rax
lea rdx, [0x1402d6df4]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140223201
mov rdi, rax
xor ebx, ebx
jmp 0x140223287
lea rcx, [0x1402d6d80]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1402232ff
mov rsi, rax
lea rdx, [0x1402d6d8a]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1402232ff
mov rdi, rax
lea rdx, [0x1402d6d9d]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1402232ff
mov rbx, rax
lea rdx, [0x1402d6db1]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1402232ff
mov rsi, rax
lea rcx, [rbp - 0x40]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x1402232ff
mov rdi, qword [rbp - 0x40]
movzx eax, byte [0x14035fbc1]
mov ecx, 0x18
mov edx, 8
call fcn.140026090
test rax, rax
je 0x140223334
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x14035fc20], rcx
je 0x1402232f3
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x1402232dc
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.1400260a0
mov rcx, rsi
mov rax, rcx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rax, str._bn__
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rax, [0x1402d6d80]
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rdx, str.C:Users_root.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.10_src_thread_parkerwindowsmod.rs
lea rcx, [rbp - 0x40]
call fcn.140225ca0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.140225a80
ud2
Function at 0x1402240d0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, [0x1402d83cd]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14022412e
mov rdi, rax
lea rdx, [0x1402d83ee]
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14022412e
mov rsi, rax
lea rdx, [0x1402d83fc]
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14022412e
mov rdi, rax
xor ebx, ebx
jmp 0x1402241b0
lea rcx, [0x1402d8388]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x140224223
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140224223
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140224223
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x140224223
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x140224223
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x14035fbc1]
mov ecx, 0x18
mov edx, 8
call fcn.140026090
test rax, rax
je 0x140224228
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x14035fc38], rcx
je 0x140224217
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x140224200
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_CloseHandle
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.1400260a0
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.1402240a0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.140225a80
ud2

Function at 0x140224b50
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov r14, r9
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401d5e90
mov rdx, qword [rsp + 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x140224bdb
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140224c0e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140224c23
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x140224c43
mov rcx, qword [rsp + 0x38]
mov r8d, 1
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400260a0
mov rcx, qword [r14]
mov rax, qword [rsp + 0x28]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test rbx, rbx
je 0x140224c43
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.1400260a0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140002110
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r14d, r14d
xor sil, sil
lea rax, [rbp + 7]
mov qword [rbp - 0x19], rax
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x11], rax
mov ecx, 0x10
call fcn.140057e40
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rax], xmm0
mov qword [rbp + 0xf], rax
lea rcx, [rbp + 0x37]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140002770]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x2f], rax
test rax, rax
je 0x140002313
movss xmm6, dword [0x140067f58]
mov rdi, qword [rbp + 0xf]
nop word [rax + rax]
mov ecx, dword [0x1400d85f4]
test ecx, ecx
je 0x1400021e4
sub ecx, 1
je 0x1400021cc
cmp ecx, 1
jne 0x140002202
mov byte [0x1400d8600], cl
jmp 0x140002202
mov ecx, dword [0x1400d85f0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x1400d8600]
jmp 0x140002202
mov ecx, dword [0x1400d85f0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140002202
cmp byte [0x1400d8600], 0
sete byte [0x1400d8600]
lea rdx, str.Roblox
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x140002274
cmp byte [0x1400d8600], 0
je 0x140002271
cmp byte [0x1400d9238], 0
je 0x140002271
mov rcx, qword [0x1400d9230]
add rcx, 0x100
call fcn.140050500
mov rbx, rax
cmp byte [0x1400d9220], 0
je 0x14000225f
test sil, sil
je 0x14000225f
test rdi, rdi
je 0x14000225f
mov rax, rdi
jmp 0x140002264
call fcn.1400017f0
mov qword [rbp + 7], rax
cmp rax, rbx
jne 0x140002284
mov qword [rbp + 7], r14
xor sil, sil
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400021b0
test rax, rax
je 0x140002271
xor ebx, ebx
mov qword [rbp - 9], rbx
lea rcx, [rax + 0x158]
call fcn.140050500
test rax, rax
jne 0x1400022a7
movsd xmm0, qword [rbp - 9]
jmp 0x1400022d0
xor ecx, ecx
mov qword [rbp + 0xf], rcx
mov dword [rbp + 0x17], ecx
lea rcx, [rax + 0x140]
mov r8d, 0xc
lea rdx, [rbp + 0xf]
call fcn.14004afa0
movsd xmm0, qword [rbp + 0xf]
movsd qword [rbp - 9], xmm0
movsd qword [rbp - 0x29], xmm0
movss xmm0, dword [rbp - 0x25]
comiss xmm0, xmm6
jbe 0x140002271
movsd xmm0, qword [rbp + 0x1f]
movsd qword [rbp - 0x19], xmm0
mov eax, dword [rbp + 0x27]
mov dword [rbp - 0x11], eax
lea rdx, [rbp - 0x19]
mov rcx, qword [rbp + 7]
call fcn.140001c80
mov rdi, qword [rbp + 7]
mov sil, 1
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400021b0
mov dword [rbp + 0x37], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3