joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140094d40
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1400d3141]
mov ecx, 0x10
mov edx, 8
call fcn.140005490
test rax, rax
je 0x140094e1f
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140094ed0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140094e11
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140094de8
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.1400054a0
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.1400054a0
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400a5570
ud2
Function at 0x1400a2eb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1400a2f2a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400a2f20
cmp r11, r10
ja 0x1400a2fc1
cmp r10, rdx
ja 0x1400a2fd3
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1400a2f22
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400a2f00
jmp 0x1400a2f97
ja 0x1400a2f2a
mov r11, r10
cmp rax, r8
jne 0x1400a2ed2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400a2f9b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400a2f70
mov r8, r10
sub ecx, r9d
jns 0x1400a2f8e
jmp 0x1400a2f9d
cmp r10, rdx
je 0x1400a2fa9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400a2f9d
xor al, 1
cmp r8, rdx
jne 0x1400a2f50
jmp 0x1400a2f9d
xor eax, eax
jmp 0x1400a2f9d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400b6029]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400a5810
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400a5e80
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400a5e00
int3

Function at 0x1400a478c
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov eax, dword [0x140003128]
lea r9, [rbp - 0x39]
movsd xmm0, qword [str.CE_ADZDC]
xor r8d, r8d
mov dword [rbp - 0x31], eax
mov al, byte [0x14000312c]
mov byte [rbp - 0x2d], al
movsd qword [rbp - 0x39], xmm0
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9], al
inc r9
cmp r8d, 0xd
jl 0x1400015ab
lea rcx, [rbp - 0x39]
call fcn.14000194c
mov r10, rax
test rax, rax
je 0x140001744
mov ecx, dword [0x140003148]
lea r9, [rbp - 0x29]
movsd xmm0, qword [str.HIJK_vMNO_ABC_]
xor r8d, r8d
mov dword [rbp - 0x21], ecx
mov cl, byte [0x14000314c]
mov byte [rbp - 0x1d], cl
movsd qword [rbp - 0x29], xmm0
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9], al
inc r9
cmp r8d, 0xd
jl 0x14000160d
mov eax, dword [0x140003138]
lea r9, [rbp - 0x19]
movsd xmm0, qword [0x140003130]
xor r8d, r8d
mov dword [rbp - 0x11], eax
mov al, byte [0x14000313c]
mov byte [rbp - 0xd], al
movsd qword [rbp - 0x19], xmm0
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9], al
inc r9
cmp r8d, 0xd
jl 0x14000165a
lea r8, [rbp - 0x29]
mov rcx, r10
lea rdx, [rbp - 0x19]
call fcn.140001834
mov rsi, rax
test rax, rax
je 0x140001744
mov edi, 0xc0000225
xor ebx, ebx
mov eax, dword [0x140003170]
lea r9, [rbp - 9]
movups xmm0, xmmword [str.luWE_VSkjXS_lRLKe_B]
mov dword [rbp + 0x17], eax
xor r8d, r8d
movups xmm1, xmmword [0x140003160]
movzx eax, word [0x140003174]
movups xmmword [rbp - 9], xmm0
mov word [rbp + 0x1b], ax
movups xmmword [rbp + 7], xmm1
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 0x13
jl 0x1400016d5
mov r9d, ebx
lea r8, [rbp - 9]
mov edx, 0x24
lea rcx, [rbp + 0x1f]
call fcn.1400014ec
lea rcx, [rbp + 0x1f]
call fcn.140001498
test rax, rax
je 0x140001735
mov rdx, rsi
mov rcx, rax
call fcn.1400013dc
test eax, eax
cmovns edi, eax
inc ebx
cmp ebx, 2
jl 0x1400016a4
mov eax, edi
jmp 0x140001749
mov eax, 0xc0000001
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140002280
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140001834
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd rdi, dword [rcx + 0x3c]
xor r13d, r13d
add rdi, rcx
mov r15, r8
mov r12, rdx
mov r14, rcx
mov r9d, r13d
mov esi, r13d
movzx eax, word [rdi + 0x14]
lea rbx, [rdi + 0x18]
add rbx, rax
cmp r13w, word [rdi + 6]
jae 0x140001922
movzx r11d, word [0x1400031d8]
mov ebp, dword [0x1400031d4]
cmp dword [rbx], 0x45474150
je 0x1400018e6
mov dword [rsp + 0x20], ebp
lea r10, [rsp + 0x20]
mov word [rsp + 0x24], r11w
mov r8d, r13d
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r10], al
inc r10
cmp r8d, 6
jl 0x1400018ae
mov eax, dword [rbx]
cmp eax, dword [rsp + 0x20]
jne 0x140001910
mov al, byte [rbx + 4]
cmp al, byte [rsp + 0x24]
jne 0x140001910
mov ecx, dword [rbx + 0xc]
mov r9, r15
mov edx, dword [rbx + 8]
add rcx, r14
mov r8, r12
call fcn.1400017b8
mov r9, rax
test rax, rax
jne 0x140001922
movzx r11d, word [0x1400031d8]
mov ebp, dword [0x1400031d4]
movzx ecx, word [rdi + 6]
inc esi
add rbx, 0x28
cmp esi, ecx
jl 0x140001894
mov rax, r9
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140002280
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000194c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor ebx, ebx
lea r9, [rsp + 0x20]
mov r14, rcx
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea esi, [rbx + 0xb]
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140001a98
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x6f616d4c
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140001a98
mov r8d, dword [rsp + 0x20]
xor r9d, r9d
mov rdx, rax
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
js 0x140001a88
mov esi, ebx
cmp qword [rdi], rbx
jbe 0x140001a88
lea rbp, [rdi + 8]
mov rax, rbp
lea rcx, [rsp + 0x30]
mov edx, 2
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400019f2
movups xmm0, xmmword [rax]
mov rdx, r14
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x58]
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140001a83
inc esi
add rbp, 0x128
movsxd rax, esi
cmp rax, qword [rdi]
jb 0x1400019e5
jmp 0x140001a88
mov rbx, qword [rsp + 0x40]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
jmp 0x140001a9a
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002280
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400044f0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov rbx, qword [0x140169c00]
movzx r12d, r9w
movzx edi, r8b
movzx esi, dl
mov ebp, ecx
test r8b, r8b
je 0x140004537
inc dword [0x14016f9fc]
add rbx, 0x150
mov qword [0x140169c00], rbx
lea rdx, [0x14016e2e0]
mov rcx, rbx
mov r8d, 0x150
call fcn.140109100
mov dword [rbx + 0x3c], ebp
test dil, dil
je 0x140004562
lea rcx, [0x1401712e0]
xor edx, edx
call fcn.140026440
xor edi, edi
cmp dword [0x14016fa48], edi
mov qword [0x140171e98], rdi
je 0x140004596
mov rax, qword [0x140169c30]
lea rcx, [0x1401295d4]
test rax, rax
je 0x140004590
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x140004623
cmp byte [rbx + 0x12e], dil
jne 0x1400045cb
cmp r12w, 0x65
sete dil
mov byte [rbx + 0x12e], dil
test dil, dil
je 0x1400045cb
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x140171ea4], 0
je 0x1400045dd
cmp dword [0x140171ea0], 0
jne 0x1400045e6
cmp byte [rbx + 0x12e], 0
je 0x140004623
cmp byte [rbx + 0x12e], 0
mov byte [rbx + 0x12c], 0
jne 0x140004623
cmp dword [0x140171ea4], 0
jge 0x14000460b
mov dword [rbx + 0x120], 0xffffffff
jmp 0x140004623
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x140171ea4]
mov dword [rbx + 0x120], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x140005910
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
cmp qword [0x140171f48], 0
mov rbx, rdx
mov rsi, rcx
je 0x140005937
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rdi
test rcx, rcx
je 0x1400059a7
mov eax, 0xffffffff
cmp rdx, rax
jne 0x140005960
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea rbx, [rcx - 1]
mov ebx, ebx
test rbx, rbx
je 0x1400059a7
lea rdx, [rbx + 1]
lea rcx, [0x140171f30]
call fcn.1400059d0
test rax, rax
jne 0x14000598a
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [0x140171f48]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14010a074
xor r11d, r11d
mov word [rdi + rbx*2], r11w
lea rcx, [0x140171f30]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.140005a80
Function at 0x140005d00
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
mov edi, ecx
xor ecx, ecx
mov rbx, rdx
test rdx, rdx
je 0x140005d1b
mov dword [rdx], ecx
lea eax, [rdi - 0xc000]
cmp eax, 0x3fff
ja 0x140005e26
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
lea rcx, [0x140129b10]
call fcn.1400dd2e0
lea rcx, [rsp + 0x20]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
mov rdx, rax
call fcn.140108e4c
test eax, eax
je 0x140005e13
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call fcn.140108424
test eax, eax
je 0x140005e13
lea rcx, [0x140129b50]
call fcn.1400dd2e0
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140108424
test eax, eax
je 0x140005e13
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call fcn.140108424
test eax, eax
je 0x140005e13
lea rcx, [0x140129b88]
call fcn.1400dd2e0
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140108424
test eax, eax
je 0x140005e13
lea rcx, [0x140129bb8]
call fcn.1400dd2e0
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140108424
test eax, eax
je 0x140005e08
lea rcx, [0x140129bf0]
call fcn.1400dd2e0
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140108424
test eax, eax
jne 0x140005e2b
test rbx, rbx
je 0x140005e13
mov dword [rbx], 1
xor eax, eax
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret
mov word [rsp + 0x20], cx
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret

Function at 0x140005e50
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x140005e6a
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14016f860]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140005ee4
xor esi, esi
nop
mov ecx, dword [0x140169af8]
cmp ecx, 0xffffffff
je 0x140005eb4
test ecx, ecx
je 0x140005f00
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x140169af8]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140005f00
mov edx, 1
mov ecx, 0x8000012f
mov dword [0x140169afc], esi
call fcn.140001760
mov rcx, qword [0x14016f860]
mov dword [0x140169afc], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140005e90
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x2c], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14000cf40
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push r12
mov eax, 0x1040
call fcn.1401110b0
sub rsp, rax
cmp byte [0x140174f48], 0
mov rbx, rdx
mov r12, rcx
jne 0x14000d0f7
cmp dword [0x140170444], 0
mov qword [rsp + 0x1058], rsi
jne 0x14000cf84
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140170444], eax
inc dword [0x140174f4c]
mov qword [rsp + 0x1050], rbp
mov qword [rsp + 0x1060], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x140169b10]
mov edx, dword [0x140169b14]
mov esi, eax
mov dword [0x140170448], eax
sub esi, dword [0x140170444]
cmp dword [0x140174f4c], ecx
jbe 0x14000d055
cmp esi, edx
jae 0x14000d055
lea rcx, [0x14012e880]
mov ebp, 1
call fcn.1400dd2e0
mov r9d, dword [0x140174f4c]
lea rcx, [rsp + 0x40]
mov r8, rax
mov edx, 0x800
mov dword [rsp + 0x20], esi
call fcn.1400e6100
call fcn.14000bc10
xor edi, edi
xorpd xmm3, xmm3
lea edx, [rbp + 3]
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov byte [0x140174f48], bpl
mov dword [0x140169afc], edi
mov qword [rsp + 0x20], rdi
call fcn.1400ec710
cmp eax, 7
jne 0x14000d040
lea edx, [rbp + 4]
lea rcx, [0x1401712e0]
xor r8d, r8d
call fcn.140026b80
mov eax, dword [0x140170448]
mov dword [0x140169afc], ebp
mov byte [0x140174f48], dil
jmp 0x14000d05d
xor edi, edi
mov ebp, edi
cmp esi, edx
jbe 0x14000d06d
mov dword [0x140174f4c], edi
mov dword [0x140170444], eax
test ebp, ebp
jne 0x14000d0df
movzx eax, byte [r12 + 0xf]
mov dword [rsp + 0x30], edi
lea r8, str.call
mov byte [0x140171e5e], al
mov rcx, qword [rbx]
inc byte [rbx + 0x22]
mov rdx, rcx
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call fcn.1400d5720
dec byte [rbx + 0x22]
test eax, eax
jne 0x14000d0aa
mov byte [rbx + 0x27], al
jmp 0x14000d0df
cmp byte [rbx + 0x27], 0
je 0x14000d0df
mov byte [rbx + 0x27], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, 0x3e8
ja 0x14000d0df
movzx r8d, word [r12 + 4]
mov rcx, qword [0x14016f860]
xor r9d, r9d
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
mov rbp, qword [rsp + 0x1050]
mov rdi, qword [rsp + 0x1060]
mov rsi, qword [rsp + 0x1058]
mov rbx, qword [rsp + 0x1068]
add rsp, 0x1040
pop r12
ret
Function at 0x140015e80
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
cmp dword [0x140170484], 2
movzx ebp, r8b
mov ebx, edx
sete sil
movzx edi, cx
test sil, sil
je 0x140015eda
movzx ecx, cx
lea rdx, [rsp + 0x30]
test ecx, 0xffffff80
je 0x140015ec7
mov eax, gethostbyname
lea rdx, [rsp + 0x32]
mov word [rsp + 0x30], ax
mov r8d, 0xa
call fcn.140108150
movzx edi, word [rsp + 0xa8]
test ebx, ebx
jle 0x140015fa8
mov qword [rsp + 0xa0], r12
xor r12d, r12d
nop dword [rax]
cmp dword [0x140170484], r12d
jne 0x140015f5a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140169c00]
sub eax, dword [0x140171eac]
cmp eax, dword [rcx + 0x118]
jbe 0x140015f5a
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r12d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140015f4e
mov edx, 1
or ecx, 0xffffffff
mov dword [0x140169afc], r12d
call fcn.140001760
mov dword [0x140169afc], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140171eac], eax
test sil, sil
je 0x140015f6b
lea rcx, [rsp + 0x30]
call fcn.140015fc0
jmp 0x140015f77
movzx edx, bpl
movzx ecx, di
call fcn.140014020
cmp dword [0x140170484], 2
mov rax, qword [0x140169c00]
jne 0x140015f8f
mov ecx, dword [rax + 0x80]
jmp 0x140015f92
mov ecx, dword [rax + 0x7c]
call fcn.140018430
dec rbx
jne 0x140015ef0
mov r12, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140015fc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
cmp dword [0x140170484], 0
mov qword [rsp + 0x40], rbx
mov rdi, rcx
je 0x140015fe3
movzx ebx, byte [0x14016e6ab]
jmp 0x140016113
cmp qword [0x14016f9b0], 0
je 0x140015ff9
movzx ebx, byte [0x14016f85d]
jmp 0x140016113
mov ecx, 0xa0
mov qword [rsp + 0x48], rsi
xor bl, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, 0x8000
movzx ebx, bl
test si, ax
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, 0xa1
cmovne ebx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140016031
or bl, 0x20
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140016044
or bl, 1
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140016057
or bl, 2
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x14001606a
or bl, 4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x14001607d
or bl, 8
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x140016090
or bl, 0x40
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
je 0x1400160a3
or bl, 0x80
cmp qword [0x14016f9b0], 0
je 0x14001610e
movzx ecx, byte [0x14016f85d]
movzx esi, bl
not sil
and sil, cl
je 0x14001610e
movzx edx, byte [0x14016f85f]
movzx eax, sil
not al
and byte [0x14016f85e], al
and cl, al
and dl, al
mov byte [0x14016f85d], cl
lea rcx, [0x14016f8b0]
mov byte [0x14016f85f], dl
call fcn.140019290
mov rcx, qword [0x14016e698]
test rcx, rcx
je 0x14001610e
test byte [rcx + 0xc], sil
mov eax, 0
cmovne rcx, rax
mov qword [0x14016e698], rcx
mov rsi, qword [rsp + 0x48]
movzx ecx, bl
xor r9d, r9d
xor r8d, r8d
and cl, 0xc4
movzx edx, bl
mov dword [rsp + 0x28], 0xffc3d44f
or cl, 4
mov byte [rsp + 0x20], 1
call fcn.1400188f0
movzx eax, word [rdi]
mov rbx, qword [rsp + 0x40]
cmp ax, 0x30
jb 0x14001617b
cmp ax, 0x39
ja 0x14001617b
movzx edx, byte [rdi]
xor r8d, r8d
xor r9d, r9d
lea ecx, [r8 + 2]
add dl, 0x30
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140016430
movzx eax, word [rdi + 2]
add rdi, 2
cmp ax, 0x30
jae 0x140016145
xor r8d, r8d
xor r9d, r9d
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [r8 + 1]
mov dword [rsp + 0x28], 0xffc3d44d
mov byte [rsp + 0x20], r8b
call fcn.140016430
add rsp, 0x30
pop rdi
ret
Function at 0x140017a40
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov ebx, r9d
mov r9d, dword [rdx]
mov rsi, rdx
mov rdi, rcx
cmp r9d, 0x80000000
je 0x140017c31
cmp dword [0x140170484], 2
jne 0x140017aad
movzx ebx, byte [rsp + 0x80]
mov r8d, dword [rdi]
movzx eax, bl
neg al
sbb ecx, ecx
xor edx, edx
and ecx, 0x80000000
or ecx, 1
call fcn.140017e30
call fcn.140018520
test bl, bl
je 0x140017c31
mov dword [rdi], 0x80000000
mov dword [rsi], 0x80000000
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
or dword [r8], 0x8001
cmp byte [rsp + 0x80], 0
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r14
je 0x140017b22
cmp dword [0x140170484], 1
jne 0x140017b07
mov eax, dword [0x14016e6b0]
cmp eax, 0x80000000
jne 0x140017afb
lea rcx, [0x14016e6b0]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x14016e6b0]
add dword [rdi], eax
mov eax, dword [0x14016e6b4]
add dword [rsi], eax
jmp 0x140017b2d
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r11d, dword [rsp + 0x68]
mov eax, dword [rsp + 0x6c]
add dword [rdi], r11d
add dword [rsi], eax
jmp 0x140017b2d
mov r8d, 2
call fcn.1400e7880
cmp dword [0x140170484], 1
jne 0x140017b46
mov eax, dword [rdi]
mov dword [0x14016e6b0], eax
mov eax, dword [rsi]
mov dword [0x14016e6b4], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, 1
mov ecx, ebp
mov r12d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8d, dword [rdi]
or r14d, 0xffffffff
mov r13d, eax
mov eax, r8d
mov ecx, ebp
shl eax, 0x10
cdq
idiv r12d
test r8d, r8d
cmovs ecx, r14d
add eax, ecx
mov ecx, ebp
mov dword [rdi], eax
mov r8d, dword [rsi]
mov eax, r8d
shl eax, 0x10
cdq
idiv r13d
test r8d, r8d
cmovs ecx, r14d
lea r9d, [rax + rcx]
mov dword [rsi], r9d
test ebx, ebx
js 0x140017c09
cmp ebx, 0x64
jle 0x140017baa
lea ebx, [rbp + 0x63]
jmp 0x140017bae
test ebx, ebx
je 0x140017c09
cmp dword [0x140170484], ebp
je 0x140017c09
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r11d, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x68]
mov r9d, dword [rsi]
mov r8d, dword [rdi]
mov eax, r11d
shl eax, 0x10
mov r10d, ebp
mov dword [rsp + 0x20], ebx
cdq
idiv r13d
test r11d, r11d
cmovs r10d, r14d
add r10d, eax
mov eax, ecx
shl eax, 0x10
cdq
idiv r12d
test ecx, ecx
mov edx, r10d
cmovs ebp, r14d
lea ecx, [rbp + rax]
call fcn.140079570
jmp 0x140017c1d
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x8001
call fcn.140017c40
call fcn.140018520
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret