joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e870
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
cmp rdi, 0x40000000
jbe 0x14002e8ab
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1401437d8]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x30], r15
cmovbe r15, qword [rsp + 0x30]
sub r15, 0xfff
test rsi, rsi
je 0x14002e8ed
cmp rsi, r14
jb 0x14002e8e5
cmp rsi, r15
jae 0x14002e8e5
cmp qword [rsi + 8], 0
jne 0x14002eab5
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14002e8d0
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x14002e979
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x14002e979
nop word [rax + rax]
mov r8d, gethostbyname
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14002e979
cmp dword [rsp + 0x70], 0x10000
je 0x14002e9fb
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x14002e979
sub rbx, rbp
cmp rbx, r14
jae 0x14002e940
test rsi, rsi
jne 0x14002ea60
cmp rdi, r15
ja 0x14002ea9d
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x14002ea9d
mov r8d, gethostbyname
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14002ea9d
cmp dword [rsp + 0x70], 0x10000
je 0x14002ea31
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x14002e9b2
jmp 0x14002ea9d
test rbx, rbx
je 0x14002e979
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14002ea60
cmp rbx, r14
jae 0x14002e920
jmp 0x14002e982
test rdi, rdi
je 0x14002ea9d
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14002ea60
cmp rdi, r15
jbe 0x14002e990
jmp 0x14002ea9d
xor eax, eax
lea rcx, [rsi + 0x40]
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add r12, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp r12, 0xfc0
jbe 0x14002ea70
mov rax, qword [0x1401437d8]
mov qword [rsi], rax
mov qword [0x1401437d8], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x14002f1c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x140146c50], ecx
lea rax, [0x140146c54]
mov r8d, 1
mov edx, dword [rax - 4]
lea rax, [rax + 4]
shr edx, 0x1e
xor edx, dword [rax - 8]
imul ecx, edx, 0x6c078965
add ecx, r8d
inc r8d
mov dword [rax - 4], ecx
cmp r8d, 0x270
jl 0x14002f1d3
mov dword [0x140140418], 1
mov dword [0x140146c48], 1
ret

Function at 0x14002f210
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x140146c48], 0
lea rbx, [0x140146c50]
jne 0x14002f26f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140146c50], eax
mov edx, 1
lea r8, [0x140146c54]
nop
mov ecx, dword [r8 - 4]
lea r8, [r8 + 4]
shr ecx, 0x1e
xor ecx, dword [r8 - 8]
imul eax, ecx, 0x6c078965
add eax, edx
inc edx
mov dword [r8 - 4], eax
cmp edx, 0x270
jl 0x14002f240
mov dword [0x140146c48], 1
mov eax, dword [0x140146c50]
mov r10d, 0xe3
mov dword [0x140140418], 0x270
mov qword [0x140147610], rbx
nop dword [rax]
mov r9d, dword [rbx + 4]
mov edx, r9d
xor edx, eax
and edx, 0x7ffffffe
xor edx, eax
mov eax, r9d
shr edx, 1
and al, 1
neg al
mov eax, r9d
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [rbx + 0x634]
mov dword [rbx], edx
add rbx, 4
sub r10d, 1
jne 0x14002f290
mov r11d, 0x18c
nop
mov r10d, dword [rbx + 4]
lea r8, [rbx + 4]
mov edx, r10d
mov eax, r10d
xor edx, r9d
and al, 1
and edx, 0x7ffffffe
xor edx, r9d
mov r9d, r10d
shr edx, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [rbx - 0x38c]
mov dword [rbx], edx
lea rbx, [r8]
sub r11d, 1
jne 0x14002f2d0
mov eax, dword [0x140146c50]
mov ecx, r10d
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
xor ecx, r10d
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [r8 - 0x38c]
mov dword [r8], ecx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
sub dword [0x140140418], 1
jne 0x14002f362
call fcn.14002f210
mov rax, qword [0x140147610]
mov ecx, dword [rax]
add rax, 4
mov qword [0x140147610], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
add rsp, 0x28
ret

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

Disassembly:
sub rsp, 0x28
sub dword [0x140140418], 1
jne 0x14002f3c2
call fcn.14002f210
mov rax, qword [0x140147610]
xorps xmm0, xmm0
mov ecx, dword [rax]
add rax, 4
mov qword [0x140147610], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x140128218]
add rsp, 0x28
ret
Function at 0x14002fc90
Capabilities:
Write clipboard data

Disassembly:
cmp byte [rcx + 0x23], 0
jne 0x14002fc9a
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x23], 2
jne 0x14002fcb6
cmp qword [0x140146970], 0
je 0x14002fcb6
lea rcx, [0x140146958]
jmp fcn.1400070a0
movzx eax, byte [rcx + 0x21]
and al, 0x86
mov byte [rcx + 0x21], al
test dl, dl
je 0x14002fcc8
or al, 1
mov byte [rcx + 0x21], al
mov eax, 1
ret
Function at 0x140035ac0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x10280
call fcn.1400f3640
sub rsp, rax
cmp qword [0x140142820], 0
movzx esi, dl
mov rdi, rcx
je 0x140035afd
mov rdx, qword [rcx + 0xbc8]
lea r8, str._restart
xor ebx, ebx
jmp 0x140035bac
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ebx, ebx
mov dword [rsp + 0x102a0], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x102a0]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rsp + 0x102a0], 1
jne 0x140035b7d
mov r9, qword [rax]
lea rcx, [rsp + 0x50]
sub r9, rcx
nop word [rax + rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + r9]
sub r8d, edx
jne 0x140035b66
add rcx, 2
test edx, edx
jne 0x140035b50
test r8d, r8d
jne 0x140035b7d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r8, str._restart
jmp 0x140035ba5
mov r9, qword [rdi + 0xbb0]
lea r8, str._restart___s_
mov edx, 0x8010
lea rcx, [rsp + 0x260]
call fcn.1400b9a60
lea r8, [rsp + 0x260]
mov rdx, qword [rdi + 0xbc8]
mov r9, qword [0x1401427c0]
lea rcx, [0x140145cd0]
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x40], bl
mov byte [rsp + 0x38], bl
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x20], sil
call fcn.140058480
lea r11, [rsp + 0x10280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14003f520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
movzx eax, word [0x14013f618]
xor ebp, ebp
mov word [rsp + 0x22], ax
mov eax, 0x7b
mov dword [rsp + 0x48], eax
mov ebx, SafeArrayAllocDescriptor
mov word [rsp + 0x20], bx
mov r10, r8
mov dword [rsp + 0x24], 0x90028
mov rsi, rdx
mov dword [rsp + 0x28], 0x3e003c
mov r11, rcx
mov dword [rsp + 0x2c], 0x3d003a
mov dword [rsp + 0x30], 0x2d002b
mov dword [rsp + 0x34], 0x2f002a
mov dword [rsp + 0x38], 0x7e0021
mov dword [rsp + 0x3c], 0x7c0026
mov dword [rsp + 0x40], 0x5b005e
mov dword [rsp + 0x44], 0x3f002e
test r8, r8
je 0x14003f5e8
movzx edx, word [r8]
test dx, dx
je 0x14003f5fd
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
movzx eax, bx
cmp dx, ax
je 0x14003f5eb
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14003f5c8
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14003f5c0
mov r8, rbp
test r8, r8
je 0x14003f5fd
cmp r8, r10
lea rbx, [r8 - 2]
cmovbe rbx, r8
jmp 0x14003f616
mov rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], bp
jne 0x14003f604
lea rbx, [r10 - 2]
lea rbx, [rbx + rax*2]
cmp rbx, r10
jbe 0x14003f638
nop dword [rax + rax]
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14003f62f
cmp ax, 9
jne 0x14003f638
sub rbx, 2
cmp rbx, r10
ja 0x14003f620
mov rdi, rbx
sub rdi, r10
sar rdi, 1
inc rdi
cmp rdi, 0xfd
jbe 0x14003f668
test r9b, r9b
je 0x14003f664
mov r8, r10
lea rdx, str.This_line_does_not_contain_a_recognized_action.
mov rcx, r11
call fcn.1400570c0
xor eax, eax
jmp 0x14003f67d
mov r8, rdi
mov rdx, r10
mov rcx, rsi
call fcn.1400e5080
mov rax, rbx
mov word [rsi + rdi*2], bp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140045110
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x10040
call fcn.1400f3640
sub rsp, rax
mov qword [rsp + 0x20], r9
lea rcx, [rsp + 0x30]
mov r9, r8
mov rbx, rdx
lea r8, [0x14011fab0]
mov edx, 0x8001
call fcn.1400b9a60
lea rcx, [rsp + 0x30]
movsxd rdi, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400451a4
test al, 0x10
je 0x1400451a4
lea ecx, [rdi + 0xfd]
movsxd rcx, ecx
lea rcx, [rcx*4 + 0x14]
call fcn.1400dc214
mov qword [rbx], rax
test rax, rax
je 0x1400451a4
lea ecx, [rdi + 1]
movsxd r8, ecx
lea rdx, [rsp + 0x30]
add r8, r8
mov rcx, rax
call fcn.1400d8380
mov qword [rbx + 8], rdi
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
lea rax, [0x140103574]
mov qword [rbx], rax
mov rbx, qword [rsp + 0x10050]
add rsp, 0x10040
pop rdi
ret
Function at 0x140055e20
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
lea r8, str.Script_lines_most_recently_executed__oldest_first_.__Press__F5__to_refresh.__The_seconds_elapsed_between_a_line_and_the_one_after_it_is_in_parentheses_to_the_right__if_not_0_.__The_bottommost_lines_elapsed_time_is_the_number_of_seconds_since_it_executed._r_n_r_n
mov edx, 0xfffe
call fcn.1400b9a60
mov r9, qword [rsp + 0x80]
lea r10, [0x140000000]
mov r8d, dword [0x140143800]
mov ebp, 0x190
movsxd rdx, eax
mov r11d, 2
mov dword [rsp + 0x88], 0xffffffff
mov eax, r8d
lea rcx, [r9 + rdx*2]
mov qword [rsp + 0x98], rcx
nop dword [rax + rax]
xor r13b, r13b
mov r12, rcx
test ebp, ebp
jle 0x140056064
mov edx, ebp
mov esi, r11d
mov qword [rsp + 0x90], rdx
movsxd rcx, eax
nop
cmp eax, 0x190
lea rdi, [rcx - 0x190]
lea r14d, [rax - 0x190]
cmovl rdi, rcx
cmovl r14d, eax
cmp qword [r10 + rdi*8 + 0x143e50], 0
je 0x140056039
movzx r15d, r13b
lea eax, [rsi - 1]
xor r13b, r13b
cmp eax, ebp
jge 0x140055f64
test r15b, r15b
jne 0x140056039
mov r8d, dword [r10 + rdi*4 + 0x143810]
lea eax, [r14 + 1]
xor edx, edx
lea rcx, [rdi + 1]
cmp eax, 0x190
cmovl rdx, rcx
mov ebx, dword [r10 + rdx*4 + 0x143810]
sub ebx, r8d
cmp ebx, 0x7fffffff
jbe 0x140055f83
mov r13b, 1
cmp esi, ebp
jne 0x140055f3f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea r10, [0x140000000]
sub ebx, dword [r10 + rdi*4 + 0x143810]
jmp 0x140055f7b
lea rax, [rdi + 2]
mov rcx, 0xfffffffffffffe72
cmp rax, 0x190
cmovl rcx, r11
add rcx, rdi
mov ebx, dword [r10 + rcx*4 + 0x143810]
sub ebx, r8d
jmp 0x140055f83
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea r10, [0x140000000]
sub ebx, dword [r10 + rdi*4 + 0x143810]
mov r9, qword [rsp + 0x80]
mov rcx, qword [r10 + rdi*8 + 0x143e50]
movzx eax, word [rcx + 2]
cmp dword [rsp + 0x88], eax
je 0x140055fe1
mov ecx, eax
mov dword [rsp + 0x88], eax
mov edx, 0xfffe
lea r8, str.______s_r_n
mov rax, r12
sub rax, r9
mov r9, qword [0x1401437e0]
sar rax, 1
sub edx, eax
mov r9, qword [r9 + rcx*8]
mov rcx, r12
call fcn.1400b9a60
movsxd rcx, eax
lea r12, [r12 + rcx*2]
lea rcx, [0x140000000]
mov rcx, qword [rcx + rdi*8 + 0x143e50]
mov r8d, 0xc8
mov byte [rsp + 0x28], r15b
mov r9d, 0xfffe
mov dword [rsp + 0x20], ebx
mov rax, r12
mov rdx, r12
sub rax, qword [rsp + 0x80]
sar rax, 1
sub r9d, eax
cmp r9d, r8d
cmovl r8d, r9d
mov r9b, 1
call fcn.1400560c0
mov rdx, qword [rsp + 0x90]
lea r10, [0x140000000]
mov r9, qword [rsp + 0x80]
mov r12, rax
mov r11d, 2
inc esi
lea eax, [r14 + 1]
sub rdx, 1
lea rcx, [rdi + 1]
mov qword [rsp + 0x90], rdx
jne 0x140055eb0
mov r8d, dword [0x140143800]
mov rcx, qword [rsp + 0x98]
mov rax, r12
mov edx, 0xfffe
sub rax, r9
sar rax, 1
sub edx, eax
cmp edx, 0x18
jg 0x140056090
cmp ebp, 0x78
jl 0x140056090
sub ebp, 0x64
mov eax, r8d
sub eax, ebp
add eax, 0x190
jmp 0x140055e90
lea r8, str._r_nPress__F5__to_refresh.
mov rcx, r12
call fcn.1400b9a60
movsxd rcx, eax
lea rax, [r12 + rcx*2]
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140057a60
Capabilities:
Print debug messages

Disassembly:
test edx, edx
je 0x140057bbb
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x4030
call fcn.1400f3640
sub rsp, rax
mov qword [rsp + 0x4050], rbx
mov rbp, r9
mov rbx, qword [rsp + 0x4070]
mov r14, r8
mov qword [rsp + 0x4058], r15
mov esi, edx
mov rdi, rcx
test rbx, rbx
jne 0x140057ac1
mov rbx, qword [rcx + 0x6d0]
test rbx, rbx
jne 0x140057ac1
mov ecx, dword [rcx + 0x288]
movzx eax, word [rdi + 0x28c]
jmp 0x140057ac9
movzx ecx, word [rbx + 2]
movzx eax, word [rbx + 4]
mov r9, qword [0x1401437e0]
lea r8, str._s___d__:___Warning:__s_n
movsxd rcx, ecx
mov r15d, 0x2000
movzx eax, ax
mov edx, r15d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
mov r9, qword [r9 + rcx*8]
lea rcx, [rsp + 0x30]
call fcn.1400b9a60
cmp word [rbp], 0
movsxd rcx, eax
je 0x140057b25
sub r15d, ecx
lea rax, [rsp + 0x30]
lea rcx, [rax + rcx*2]
mov edx, r15d
mov r9, rbp
lea r8, str._____Specifically:__s_n
call fcn.1400b9a60
mov r15, qword [rsp + 0x4058]
lea rdx, [rsp + 0x30]
cmp esi, 3
jne 0x140057b4b
lea r9, [0x14011d294]
xor r8d, r8d
mov rcx, rdi
call fcn.140056a40
jmp 0x140057ba0
lea rcx, [0x140140350]
call fcn.14000c830
test al, al
jne 0x140057b66
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 2
jne 0x140057ba0
test rbx, rbx
jne 0x140057b8c
mov rbx, qword [rdi + 0x6d0]
test rbx, rbx
jne 0x140057b8c
mov r8, rbp
mov rdx, r14
mov rcx, rdi
call fcn.1400570c0
jmp 0x140057ba0
mov r9, rbp
mov r8d, 1
mov rdx, r14
mov rcx, rbx
call fcn.140056c40
mov rbx, qword [rsp + 0x4050]
mov rbp, qword [rsp + 0x4060]
add rsp, 0x4030
pop r14
pop rdi
pop rsi
ret
Function at 0x14005cb90
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 0x20], rbx
push r12
push r14
push r15
sub rsp, 0x140
movsxd rax, dword [rcx]
movzx r12d, r9b
mov ebx, r8d
mov r15, rdx
mov r14, rcx
cmp eax, 6
ja case.0x14005cbcd.1
lea rcx, [0x140000000]
mov r10d, dword [rcx + rax*4 + 0x5cdbc]
add r10, rcx
jmp r10
lea rax, str.Timeout
jmp 0x14005cc01
lea rax, str.Match
jmp 0x14005cc01
mov qword [rsp + 0x168], rsi
mov rsi, r15
test r15, r15
jne 0x14005cc17
lea rax, str.EndKey
mov rsi, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x178]
add rsp, 0x140
pop r15
pop r14
pop r12
ret
test r12b, r12b
je 0x14005cc2d
movups xmm0, xmmword [str.EndKey:]
lea rsi, [rdx + 0xe]
sub ebx, 7
movups xmmword [rdx], xmm0
movzx eax, word [r14 + 0x6a]
mov qword [rsp + 0x160], rbp
test ax, ax
je 0x14005cc4d
xor ebp, ebp
mov word [rsi], ax
mov word [rsi + 2], bp
jmp 0x14005cd6e
cmp byte [r14 + 0x6d], 0
je 0x14005cce4
xor edx, edx
mov qword [rsp + 0x170], rdi
mov r8d, 0x100
lea rcx, [rsp + 0x40]
call fcn.1400d8190
mov byte [rsp + 0x50], 0x80
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, rax
call fcn.140021730
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, byte [r14 + 0x66]
xor ebp, ebp
mov ebx, ebp
mov rdi, rax
cmp dword [0x1401425cc], ebx
setne bl
xor edx, edx
call fcn.140022b50
movzx ecx, byte [r14 + 0x66]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
mov r9, rsi
movzx edx, ax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov rdi, qword [rsp + 0x170]
movsxd rcx, eax
mov word [rsi + rcx*2], bp
jmp 0x14005cd6e
xor ebp, ebp
movzx ecx, bp
mov word [rsi], bp
cmp byte [r14 + 0x6c], cl
je 0x14005cd08
movzx ecx, word [r14 + 0x68]
xor r9d, r9d
mov r8d, ebx
mov rdx, rsi
call fcn.140021a40
movzx ecx, word [rsi]
test cx, cx
jne 0x14005cd53
test r12b, r12b
je 0x14005cd1a
mov ecx, ebp
cmp byte [r14 + 0x6c], cl
jne 0x14005cd35
cmp byte [r14 + 0x6c], bpl
mov r8d, ebx
movzx ecx, byte [r14 + 0x66]
mov rdx, rsi
sete r9b
call fcn.140021af0
movzx ecx, word [rsi]
test cx, cx
jne 0x14005cd53
movzx r9d, word [r14 + 0x68]
lea r8, str.sc_03X
mov edx, ebx
mov rcx, rsi
call fcn.1400b9a60
movzx ecx, word [rsi]
lea eax, [rcx - 0x61]
cmp ax, 0x19
ja 0x14005cd6e
cmp word [rsi + 2], bp
jne 0x14005cd6e
test r12b, r12b
je 0x14005cd6e
sub cx, 0x20
mov word [rsi], cx
mov rbp, qword [rsp + 0x160]
lea rax, str.EndKey
test r12b, r12b
cmovne rax, r15
jmp 0x14005cbf9
lea rax, [0x14011d088]
jmp 0x14005cc01
lea rax, str.NewInput
jmp 0x14005cc01
lea rax, str.Stopped
jmp 0x14005cc01
lea rax, [0x140103574]
jmp 0x14005cc01
Function at 0x14005e9a0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x68]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov rbx, rdx
mov qword [rsp + 0x20], rax
mov r8, r10
mov rdx, r11
mov rbp, rcx
call fcn.14006e5d0
mov rdi, rax
test rax, rax
je 0x14005eaca
mov rdx, rbx
mov rcx, rax
call fcn.1400c0640
mov rsi, rax
test rax, rax
je 0x14005eaca
xor edx, edx
mov rcx, rdi
xor bpl, bpl
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
test eax, eax
je 0x14005ea3f
cmp eax, dword [0x140145ca0]
je 0x14005ea3f
mov rcx, rdi
call fcn.1400c0c40
test al, al
jne 0x14005ea3f
mov ecx, dword [0x140145ca0]
mov r8d, 1
mov edx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bpl
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetFocus]
test rax, rax
je 0x14005eaad
mov rcx, qword [0x140142748]
lea rdx, [0x140103654]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400be640
mov rax, qword [0x14013dbf0]
cmp dword [rax + 0x78], 0xffffffff
jle 0x14005eaad
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x140145ca0], eax
je 0x14005ea99
mov rax, qword [0x14013dbf0]
mov ecx, dword [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14005eaad
mov rcx, qword [0x14013dbf0]
mov edx, 1
mov ecx, dword [rcx + 0x78]
call fcn.140001b10
test bpl, bpl
je 0x14005eac3
mov ecx, dword [0x140145ca0]
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, 1
jmp 0x14005eb0d
mov rax, qword [0x14013dbf0]
lea rdx, [0x140119fac]
test byte [rax + 0x140], 1
jne 0x14005eafb
mov rcx, qword [0x140142748]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400be640
jmp 0x14005eb0d
lea r9, [0x140103574]
xor r8d, r8d
mov rcx, rbp
call fcn.140056750
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14005f650
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x68]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov rbx, rdx
mov qword [rsp + 0x20], rax
mov r8, r10
mov rdx, r11
call fcn.14006e5d0
test rax, rax
je 0x14005f696
lea rdx, str.msctls_statusbar321
mov rcx, rax
call fcn.1400c0640
mov rdi, rax
jmp 0x14005f698
xor edi, edi
mov rcx, rbx
call fcn.140005690
mov rcx, rbx
test al, al
je 0x14005f6b4
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400dc10c
jmp 0x14005f6b9
call fcn.1400dc190
mov rcx, qword [0x140144ad0]
lea r9, [0x140103574]
mov dword [rsp + 0x68], getservbyport
mov r8d, eax
mov rdx, rdi
mov dword [rsp + 0x60], 0xffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400c0280
Function at 0x140060790
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x60]
mov rbx, qword [0x140144ad0]
mov qword [rsp + 0x20], rax
call fcn.14006e5d0
mov rsi, rax
mov ebp, 1
test rax, rax
je 0x1400607d5
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [rax + 1]
jmp 0x1400607d7
mov edi, ebp
lea eax, [rdi - 1]
mov byte [rsp + 0x20], bpl
movsxd r8, eax
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call fcn.1400be640
cmp eax, ebp
je 0x1400607fa
xor eax, eax
jmp 0x14006090d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400017c0
test rsi, rsi
je 0x1400608a7
mov r8d, edi
mov qword [rsp + 0x40], r14
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [rbx + 0x23], 0
movsxd r14, eax
jne 0x140060833
mov rsi, qword [rbx + 0x10]
jmp 0x140060836
mov rsi, rbx
lea rdi, [0x1401482e0]
cmp byte [rsi + 0x23], bpl
jne 0x140060857
test byte [rsi + 0x21], 8
je 0x140060851
mov rcx, rsi
call fcn.140001670
add rsi, 0x10
jmp 0x14006085a
mov rsi, rdi
lea rax, [r14 + r14]
mov r14, qword [rsp + 0x40]
mov qword [rsi], rax
cmp byte [rbx + 0x23], 0
jne 0x140060872
mov rsi, qword [rbx + 0x10]
jmp 0x140060875
mov rsi, rbx
cmp byte [rsi + 0x23], bpl
jne 0x14006088d
test byte [rsi + 0x21], 8
je 0x140060889
mov rcx, rsi
call fcn.140001670
lea rdi, [rsi + 0x10]
cmp qword [rdi], 2
jae 0x1400608dd
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400017c0
xor esi, esi
mov word [rax], si
jmp 0x1400608dd
mov word [rax], si
cmp byte [rbx + 0x23], sil
jne 0x1400608b6
mov rdi, qword [rbx + 0x10]
jmp 0x1400608b9
mov rdi, rbx
cmp byte [rdi + 0x23], bpl
jne 0x1400608d3
test byte [rdi + 0x21], 8
je 0x1400608cd
mov rcx, rdi
call fcn.140001670
add rdi, 0x10
jmp 0x1400608da
lea rdi, [0x1401482e0]
mov qword [rdi], rsi
cmp byte [rbx + 0x23], 0
jne 0x1400608e7
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 2
jne 0x140060907
cmp qword [0x140146970], 0
je 0x140060907
lea rcx, [0x140146958]
call fcn.1400070a0
mov ebp, eax
jmp 0x14006090b
and byte [rbx + 0x21], 0x86
mov eax, ebp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret