joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012d40
Capabilities:
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebx, ebx
test rax, rax
je 0x140012d60
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x140012d62
mov eax, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rcx, rax
xor edx, edx
call fcn.140012d80
cmp eax, 3
sete al
add rsp, 0x20
pop rbx
ret

Function at 0x140012d80
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
xor r8d, r8d
lea rcx, [0x1400f43e0]
nop dword [rax]
nop word [rax + rax]
movsxd rax, r8d
add rax, rax
mov r9, qword [rcx + rax*8]
test r9, r9
je 0x140012dbd
cmp r9, rsi
je 0x140012df0
inc r8d
cmp r8d, 0xa
jl 0x140012da0
mov qword [rsp + 0x40], rdi
cmp r8d, 0xa
mov eax, 9
cmovl eax, r8d
movsxd rdi, eax
shl rdi, 4
add rdi, rcx
test edx, edx
je 0x140012e15
mov dword [rdi + 8], edx
mov eax, edx
mov qword [rdi], rsi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
test edx, edx
je 0x140012e05
movsxd rax, r8d
add rax, rax
cmp dword [rcx + rax*8 + 8], 0
jne 0x140012e05
mov dword [rcx + rax*8 + 8], edx
movsxd rax, r8d
add rax, rax
mov eax, dword [rcx + rax*8 + 8]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbx
mov ebx, SafeArrayAllocDescriptor
mov qword [rsp + 0x38], rbp
mov ebp, 0x600
mov dword [rdi + 8], 0
mov rdx, rsi
movzx ecx, bx
call qword [sym.imp.USER32.dll_VkKeyScanExW]
cmp ax, 0xffff
je 0x140012e4a
and ax, bp
cmp ax, bp
je 0x140012e56
inc ebx
cmp ebx, 0xffff
jle 0x140012e30
jmp 0x140012e5d
mov dword [rdi + 8], 3
mov eax, dword [rdi + 8]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov qword [rdi], rsi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x140013000
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 0x10], rdx
push rsi
push rdi
sub rsp, 0x158
movzx esi, cl
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
lea edx, [rsi - 0x41]
mov rdi, rax
cmp dl, 0x19
ja 0x140013173
mov qword [rsp + 0x150], rbx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x148], rbp
xor edx, edx
mov r8d, 0x100
mov qword [rsp + 0x140], r14
call fcn.140098640
xor ebx, ebx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebx
lea r9, [rsp + 0x180]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 2
xor edx, edx
lea ecx, [rbx + 0x6e]
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x180]
cmp eax, 2
movzx ecx, sil
movzx ebp, bx
mov dword [rsp + 0x28], ebx
cmove bp, word [rsp + 0x180]
lea r8, [rsp + 0x40]
xor edx, edx
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov r14d, eax
test eax, eax
jns 0x1400130e6
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x178]
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x40]
xor edx, edx
mov dword [rsp + 0x20], 2
lea ecx, [rbx + 0x6e]
call qword [sym.imp.USER32.dll_ToUnicodeEx]
test bp, bp
je 0x140013141
mov r8, rdi
lea rdx, [rsp + 0x170]
movzx ecx, bp
call fcn.1400133b0
movzx esi, al
test al, al
je 0x140013141
movzx edx, byte [rsp + 0x170]
lea rcx, [rsp + 0x40]
call fcn.140012910
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x178]
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x40]
xor edx, edx
movzx ecx, sil
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov rbp, qword [rsp + 0x148]
test r14d, r14d
mov r14, qword [rsp + 0x140]
je 0x14001315e
movzx ebx, word [rsp + 0x180]
movzx eax, bx
mov rbx, qword [rsp + 0x150]
add rsp, 0x158
pop rdi
pop rsi
ret
movzx ecx, sil
mov r8, rax
mov edx, 2
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x140013280
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push r14
sub rsp, 0x28
movzx eax, word [rcx]
movzx r14d, r8b
mov rsi, rcx
test ax, ax
jne 0x14001329f
add rsp, 0x28
pop r14
pop rsi
ret
cmp word [rcx + 2], 0
jne 0x1400132ba
mov r8, qword [rsp + 0x60]
movzx ecx, ax
add rsp, 0x28
pop r14
pop rsi
jmp fcn.1400133b0
mov qword [rsp + 0x40], rbx
test r9b, r9b
je 0x140013312
movzx ebx, ax
test ebx, 0xffffff80
jne 0x1400132e2
mov edx, 2
mov ecx, ebx
call fcn.14009c1d4
test eax, eax
je 0x1400132e2
and ebx, 0xffffffdf
cmp bx, 0x56
jne 0x140013312
movzx ecx, word [rsi + 2]
call fcn.14000a640
cmp ax, 0x4b
jne 0x140013312
xor edx, edx
lea rcx, [rsi + 4]
lea r8d, [rdx + 0x10]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop r14
pop rsi
jmp fcn.14009d670
mov qword [rsp + 0x48], rbp
xor ebp, ebp
mov qword [rsp + 0x50], rdi
mov edi, ebp
mov qword [rsp + 0x58], r12
lea r12, [0x1400edb90]
mov qword [rsp + 0x20], r15
mov rbx, r12
lea r15, [0x1400ee260]
nop dword [rax + rax]
mov rcx, qword [rbx]
mov rdx, rsi
call fcn.140099630
test eax, eax
je 0x140013381
inc edi
add rbx, 0x10
cmp rbx, r15
jl 0x140013340
test r14b, r14b
je 0x140013363
xor al, al
jmp 0x14001338e
mov rcx, rsi
call fcn.140013190
test ax, ax
je 0x14001337b
movzx ecx, ax
call fcn.140013a30
movzx ebp, al
movzx eax, bpl
jmp 0x14001338e
movsxd rax, edi
shl rax, 4
movzx eax, byte [rax + r12 + 8]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov r15, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
pop r14
pop rsi
ret

Function at 0x1400133b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp cx, 0xa
jne 0x1400133c7
mov al, 0xd
add rsp, 0x20
pop rbx
ret
mov rdx, r8
call qword [sym.imp.USER32.dll_VkKeyScanExW]
movsx rdx, ax
mov rcx, rdx
shr rcx, 8
cmp cl, 0xff
jne 0x1400133ed
cmp dl, 0xff
jne 0x1400133ed
xor al, al
add rsp, 0x20
pop rbx
ret
test cl, 0x38
jne 0x1400133e5
test rbx, rbx
je 0x140013435
movzx eax, cl
and al, 6
cmp al, 6
jne 0x140013405
or byte [rbx], 8
jmp 0x140013425
test cl, 2
je 0x140013415
movzx eax, byte [rbx]
test al, 3
jne 0x140013415
or al, 1
mov byte [rbx], al
test cl, 4
je 0x140013425
movzx eax, byte [rbx]
test al, 0xc
jne 0x140013425
or al, 4
mov byte [rbx], al
test cl, 1
je 0x140013435
movzx eax, byte [rbx]
test al, 0x30
jne 0x140013435
or al, 0x10
mov byte [rbx], al
movzx eax, dl
add rsp, 0x20
pop rbx
ret
Function at 0x140013750
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx edi, cl
lea rsi, [0x140000000]
movzx ebx, dl
lea eax, [rdi - 0x5b]
cmp eax, 0x4a
ja case.0x14001378c.115
cdqe
movzx eax, byte [rsi + rax + 0x13940]
mov ecx, dword [rsi + rax*4 + 0x138dc]
add rcx, rsi
jmp rcx
mov eax, 0x2a
jmp 0x140013843
mov eax, 0x136
jmp 0x140013843
mov eax, 0x1d
jmp 0x140013843
mov eax, 0x11d
jmp 0x140013843
mov eax, gethostname
jmp 0x140013843
mov eax, 0x138
jmp 0x140013843
mov eax, 0x15b
jmp 0x140013843
mov eax, 0x15c
jmp 0x140013843
mov eax, 0x52
jmp 0x140013843
mov eax, 0x4f
jmp 0x140013843
mov eax, 0x50
jmp 0x140013843
mov eax, 0x51
jmp 0x140013843
mov eax, 0x4b
jmp 0x140013843
mov eax, 0x4c
jmp 0x140013843
mov eax, 0x4d
jmp 0x140013843
mov eax, 0x47
jmp 0x140013843
mov eax, 0x48
jmp 0x140013843
mov eax, 0x49
jmp 0x140013843
mov eax, 0x53
jmp 0x140013843
mov eax, 0x145
jmp 0x140013843
mov eax, 0x135
jmp 0x140013843
mov eax, gethostname
jmp 0x140013843
mov eax, 0x4a
jmp 0x140013843
mov eax, 0x4e
test bl, bl
jne 0x140013899
movzx eax, ax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edx, eax
test ax, ax
je 0x140013899
add edi, 0xfffffffd
cmp edi, 0x8d
ja case.0x14001388b.5
movsxd rax, edi
movzx eax, byte [rsi + rax + 0x13998]
mov ecx, dword [rsi + rax*4 + 0x1398c]
add rcx, rsi
jmp rcx
mov ecx, 0x100
or dx, cx
test bl, bl
je 0x1400138c9
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, dx
test bl, bl
je 0x1400138cc
mov ecx, 0x100
or eax, ecx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, dx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140013bd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x1400f6860], ecx
lea rax, [0x1400f6864]
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 0x140013be3
mov dword [0x1400ef454], 1
mov dword [0x1400f4480], 1
ret

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

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1400f4480], 0
lea rbx, [0x1400f6860]
jne 0x140013c7f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400f6860], eax
mov edx, 1
lea r8, [0x1400f6864]
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 0x140013c50
mov dword [0x1400f4480], 1
mov dword [0x1400ef454], 0x270
mov r8d, 0xe3
mov qword [0x1400f7220], rbx
nop word [rax + rax]
mov eax, dword [rbx + 4]
mov ecx, eax
xor ecx, dword [rbx]
and al, 1
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx + 0x634]
mov dword [rbx], ecx
add rbx, 4
sub r8d, 1
jne 0x140013ca0
mov r8d, 0x18c
nop word [rax + rax]
mov eax, dword [rbx + 4]
lea rdx, [rbx + 4]
mov ecx, eax
and al, 1
xor ecx, dword [rbx]
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx - 0x38c]
mov dword [rbx], ecx
lea rbx, [rdx]
sub r8d, 1
jne 0x140013ce0
mov eax, dword [0x1400f6860]
mov ecx, dword [rdx]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
xor ecx, dword [rdx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rsp, 0x20
pop rbx
ret

Function at 0x140014860
Capabilities:
Write clipboard data

Disassembly:
cmp byte [rcx + 0x23], 0
jne 0x14001486a
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x23], 2
jne 0x140014886
cmp qword [0x1400f6610], 0
je 0x140014886
lea rcx, [0x1400f65f8]
jmp fcn.140004cf0
and byte [rcx + 0x21], 0x86
movzx eax, byte [rcx + 0x21]
test dl, dl
je 0x140014897
or al, 1
mov byte [rcx + 0x21], al
mov eax, 1
ret
Function at 0x14001dbf0
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 [0x1400ef424]
mov r10, r8
xor ebp, ebp
mov word [rsp + 0x22], ax
mov dword [rsp + 0x24], 0x90028
mov r8d, SafeArrayAllocDescriptor
mov word [rsp + 0x20], r8w
mov rsi, rdx
mov dword [rsp + 0x28], 0x3e003c
mov r11, rcx
mov dword [rsp + 0x2c], 0x3d003a
mov rbx, r10
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
mov dword [rsp + 0x48], 0x7b
test r10, r10
je 0x14001dcc3
movzx edx, word [r10]
test dx, dx
je 0x14001dcc3
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
mov eax, r8d
nop dword [rax + rax]
cmp dx, ax
je 0x14001dd2f
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14001dca0
movzx edx, word [rbx + 2]
add rbx, 2
test dx, dx
jne 0x14001dc90
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r10 + rax*2], bp
jne 0x14001dcd0
lea rbx, [r10 - 2]
lea rbx, [rbx + rax*2]
cmp rbx, r10
jbe 0x14001dcff
movzx eax, word [rbx]
cmp ax, r8w
je 0x14001dcf6
cmp ax, 9
jne 0x14001dcff
sub rbx, 2
cmp rbx, r10
ja 0x14001dce7
mov rdi, rbx
sub rdi, r10
sar rdi, 1
inc rdi
cmp rdi, 0xfd
jbe 0x14001dd3a
test r9b, r9b
je 0x14001dd2b
mov r8, r10
lea rdx, [0x1400d2c70]
mov rcx, r11
call fcn.140031460
xor eax, eax
jmp 0x14001dd4f
cmp rbx, r10
jbe 0x14001dcff
add rbx, 0xfffffffffffffffe
jmp 0x14001dce2
mov r8, rdi
mov rdx, r10
mov rcx, rsi
call fcn.1400a2664
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 0x14002e1b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
push rdi
sub rsp, 0x128
mov eax, dword [0x1400edaa4]
mov rdi, rdx
cmp dword [0x1400f12f4], eax
mov rbx, rcx
jl 0x14002e1dd
mov eax, 4
add rsp, 0x128
pop rdi
pop rbx
ret
mov rcx, qword [0x1400f1518]
xor r8d, r8d
mov qword [rsp + 0x140], rbp
mov qword [rsp + 0x148], rsi
mov qword [rsp + 0x150], r12
lea edx, [r8 + 1]
mov qword [rsp + 0x158], r14
mov qword [rsp + 0x120], r15
call fcn.1400015b0
mov r8d, 0x7f
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.1400a2664
xor r12d, r12d
mov r9b, 0x65
mov r8b, 1
mov word [rsp + 0x11e], r12w
xor edx, edx
xor ecx, ecx
call fcn.140003c80
mov rsi, qword [0x1400f6490]
mov r14, qword [0x1400f6498]
mov ebp, dword [0x1400f651c]
mov r15d, dword [0x1400f6520]
mov qword [0x1400f6498], rsi
mov dword [0x1400f6520], ebp
mov qword [0x1400f6490], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400f6574], eax
mov dword [0x1400f6570], eax
mov dword [0x1400f651c], eax
mov rax, qword [0x1400edaa8]
mov qword [0x1400f6068], rbx
cmp byte [rax + 0x131], r12b
je 0x14002e2e0
movsxd rax, dword [0x1400f4498]
lea rdi, [0x140000000]
mov qword [rdi + rax*8 + 0xf4ae0], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x1400f4498]
mov dword [rdi + rdx*4 + 0xf44a0], eax
inc edx
cmp edx, 0x190
cmovge edx, r12d
mov dword [0x1400f4498], edx
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.14005ef90
mov r12, qword [rsp + 0x150]
mov edi, eax
cmp eax, 1
jne 0x14002e30a
mov rcx, rbx
call fcn.14002cc50
mov edi, eax
mov rax, qword [0x1400edaa8]
mov rcx, qword [rax + 0xf0]
mov qword [0x1400f1520], rcx
lea rcx, [rsp + 0x20]
mov qword [0x1400f6490], rsi
mov dword [0x1400f651c], ebp
mov qword [0x1400f6498], r14
mov dword [0x1400f6520], r15d
call fcn.140003e20
mov r15, qword [rsp + 0x120]
mov eax, edi
mov r14, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x148]
mov rbp, qword [rsp + 0x140]
add rsp, 0x128
pop rdi
pop rbx
ret
Function at 0x1400319f0
Capabilities:
Print debug messages

Disassembly:
test edx, edx
je 0x140031b43
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x4030
call fcn.1400ae8c0
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 0x140031a51
mov rbx, qword [rcx + 0x698]
test rbx, rbx
jne 0x140031a51
mov ecx, dword [rcx + 0x2c0]
movzx eax, word [rdi + 0x2c4]
jmp 0x140031a59
movzx ecx, word [rbx + 2]
movzx eax, word [rbx + 4]
movsxd r9, ecx
mov r15d, 0x2000
mov qword [rsp + 0x28], r8
lea rcx, [0x1400f5800]
movzx eax, ax
lea r8, [0x1400d6738]
mov edx, r15d
mov dword [rsp + 0x20], eax
mov r9, qword [rcx + r9*8]
lea rcx, [rsp + 0x30]
call fcn.140079fa0
cmp word [rbp], 0
movsxd rcx, eax
lea rcx, [rsp + rcx*2 + 0x30]
je 0x140031abf
lea rdx, [rsp + 0x30]
mov rax, rcx
sub rax, rdx
lea r8, [0x1400d6398]
sar rax, 1
mov r9, rbp
sub r15d, eax
mov edx, r15d
call fcn.140079fa0
mov r15, qword [rsp + 0x4058]
cmp esi, 3
jne 0x140031ae3
lea ecx, [rsi - 2]
call fcn.14009bb90
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400a179c
jmp 0x140031b28
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 2
jne 0x140031b28
test rbx, rbx
jne 0x140031b14
mov rbx, qword [rdi + 0x698]
test rbx, rbx
jne 0x140031b14
mov r8, rbp
mov rdx, r14
mov rcx, rdi
call fcn.140031460
jmp 0x140031b28
mov r9, rbp
mov r8d, 1
mov rdx, r14
mov rcx, rbx
call fcn.1400310e0
mov rbx, qword [rsp + 0x4050]
mov rbp, qword [rsp + 0x4060]
add rsp, 0x4030
pop r14
pop rdi
pop rsi
ret
Function at 0x140031fd0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x450
mov r14, rdx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebp, ebp
test rax, rax
je 0x140032014
lea r8d, [rbp + 0x64]
mov rcx, rax
lea rdx, [rsp + 0x180]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14003201c
mov word [rsp + 0x180], bp
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x100
call fcn.140098640
mov rbx, qword [0x1400f64f0]
test rbx, rbx
je 0x140032089
nop dword [rax]
cmp byte [rbx + 0x15], bpl
je 0x140032080
mov rcx, qword [rbx]
call fcn.140074ed0
test eax, eax
je 0x140032060
cmp eax, 1
je 0x140032060
lea r9, [0x1400d5b18]
jmp 0x140032067
mov rax, qword [rbx]
mov r9, qword [rax + 8]
lea r8, [0x1400d6a28]
mov edx, 0x7d
lea rcx, [rsp + 0x80]
call fcn.14007a010
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x140032040
or rsi, 0xffffffffffffffff
cmp word [rsp + 0x80], bp
je 0x1400320ea
lea rcx, [rsp + 0x80]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], bp
jne 0x1400320a2
cmp rax, 0x7b
jbe 0x1400320dd
lea rdi, [rsp + 0x80]
mov ebx, 0x7f
lea rdi, [rdi + rax*2]
sub rbx, rax
mov r8, rbx
lea rdx, [0x1400d1e10]
mov rcx, rdi
call fcn.1400a2664
mov word [rdi + rbx*2], bp
jmp 0x1400320ea
cmp word [rsp + rax*2 + 0x7e], 0x20
jne 0x1400320ea
mov word [rsp + rax*2 + 0x7e], bp
mov rax, qword [0x1400f1198]
cmp byte [rax + 0x130], bpl
je 0x140032108
cmp byte [0x1400f6559], bpl
mov ebx, 1
je 0x14003210a
mov ebx, ebp
mov eax, dword [0x1400f12f4]
cmp eax, 1
jle 0x140032118
lea ebp, [rax - 1]
mov cl, 1
call fcn.1400127e0
movzx ecx, al
lea rdx, [rsp + 0x250]
call fcn.140012bc0
mov edx, dword [0x1400f12f4]
lea r11, [0x1400d0cc0]
mov r10d, dword [0x1400f12f0]
lea r8, [0x1400d6a30]
mov qword [rsp + 0x70], rax
lea r9, [0x1400d0cb8]
mov eax, dword [0x1400f1540]
lea rcx, [0x1400bdf7c]
mov dword [rsp + 0x68], eax
sub r10d, ebx
mov dword [rsp + 0x60], edx
lea rax, [rsp + 0x80]
mov dword [rsp + 0x58], r10d
cmp edx, 1
mov edi, 0xfffe
cmovg rcx, r8
mov edx, edi
cmp qword [0x1400f1558], 0
mov r8, r9
mov qword [rsp + 0x50], rcx
mov rcx, r14
mov dword [rsp + 0x48], ebp
cmove r8, r11
cmp qword [0x1400f1560], 0
mov qword [rsp + 0x40], rax
mov eax, dword [0x1400f6500]
cmove r9, r11
mov dword [rsp + 0x38], eax
mov eax, dword [0x1400f6504]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea r8, [0x1400d6ab0]
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x180]
call fcn.140079fa0
movsxd rcx, eax
mov edx, edi
lea rbx, [r14 + rcx*2]
mov rax, rbx
mov rcx, rbx
sub rax, r14
sar rax, 1
sub edx, eax
call fcn.14000a350
cmp word [rbx + rsi*2 + 2], 0
lea rsi, [rsi + 1]
jne 0x140032203
cmp qword [0x1400f1550], 0
lea rax, [0x1400d6198]
lea rbx, [rbx + rsi*2]
lea r8, [0x1400d6c20]
mov rcx, rbx
cmovne r8, rax
mov rax, rbx
sub rax, r14
sar rax, 1
sub edi, eax
mov edx, edi
call fcn.140079fa0
lea r11, [rsp + 0x450]
movsxd rcx, eax
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
lea rax, [rbx + rcx*2]
mov rbx, qword [r11 + 0x10]
mov rsp, r11
pop r14
ret
Function at 0x140038de0
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 rsi, rdx
mov qword [rsp + 0x20], rax
mov r8, r10
mov rdx, r11
mov rbx, rcx
call fcn.1400471a0
mov rdi, rax
test rax, rax
je 0x140038ee2
mov rdx, rsi
mov rcx, rax
call fcn.14007f320
mov rbp, rax
test rax, rax
je 0x140038ee2
xor edx, edx
mov rcx, rdi
xor sil, sil
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
test eax, eax
je 0x140038e7f
cmp eax, dword [0x1400f5950]
je 0x140038e7f
mov rcx, rdi
call fcn.14007f940
test al, al
jne 0x140038e7f
mov ecx, dword [0x1400f5950]
mov r8d, 1
mov edx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne sil
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetFocus]
test rax, rax
je 0x140038ec5
mov rcx, qword [0x1400f1518]
lea rdx, [0x1400be064]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14007d4e0
mov rax, qword [0x1400edaa8]
mov ecx, dword [rax + 0x78]
cmp ecx, 0xffffffff
jle 0x140038ec5
mov edx, 1
call fcn.140001800
test sil, sil
je 0x140038edb
mov ecx, dword [0x1400f5950]
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, 1
jmp 0x140038eec
mov dl, 1
mov rcx, rbx
call fcn.140030e80
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400398e0
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.1400471a0
test rax, rax
je 0x140039926
lea rdx, [0x1400d8b30]
mov rcx, rax
call fcn.14007f320
mov rdi, rax
jmp 0x140039928
xor edi, edi
mov rcx, rbx
call fcn.14000e2e0
mov rcx, rbx
test al, al
je 0x140039944
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.14009d670
jmp 0x140039949
call fcn.14009d1f8
mov rcx, qword [0x1400f5760]
lea r9, [0x1400bdf7c]
mov dword [rsp + 0x68], gethostbyname
mov r8d, eax
mov rdx, rdi
mov dword [rsp + 0x60], 0xffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.14007efe0
Function at 0x14003a8f0
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 [0x1400f5760]
mov qword [rsp + 0x20], rax
call fcn.1400471a0
mov rsi, rax
mov ebp, 1
test rax, rax
je 0x14003a935
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [rax + 1]
jmp 0x14003a937
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.14007d4e0
cmp eax, ebp
je 0x14003a95a
xor eax, eax
jmp 0x14003aa77
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
test rsi, rsi
je 0x14003aa0a
mov qword [rsp + 0x40], r14
call fcn.1400015b0
mov rdx, rax
mov r8d, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [rbx + 0x23], 0
movsxd r14, eax
jne 0x14003a993
mov rsi, qword [rbx + 0x10]
jmp 0x14003a996
mov rsi, rbx
lea rdi, [0x1400f7258]
cmp byte [rsi + 0x23], bpl
jne 0x14003a9b7
test byte [rsi + 0x21], 8
je 0x14003a9b1
mov rcx, rsi
call fcn.140001500
add rsi, 0x10
jmp 0x14003a9ba
mov rsi, rdi
lea rax, [r14 + r14]
mov r14, qword [rsp + 0x40]
mov qword [rsi], rax
cmp byte [rbx + 0x23], 0
jne 0x14003a9d2
mov rsi, qword [rbx + 0x10]
jmp 0x14003a9d5
mov rsi, rbx
cmp byte [rsi + 0x23], bpl
jne 0x14003a9ed
test byte [rsi + 0x21], 8
je 0x14003a9e9
mov rcx, rsi
call fcn.140001500
lea rdi, [rsi + 0x10]
test qword [rdi], 0xfffffffffffffffe
jne 0x14003aa47
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400015b0
xor esi, esi
mov word [rax], si
jmp 0x14003aa47
call fcn.1400015b0
xor esi, esi
mov word [rax], si
cmp byte [rbx + 0x23], sil
jne 0x14003aa20
mov rdi, qword [rbx + 0x10]
jmp 0x14003aa23
mov rdi, rbx
cmp byte [rdi + 0x23], bpl
jne 0x14003aa3d
test byte [rdi + 0x21], 8
je 0x14003aa37
mov rcx, rdi
call fcn.140001500
add rdi, 0x10
jmp 0x14003aa44
lea rdi, [0x1400f7258]
mov qword [rdi], rsi
cmp byte [rbx + 0x23], 0
jne 0x14003aa51
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 2
jne 0x14003aa71
cmp qword [0x1400f6610], 0
je 0x14003aa71
lea rcx, [0x1400f65f8]
call fcn.140004cf0
mov ebp, eax
jmp 0x14003aa75
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