joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140045a90
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rdx
mov r8d, 7
mov qword [rsp + 0x40], r8
xor edi, edi
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
mov rax, rdx
sub rax, 1
je 0x140045b5e
cmp rax, 4
jne 0x140045c14
lea rbx, [rcx + 0x3dc8]
lea edx, [rdi + 1]
mov rcx, rbx
call fcn.14010ad10
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x140045b6f
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.14018f1e0
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x50], di
je 0x140045b4a
lea rax, [rsp + 0x50]
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140045b40
mov r8, rdi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140003290
jmp 0x140045b6f
add rcx, 0x3dc8
lea rdx, [rsp + 0x28]
call fcn.14010ac10
cmp qword [rsp + 0x38], 0
je 0x140045c0f
lea rdx, [0x14027aa10]
lea rcx, [0x140279e70]
call fcn.1400805d0
test rax, rax
je 0x140045be7
lea rbx, [rax + 0xd8]
test rbx, rbx
je 0x140045be7
lea rcx, [rsp + 0x28]
call fcn.14013b640
movss xmm1, dword [rbx + 0x68]
ucomiss xmm1, xmm0
jp 0x140045bb5
je 0x140045be7
movss xmm1, dword [0x140212ff4]
maxss xmm1, xmm0
movss xmm0, dword [0x1402132ac]
minss xmm0, xmm1
movss dword [rbx + 0x68], xmm0
mov qword [0x140278e90], 8
mov dword [0x14026fc14], 2
sub rsi, 1
je 0x140045bf3
cmp rsi, 8
jne 0x140045c0f
mov rcx, qword [0x1402791e8]
add rcx, 0xb8
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xbec
call qword [rax + 0x58]
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x140045c2c
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140003900
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140185a60
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14004a980
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rbx, [rcx + 0x100]
mov rdi, rdx
mov rcx, rbx
call fcn.140102330
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, 0xff00
test si, ax
je 0x14004aa1b
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x14004aa1b
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x14004aa1b
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test si, ax
jne 0x14004aa1b
mov rcx, qword [0x1402791e8]
mov r8, rdi
add rcx, 0xb8
mov edx, 0xc25
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
mov rcx, qword [0x1402791e8]
mov r8, rdi
add rcx, 0xb8
mov edx, 0xc27
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x58]
Function at 0x140051560
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp edx, 9
je 0x140051584
mov eax, 1
cmp edx, 0xd
jne 0x1400515b6
mov byte [rcx + 0x189], al
add rsp, 0x20
pop rbx
ret
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov rcx, rbx
je 0x1400515ac
call fcn.140050600
mov eax, 1
add rsp, 0x20
pop rbx
ret
call fcn.140050500
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140051d00
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov r8d, 0x24
lea rdx, str.00000000_0000_0000_0000_000000000000
add rcx, 0xf8
call fcn.140003290
mov dl, 1
mov rcx, rdi
call fcn.14004ffe0
mov qword [rsp + 0x40], 7
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
lea rsi, [rdi + 0x2a0]
cmp qword [rsi + 8], rbx
je 0x140051dce
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.14018f1e0
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x50], bx
je 0x140051dbc
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140051db2
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140003290
test rsi, rsi
je 0x140051de8
lea r9, [rsp + 0x28]
mov r8, rsi
mov edx, 0x1004
mov rcx, rdi
call fcn.140050c50
lea rdx, [rsp + 0x28]
lea rcx, [0x140279c98]
call fcn.14007d610
test al, al
je 0x140051e1b
lea rdx, [rsp + 0x28]
lea rcx, [0x140279c98]
call fcn.14007d2e0
mov rdx, rax
mov rcx, rdi
call fcn.140050120
jmp 0x140051e3e
mov r8d, 0x24
lea rdx, str.00000000_0000_0000_0000_000000000000
lea rcx, [rdi + 0xf8]
call fcn.140003290
mov dl, 1
mov rcx, rdi
call fcn.14004ffe0
mov rcx, rdi
call fcn.1400503a0
mov rcx, rdi
call fcn.140050430
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x140051e6c
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140003900
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140185a60
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140051f30
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
cmp qword [rcx + 0x160], 0
je 0x140052085
add rcx, 0x118
mov r8d, 0x24
lea rdx, str.00000000_0000_0000_0000_000000000000
call fcn.140003290
mov rcx, rdi
call fcn.140050090
mov qword [rsp + 0x40], 7
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
lea rsi, [rdi + 0x5d0]
cmp qword [rsi + 8], rbx
je 0x14005200c
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.14018f1e0
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x50], bx
je 0x140051ffa
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140051ff0
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140003290
test rsi, rsi
je 0x140052026
lea r9, [rsp + 0x28]
mov r8, rsi
mov edx, 0x100a
mov rcx, rdi
call fcn.140050c50
lea rdx, [rsp + 0x28]
mov rcx, qword [rdi + 0x160]
call fcn.14007c000
test al, al
je 0x140052057
lea rdx, [rsp + 0x28]
mov rcx, qword [rdi + 0x160]
call fcn.14007be60
mov rdx, rax
mov rcx, rdi
call fcn.140050210
mov rcx, rdi
call fcn.1400503a0
mov rcx, rdi
call fcn.140050430
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x140052085
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140003900
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140185a60
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400573f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx + 0xe8], 0
mov rdi, rcx
je 0x1400575c2
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
call fcn.140101060
mov rax, qword [rdi]
lea rcx, vtable.CViewGraph.0
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x20], xmm0
mov r8, qword [rax + 0x390]
cmp rax, rcx
jne 0x1400575d5
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rax, qword [rdi + 0xe8]
test rax, rax
je 0x140057475
mov ecx, dword [rax + 0x124]
mov eax, dword [rsp + 0x24]
inc eax
add ecx, eax
mov dword [rsp + 0x24], ecx
xor esi, esi
cmp dword [0x140279940], 2
jne 0x1400574a2
mov rax, qword [0x140279cc8]
sub rax, qword [0x140279cc0]
test rax, 0xfffffffffffffff8
je 0x1400574a2
cmp byte [0x140279672], sil
lea eax, [rsi + 1]
jne 0x1400574a4
mov eax, esi
lea r8, [rdi + 0x760]
movzx edx, al
lea r9, [rdi + 0x9f0]
lea rcx, [rsp + 0x20]
call fcn.140019770
mov r8d, dword [rsp + 0x2c]
sub r8d, dword [rdi + 0x9f0]
mov rcx, qword [rdi + 0xe8]
mov dword [rsp + 0x2c], r8d
test rcx, rcx
je 0x140057516
mov esi, dword [rcx + 0x124]
mov eax, r8d
sub eax, dword [rsp + 0x24]
inc esi
cdq
sub eax, edx
sar eax, 1
add esi, eax
cmp dword [0x140279940], 3
jne 0x140057500
mov esi, r8d
jmp 0x140057516
cmp byte [0x14027961a], 0
jne 0x140057516
cmp byte [0x14027961b], 0
jne 0x140057516
lea esi, [r8 - 0x25]
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rax, qword [rdi + 0x100]
lea rcx, [rdi + 0x100]
movdqa xmmword [rsp + 0x30], xmm0
xor r8d, r8d
mov dword [rsp + 0x3c], esi
call qword [rax + 0x30]
mov rax, qword [rdi + 0x100]
lea rcx, [rdi + 0x100]
call qword [rax + 0x3d8]
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rax, qword [rdi + 0x3f8]
lea rcx, [rdi + 0x3f8]
movdqa xmmword [rsp + 0x40], xmm0
xor r8d, r8d
mov dword [rsp + 0x44], esi
call qword [rax + 0x30]
lea rcx, [rdi + 0x3f8]
call fcn.140058b40
mov rbx, qword [rdi + 8]
lea rdx, [rsp + 0x50]
xorps xmm0, xmm0
mov rcx, rbx
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x70
pop rdi
ret
mov rcx, rdi
call r8
jmp 0x140057475
Function at 0x140057af0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp qword [rcx + 0x100], 0
mov rdi, rdx
mov rsi, rcx
jne 0x140057b1d
xor al, al
jmp 0x140057b95
mov ecx, InitCommonControls
mov qword [rsp + 0x58], rbx
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, reloc.COMCTL32.dll_InitCommonControls
shr ebx, 0xf
and bl, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [rsi + 0x100]
movzx r8d, bl
shr eax, 0xf
mov rdx, rdi
and al, 1
movzx r9d, al
call fcn.14014bce0
mov rbx, qword [rsi + 8]
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov rcx, rbx
movdqu xmmword [rsp + 0x20], xmm0
movzx edi, al
call qword [sym.imp.USER32.dll_GetClientRect]
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rbx, qword [rsp + 0x58]
movzx eax, dil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140185a60
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140057bb0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x100], 0
mov rbx, rcx
je 0x140057c74
mov ecx, InitCommonControls
mov qword [rsp + 0x30], rdi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
mov ecx, reloc.COMCTL32.dll_InitCommonControls
shr edi, 0xf
and dil, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [rbx + 0x100]
movzx r8d, dil
shr eax, 0xf
and al, 1
cmp dword [0x140278eb8], 0
movzx r9d, al
je 0x140057c0d
xor edx, edx
jmp 0x140057c0f
mov dl, 1
call fcn.14014bbe0
mov rdi, qword [rsp + 0x30]
test al, al
je 0x140057c74
mov rax, qword [rbx + 0x100]
lea rcx, vtable.CCourseGraph.0
mov rdx, qword [rax + 0x108]
mov rax, qword [rbx]
cmp rax, rcx
jne 0x140057c7a
mov rcx, qword [0x1402791e8]
mov r8, rdx
add rcx, 0xb8
mov edx, 0xb8c
mov rax, qword [rcx]
call qword [rax + 0x58]
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140103ff0
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140103ff0
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call qword [rax + 0x420]
jmp 0x140057c65
Function at 0x140057c90
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x100], 0
mov rbx, rcx
je 0x140057d54
mov ecx, InitCommonControls
mov qword [rsp + 0x30], rdi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
mov ecx, reloc.COMCTL32.dll_InitCommonControls
shr edi, 0xf
and dil, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [rbx + 0x100]
movzx r8d, dil
shr eax, 0xf
and al, 1
cmp dword [0x140278eb8], 0
movzx r9d, al
je 0x140057ced
mov dl, 1
jmp 0x140057cef
xor edx, edx
call fcn.14014bbe0
mov rdi, qword [rsp + 0x30]
test al, al
je 0x140057d54
mov rax, qword [rbx + 0x100]
lea rcx, vtable.CCourseGraph.0
mov rdx, qword [rax + 0x108]
mov rax, qword [rbx]
cmp rax, rcx
jne 0x140057d5a
mov rcx, qword [0x1402791e8]
mov r8, rdx
add rcx, 0xb8
mov edx, 0xb8c
mov rax, qword [rcx]
call qword [rax + 0x58]
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140103ff0
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140103ff0
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call qword [rax + 0x420]
jmp 0x140057d45

Function at 0x140058500
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp edx, 9
jne 0x140058545
lea ecx, [rdx + 8]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140058563
mov rcx, qword [0x1402791e8]
mov edx, 0xa2f
add rcx, 0xb8
mov r8d, 3
mov rax, qword [rcx]
call qword [rax + 0x58]
mov eax, 1
add rsp, 0x28
ret
cmp edx, 0x27
jne 0x140058559
call fcn.140057bb0
mov eax, 1
add rsp, 0x28
ret
cmp edx, 0x25
jne 0x140058563
call fcn.140057c90
mov eax, 1
add rsp, 0x28
ret
Function at 0x14005b8c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
cmp edx, 0xd
jne 0x14005b8e8
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14005b8e8
call qword [sym.imp.USER32.dll_SetFocus]
call fcn.14009fda0
cmp eax, 1
jne 0x14005b92b
cmp edi, 9
jne 0x14005b92b
call qword [sym.imp.USER32.dll_GetFocus]
cmp qword [rbx + 0x218], rax
jne 0x14005b90f
lea rcx, [rbx + 0x418]
jmp 0x14005b925
call qword [sym.imp.USER32.dll_GetFocus]
cmp qword [rbx + 0x420], rax
jne 0x14005b92b
lea rcx, [rbx + 0x210]
mov rax, qword [rcx]
call qword [rax + 0x58]
call fcn.14009fda0
mov esi, 0x8000
cmp eax, 2
jne 0x14005b999
cmp edi, 9
jne 0x14005b999
lea ecx, [rax + 0xe]
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
jne 0x14005b999
call qword [sym.imp.USER32.dll_GetFocus]
cmp qword [rbx + 0x868], rax
jne 0x14005b965
lea rcx, [rbx + 0xa68]
jmp 0x14005b993
call qword [sym.imp.USER32.dll_GetFocus]
cmp qword [rbx + 0xa70], rax
jne 0x14005b97d
lea rcx, [rbx + 0xb60]
jmp 0x14005b993
call qword [sym.imp.USER32.dll_GetFocus]
cmp qword [rbx + 0xb68], rax
jne 0x14005b999
lea rcx, [rbx + 0x860]
mov rax, qword [rcx]
call qword [rax + 0x58]
call fcn.14009fda0
cmp eax, 2
jne 0x14005ba14
cmp edi, 9
jne 0x14005ba48
lea ecx, [rax + 0xe]
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x14005ba19
call qword [sym.imp.USER32.dll_GetFocus]
cmp qword [rbx + 0x868], rax
jne 0x14005b9d8
lea rcx, [rbx + 0xb60]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x14005ba19
call qword [sym.imp.USER32.dll_GetFocus]
cmp qword [rbx + 0xa70], rax
jne 0x14005b9f6
lea rcx, [rbx + 0x860]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x14005ba19
call qword [sym.imp.USER32.dll_GetFocus]
cmp qword [rbx + 0xb68], rax
jne 0x14005ba19
lea rcx, [rbx + 0xa68]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x14005ba19
cmp edi, 9
jne 0x14005ba48
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x14005ba48
mov rcx, qword [0x1402791e8]
mov edx, 0xa2f
add rcx, 0xb8
mov r8d, 2
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14005d700
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140279548]
call fcn.14013c930
test al, al
jne 0x14005d80d
lea rcx, [0x140279568]
call fcn.14013c930
test al, al
jne 0x14005d80d
cmp byte [0x140279675], al
jne 0x14005d73e
call fcn.140018330
lea rcx, [rbx + 0x120]
call fcn.14005feb0
lea rcx, [rbx + 0x68]
xor edx, edx
call fcn.14005e560
cmp byte [rbx + 0x99], 0
jne 0x14005d776
cmp qword [0x140279f30], 0
je 0x14005d776
cmp dword [0x1402794b8], 0
jle 0x14005d776
call fcn.1400b0200
call fcn.140086f50
mov r8d, 0x24
lea rdx, str.00000000_0000_0000_0000_000000000000
lea rcx, [0x14027aad0]
call fcn.140003290
mov r8d, 0x24
lea rdx, str.00000000_0000_0000_0000_000000000000
lea rcx, [0x14027aaf0]
call fcn.140003290
mov rax, qword [0x14027ab18]
lea rdx, str.00000000_0000_0000_0000_000000000000
mov r8d, 0x24
mov qword [0x14027ab20], rax
lea rcx, [0x14027aa10]
call fcn.140003290
or eax, 0xffffffff
mov byte [0x14026fc1a], 0xff
mov word [0x14026fc18], ax
lea rcx, [0x140279c98]
mov rax, qword [0x14027aa38]
mov qword [0x14027aa40], rax
call fcn.14007d830
test al, al
jne 0x14005d80d
add rsp, 0x20
pop rbx
jmp fcn.14006e030
add rsp, 0x20
pop rbx
ret
Function at 0x14005dec0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140088e80
lea rcx, [rsp + 0x38]
mov byte [rsp + 0x38], 0
call fcn.14006d3c0
test al, al
je 0x14005df83
cmp byte [rsp + 0x38], 0
je 0x14005df83
mov rcx, qword [0x1402791e8]
xor r8d, r8d
add rcx, 0xb8
mov qword [rsp + 0x30], rsi
mov edx, 0xb29
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [0x1402791e8]
xor r8d, r8d
add rcx, 0xb8
mov edx, 0xa32
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rsi, qword [rdi + 8]
test rsi, rsi
je 0x14005df73
mov rax, qword [0x14027a3d0]
lea rbx, [0x14027a3d0]
mov rcx, rbx
call qword [rax + 8]
test rax, rax
lea rcx, [0x14027a328]
cmove rbx, rcx
mov rcx, rsi
mov rdx, rbx
call fcn.14003d070
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x3d8]
mov rsi, qword [rsp + 0x30]
mov word [0x14027a570], 0
jmp 0x14005df90
call fcn.140089a30
mov rcx, rdi
call fcn.14005dff0
lea rcx, [0x1402792b0]
call fcn.14013c930
test al, al
jne 0x14005dfd1
call fcn.140088d60
call fcn.1400d9540
mov rbx, rax
test rax, rax
je 0x14005dfcc
mov r8, rax
mov edx, 1
call fcn.140002870
mov r8, rbx
mov edx, 2
call fcn.140002870
call fcn.14005e900
mov dl, 1
mov rcx, rdi
call fcn.14005e2a0
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14005e200

Function at 0x14005e200
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rdi, rcx
je 0x14005e28c
mov ecx, 0x14
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 0
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, 0x90
setne bl
call qword [sym.imp.USER32.dll_GetKeyState]
lea r8, [rsp + 0x30]
movzx edx, bl
test ax, ax
setne cl
call fcn.14008a530
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x18]
test al, al
je 0x14005e26d
mov rdx, qword [rsp + 0x30]
add rcx, 0x3a0
call fcn.140033360
jmp 0x14005e272
call fcn.14002feb0
mov rcx, qword [0x14027a4f0]
test rcx, rcx
je 0x14005e28c
add rcx, 0x28
add rsp, 0x20
pop rdi
jmp fcn.140158e00
add rsp, 0x20
pop rdi
ret
Function at 0x140063430
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov ebx, edx
mov rsi, rcx
call fcn.140064670
mov edx, ebx
mov rcx, rsi
call fcn.140064550
mov r8d, ebx
sub r8d, 1
je 0x14006348a
mov rdx, qword [0x140278e80]
add rdx, 0x2b0
cmp r8d, 4
mov r8, qword [0x1402791e8]
je 0x14006347e
mov ecx, 1
call fcn.140030d50
jmp 0x1400634b6
mov ecx, 7
call fcn.140030d50
jmp 0x1400634b6
mov qword [rsp + 0x30], rdi
mov rdi, qword [0x1402791e8]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400634b1
call qword [sym.imp.USER32.dll_DestroyAcceleratorTable]
test eax, eax
je 0x1400634b1
mov qword [rdi + 0x10], 0
mov rdi, qword [rsp + 0x30]
mov edx, ebx
mov rcx, rsi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
jmp fcn.140017d80

Function at 0x140063620
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x28
lea rcx, [0x140279568]
call fcn.14013c930
test al, al
je 0x14006363d
add rsp, 0x28
jmp fcn.14006e030
add rsp, 0x28
ret

Function at 0x1400650d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rbx, rcx
je 0x14006514f
xor edx, edx
call fcn.140064ca0
cmp qword [rbx + 0x10], 0
je 0x140065125
cmp qword [rbx + 0x38], 0
je 0x140065125
mov rcx, rbx
call fcn.140065900
mov rcx, rbx
call fcn.140065470
mov rcx, rbx
call fcn.1400656e0
mov rcx, rbx
call fcn.140065aa0
mov rcx, rbx
call fcn.140065540
mov rcx, rbx
call fcn.140065610
mov rcx, rbx
call fcn.1400659a0
mov rcx, rbx
call fcn.1400659a0
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0xe8]
test rcx, rcx
je 0x14006514f
add rsp, 0x20
pop rbx
jmp fcn.14010cc20
add rsp, 0x20
pop rbx
ret

Function at 0x140065160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x20], 0
mov rbx, rcx
je 0x14006518f
call fcn.140065540
mov rax, qword [rbx + 0x20]
mov rcx, qword [rax + 0xe8]
test rcx, rcx
je 0x14006518f
add rsp, 0x20
pop rbx
jmp fcn.14010cc20
add rsp, 0x20
pop rbx
ret

Function at 0x1400651a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x20], 0
mov rbx, rcx
je 0x1400651d7
call fcn.140065610
mov rcx, rbx
call fcn.1400659a0
mov rax, qword [rbx + 0x20]
mov rcx, qword [rax + 0xe8]
test rcx, rcx
je 0x1400651d7
add rsp, 0x20
pop rbx
jmp fcn.14010cc20
add rsp, 0x20
pop rbx
ret
Function at 0x14006e030
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1d8]
sub rsp, 0x2d0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov qword [rsp + 0x38], 7
xor esi, esi
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
lea r8d, [rsi + 0xd]
lea rdx, str.Administrator
lea rcx, [rsp + 0x20]
call fcn.140003290
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x140279c98]
call fcn.14007d2e0
mov rbx, rax
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x14006e0c4
inc r8
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140003900
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
test rbx, rbx
jne 0x14006e0fc
call fcn.14006e290
mov rbx, rax
mov rcx, rax
call fcn.14006f6d0
test eax, eax
je 0x14006e0fc
cmp eax, 0xa
je 0x14006e0fc
xor al, al
jmp 0x14006e260
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
mov dword [rsp + 0x68], 0x104
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.14018f1e0
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14006e171
cmp word [rbp - 0x50], 0
jne 0x14006e155
mov r8, rsi
jmp 0x14006e16b
lea rax, [rbp - 0x50]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14006e160
lea rdx, [rbp - 0x50]
jmp 0x14006e17e
mov r8d, 5
lea rdx, str.Guest
lea rcx, [rsp + 0x70]
call fcn.140003290
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
xor r8d, r8d
lea rdx, [0x140201084]
lea rcx, [rsp + 0x40]
call fcn.140003290
nop
mov r9b, 1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.14007b690
mov rdi, rax
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x14006e1e5
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140003900
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
test rdi, rdi
je 0x14006e23f
add rbx, 0x20
lea rdx, [rdi + 8]
mov rcx, rbx
call fcn.14006da70
mov rdx, rdi
mov rcx, rbx
call fcn.140070af0
test eax, eax
jne 0x14006e23f
mov r9b, 1
lea r8, [0x1402792a8]
lea rdx, [rdi + 8]
mov rcx, rbx
call fcn.1400dd510
test eax, eax
je 0x14006e23b
cmp eax, 0xa
jne 0x14006e23f
mov bl, 1
jmp 0x14006e241
xor bl, bl
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x14006e25d
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.140003900
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140185a60
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret