joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x60
xor r12d, r12d
lea r15, [0x140103798]
mov esi, r12d
lea r14, [0x140102550]
cmp byte [r15], r12b
je 0x1400043e4
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WSOCK32.dll_gethostbyname
mov ecx, esi
mov dword [rsp + 0x24], 0x80
call qword [sym.imp.WINMM.dll_joyGetPosEx]
test eax, eax
jne 0x1400043e4
mov eax, dword [rsp + 0x40]
mov ebp, dword [r14]
xor ebp, eax
mov dword [r14], eax
and ebp, eax
je 0x1400043e4
movzx edx, word [0x1401037cc]
mov ebx, r12d
cmp r12w, dx
jae 0x1400043e4
mov rdi, r12
nop
mov rax, qword [0x1401037b8]
mov rax, qword [rdi + rax]
cmp byte [rax + 0x12], 4
jne 0x1400043d7
movzx ecx, byte [rax + 0x10]
cmp ecx, esi
jne 0x1400043d7
movzx ecx, word [rax + 8]
sub ecx, 0xc
movzx eax, cl
bt ebp, eax
jae 0x1400043d7
mov rcx, qword [0x140102790]
xor r9d, r9d
movsxd r8, ebx
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
movzx edx, word [0x1401037cc]
inc ebx
movzx eax, dx
add rdi, 8
cmp ebx, eax
jl 0x140004390
inc esi
inc r15
add r14, 4
cmp esi, 0x10
jl 0x140004342
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140004870
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400ff050]
movzx edi, r9b
mov r9d, ecx
movzx esi, dl
test r8b, r8b
je 0x1400048a9
inc dword [0x140102768]
add rbx, 0x150
mov qword [0x1400ff050], rbx
mov rax, rbx
lea rcx, [0x1401025f0]
mov edx, 2
nop dword [rax + rax]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax + 0x60], xmm0
sub rax, 0xffffffffffffff80
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1400048c0
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
mov dword [rbx + 0x3c], r9d
test r8b, r8b
je 0x14000494a
lea rcx, [0x140105cf0]
call fcn.140029a60
cmp dword [0x140102788], 0
mov qword [0x1401068d8], 0
je 0x140004981
mov rax, qword [0x140101838]
lea rcx, [0x1400cc644]
test rax, rax
je 0x14000497b
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test sil, sil
jne 0x140004a0e
movzx eax, byte [rbx + 0x12e]
test al, al
jne 0x1400049b2
cmp dil, 0x65
sete al
mov byte [rbx + 0x12e], al
jne 0x1400049b2
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x34], 0xffffffff
cmp dword [0x1401068e4], 0
je 0x1400049c4
cmp dword [0x1401068e0], 0
jne 0x1400049c8
test al, al
je 0x140004a0e
mov byte [rbx + 0x12c], 0
test al, al
jne 0x140004a0e
cmp dword [0x1401068e4], 0
jge 0x1400049f6
mov dword [rbx + 0x120], 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x11c], eax
mov eax, dword [0x1401068e4]
mov dword [rbx + 0x120], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006080
Capabilities:
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
jne 0x1400060ac
call fcn.1400063a0
test eax, eax
jne 0x1400060ac
lea rdx, str.Cant_open_clipboard_for_writing.
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400061d0
mov qword [rsp + 0x38], rdi
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x1400060fa
cmp dword [rbx + 0x2c], eax
je 0x1400060e1
xor edi, edi
cmp qword [rbx + 0x10], rdi
je 0x1400060d5
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
lea rdx, [0x1400ccc18]
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x1400061d0
mov rdx, qword [rbx + 8]
xor edi, edi
test rdx, rdx
je 0x140006148
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x30], rsi
xor sil, sil
test rax, rax
je 0x140006131
cmp word [rax], di
mov rcx, rdx
sete sil
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x18], rdi
mov dword [rbx + 0x28], edi
test sil, sil
mov rsi, qword [rsp + 0x30]
je 0x14000617c
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp dword [rbx + 0x2c], edi
je 0x14000616c
cmp qword [rbx + 0x10], rdi
je 0x140006160
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
mov rdi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov ecx, SafeArrayDestroy
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x140006192
mov qword [rbx + 8], rdi
jmp 0x140006148
cmp dword [rbx + 0x2c], edi
je 0x1400061b6
cmp qword [rbx + 0x10], rdi
je 0x1400061aa
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], edi
mov qword [rbx], rdi
lea rdx, [0x1400ccc38]
mov rcx, rbx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x1400061d0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 0x2c], esi
je 0x14000620b
cmp qword [rcx + 0x10], rsi
je 0x1400061ff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
mov dword [rbx + 0x2c], esi
mov qword [rbx], rsi
cmp qword [rbx + 0x18], rsi
je 0x140006222
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov qword [rbx + 0x18], rsi
mov dword [rbx + 0x28], esi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140006235
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], rax
cmp word [rdi], si
je 0x14000625f
lea r8, [0x1400cc644]
mov rdx, rdi
lea rcx, [0x140105cf0]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400481c0
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140006280
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
xor ecx, ecx
mov rbx, r8
mov edi, edx
test r8, r8
je 0x14000629c
mov dword [r8], ecx
lea eax, [rdx - 0xc000]
cmp eax, 0x3fff
ja 0x140006382
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov ecx, edi
call qword [sym.imp.USER32.dll_GetClipboardFormatNameW]
mov r8d, reloc.WSOCK32.dll_inet_ntoa
lea rdx, str.Link_Source
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x14000636f
lea rdx, str.ObjectLink
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000636f
lea rdx, str.OwnerLink
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000636f
lea rdx, str.Native
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000636f
lea rdx, str.Embed_Source
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000636f
lea rdx, str.MSDEVColumnSelect
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140006364
lea rdx, str.MSDEVLineSelect
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140006387
test rbx, rbx
je 0x14000636f
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 0x1400063a0
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x2c], 0
mov rbx, rcx
je 0x1400063ba
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 [0x140102790]
mov edi, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140006434
xor esi, esi
nop
mov ecx, dword [0x1400ff060]
cmp ecx, 0xffffffff
je 0x140006404
test ecx, ecx
je 0x140006450
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1400ff060]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x140006450
mov edx, 1
mov dword [0x1400ff044], esi
mov ecx, 0x8000012f
call fcn.1400019b0
mov rcx, qword [0x140102790]
mov dword [0x1400ff044], 1
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400063e0
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov dword [rbx + 0x2c], 1
add rsp, 0x20
pop rbx
ret
mov rsi, qword [rsp + 0x30]
xor eax, eax
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140006a30
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
cmp byte [0x1401068d0], 0
mov rbp, rdx
mov rdi, rcx
je 0x140006b0a
mov esi, dword gs:[0x48]
cmp dword [0x140105cc0], esi
je 0x140006a6c
mov rcx, qword [0x140105cc8]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140006a73
cmp word [rdi], 0
je 0x140006b19
lea rax, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
mov rdx, rdi
mov dword [rsp + 0x20], 3
lea rcx, [0x140105cf0]
call fcn.140039640
test rax, rax
jne 0x140006ade
cmp byte [rsp + 0x60], al
lea rcx, [0x140105cf0]
mov r9d, dword [rsp + 0x68]
mov r8, rbx
setne al
mov rdx, rdi
inc eax
mov dword [rsp + 0x20], eax
call fcn.140039b80
test rax, rax
je 0x140006b19
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, rbp
mov rcx, rax
lea r8, [r9 - 1]
call fcn.1400b1f60
cmp dword [0x140105cc0], esi
je 0x140006b0a
mov rcx, qword [0x140105cc8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
cmp dword [0x140105cc0], esi
je 0x140006b2e
mov rcx, qword [0x140105cc8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x50]
mov eax, 0xffffffff
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e2b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
xor edx, edx
xor ecx, ecx
call fcn.14000c960
mov rcx, qword [0x140102758]
test rcx, rcx
je 0x14000e2e3
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor r14d, r14d
cmp r14w, word [0x1401037cc]
mov edi, r14d
jae 0x14000e3a1
mov rdx, qword [0x140104c48]
mov r8, qword [0x140104c50]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov esi, r14d
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [0x1401037b8]
mov rbx, qword [rsi + rbx]
test rbx, rbx
je 0x14000e386
cmp byte [rbx + 0x18], r14b
je 0x14000e35d
movzx edx, word [rbx + 4]
mov rcx, qword [0x140102790]
call qword [sym.imp.USER32.dll_UnregisterHotKey]
mov rdx, qword [0x140104c48]
test eax, eax
mov r8, qword [0x140104c50]
sete al
mov byte [rbx + 0x18], al
cmp rbx, rdx
jne 0x14000e386
test rdx, rdx
je 0x14000e386
mov rax, qword [r8 + 8]
mov rcx, rax
sub rcx, rdx
mov rdx, r14
sub rax, rcx
mov qword [0x140104c48], rdx
add qword [r8 + 0x10], rcx
mov qword [r8 + 8], rax
movzx eax, word [0x1401037cc]
inc edi
add rsi, 8
cmp edi, eax
jl 0x14000e320
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14000e7d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov eax, 0x1040
call fcn.1400caa90
sub rsp, rax
cmp byte [0x1401082d4], 0
mov rbx, rdx
mov rbp, rcx
jne 0x14000e95d
cmp dword [0x1401037d4], 0
jne 0x14000e80b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401037d4], eax
inc dword [0x1401082d0]
mov qword [rsp + 0x1050], rsi
mov qword [rsp + 0x1058], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, dword [0x1401082d0]
mov ecx, eax
sub ecx, dword [0x1401037d4]
cmp r9d, dword [0x140100b34]
mov edx, dword [0x140100b30]
mov dword [0x1401037d0], eax
jbe 0x14000e8c6
cmp ecx, edx
jae 0x14000e8c6
mov dword [rsp + 0x20], ecx
lea r8, str._u_hotkeys_have_been_received_in_the_last__ums._n_nDo_you_want_to_continue__n_see_MaxHotkeysPerInterval_in_the_help_file_
lea rcx, [rsp + 0x40]
mov edx, 0x800
mov esi, 1
call fcn.1400acf70
call fcn.140006500
xor edi, edi
mov byte [0x1401082d4], sil
xor r8d, r8d
mov dword [0x1400ff044], edi
lea edx, [rsi + 3]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x40]
xorps xmm3, xmm3
call fcn.1400b4230
cmp eax, 7
jne 0x14000e8b1
xor r8d, r8d
lea edx, [rsi + 3]
lea rcx, [0x140105cf0]
call fcn.140029f60
mov eax, dword [0x1401037d0]
mov dword [0x1400ff044], esi
mov byte [0x1401082d4], dil
jmp 0x14000e8ce
xor edi, edi
mov esi, edi
cmp ecx, edx
jbe 0x14000e8de
mov dword [0x1401082d0], edi
mov dword [0x1401037d4], eax
test esi, esi
jne 0x14000e94d
movzx eax, byte [rbp + 0xf]
lea r8, [0x1400cc6c8]
mov byte [0x14010689e], al
xor r9d, r9d
inc byte [rbx + 0x22]
mov rcx, qword [rbx]
mov dword [rsp + 0x30], edi
mov rdx, rcx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call fcn.14009a580
dec byte [rbx + 0x22]
test eax, eax
jne 0x14000e919
mov byte [rbx + 0x27], al
jmp 0x14000e94d
cmp byte [rbx + 0x27], 0
je 0x14000e94d
mov byte [rbx + 0x27], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x18]
cmp eax, 0x3e8
ja 0x14000e94d
movzx r8d, word [rbp + 4]
xor r9d, r9d
mov rcx, qword [0x140102790]
mov edx, 0x312
call qword [sym.imp.USER32.dll_PostMessageW]
mov rsi, qword [rsp + 0x1050]
mov rdi, qword [rsp + 0x1058]
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1040
pop rbp
ret
Function at 0x140010220
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
or byte [0x1401028b3], 2
cmp qword [0x1401027b8], 0
jne 0x14001023d
movzx edx, word [0x1401037cc]
jmp fcn.14000b980
ret
Function at 0x140014f90
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
mov word [rax + 0x10], dx
push rsi
push rdi
sub rsp, 0x98
mov qword [rax + 8], rbx
movzx edi, r9b
mov qword [rax - 0x18], rbp
movzx ebx, dx
mov qword [rax - 0x20], r12
movzx ebp, cl
mov qword [rax - 0x28], r13
movzx r13d, r8b
mov qword [rax - 0x38], r15
or r13b, r9b
lea eax, [rbp - 1]
cmp al, 5
ja 0x140014fd5
cmp cl, 3
jne 0x140014fdc
lea eax, [rbp + 0x66]
cmp al, 5
ja 0x140014fe1
mov r15b, 1
jmp 0x140014fe4
xor r15b, r15b
mov eax, dword [rsp + 0xd0]
mov rsi, qword [rsp + 0xe8]
movzx r12d, byte [rsp + 0xe0]
test eax, eax
jle 0x140015171
mov edi, dword [rsp + 0xd8]
mov qword [rsp + 0x78], r14
mov r14d, eax
cmp dword [0x140106c4c], 0
jne 0x140015083
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400ff050]
sub eax, dword [0x1401068ec]
cmp eax, dword [rcx + 0x118]
jbe 0x14001508a
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140015077
mov edx, 1
mov dword [0x1400ff044], 0
lea ecx, [rdx - 2]
call fcn.1400019b0
mov dword [0x1400ff044], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401068ec], eax
mov rcx, qword [0x1400ff050]
test r12b, r12b
jne 0x1400150ee
movzx eax, byte [rcx + 0x136]
test al, al
je 0x1400150a6
movzx eax, al
mov ebx, 0xffc3d44d
sub ebx, eax
jmp 0x1400150ab
mov ebx, 0xffc3d44f
cmp dword [0x140106c4c], 0
je 0x1400150bd
movzx eax, byte [0x140106c48]
jmp 0x1400150c4
xor ecx, ecx
call fcn.140018500
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov r8, rsi
mov byte [rsp + 0x20], 1
movzx edx, al
movzx ecx, r13b
call fcn.140017c90
mov rcx, qword [0x1400ff050]
movzx ebx, word [rsp + 0xb8]
test r15b, r15b
je 0x140015131
test rsi, rsi
jne 0x140015131
movzx eax, byte [rcx + 0x12f]
lea r9d, [rsi + 1]
movzx ecx, byte [rsp + 0x100]
mov r8d, dword [rsp + 0xf8]
mov edx, dword [rsp + 0xf0]
mov byte [rsp + 0x30], cl
movzx ecx, bpl
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call fcn.1400169e0
jmp 0x14001515a
movzx eax, byte [rcx + 0x136]
mov r9, rsi
mov ecx, 0xffc3d44d
movzx r8d, bx
sub ecx, eax
movzx edx, bpl
mov dword [rsp + 0x28], ecx
mov ecx, edi
mov byte [rsp + 0x20], 1
call fcn.140015710
sub r14, 1
jne 0x140015013
movzx edi, byte [rsp + 0xc8]
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
test r12b, r12b
mov r12, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xb0]
jne 0x1400151de
cmp dword [0x140106c4c], 0
je 0x1400151ad
movzx eax, byte [0x140106c48]
jmp 0x1400151b4
xor ecx, ecx
call fcn.140018500
not dil
and dil, al
and dil, 0xcc
je 0x1400151de
mov dword [rsp + 0x28], 0xffc3d44d
mov r9b, 1
mov r8, rsi
mov byte [rsp + 0x20], 0
movzx edx, dil
xor ecx, ecx
call fcn.140017c90
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x1400151f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x80
mov eax, dword [0x140106c4c]
movzx r14d, r8b
cmp eax, 2
mov ebx, edx
movzx esi, cx
sete bpl
jne 0x140015248
movzx ecx, cx
mov eax, ecx
and eax, 0xffffff80
je 0x14001522c
mov edx, gethostbyname
mov word [rsp + 0x30], dx
lea r8, [rsp + 0x32]
test eax, eax
lea rdx, [rsp + 0x30]
cmovne rdx, r8
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
test ebx, ebx
jle 0x1400153c1
mov qword [rsp + 0xa0], rdi
mov rdi, rbx
mov qword [rsp + 0xa8], r15
xor r15d, r15d
cmp dword [0x140106c4c], r15d
jne 0x1400152d0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x1400ff050]
sub eax, dword [0x1401068ec]
cmp eax, dword [rcx + 0x118]
jbe 0x1400152d0
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400152c4
mov edx, 1
mov dword [0x1400ff044], r15d
lea ecx, [rdx - 2]
call fcn.1400019b0
mov dword [0x1400ff044], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401068ec], eax
test bpl, bpl
je 0x14001537b
cmp dword [0x140106c4c], r15d
je 0x1400152eb
movzx eax, byte [0x140106c48]
jmp 0x1400152f2
xor ecx, ecx
call fcn.140018500
movzx ecx, al
mov dword [rsp + 0x28], 0xffc3d44f
and cl, 0xc4
mov byte [rsp + 0x20], 1
or cl, 4
xor r9d, r9d
xor r8d, r8d
movzx edx, al
call fcn.140017c90
movzx eax, word [rsp + 0x30]
lea rbx, [rsp + 0x30]
cmp ax, 0x30
jb 0x14001535b
cmp ax, 0x39
ja 0x14001535b
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
add al, 0x30
mov byte [rsp + 0x20], r8b
xor r9d, r9d
movzx edx, al
lea ecx, [r8 + 2]
call fcn.140015710
movzx eax, word [rbx + 2]
add rbx, 2
cmp ax, 0x30
jae 0x140015326
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea ecx, [r8 + 1]
call fcn.140015710
jmp 0x140015387
movzx edx, r14b
movzx ecx, si
call fcn.1400135c0
cmp dword [0x140106c4c], 2
mov rax, qword [0x1400ff050]
jne 0x14001539f
mov ecx, dword [rax + 0x80]
jmp 0x1400153a2
mov ecx, dword [rax + 0x7c]
call fcn.1400177a0
sub rdi, 1
jne 0x140015266
mov r15, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rsi
pop rbp
ret
Function at 0x140017a00
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x28
mov r10, qword [0x1401027b0]
test r10, r10
je 0x140017b37
movsxd rax, dword [0x140102874]
imul r9, rax, 0xd4
mov eax, 0x69
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [r9 + r10 + 6], cl
mov byte [r9 + r10], dl
mov word [r9 + r10 + 2], r8w
mov word [r9 + r10 + 4], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [0x140102870], eax
sub ecx, dword [0x140105ce8]
xorps xmm0, xmm0
mov dword [0x140105ce8], eax
cvtsi2ss xmm0, rcx
movsxd rcx, dword [0x140102874]
imul rdx, rcx, 0xd4
divss xmm0, dword [0x1400ef9e8]
mov rcx, qword [0x1401027b0]
movss dword [rdx + rcx + 8], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140017af1
cmp rax, qword [0x140102868]
je 0x140017ad5
movsxd rcx, dword [0x140102874]
lea r8d, [rdi + 0x64]
imul rdx, rcx, 0xd4
mov rcx, qword [0x1401027b0]
add rcx, 0xc
add rdx, rcx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x140102874]
jmp 0x140017b15
movsxd rdx, dword [0x140102874]
mov rax, qword [0x1401027b0]
imul rcx, rdx, 0xd4
mov word [rcx + rax + 0xc], di
jmp 0x140017b15
movsxd rdx, dword [0x140102874]
movabs r8, 0x41002f004e
mov rax, qword [0x1401027b0]
imul rcx, rdx, 0xd4
mov qword [rcx + rax + 0xc], r8
inc edx
mov qword [0x140102868], rbx
cmp edx, dword [0x1400ff04c]
mov rbx, qword [rsp + 0x30]
cmovge edx, edi
mov rdi, qword [rsp + 0x20]
mov dword [0x140102874], edx
add rsp, 0x28
ret
Function at 0x140017b40
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
movzx edi, cl
mov esi, edx
mov ecx, edi
mov ebp, edi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
lea eax, [rsi - 1]
xor ebx, 0xffffffff
and ebx, 1
inc ebx
cmp eax, 1
ja 0x140017c8a
cmp ebx, esi
je 0x140017c8a
mov ecx, edi
mov qword [rsp + 0x40], r14
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140017bb9
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, dil
lea ecx, [r8 + 1]
call fcn.140015710
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, dil
lea ecx, [r8 + 2]
call fcn.140015710
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x140105cc0]
sete r14b
jne 0x140017c17
mov edx, 1
mov dword [0x1400ff044], 0
lea ecx, [rdx - 2]
call fcn.1400019b0
mov dword [0x1400ff044], 1
cmp dil, 0x14
jne 0x140017c6e
cmp esi, 2
jne 0x140017c6e
mov ecx, ebp
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x140017c6e
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, esi
call fcn.140015710
test r14b, r14b
je 0x140017c6e
lea edx, [rsi - 1]
mov dword [0x1400ff044], 0
lea ecx, [rsi - 3]
call fcn.1400019b0
mov dword [0x1400ff044], 1
mov r14, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov eax, ebx
jmp 0x140017c75