joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400353d4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14002b0a4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140035475
cmp ebx, dword [rsp + 0x30]
je 0x14003546e
test esi, esi
je 0x14003546e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140035449
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140035456
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140035433
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14003545a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140035477
mov eax, 1
jmp 0x140035477
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400396c0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14002ef34
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002ef34
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140039810
cmp rax, 0xffffffffffffffff
je 0x140039810
xor edi, edi
test rbp, rbp
jle 0x1400397bb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002bd94
mov rbx, rax
test rax, rax
jne 0x140039748
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400397b1
mov edx, 0x8000
mov ecx, r14d
call fcn.140027b74
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14002d448
cmp eax, 0xffffffff
je 0x140039791
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140039758
mov edx, r15d
mov ecx, r14d
call fcn.140027b74
jmp 0x1400397b1
cmp byte [rsi + 0x38], dil
je 0x1400397a8
cmp dword [rsi + 0x34], 5
jne 0x1400397a8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400397b1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400296dc
jmp 0x140039824
jns 0x140039824
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002ef34
cmp rax, 0xffffffffffffffff
jne 0x1400397dc
cmp byte [rsi + 0x30], dil
je 0x140039824
mov edi, dword [rsi + 0x2c]
jmp 0x140039824
mov ecx, r14d
call fcn.140032e80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140039824
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140039824
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14003981d
mov eax, dword [rsi + 0x2c]
jmp 0x140039822
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002ef34
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400dab30
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400da920

Function at 0x1400e091c
Capabilities:
Read 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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x1400e063e
call fcn.1400db7c4
mov dword [rax], 0x16
call fcn.1400db688
jmp 0x1400e078e
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400e078e
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400e078e
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400e066d
lock or dword [rcx + 0x14], 0x10
jmp 0x1400e078e
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400e0681
call fcn.1400e61ac
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x1400e0691
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x1400e0694
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.1400ce7dc
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.1400e520c
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1400e077c
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1400e0727
mov rcx, rbx
call fcn.1400ce7dc
cmp eax, 0xffffffff
je 0x1400e0712
mov rcx, rbx
call fcn.1400ce7dc
cmp eax, 0xfffffffe
je 0x1400e0712
mov rcx, rbx
call fcn.1400ce7dc
movsxd rdi, eax
lea rsi, [0x140163c40]
mov rcx, rbx
sar rdi, 6
call fcn.1400ce7dc
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1400e0719
lea rdx, [0x14015d2e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400e0727
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1400e074b
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1400e074b
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1400e074b
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x1400e0769
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x1400e0774
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x1400e0793
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x1400e0608
Function at 0x1400014d8
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
sub rsp, 0x68
and qword [r11 - 0x10], 0
mov rax, qword [0x1400a4ca8]
lea rdx, str.AutoIt_v3
mov qword [r11 - 0x18], rax
and qword [r11 - 0x20], 0
and qword [r11 - 0x28], 0
mov eax, 0x80000000
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], eax
mov r9d, 0xcf0000
mov r8, rdx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
and qword [rsp + 0x58], 0
mov rcx, qword [0x1400a4ca8]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, str.edit
mov r9d, 0x50b008c4
xor r8d, r8d
xor ecx, ecx
mov qword [0x1400a4c98], rax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x1400a4c98]
xor edx, edx
mov qword [0x1400a4c90], rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400a4c98]
xor edx, edx
add rsp, 0x68
jmp qword [sym.imp.USER32.dll_ShowWindow]
Function at 0x14000285c
Capabilities:
Get token privileges

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r12d, r12d
mov qword [rbp + 0x48], r12
mov ebx, r12d
mov dil, r12b
mov dword [rbp + 0x40], r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rbp + 0x48]
lea edx, [r12 + 8]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x1400028c3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x48]
lea edx, [r12 + 8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400029ed
mov rsi, qword [rbp + 0x48]
xor r9d, r9d
lea rax, [rbp + 0x40]
lea r13d, [r9 + 3]
xor r8d, r8d
mov rcx, rsi
mov edx, r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140002942
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400029ed
mov ebx, dword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [r13 + 5]
mov rcx, rax
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x1400029ed
mov r9d, dword [rbp + 0x40]
lea rax, [rbp + 0x40]
mov r8, rbx
mov edx, r13d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400029ed
lea r8, [rbp - 0x20]
lea rdx, str.SeAssignPrimaryTokenPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400029ed
lea r8, [rbp - 0x14]
lea rdx, str.SeIncreaseQuotaPrivilege
xor ecx, ecx
mov dword [rbp - 0x18], r12d
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400029ed
mov dword [rbp - 0xc], r12d
mov esi, r12d
mov edi, 1
cmp dword [rbx], r12d
jbe 0x1400029d1
mov eax, esi
lea r12, [rbp - 0x18]
lea r13, [rbp - 0x20]
lea rcx, [rax + rax*2]
mov r14d, 2
lea r15, [rbx + rcx*4 + 4]
mov r8d, 8
mov rdx, r13
mov rcx, r15
call fcn.14006fd10
test eax, eax
jne 0x1400029bb
mov dword [r12], edi
add r13, 0xc
add r12, 0xc
sub r14, rdi
jne 0x1400029a2
add esi, edi
cmp esi, dword [rbx]
jb 0x140002989
xor r12d, r12d
mov ecx, r12d
lea rax, [rbp - 0x18]
cmp dword [rax], r12d
je 0x1400029ea
add ecx, edi
add rax, 0xc
cmp ecx, 2
jb 0x1400029d8
jmp 0x1400029ed
mov dil, r12b
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400029fc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140002a15
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov al, dil
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002db4
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x70
xor r10d, r10d
mov rbp, r8
mov r12, rdx
lea ebx, [r10 + 1]
mov r13, rcx
mov qword [rax - 0x20], r10
test bl, r9b
je 0x140002de9
mov edi, ebx
jmp 0x140002df7
mov eax, 2
mov edi, r10d
test al, r9b
cmovne edi, eax
xor sil, sil
test r9b, 4
je 0x140002e47
and qword [rsp + 0x60], r10
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov r8d, ebx
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140002ead
mov r10, qword [rsp + 0x68]
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0xb8]
mov r9d, edi
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
bts ecx, 0xa
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov r8, rbp
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov rdx, r12
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne sil
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140002ebd
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
lea r11, [rsp + 0x70]
mov al, sil
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret

Function at 0x140003198
Capabilities:
Create thread

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 r12
sub rsp, 0x40
mov rbp, r8
mov r12, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rdi]
mov dword [rsp + 0x30], 2
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov rcx, rax
mov r9, rsi
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rbp]
mov dword [rsp + 0x30], 2
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rsi + 0x10]
mov rcx, rax
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov r11, qword [r12]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x140003280]
mov r9, rsi
xor edx, edx
xor ecx, ecx
mov qword [rsi + 8], r11
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
Function at 0x1400039a4
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx]
mov ebx, edx
mov dl, 1
call fcn.140012e34
xor edx, edx
test ebx, ebx
lea ebx, [rdx + 0x25]
mov ecx, ebx
jns 0x140003a00
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 0x140003a3c
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 rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov ecx, eax
mov edx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140003ee8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, r9
xor r9d, r9d
mov r14, rcx
mov rcx, qword [rcx]
mov r13, rdx
mov r12, r8
lea edx, [r9 + 0xe]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
xor r15d, r15d
mov rsi, rax
test eax, eax
je 0x140003f9e
cmp eax, dword [r12]
jb 0x140003f9e
cmp eax, dword [rbp]
jb 0x140003f9e
lea ebx, [rax + 1]
lea rcx, [r15 - 1]
lea eax, [r15 + 2]
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.14006f7d8
mov rcx, qword [r14]
lea edx, [r15 + 0xd]
mov r9, rax
mov r8d, ebx
mov rdi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140003f96
cmp dword [rbp], esi
je 0x140003f7a
mov ecx, dword [rbp]
mov word [rdi + rcx*2], r15w
mov eax, dword [r12]
mov rcx, r13
lea rdx, [rdi + rax*2]
call fcn.1400025a8
mov rcx, rdi
call fcn.14006f380
mov al, 1
jmp 0x140003fa0
mov rcx, rdi
call fcn.14006f380
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140005aa0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x230
mov rdi, rdx
mov rsi, rcx
lea rdx, [0x14008b090]
mov rcx, r8
mov rbp, r8
call fcn.1400025a8
mov dl, 1
mov rcx, rdi
call fcn.140012e34
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsi + 0x1a8], rax
test rax, rax
jne 0x140005b2b
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov ecx, eax
mov edx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor al, al
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
cmp rax, rdi
je 0x140005b3b
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
jne 0x140005b26
jmp 0x140005aeb
mov rdx, qword [rsi + 0x1a8]
mov rcx, rsi
call fcn.140006294
mov rcx, qword [rsi + 0x1a8]
lea rdx, [rsp + 0x20]
mov r8d, 0x100
mov qword [rsi + 0x1a0], rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x118]
call fcn.1400025a8
and dword [rsi + 0x238], 0
lea rdx, [0x140005be8]
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnumChildWindows]
mov r9d, dword [rsi + 0x238]
mov r8, qword [rsi + 0x118]
lea rdx, str._s_d
lea rcx, [rsp + 0x20]
call fcn.1400701b0
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.1400025a8
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov ecx, eax
mov edx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov al, 1
jmp 0x140005b0d

Function at 0x140005fc0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rbp, rdx
mov r13, rcx
lea rdx, [0x14008b090]
mov rcx, rbp
call fcn.1400025a8
mov rcx, r13
call fcn.140005ee0
xor esi, esi
test al, al
je 0x140006002
xor al, al
jmp 0x14000608d
mov rcx, qword [r13]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, 0xffffffffffffffff
mov rdi, rax
mov eax, 0x7fff
test rdi, rdi
cmove rdi, rax
mov eax, 2
lea rbx, [rdi + 1]
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.14006f7d8
mov rcx, qword [r13]
mov r8, rbx
mov r9, rax
mov edx, reloc.WSOCK32.dll_listen
mov r12, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov word [r12 + rdi*2], si
mov rcx, rbp
test rax, rax
jne 0x140006077
lea rdx, [0x14008b090]
call fcn.1400025a8
jmp 0x140006082
mov rdx, r12
call fcn.1400025a8
mov sil, 1
mov rcx, r12
call fcn.14006f380
mov al, sil
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x1400086c4
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 0x140008759
lea rdx, [rsp + 0x20]
mov r8d, 0x100
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test byte [rbx + 0x10], 1
je 0x140008718
cmp word [rsp + 0x20], di
jne 0x140008718
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x140008759
movsd xmm0, qword [rbx + 0x18]
comisd xmm0, xmmword [0x140093678]
jbe 0x140008739
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.1400025a8
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 0x14000b644
Capabilities:
Encode data using xor

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 r12
sub rsp, 0x20
mov r8, qword [rdx]
mov rdi, rcx
mov rsi, rdx
mov r12d, dword [r8 + rcx]
lea rax, [r8 + 4]
mov rcx, 0xffffffffffffffff
mov qword [rdx], rax
lea eax, [r12 + 1]
movsxd r8, eax
mov eax, 2
mul r8
cmovo rax, rcx
mov rcx, rax
call fcn.14006f7d8
lea ecx, [r12 + r12]
movsxd rbx, ecx
mov rcx, qword [rsi]
mov rbp, rax
lea rdx, [rdi + rcx]
mov r8, rbx
mov rcx, rax
call fcn.14006f030
add qword [rsi], rbx
xor eax, eax
movsxd r11, r12d
mov word [rbp + r11*2], ax
test r12d, r12d
jle 0x14000b6d6
mov rax, rbp
mov ecx, r12d
xor word [rax], r12w
add rax, 2
dec rcx
jne 0x14000b6c9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rax, rbp
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop r12
ret
Function at 0x14000c810
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov word [rcx + 8], ax
mov byte [rcx + 7], al
mov dword [rcx + 1], eax
mov word [rcx + 5], ax
mov byte [rcx + 0xa], al
mov byte [rcx], dl
cmp dl, 0xff
je 0x14000c843
movzx ecx, dl
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov word [rcx], 0xff
mov rbx, rcx
mov byte [rcx + 7], al
mov dword [rcx + 2], eax
mov byte [rcx + 6], al
mov byte [rcx + 0xa], al
mov word [rcx + 8], dx
test dx, dx
je 0x14000c8bb
movzx ecx, dx
call qword [sym.imp.USER32.dll_VkKeyScanW]
cmp ax, 0xffff
jne 0x14000c888
xor al, al
jmp 0x14000c8bb
movzx edi, ax
movzx ecx, al
xor edx, edx
sar di, 8
mov byte [rbx], al
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [rbx + 7], al
mov al, 1
test al, dil
je 0x14000c8a9
mov byte [rbx + 1], al
test dil, 2
je 0x14000c8b2
mov byte [rbx + 3], al
test dil, 4
je 0x14000c8bb
mov byte [rbx + 4], al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000cb54
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x20
mov rax, r8
mov r12, rdx
mov r8b, 1
mov rdx, rax
mov rbx, rcx
mov qword [rcx + 0x28], rax
call fcn.14000e104
xor r14d, r14d
cmp byte [rbx + 8], 1
mov r13b, r14b
mov dword [rbp + 0x30], r14d
mov word [rbp + 0x34], r14w
jne 0x14000cbe2
xor r8d, r8d
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14000cc74
lea rdx, [rbp + 0x38]
mov rcx, rbx
mov r13b, al
call fcn.14000d728
lea rcx, [rbp + 0x30]
cmp rcx, rax
je 0x14000cbe2
mov cl, byte [rax]
mov byte [rbp + 0x30], cl
mov cl, byte [rax + 1]
mov byte [rbp + 0x31], cl
mov cl, byte [rax + 3]
mov byte [rbp + 0x33], cl
mov cl, byte [rax + 2]
mov byte [rbp + 0x32], cl
mov cl, byte [rax + 4]
mov al, byte [rax + 5]
mov byte [rbp + 0x35], al
mov byte [rbp + 0x34], cl
mov esi, r14d
mov rdx, qword [r12 + 8]
mov rax, qword [r12]
movsxd rcx, esi
cmp rcx, rdx
jae 0x14000cbfc
lea rdx, [rax + rcx*2]
jmp 0x14000cc00
lea rdx, [rax + rdx*2]
movzx edi, word [rdx]
test di, di
je 0x14000cc2e
mov rcx, rbx
inc esi
call fcn.14000e660
mov r8d, 1
movzx edx, di
mov rcx, rbx
call fcn.14000cd3c
mov dword [rbx + 0x18], r14d
mov word [rbx + 0x1c], r14w
jmp 0x14000cbe5
cmp byte [rbx + 8], 1
jne 0x14000cc4d
lea rdx, [rbp + 0x30]
mov rcx, rbx
call fcn.14000d8b4
mov r8b, r13b
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14000cc74
mov rdx, qword [rbx + 0x28]
xor r8d, r8d
mov rcx, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rbp
jmp fcn.14000e104
Function at 0x14000cc74
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
movzx esi, dl
mov r12, 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 0x14000cd1d
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov dl, sil
mov r8d, eax
mov rcx, r12
call fcn.14000e008
xor ebx, ebx
cmp qword [r12 + 0x28], rbx
lea r13d, [rbx + 2]
mov ecx, ebx
cmovne ecx, r13d
cmp dword [r12 + 4], ecx
jl 0x14000cce3
mov ecx, dword [r12 + 4]
call fcn.14000e248
xor edx, edx
mov ecx, ebp
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r9d, r13d
mov dl, sil
mov r8d, eax
mov rcx, r12
call fcn.14000e008
cmp qword [r12 + 0x28], rbx
cmovne ebx, r13d
mov ecx, ebx
cmp dword [r12], ebx
jl 0x14000cd18
mov ecx, dword [r12]
call fcn.14000e248
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov al, dil
add rsp, 0x20
pop r13
pop r12
pop rdi
ret