joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66e0bf50
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.66e134c0
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.66e134c0
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 0x66e0bfc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x66f175e4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x66e0c168
mov rax, qword [0x66f175e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x66e0c00c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x66e0c097
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x66e0bff0
mov rcx, r12
call fcn.66e0ccc0
mov rbp, rax
test rax, rax
je 0x66e0c1a2
mov rax, qword [0x66f175e8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.66e0cdf0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x66f175e8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x66e0c1b1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x66e0c090
sub eax, 4
and eax, 0xfffffffb
jne 0x66e0c120
add dword [0x66f175e4], 1
cmp ebx, 8
jae 0x66e0c0c8
test bl, 4
jne 0x66e0c170
test ebx, ebx
je 0x66e0c0b9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x66e0c190
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x66e0c0b9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x66e0c0fa
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x66f175e8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x66e0c090
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.66e0bf50
nop dword [rax]
xor edi, edi
jmp 0x66e0c017
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x66e0c0b9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x66e0c0b9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.66e0bf50
mov rax, qword [0x66f175e8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.66e0bf50
nop
nop dword [rax]
Function at 0x66e0c930
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x66f178c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x66f178a0]
test rbx, rbx
je 0x66e0c984
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 0x66e0c97b
test r12, r12
je 0x66e0c97b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x66e0c960
lea rcx, [0x66f178c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x66e0ccc0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x66e679c0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x66e0cd39
mov rcx, r10
call fcn.66e0cb90
test eax, eax
je 0x66e0cd39
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x66e0cd36
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x66e0cd2d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x66e0cd39
add r8, 0x28
cmp r8, r9
jne 0x66e0cd18
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x66e0d040
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x66f178a8]
mov edi, ecx
mov rsi, rdx
test eax, eax
jne 0x66e0c9c0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x66e0ca13
mov dword [rax], edi
lea rcx, [0x66f178c0]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x66f178a0]
lea rcx, [0x66f178c0]
mov qword [0x66f178a0], rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
or eax, 0xffffffff
jmp 0x66e0c9b6
push r12
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
cmp eax, 0xffffffff
je 0x66e0d070
mov rdx, r12
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop r12
jmp 0x66e13660
add rsp, 0x28
pop rbx
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x66e13670
xor eax, eax
ret
jmp 0x66e0c9a0

Function at 0x66e0d0b0
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, r12d
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x66e0d0f0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x66e0d108
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x66e15910
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
movups xmmword [rsp + 0x80], xmm6
movups xmmword [rsp + 0x90], xmm7
movups xmmword [rsp + 0xa0], xmm8
pxor xmm7, xmm7
mov rsi, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movupd xmm6, xmm1
lea rdi, [rsp + 0x30]
mov rbx, rcx
mov rcx, rdi
call rsi
comisd xmm7, xmm6
mov rdx, qword [rbx]
mov rax, qword [rsp + 0x30]
movsd xmm1, qword [rbx + 0x18]
movsd xmm2, qword [rdx]
ja 0x66e15b30
comisd xmm6, xmm7
je 0x66e15a30
pxor xmm0, xmm0
subsd xmm6, qword [0x66e64e00]
cvtsi2sd xmm0, rax
divsd xmm0, xmm2
subsd xmm0, xmm1
addsd xmm6, xmm0
comisd xmm0, xmm6
jae 0x66e15b20
mov r14, qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov r15, qword [sym.imp.USER32.dll_WaitMessage]
lea r13, [rbx + 0x20]
lea rbp, [rbx + 0x28]
movsd xmm8, qword [0x66e64e08]
jmp 0x66e15a1c
mulsd xmm3, xmm8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0x4bf
cvttsd2si r9, xmm3
call r14
mov rdx, rbp
mov rcx, r13
call fcn.66e34450
mov r12d, eax
test eax, eax
jne 0x66e15a40
mov rcx, rdi
call rsi
mov rcx, qword [rbx]
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x30]
divsd xmm0, qword [rcx]
subsd xmm0, qword [rbx + 0x18]
comisd xmm0, xmm6
jae 0x66e15b20
movupd xmm3, xmm6
subsd xmm3, xmm0
comisd xmm7, xmm3
jbe 0x66e159c8
call r15
jmp 0x66e159e4
lea rdx, [rbx + 0x28]
lea rcx, [rbx + 0x20]
call fcn.66e34450
mov r12d, eax
xor esi, esi
cmp qword [rbx + 0x20], 0
mov r13, qword [sym.imp.USER32.dll_UpdateWindow]
je 0x66e15a76
mov r8, qword [rbx + 0x28]
mov rax, qword [r8 + rsi*8]
cmp byte [rax + 0xb0], 0
jne 0x66e15ab0
mov r10, qword [rax + 0x10]
add rsi, 1
mov rcx, qword [r10 + 0x30]
call r13
cmp qword [rbx + 0x20], rsi
ja 0x66e15a50
movups xmm6, xmmword [rsp + 0x80]
movups xmm7, xmmword [rsp + 0x90]
mov eax, r12d
movups xmm8, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x30], 0
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
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 dword [rsp + 0x30], 6
call qword [rax + 0x20]
mov r9, qword [rbx + 0x28]
mov rax, qword [r9 + rsi*8]
jmp 0x66e15a61
xor r12d, r12d
jmp 0x66e15a40
call qword [sym.imp.USER32.dll_WaitMessage]
lea rdx, [rbx + 0x28]
lea rcx, [rbx + 0x20]
call fcn.66e34450
mov r12d, eax
jmp 0x66e15a40
Function at 0x66e1eef0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r12, qword [rcx + 0x10]
mov rsi, rdx
mov rbp, r8
mov rbx, r9
test r8, r8
je 0x66e1f040
mov rcx, qword [r12 + 0x48]
lea rdx, [r9 + 1]
call sub.msvcrt.dll_realloc
mov rcx, rax
test rax, rax
je 0x66e1f071
mov r8, rbx
mov rdx, rbp
call sub.msvcrt.dll_memcpy
mov byte [rax + rbx], 0
mov qword [r12 + 0x50], rbx
mov qword [r12 + 0x48], rax
lea rdi, str.text_plain
mov ecx, 0xb
mov r13d, 0xb
repe cmpsb byte [rsi], byte [rdi]
seta al
sbb al, 0
test al, al
jne 0x66e1f026
mov rcx, qword [r12 + 0x30]
mov r13d, 2
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x66e1f026
mov r9d, 0xffffffff
mov r8, rbp
xor edx, edx
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0
mov r14, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x20], 0
call r14
mov ecx, 2
lea edx, [rax + 1]
mov edi, eax
movsxd rsi, edx
add rsi, rsi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x66e1f069
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r15, rax
test rax, rax
je 0x66e1f060
mov r9d, ebx
xor edx, edx
mov r8, rbp
mov ecx, 0xfde9
mov dword [rsp + 0x28], edi
xor r13d, r13d
mov qword [rsp + 0x20], rax
call r14
xor r8d, r8d
mov rcx, r12
mov word [r15 + rsi - 2], r8w
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r12
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, r13d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [r12 + 0x50], 0
mov qword [r12 + 0x48], 0
jmp 0x66e1ef49
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x66e1f026
mov rcx, qword [r12 + 0x48]
mov r13d, 0xc
call fcn.66e12d88
mov qword [r12 + 0x50], 0
jmp 0x66e1f026
Function at 0x66e2a8e0
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
lea rax, fcn.66e2b070
mov qword [rcx + 8], rdx
mov rdx, qword [rdx + 8]
mov rbx, rcx
mov qword [rcx], rax
lea rsi, [rbx + 0x30]
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov rcx, qword [rdx]
test rcx, rcx
je 0x66e2a9e0
call fcn.66e168f0
mov qword [rbx + 0x40], 0
movq xmm1, rsi
lea rcx, str.DPF_SCALE_FACTOR
mov qword [rbx + 0x20], rax
punpcklqdq xmm1, xmm1
mov r12, rax
mov dword [rbx + 0x48], 1
movups xmmword [rbx + 0x30], xmm1
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x66e2a9c0
call sub.msvcrt.dll_atof
movsd xmm2, qword [0x66e64570]
maxsd xmm0, xmm2
mov byte [rbx + 0x58], 0
pxor xmm3, xmm3
xor r9d, r9d
mov edx, 0x280
mov byte [rbx + 0x90], 0
mov r8d, 0x1e0
mov rcx, rbx
mov qword [rbx + 0x68], 0
mov qword [rbx + 0x70], 0
mov qword [rbx + 0x88], 0
movsd qword [rbx + 0x50], xmm0
movsd qword [rbx + 0x60], xmm2
movups xmmword [rbx + 0x78], xmm3
call fcn.66e2a520
nop
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
test r12, r12
je 0x66e2aa1c
mov rcx, r12
call fcn.66e21460
movsd xmm2, qword [0x66e64570]
jmp 0x66e2a962
mov qword [rbx + 0x20], 0
movq xmm0, rsi
lea rcx, str.DPF_SCALE_FACTOR
mov qword [rbx + 0x40], 0
punpcklqdq xmm0, xmm0
mov dword [rbx + 0x48], 1
movups xmmword [rbx + 0x30], xmm0
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
jne 0x66e2a951
movsd xmm2, qword [0x66e64570]
movupd xmm0, xmm2
jmp 0x66e2a962
Function at 0x66e2abe0
Capabilities:
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
movups xmmword [rsp + 0x20], xmm6
lea rax, fcn.66e2b070
movsd xmm6, qword [rsp + 0x80]
mov edi, dword [rsp + 0x88]
mov qword [rcx + 8], rdx
mov rdx, qword [rdx + 8]
mov rbx, rcx
mov rsi, r9
mov qword [rcx], rax
mov r12, qword [rdx]
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
test r12, r12
je 0x66e2ad40
mov rcx, r12
call fcn.66e168f0
mov r12, rax
test rax, rax
je 0x66e2ac46
mov rdx, rsi
mov rcx, rax
call fcn.66e1fe00
test rsi, rsi
lea rbp, [rbx + 0x30]
mov qword [rbx + 0x20], r12
setne cl
sete byte [rbx + 0x48]
movq xmm0, rbp
comisd xmm6, xmmword [0x66e64578]
punpcklqdq xmm0, xmm0
mov qword [rbx + 0x40], 0
mov byte [rbx + 0x49], cl
mov byte [rbx + 0x4a], cl
mov byte [rbx + 0x4b], 0
movups xmmword [rbx + 0x30], xmm0
jne 0x66e2acc8
lea rcx, str.DPF_SCALE_FACTOR
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x66e2acb0
call sub.msvcrt.dll_atof
movsd xmm1, qword [0x66e64570]
movupd xmm6, xmm0
maxsd xmm6, xmm1
jmp 0x66e2acd0
test r12, r12
je 0x66e2ad30
mov rcx, r12
call fcn.66e21460
movupd xmm6, xmm0
nop dword [rax]
movsd xmm1, qword [0x66e64570]
mov byte [rbx + 0x58], 0
pxor xmm2, xmm2
movzx r9d, dil
mov rcx, rbx
mov qword [rbx + 0x68], 0
mov r8d, 0x1e0
mov edx, 0x280
mov qword [rbx + 0x70], 0
mov qword [rbx + 0x88], 0
mov byte [rbx + 0x90], 0
movsd qword [rbx + 0x50], xmm6
movsd qword [rbx + 0x60], xmm1
movups xmmword [rbx + 0x78], xmm2
call fcn.66e2a520
nop
movups xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movsd xmm6, qword [0x66e64570]
movupd xmm1, xmm6
jmp 0x66e2acd0
mov r9d, 0x52
lea r8, str.src_WindowPrivateData.cpp
lea rdx, str.world___nullptr
lea rcx, [0x66e64380]
call fcn.66e14a50
jmp 0x66e2ac46
Function at 0x66e2adc0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
movups xmmword [rsp + 0x30], xmm6
lea rax, fcn.66e2b070
mov r13d, dword [rsp + 0xc8]
mov edi, dword [rsp + 0xb8]
mov r14d, dword [rsp + 0xd0]
movsd xmm6, qword [rsp + 0xc0]
mov qword [rcx + 8], rdx
mov rdx, qword [rdx + 8]
mov rbx, rcx
test r9, r9
mov qword [rcx], rax
lea rsi, [rbx + 0x30]
mov r12, r9
sete r15b
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov rcx, qword [rdx]
mov qword [rsp + 0x28], rsi
setne sil
test rcx, rcx
je 0x66e2af20
call fcn.66e168f0
mov rbp, rax
test rax, rax
je 0x66e2af40
mov rcx, rax
mov rdx, r12
call fcn.66e1fe00
movq xmm0, qword [rsp + 0x28]
mov qword [rbx + 0x20], rbp
mov ecx, esi
mov qword [rbx + 0x40], 0
mov byte [rbx + 0x48], r15b
punpcklqdq xmm0, xmm0
movups xmmword [rbx + 0x30], xmm0
comisd xmm6, xmmword [0x66e64578]
mov byte [rbx + 0x49], cl
mov byte [rbx + 0x4a], sil
mov byte [rbx + 0x4b], r14b
je 0x66e2af88
movsd xmm2, qword [0x66e64570]
pxor xmm3, xmm3
mov byte [rbx + 0x58], 0
mov qword [rbx + 0x68], 0
mov qword [rbx + 0x70], 0
mov qword [rbx + 0x88], 0
mov byte [rbx + 0x90], 0
movsd qword [rbx + 0x50], xmm6
movsd qword [rbx + 0x60], xmm2
movups xmmword [rbx + 0x78], xmm3
test sil, sil
jne 0x66e2af70
test edi, edi
mov r8d, 0x1e0
mov edx, 0x280
mov rcx, rbx
mov r9d, dword [rsp + 0xb0]
cmovne r8d, edi
test r9d, r9d
cmovne edx, dword [rsp + 0xb0]
movzx r9d, r13b
call fcn.66e2a520
nop
movups xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, 0x52
lea r8, str.src_WindowPrivateData.cpp
lea rdx, str.world___nullptr
lea rcx, [0x66e64380]
call fcn.66e14a50
movq xmm1, qword [rsp + 0x28]
mov byte [rbx + 0x48], r15b
xor ebp, ebp
xor ecx, ecx
mov qword [rbx + 0x20], 0
punpcklqdq xmm1, xmm1
mov qword [rbx + 0x40], 0
movups xmmword [rbx + 0x30], xmm1
jmp 0x66e2ae71
mov rcx, qword [rbx + 0x20]
mov rdx, r12
call fcn.66e1fe00
jmp 0x66e2aed3
lea rcx, str.DPF_SCALE_FACTOR
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x66e2afc0
call sub.msvcrt.dll_atof
movsd xmm2, qword [0x66e64570]
movzx esi, byte [rbx + 0x4a]
movupd xmm6, xmm0
maxsd xmm6, xmm2
jmp 0x66e2ae92
test rbp, rbp
je 0x66e2afe0
mov rcx, rbp
call fcn.66e21460
movzx esi, byte [rbx + 0x4a]
movupd xmm6, xmm0
jmp 0x66e2ae8a
movsd xmm6, qword [0x66e64570]
movzx esi, byte [rbx + 0x4a]
movupd xmm2, xmm6
jmp 0x66e2ae92
Function at 0x66e33390
Capabilities:
Log keystrokes via polling

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd0
movups xmmword [rsp + 0x80], xmm6
movups xmmword [rsp + 0x90], xmm7
movups xmmword [rsp + 0xa0], xmm8
movups xmmword [rsp + 0xb0], xmm9
movups xmmword [rsp + 0xc0], xmm10
pxor xmm10, xmm10
pxor xmm9, xmm9
pxor xmm8, xmm8
pxor xmm6, xmm6
mov rax, qword [rcx + 0x10]
mov rbx, r8
mov qword [rsp + 0x28], r8
mov r12, rcx
mov edi, edx
mov rcx, qword [rax + 0x30]
cvtsi2sd xmm10, ebx
lea rdx, [rsp + 0x28]
sar rbx, 0x20
call qword [sym.imp.USER32.dll_ClientToScreen]
cvtsi2sd xmm6, ebx
call qword [sym.imp.USER32.dll_GetMessageTime]
pxor xmm0, xmm0
movsd xmm7, qword [0x66e64e00]
mov rsi, qword [sym.imp.USER32.dll_GetKeyState]
cvtsi2sd xmm0, eax
mov ecx, 0x10
cvtsi2sd xmm9, dword [rsp + 0x28]
cvtsi2sd xmm8, dword [rsp + 0x2c]
mulsd xmm7, xmm0
call rsi
mov ecx, 0x11
unpcklpd xmm6, xmm9
movsx ebx, ax
call rsi
shr ebx, 0x1f
mov ecx, 0x12
mov ebp, ebx
or ebp, 2
test ax, ax
unpcklpd xmm7, xmm10
cmovns ebp, ebx
call rsi
mov ecx, 0x5b
mov edx, ebp
or edx, 4
test ax, ax
cmovs ebp, edx
call rsi
mov ecx, 0x5c
mov ebx, ebp
or ebx, 8
test ax, ax
cmovns ebx, ebp
call rsi
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x38], xmm7
mov ecx, ebx
movups xmmword [rsp + 0x48], xmm6
or ecx, 8
test ax, ax
movsd qword [rsp + 0x58], xmm8
cmovs ebx, ecx
mov rcx, r12
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x64], 0
call fcn.66e1f4a0
nop
movups xmm6, xmmword [rsp + 0x80]
movups xmm7, xmmword [rsp + 0x90]
movups xmm8, xmmword [rsp + 0xa0]
movups xmm9, xmmword [rsp + 0xb0]
movups xmm10, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x66e33520
Capabilities:
Log keystrokes via polling

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, qword [rsp + 0x90]
movsx edi, bx
shr rbx, 0x10
movsx ebx, bx
mov r12, rdx
mov r13d, r9d
mov rsi, rcx
mov dword [rsp + 0x28], edi
mov rax, qword [r12 + 0x10]
mov dword [rsp + 0x2c], ebx
mov ebp, r8d
lea rdx, [rsp + 0x28]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.USER32.dll_ClientToScreen]
test r13b, r13b
je 0x66e33658
mov rcx, qword [r12 + 0x10]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.USER32.dll_SetCapture]
call qword [sym.imp.USER32.dll_GetMessageTime]
pxor xmm1, xmm1
mov edx, 0x10
cvtsi2sd xmm1, eax
mulsd xmm1, qword [0x66e64e00]
movsd qword [rsi + 8], xmm1
pxor xmm2, xmm2
pxor xmm3, xmm3
pxor xmm4, xmm4
mov dword [rsi], edx
pxor xmm5, xmm5
cvtsi2sd xmm3, dword [rsp + 0x2c]
mov ecx, 0x10
mov r13, qword [sym.imp.USER32.dll_GetKeyState]
cvtsi2sd xmm5, ebx
cvtsi2sd xmm2, dword [rsp + 0x28]
cvtsi2sd xmm4, edi
unpcklpd xmm2, xmm3
unpcklpd xmm4, xmm5
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm4
call r13
mov ecx, 0x11
movsx edi, ax
call r13
shr edi, 0x1f
mov ecx, 0x12
mov r12d, edi
or r12d, 2
test ax, ax
cmovns r12d, edi
call r13
mov ecx, 0x5b
mov r8d, r12d
or r8d, 4
test ax, ax
cmovs r12d, r8d
call r13
mov ecx, 0x5c
mov ebx, r12d
or ebx, 8
test ax, ax
cmovns ebx, r12d
call r13
mov dword [rsi + 0x34], ebp
mov r10d, ebx
or r10d, 8
test ax, ax
cmovs ebx, r10d
mov dword [rsi + 0x30], ebx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call qword [sym.imp.USER32.dll_ReleaseCapture]
call qword [sym.imp.USER32.dll_GetMessageTime]
pxor xmm0, xmm0
mov edx, 0x11
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x66e64e00]
movsd qword [rsi + 8], xmm0
jmp 0x66e3359e
Function at 0x140001060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov byte [rbp - 0x20], 0x79
xor r8d, r8d
mov byte [rbp - 0x1f], 0x2b
mov r9d, 0x81020409
mov byte [rbp - 0x1e], 0x79
mov byte [rbp - 0x1d], 0x3b
mov byte [rbp - 0x1c], 0x75
mov byte [rbp - 0x1b], 0x2b
mov byte [rbp - 0x1a], 0x79
mov byte [rbp - 0x19], 0x3b
mov byte [rbp - 0x18], 0x75
mov byte [rbp - 0x17], 0x2b
mov byte [rbp - 0x16], 0x40
mov al, byte [rbp - 0x20]
movzx ecx, byte [rbp + r8 - 0x20]
mov eax, 0x40
sub eax, ecx
imul ecx, eax, 0x23
mov eax, r9d
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, r9d
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r8 - 0x20], cl
inc r8
cmp r8, 0xb
jb 0x1400010b2
movzx ecx, word [rbp - 0xe]
lea r8, [rbp - 0x20]
movzx eax, word [rbp - 0xa]
mov edx, 0x104
movzx r9d, word [rbp - 0x10]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.140001008
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x140001178
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rsp + 0x60]
mov esi, r9d
mov rbp, r8
mov qword [rax - 0x18], rdi
xor r9d, r9d
xor r8d, r8d
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400011ce
mov rcx, qword [rdi]
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ebx, eax
test eax, eax
jne 0x1400011ce
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400011e8
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor ebx, ebx
mov dword [rax - 0x38], 0xf0000000
mov rdi, r9
mov dword [r9], ebx
mov r14, r8
mov qword [rax - 0x20], rbx
mov esi, edx
mov rbp, rcx
lea r9d, [rbx + 0x18]
xor r8d, r8d
xor edx, edx
lea rcx, [rax - 0x20]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400012a8
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov r9d, esi
mov qword [rsp + 0x20], rax
mov r8, rbp
mov qword [rsp + 0x30], rbx
mov edx, 0x8003
call fcn.140001178
test eax, eax
je 0x14000129b
mov rcx, qword [rsp + 0x30]
lea edx, [rbx + 4]
lea r9, [rsp + 0x78]
mov dword [rsp + 0x78], edx
mov r8, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
lea edx, [rbx + 2]
mov r9, rdi
mov dword [rsp + 0x20], ebx
mov r8, r14
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x30]
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret