joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ac98
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1ff70]
mov eax, 0x20070
call fcn.140039090
sub rsp, rax
lea rcx, [rsp + 0x50]
mov rsi, rdx
call fcn.14001e7d0
lea rdx, [rsp + 0x70]
xor bl, bl
mov ecx, 0x7fff
mov byte [rbp + 0x1ffa0], bl
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r8, [rbp + 0x1ffb0]
mov rdx, rsi
call fcn.14001a7c0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14004fb08
lea r15d, [rax + 1]
lea rcx, [0x1400e7320]
cmp dword [0x1400e5570], r15d
je 0x14004fb2a
lea rax, [rbp + 0x1ffa0]
lea r8, [0x1400e5570]
lea rdx, [0x1400e5598]
mov qword [rsp + 0x20], rax
call fcn.14001cca4
test al, al
je 0x14001ae1e
mov al, byte [0x1400e7320]
mov rcx, qword [0x1400e5598]
mov dil, byte [0x1400e7321]
lea r9, [rbp + 0x1ffb8]
lea r8, [rbp + 0xff70]
mov edx, 0x7fff
mov byte [0x1400e5574], al
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rdx, qword [rbp + 0x1ffb8]
lea rcx, [0x1400e5550]
call fcn.14001efd8
mov bl, byte [rbp + 0x1ffa0]
mov r8d, dword [0x1400e5570]
lea rdx, [0x1400e5598]
call fcn.14000c0a4
test eax, eax
jne 0x14004fb4e
cmp dil, r15b
je 0x14004fb71
call fcn.14001ab68
call fcn.14001aa94
cmp byte [0x1400e5574], 0
jne 0x14001adcb
lea rcx, [0x1400e5f50]
call fcn.140001770
lea rcx, [0x1400e55c0]
mov edx, r15d
call fcn.14000c180
cmp byte [0x1400e5574], 0
jne 0x14001adef
lea rcx, [0x1400e5f50]
call fcn.1400018c0
lea rcx, [0x1400e7320]
call fcn.14001cd3c
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x50]
call fcn.14001c5f8
add rsp, 0x20070
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [0x1400e54c0], r15d
jmp 0x14001adfb
lea r8, str.AutoIt
lea rdx, str.It_is_a_violation_of_the_AutoIt_EULA_to_attempt_to_reverse_engineer_this_program.
mov r9d, reloc.WSOCK32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x14001ae06
mov r8, qword [0x1400e5578]
or r9d, 0xffffffff
mov edx, r15d
call fcn.14001cbf8
mov al, byte [0x1400e54c8]
mov byte [0x1400e7322], al
jmp 0x14001ad88
lea rcx, [0x1400e7320]
call fcn.14001cd3c
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x1400e54c0], r15d
jmp 0x14001ae06
call fcn.140075518
test al, al
jne 0x14001adac
cmp byte [rbp + 0x1ffb0], al
jne 0x14001adac
lea rcx, [rsp + 0x50]
call fcn.140025620
lea rdx, [0x1400cc870]
lea rcx, [rsp + 0x30]
call fcn.14001f29c
lea rcx, [rsp + 0x30]
test bl, bl
je 0x14004fbd9
lea rdx, [0x1400d02d4]
call fcn.14001f100
lea rdx, [0x1400e5598]
lea rcx, [rsp + 0x30]
call fcn.14001ee40
lea rdx, [0x1400d02d4]
lea rcx, [rsp + 0x30]
jmp 0x14004fbdc
mov rdx, rsi
call fcn.14001f100
mov rbx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [rsp + 0x50]
mov rcx, rax
lea rax, [rsp + 0x70]
lea rdx, [0x1400d02d8]
mov r9, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.14001c5f8
nop
jmp 0x14001adef
Function at 0x14001b680
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
and qword [rsp + 0x30], 0
cmp byte [rcx + 0x20], 0
mov r10, r9
mov r11, r8
mov rbx, rdx
jne 0x14004fdc8
mov r9, qword [rsp + 0x50]
mov r8, r10
mov rdx, r11
mov rcx, rbx
call fcn.14002b484
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rcx + 0x18]
imul r10d, r11d
lea r9, [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, r10d
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rax, qword [rsp + 0x30]
jmp 0x14001b6b2
Function at 0x14001c470
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x10], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x14001c518
xor edi, edi
test rsi, rsi
je 0x14001c4c3
nop
mov eax, dword [rbx + 0x10]
cmp dword [rbx + 0x14], eax
je 0x14001c4df
movsxd rdx, dword [rbx + 0x14]
mov rcx, qword [rbx + 8]
inc rdi
movzx edx, byte [rdx + rcx]
mov byte [rdi + rbp - 1], dl
inc dword [rbx + 0x14]
cmp rdi, rsi
jb 0x14001c4a0
add qword [rbx + 0x18], rdi
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
lea r9, [rsp + 0x40]
mov r8d, 0x10000
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001c4c3
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14001c4c3
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x14], 0
jmp 0x14001c4a8
mov qword [rcx + 0x10], 0
call fcn.14001c530
mov qword [rbx + 0x18], rax
jmp 0x14001c497
Function at 0x140025d10
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor ecx, ecx
mov r15, r9
mov r13, rdx
lea ebx, [rcx + 1]
mov edi, ecx
mov ebp, ecx
cmp qword [rdx + 8], rcx
je 0x140063430
mov rax, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xb0]
mov byte [rax], cl
mov byte [r12], cl
mov byte [r14], cl
mov byte [r9], cl
mov dword [r8], ecx
mov rsi, rax
movsxd rdx, edi
mov rcx, r13
call fcn.14001ed20
movzx ecx, word [rax]
lea eax, [rcx - 0x21]
cmp ax, 0x3d
jbe 0x140063437
movsxd rdx, edi
add edi, ebx
mov rcx, r13
mov dword [rsp + 0x90], edi
call fcn.14001ed20
mov rsi, qword [rsp + 0xa0]
movzx ecx, word [rax]
cmp cx, 0x7b
jne 0x1400634c0
lea rcx, [rsp + 0x30]
mov edx, 0x40
call fcn.14001ed90
lea rax, [rsp + 0x90]
lea r9, [rsp + 0x30]
mov edx, 0x7d
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.140025e68
test al, al
je 0x140025e62
lea rdi, [0x1400bb440]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.14002759c
test eax, eax
je 0x140025e11
lea rax, [0x1400bb758]
add rdi, 8
add ebp, ebx
cmp rdi, rax
jl 0x140025dee
cmp ebp, 0x63
je 0x14006347c
lea rcx, [0x140000000]
movsxd rax, ebp
cmp byte [rax + rcx + 0xbb3d0], 0
jne 0x140025e62
movzx eax, byte [rax + rcx + 0xbb360]
mov dword [rsi], eax
lea rcx, [rsp + 0x30]
call fcn.14001c5f8
and dword [rsi], 0xff
mov al, bl
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor bl, bl
jmp 0x140025e38
lea rcx, [rsp + 0x30]
call fcn.14001c5f8
xor al, al
jmp 0x140025e4a
movabs rdx, 0x2000000000000405
bt rdx, rax
jae 0x140025d8c
cmp cx, 0x2b
jne 0x140063456
mov byte [r15], bl
jmp 0x140063475
cmp cx, 0x5e
jne 0x140063461
mov byte [r14], bl
jmp 0x140063475
cmp cx, 0x21
jne 0x14006346d
mov byte [r12], bl
jmp 0x140063475
cmp cx, 0x23
jne 0x140063475
mov byte [rsi], bl
add edi, ebx
jmp 0x140025d71
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.14001ed58
movzx ecx, word [rax]
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
mov dword [rsi], ecx
cmp ecx, 0xffffffff
je 0x140063426
bt ecx, 9
jae 0x1400634a4
mov byte [r14], bl
bt ecx, 0xa
jae 0x1400634ae
mov byte [r12], bl
bt ecx, 8
jae 0x140025e38
mov byte [r15], bl
jmp 0x140025e38
call qword [sym.imp.USER32.dll_VkKeyScanW]
movsx ecx, ax
mov dword [rsi], ecx
cmp ecx, 0xffffffff
je 0x140063430
bt ecx, 9
jae 0x1400634dd
mov byte [r14], bl
bt ecx, 0xa
jae 0x1400634e7
mov byte [r12], bl
bt ecx, 8
jae 0x140025e42
mov byte [r15], bl
jmp 0x140025e42
Function at 0x140025ef0
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov word [rcx + 8], 1
mov eax, 5
mov rbx, rcx
mov dword [rcx], eax
mov dword [rcx + 4], eax
xor eax, eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov dword [rcx + 0x20], eax
mov dword [rcx + 0xc], 4
lea ecx, [rax + 0x5b]
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x10]
mov byte [rbx + 0x35], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, LHashValOfNameSys
mov byte [rbx + 0x32], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov ecx, LHashValOfNameSys
mov byte [rbx + 0x33], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x11]
mov byte [rbx + 0x34], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
lea ecx, [rdx + 0x12]
mov byte [rbx + 0x30], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 0x31], al
add rsp, 0x20
pop rbx
ret

Function at 0x1400262f0
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x10020
call fcn.140039090
sub rsp, rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov ecx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001efd8
add rsp, 0x10020
pop rbx
ret

Function at 0x140026328
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14b, byte [0x1400e54c7]
mov rsi, rdx
mov rdi, rcx
call fcn.140029058
mov edx, 0x8000
mov ecx, eax
call fcn.140028e80
cmp dword [rsi + 0x10], 0xb
mov ebp, eax
je 0x14006351e
lea rcx, [rsp + 0x20]
call fcn.14001c878
mov rcx, rsi
call fcn.1400067a4
mov rdx, qword [rsi + 8]
lea r8, [rsp + 0x20]
call fcn.14001c75c
mov r8, qword [rsp + 0x20]
lea rdx, [0x1400ac510]
mov rcx, rdi
call fcn.1400292a0
movsxd rbx, eax
test r14b, r14b
jne 0x14006354c
lea rcx, [rsp + 0x20]
call fcn.14001c5f8
mov rcx, rdi
call fcn.14002949c
mov rcx, rdi
call fcn.140029058
mov edx, 0x4000
mov ecx, eax
cmp ebp, 0xffffffff
je 0x1400263d3
mov edx, ebp
call fcn.140028e80
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r14
ret
mov rcx, rsi
call fcn.14007a048
mov rcx, rsi
movsxd rbx, eax
call fcn.140079fc0
mov r9, rdi
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.140029210
mov rbx, rax
jmp 0x1400263b5
mov rcx, rsi
call fcn.140006d94
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
jmp 0x1400263ab

Function at 0x140027af0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140027958
Function at 0x140065934
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rbx, rcx
xor r15d, r15d
lea rcx, [rsp + 0x58]
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x228], r15
call fcn.14001e7d0
lea rcx, [rsp + 0x38]
call fcn.14001e7d0
lea rcx, [rsp + 0x78]
call fcn.14001e7d0
lea rdx, [0x1400d0228]
lea rcx, [rsp + 0x58]
call fcn.14001efd8
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.14001f100
lea rdx, str.CLSID
lea rcx, [rsp + 0x58]
call fcn.14001f100
lea rcx, [rsp + 0x38]
call fcn.14001f224
test rdi, rdi
je 0x1400659f1
cmp word [rdi], 0x5c
je 0x1400659f1
cmp word [rdi + 2], 0x5c
je 0x1400659f1
lea rdx, [0x1400d0260]
lea rcx, [rsp + 0x38]
call fcn.14001efd8
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.14001f100
test rsi, rsi
je 0x140065a53
xor edx, edx
lea rcx, [rbp - 0x68]
lea r8d, [rdx + 0x30]
call fcn.1400272c0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
mov dword [rbp - 0x64], r15d
call fcn.14001f504
lea rdx, str.IPC_
lea rcx, [rsp + 0x78]
call fcn.14001f100
mov rax, qword [rsp + 0x78]
mov rdx, qword [rbp + 0x230]
lea rcx, [rbp - 0x68]
xor r9d, r9d
mov r8, rsi
mov qword [rbp - 0x50], rax
call qword [sym.imp.MPR.dll_WNetAddConnection2W]
mov ebx, eax
test eax, eax
js 0x140065b14
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rdx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov ebx, eax
test eax, eax
jne 0x140065b14
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x228]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140065b09
mov rcx, qword [rbp + 0x228]
lea rax, [rbp + 0x218]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov dword [rbp + 0x218], 0x1fe
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140065afc
mov eax, dword [rbp + 0x218]
lea rcx, [rbp - 0x30]
mov rdx, r14
shr eax, 1
mov dword [rbp + 0x218], eax
mov word [rbp + rax*2 - 0x30], r15w
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov ebx, eax
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x78]
call fcn.14001c5f8
lea rcx, [rsp + 0x38]
call fcn.14001c5f8
lea rcx, [rsp + 0x58]
call fcn.14001c5f8
mov eax, ebx
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140068234
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdx, qword [rcx]
mov r8b, 1
mov rdi, rcx
call fcn.140069970
xor edx, edx
test ebx, ebx
lea ebx, [rdx + 0x25]
mov ecx, ebx
jns 0x140068291
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rdi]
mov r8d, ebx
shl eax, 0x10
mov edx, 0x100
mov r9d, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, ebx
jmp 0x1400682cd
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rdi]
mov edx, 0x100
shl eax, 0x10
mov r8d, reloc.OLEAUT32.dll_SafeArrayRedim
mov r9d, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, reloc.OLEAUT32.dll_SafeArrayRedim
mov rcx, qword [rdi]
shl eax, 0x10
mov edx, 0x101
mov r9d, eax
mov eax, 0xc0000001
or r9, rax
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rdi]
xor r8d, r8d
call fcn.140069970
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140068ca4
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov rbx, rdx
mov rcx, rdx
cmp r8b, 1
jne 0x140068d02
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x28], 0x1388
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x140068d1f
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x140068d15
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x40
pop rbx
ret

Function at 0x140069970
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp r8b, 1
jne 0x1400699a3
call fcn.140025c70
test al, al
jne 0x1400699c3
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x1400699b9
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x20
pop rbx
ret
Function at 0x140069af8
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14, rcx
mov rcx, rdx
mov rbp, rdx
call fcn.14001f224
mov rdx, qword [r14]
call fcn.140025c70
test al, al
je 0x140069b32
xor al, al
jmp 0x140069c06
mov rdx, qword [r14]
call fcn.140025c70
test al, al
jne 0x140069b58
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
test eax, eax
jne 0x140069b5d
mov esi, 0x7fff
mov rcx, 0xffffffffffffffff
lea ebx, [rsi + 1]
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.14002698c
mov rcx, qword [r14]
mov r8d, ebx
mov r9, rax
mov edx, reloc.WSOCK32.dll_listen
mov rdi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x140069bfc
mov rcx, rdi
call fcn.140027f20
mov ecx, esi
mov r8, rax
cmp rax, rcx
jne 0x140069bf1
test rax, rax
je 0x140069bcb
mov rdx, rdi
mov rcx, rdi
neg rdx
mov al, byte [rcx]
sub al, 0x20
cmp al, 0x5e
ja 0x140069bf1
inc rcx
lea rax, [rdx + rcx]
cmp rax, r8
jb 0x140069bb7
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140069908
lea rdx, [rsp + 0x20]
mov r8, rbp
call fcn.14001e9c4
lea rcx, [rsp + 0x20]
call fcn.14001c5f8
jmp 0x140069bfc
mov rdx, rdi
mov rcx, rbp
call fcn.14001efd8
mov rcx, rdi
call fcn.140026a34
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14006b6ec
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x220
mov rbx, rcx
mov rcx, qword [rcx + 0x88]
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
test rax, rax
je 0x14006b781
lea rdx, [rsp + 0x20]
mov r8d, 0x100
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test byte [rbx + 0x10], 1
je 0x14006b740
cmp word [rsp + 0x20], di
jne 0x14006b740
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x14006b781
movsd xmm0, qword [rbx + 0x18]
comisd xmm0, xmmword [0x1400bb2e8]
jbe 0x14006b761
mov rcx, qword [rbx + 0x88]
mov edx, 0x40a
call qword [sym.imp.USER32.dll_KillTimer]
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x20]
call fcn.14001efd8
mov rcx, qword [rbx + 0x88]
mov edx, 1
call qword [sym.imp.USER32.dll_EndDialog]
mov rbx, qword [rsp + 0x230]
add rsp, 0x220
pop rdi
ret
Function at 0x1400703d4
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, r8
mov r14, rdx
mov r8b, 1
mov rdx, rax
mov rbx, rcx
mov qword [rcx + 0x28], rax
call fcn.1400713f4
xor r15d, r15d
cmp byte [rbx + 8], 1
mov bpl, r15b
mov dword [rsp + 0x50], r15d
mov word [rsp + 0x54], r15w
jne 0x14007043d
xor r8d, r8d
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.140070b64
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov bpl, al
call fcn.14006fc48
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.14006fbe4
mov edi, r15d
movsxd rdx, edi
mov rcx, r14
call fcn.14001ed20
movzx esi, word [rax]
test si, si
je 0x140070479
mov rcx, rbx
inc edi
call fcn.14006fec8
mov r8d, 1
movzx edx, si
mov rcx, rbx
call fcn.140070344
mov dword [rbx + 0x18], r15d
mov word [rbx + 0x1c], r15w
jmp 0x140070440
cmp byte [rbx + 8], 1
jne 0x140070499
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140070f08
mov r8b, bpl
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.140070b64
mov rdx, qword [rbx + 0x28]
xor r8d, r8d
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp fcn.1400713f4

Function at 0x140070b64
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
movzx esi, dl
mov r14, rcx
mov bl, r8b
mov ecx, esi
mov ebp, esi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
and dil, 1
cmp bl, dil
je 0x140070be5
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov dl, sil
mov r8d, eax
mov rcx, r14
call fcn.140071530
mov rcx, r14
call fcn.14006fc2c
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r9d, 2
mov dl, sil
mov r8d, eax
mov rcx, r14
call fcn.140071530
mov rcx, r14
call fcn.14006fc10
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov al, dil
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140070c04
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x160
mov dil, byte [rdx]
mov bpl, byte [rdx + 7]
mov rbx, rcx
movzx ecx, word [rdx + 8]
xor r14d, r14d
mov rsi, rdx
mov r15d, 1
cmp qword [rbx + 0x28], r14
je 0x140070cf2
cmp dil, 0x14
je 0x140070cf2
lea eax, [rdi + 0x70]
cmp al, r15b
jbe 0x140070cf2
cmp dil, 0xff
je 0x140070cda
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140070c82
movzx eax, dil
lea rcx, [rsp + 0x60]
or byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, bpl
mov rcx, rsi
shl eax, 0x10
movsxd r9, eax
or r9, r15
call fcn.14006fe88
cmp al, r15b
jne 0x140070ca1
bts r9, 0x18
cmp byte [rbx + 0x1b], r14b
jne 0x140070cb3
cmp byte [rbx + 0x21], r14b
jne 0x140070cb3
cmp dil, 0x12
jne 0x140070ccf
cmp byte [rbx + 0x1a], r14b
jne 0x140070ccf
cmp byte [rbx + 0x20], r14b
jne 0x140070ccf
bts r9, 0x1d
movzx r8d, dil
mov edx, 0x104
jmp 0x140070ce6
movzx r8d, dil
mov edx, 0x100
jmp 0x140070ce6
movzx r8d, cx
mov r9, r15
mov edx, 0x102
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140070d4f
cmp dil, 0xff
je 0x140070d1d
mov rcx, rdx
call fcn.14006fe88
mov r8b, bpl
mov dl, dil
mov rcx, rbx
cmp al, r15b
jne 0x140070d13
mov r9d, r15d
jmp 0x140070d16
xor r9d, r9d
call fcn.140071530
jmp 0x140070d4f
mov word [rsp + 0x3a], cx
lea rdx, [rsp + 0x30]
mov r8d, SafeArrayCreateEx
mov ecx, r15d
mov dword [rsp + 0x30], r15d
mov word [rsp + 0x38], r14w
mov qword [rsp + 0x3c], 4
mov qword [rsp + 0x48], r14
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
jmp fcn.14006fc2c
Function at 0x140070d74
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x160
mov dil, byte [rdx]
mov bpl, byte [rdx + 7]
mov rbx, rcx
movzx ecx, word [rdx + 8]
xor r14d, r14d
mov rsi, rdx
cmp qword [rbx + 0x28], r14
je 0x140070e52
cmp dil, 0x14
je 0x140070e52
lea eax, [rdi + 0x70]
cmp al, 1
jbe 0x140070e52
cmp dil, 0xff
je 0x140070eb6
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140070df0
movzx eax, dil
lea rcx, [rsp + 0x60]
xor byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, bpl
mov rcx, rsi
shl eax, 0x10
movsxd r9, eax
mov eax, 0xc0000001
or r9, rax
call fcn.14006fe88
cmp al, 1
jne 0x140070e13
bts r9, 0x18
cmp byte [rbx + 0x1b], r14b
jne 0x140070e25
cmp byte [rbx + 0x21], r14b
jne 0x140070e25
cmp dil, 0x12
jne 0x140070e3d
cmp byte [rbx + 0x1a], r14b
jne 0x140070e3d
cmp byte [rbx + 0x20], r14b
jne 0x140070e3d
bts r9, 0x1d
mov edx, 0x105
jmp 0x140070e42
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
movzx r8d, dil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140070eb6
cmp dil, 0xff
je 0x140070e80
mov rcx, rdx
call fcn.14006fe88
mov r8b, bpl
mov dl, dil
mov rcx, rbx
mov r9d, 3
cmp al, 1
je 0x140070e79
mov r9d, 2
call fcn.140071530
jmp 0x140070eb6
mov r8d, SafeArrayCreateEx
mov word [rsp + 0x3a], cx
lea rdx, [rsp + 0x30]
lea ecx, [r8 - 0x27]
mov dword [rsp + 0x30], 1
mov word [rsp + 0x38], r14w
mov qword [rsp + 0x3c], 6
mov qword [rsp + 0x48], r14
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
jmp fcn.14006fc10

Function at 0x140070edc
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140070c04
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140070d74