joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014b00
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x2d], 0
mov sil, dl
mov rbx, rcx
jne 0x140014b7c
lea rdi, [rcx + 0x38]
mov rcx, rdi
call fcn.140071904
test eax, eax
jne 0x140014b74
mov r9, rbx
lea r8, [0x140013c10]
lea rdx, str.SELECT__FROM_Win32_ComputerSystem
mov rcx, rdi
call fcn.140071744
mov byte [rbx + 0x2e], al
test al, al
jne 0x140014b57
test sil, sil
je 0x140014b57
mov dword [rbx + 0x28], 7
mov r9, rbx
lea r8, [0x140014140]
lea rdx, str.SELECT__FROM_Win32_VideoController
mov rcx, rdi
call fcn.140071744
mov byte [rbx + 0x2d], 1
mov rcx, rbx
call fcn.140014614
mov al, byte [rbx + 0x2d]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140014cf8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rax, [0x140089038]
mov qword [rcx], rax
xor edi, edi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x20], rdi
mov qword [rcx + 0x28], 7
mov word [rcx + 0x10], di
mov word [rcx + 0x30], 0x100
mov qword [rcx + 0x38], rdi
mov qword [rcx + 0x40], rdi
mov qword [rcx + 0x48], rdi
mov qword [rcx + 0x50], rdi
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140014d93
lea r8, [0x140089058]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e630
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x14001509c
Capabilities:
Get common file path
Identify system language via api
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, str.zWinRes.dll
call fcn.140070140
lea rcx, str.reslib.dll
mov qword [rbx], rax
call fcn.140070140
xor esi, esi
mov qword [rbx + 8], rax
cmp qword [rbx], rsi
je 0x14001523e
test rax, rax
je 0x14001523e
lea rdx, str.ReslibStartupEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14001523e
mov rcx, qword [rbx + 8]
lea rdx, str.ReslibShutdown
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x14001523e
mov rcx, qword [rbx + 8]
lea rdx, str.LoadStringFromRes
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14001523e
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov edi, 0x409
call fcn.140072a1c
mov rcx, rax
call fcn.140072c48
cmp qword [rax + 0x18], 8
jb 0x14001517d
mov rax, qword [rax]
cmp word [rax], si
je 0x140015197
mov r8, rax
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x1400151c9
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400151c9
lea rdx, [0x1400c8380]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [rsp + 0x30], si
je 0x140015219
lea rdx, str.data
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.Zoom.us.ini
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx r8d, ax
lea r9, [rsp + 0x30]
lea rdx, str.com.zoom.client.langid
lea rcx, str.ZoomChat
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov rcx, qword [rbx]
mov edx, edi
mov rax, qword [rbx + 0x10]
call qword [0x140086148]
test al, al
jne 0x14001523e
mov rcx, qword [rbx]
mov edx, 0x409
mov rax, qword [rbx + 0x10]
call qword [0x140086148]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e630
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140018c7c
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140018e1b
cmp ecx, 0x7c
je 0x140018e1b
cmp ecx, 0x29
jne 0x140018cc4
cmp dword [rbx + 0x1c], 0
jne 0x140018e1b
test dword [rbx + 0x80], 0x10000000
je 0x140018e26
jmp 0x140018dc8
cmp ecx, 0x2e
jne 0x140018ce4
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14001b3ac
mov rcx, rbx
call fcn.14001b404
jmp 0x140018e09
cmp ecx, 0x5c
jne 0x140018d48
mov rcx, rbx
call fcn.14001b404
test byte [rbx + 0x80], 0x80
je 0x140018d3b
cmp word [rbx + 0x78], 0x62
jne 0x140018d1c
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14001b3ac
mov rcx, rbx
call fcn.14001b404
jmp 0x140018e11
cmp word [rbx + 0x78], 0x42
jne 0x140018d3b
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14001b3ac
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x140018d0f
mov rcx, rbx
call fcn.140018e60
jmp 0x140018e09
cmp ecx, 0x5b
jne 0x140018d6c
mov rcx, rbx
call fcn.14001b404
mov rcx, rbx
call fcn.140019538
cmp dword [rbx + 0x7c], 0x5d
jne 0x140018e34
jmp 0x140018cd7
cmp ecx, 0x28
jne 0x140018d90
mov rcx, rbx
call fcn.14001b404
mov rcx, rbx
call fcn.14001bb4c
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x140018e26
jmp 0x140018dfc
cmp ecx, 0x5e
jne 0x140018d9d
lea edx, [rcx - 0x5c]
jmp 0x140018d06
cmp ecx, 0x24
jne 0x140018daa
lea edx, [rcx - 0x21]
jmp 0x140018d06
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140018e50
cmp ecx, 0x3f
je 0x140018e50
cmp ecx, 0x7b
je 0x140018e50
cmp ecx, 0x7d
jne 0x140018ddb
test dword [rbx + 0x80], 0x10000000
je 0x140018e42
jmp 0x140018dec
cmp ecx, 0x5d
jne 0x140018dec
test dword [rbx + 0x80], 0x10000000
je 0x140018e34
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1400182b0
mov dil, 1
mov rcx, rbx
call fcn.14001b404
test dil, dil
je 0x140018e11
mov rcx, rbx
call fcn.14001b454
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x140018c8e
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 5
mov rcx, rbx
call fcn.14001a898
int3
mov edx, 4
mov rcx, rbx
call fcn.14001a898
int3
mov edx, 6
mov rcx, rbx
call fcn.14001a898
int3
mov edx, 0xa
mov rcx, rbx
call fcn.14001a898
int3

Function at 0x140027738
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov rsi, r8
call fcn.14006e72c
cmp eax, 0x3e
jl 0x1400277b2
mov rax, qword [rbx + 0x1f8]
mov ecx, dword [rax]
sub ecx, 2
cmp ecx, 1
jbe 0x1400277b2
xor edi, edi
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rdi, rax
test rax, rax
je 0x1400277ae
mov rcx, rax
mov rdx, rsi
mov rax, rbp
call qword [0x140086148]
test eax, eax
je 0x1400277ae
inc ebx
cmp ebx, 0x7d0
jb 0x140027778
mov al, 1
jmp 0x1400277c4
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.USER32.dll_EnumWindows]
cmp eax, 1
sete al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400290e8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, r8
lea rcx, [rsp + 0x230]
mov rdi, rdx
mov r8d, 0x208
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x230]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x140029187
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x140029187
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_wcsstr
lea rcx, [rsp + 0x20]
cmp rax, rcx
jne 0x140029187
mov al, 1
jmp 0x140029189
xor al, al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14007e630
mov rbx, qword [rsp + 0x460]
add rsp, 0x450
pop rdi
ret

Function at 0x140029248
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x230
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rbx, rdx
mov r8d, 0x100
mov rcx, rbx
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x1400292d8
lea rdx, str.button
lea rcx, [rsp + 0x20]
call fcn.14006e1bc
test al, al
je 0x1400292d8
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1400292d8
lea rdx, str.Start
lea rcx, [rsp + 0x20]
call fcn.14006e1bc
test al, al
je 0x1400292d8
mov edx, 4
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, rax
call fcn.14006fd54
jmp 0x1400292da
xor al, al
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14007e630
add rsp, 0x230
pop rbx
ret

Function at 0x1400293bc
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x240], rax
and dword [rsp + 0x20], 0
mov rdi, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [rsp + 0x20]
mov rcx, qword [rbx + 0x1f8]
call fcn.14004bdb4
test al, al
jne 0x14002941c
mov edx, dword [rsp + 0x20]
mov rcx, qword [rbx + 0x1f8]
call fcn.14004bcbc
test al, al
je 0x140029457
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, str.SharePreviewWnd
lea rcx, [rsp + 0x30]
call fcn.14006e1bc
test al, al
jne 0x14002945b
xor al, al
jmp 0x14002945d
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e630
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
Function at 0x1400380a8
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x50], rdi
jne 0x14003823d
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140038239
lea r8, str.Magnification.dll
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x140038239
lea rdx, str.MagInitialize
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x50]
lea rdx, str.MagUninitialize
mov qword [rbx + 0x138], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x50]
lea rdx, str.MagSetColorEffect
mov qword [rbx + 0x140], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x50]
lea rdx, str.MagSetWindowSource
mov qword [rbx + 0x148], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x50]
lea rdx, str.MagSetWindowTransform
mov qword [rbx + 0x150], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x50]
lea rdx, str.MagSetWindowFilterList
mov qword [rbx + 0x160], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x50]
lea rdx, str.MagSetImageScalingCallback
mov qword [rbx + 0x158], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x168], rax
cmp qword [rbx + 0x138], rdi
je 0x140038208
cmp qword [rbx + 0x140], rdi
je 0x140038208
cmp qword [rbx + 0x150], rdi
je 0x140038208
cmp qword [rbx + 0x160], rdi
je 0x140038208
cmp qword [rbx + 0x158], rdi
je 0x140038208
test rax, rax
jne 0x14003823d
mov qword [rbx + 0x138], rdi
mov qword [rbx + 0x140], rdi
mov qword [rbx + 0x148], rdi
mov qword [rbx + 0x168], rdi
mov qword [rbx + 0x158], rdi
mov qword [rbx + 0x160], rdi
mov qword [rbx + 0x150], rdi
xor al, al
jmp 0x14003823f
mov al, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14007e630
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x14003d9dc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov r10d, eax
test eax, eax
je 0x14003da52
mov r8b, byte [rbx + 0x10]
mov r11b, 0x7f
mov r9d, dword [rdi + 0x24]
mov dl, r8b
and dl, r11b
or r8b, 0x80
movzx eax, dl
and r9b, 1
movzx ecx, r8b
cmove ecx, eax
mov byte [rbx + 0x10], cl
mov cl, byte [rbx + 0x11]
mov edx, dword [rdi + 0x24]
mov al, cl
and al, r11b
or cl, 0x80
and dl, 2
movzx eax, al
movzx ecx, cl
cmove ecx, eax
mov al, byte [rbx + 0x12]
mov byte [rbx + 0x11], cl
test byte [rdi + 0x24], 4
je 0x14003da4c
or al, 0x80
jmp 0x14003da4f
and al, r11b
mov byte [rbx + 0x12], al
mov rbx, qword [rsp + 0x30]
mov eax, r10d
add rsp, 0x20
pop rdi
ret

Function at 0x14003da60
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx ebx, dx
call fcn.14003da98
mov rdx, rax
movzx ecx, bx
call qword [sym.imp.USER32.dll_VkKeyScanExW]
movzx edx, ax
mov ecx, 0xff
and dx, cx
xor ecx, ecx
test ax, ax
cmovg cx, dx
movzx eax, cx
add rsp, 0x20
pop rbx
ret

Function at 0x14003da98
Capabilities:
Get keyboard layout

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, eax
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_GetKeyboardLayout]

Function at 0x14003e528
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rcx + 0x24]
xor bl, bl
shr eax, 2
mov rsi, rdx
mov rdi, rcx
test al, 1
je 0x14003e584
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x14003e5f1
and dword [rsp + 0x30], 0
xor r9d, r9d
and qword [rsp + 0x28], 0
mov rcx, rdi
and dword [rsp + 0x20], 0
lea edx, [r9 + 0x20]
lea r8d, [r9 + 0x12]
call int.14003dcec
mov byte [rsi], 1
jmp 0x14003e5ef
mov esi, 0xa4
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x14003e5b9
and dword [rsp + 0x30], 0
xor r9d, r9d
and qword [rsp + 0x28], 0
mov r8d, esi
and dword [rsp + 0x20], 0
mov rcx, rdi
lea edx, [r9 + 0x21]
call int.14003dcec
mov bl, al
mov esi, 0xa5
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x14003e5f1
and dword [rsp + 0x30], 0
xor r9d, r9d
and qword [rsp + 0x28], 0
mov r8d, esi
mov rcx, rdi
mov dword [rsp + 0x20], 1
lea edx, [r9 + 0x21]
call int.14003dcec
mov bl, al
mov rsi, qword [rsp + 0x58]
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14003e604
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rcx + 0x24]
xor bl, bl
shr eax, 1
mov rsi, rdx
mov rdi, rcx
test al, 1
je 0x14003e65f
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x14003e6cc
and dword [rsp + 0x30], 0
xor r9d, r9d
and qword [rsp + 0x28], 0
mov rcx, rdi
and dword [rsp + 0x20], 0
lea edx, [r9 + 0x20]
lea r8d, [r9 + 0x11]
call int.14003dcec
mov byte [rsi], 1
jmp 0x14003e6ca
mov esi, 0xa2
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x14003e694
and dword [rsp + 0x30], 0
xor r9d, r9d
and qword [rsp + 0x28], 0
mov r8d, esi
and dword [rsp + 0x20], 0
mov rcx, rdi
lea edx, [r9 + 0x21]
call int.14003dcec
mov bl, al
mov esi, 0xa3
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x14003e6cc
and dword [rsp + 0x30], 0
xor r9d, r9d
and qword [rsp + 0x28], 0
mov r8d, esi
mov rcx, rdi
mov dword [rsp + 0x20], 1
lea edx, [r9 + 0x21]
call int.14003dcec
mov bl, al
mov rsi, qword [rsp + 0x58]
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14003e6e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor bl, bl
mov rsi, rdx
test byte [rcx + 0x24], 1
mov rdi, rcx
je 0x14003e738
mov ecx, reloc.zCrashReport64.dll_Ordinal_16
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x14003e7a0
and dword [rsp + 0x30], 0
xor r9d, r9d
and qword [rsp + 0x28], 0
mov rcx, rdi
and dword [rsp + 0x20], 0
lea edx, [r9 + 0x20]
lea r8d, [r9 + 0x10]
call int.14003dcec
mov byte [rsi], 1
jmp 0x14003e79e
mov esi, 0xa0
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x14003e76c
and dword [rsp + 0x30], 0
lea edx, [rsi - 0x7f]
and qword [rsp + 0x28], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
mov r8d, esi
mov rcx, rdi
call int.14003dcec
mov bl, al
mov esi, 0xa1
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x14003e7a0
and dword [rsp + 0x30], 0
lea edx, [rsi - 0x80]
and qword [rsp + 0x28], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
mov r8d, esi
mov rcx, rdi
call int.14003dcec
mov bl, al
mov rsi, qword [rsp + 0x58]
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14003e7b4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0x40
mov eax, dword [rcx + 0x24]
xor dil, dil
shr eax, 4
mov rsi, rcx
mov r14, rdx
mov ecx, 0x5b
test al, 1
je 0x14003e829
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x14003e898
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x14003e898
and dword [rsp + 0x30], 0
xor r9d, r9d
and qword [rsp + 0x28], 0
mov rcx, rsi
mov dword [rsp + 0x20], 1
lea edx, [r9 + 0x20]
lea r8d, [r9 + 0x5b]
call int.14003dcec
mov byte [r14], 1
jmp 0x14003e895
call qword [sym.imp.USER32.dll_GetKeyState]
mov r14d, 0x21
test al, al
jns 0x14003e861
and dword [rsp + 0x30], 0
lea r8d, [r14 + 0x3a]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov edx, r14d
mov dword [rsp + 0x20], 1
mov rcx, rsi
call int.14003dcec
mov dil, al
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x14003e898
and dword [rsp + 0x30], 0
xor r9d, r9d
and qword [rsp + 0x28], 0
mov edx, r14d
mov rcx, rsi
mov dword [rsp + 0x20], 1
lea r8d, [r9 + 0x5c]
call int.14003dcec
mov dil, al
mov rsi, qword [rsp + 0x50]
mov al, dil
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop r14
ret

Function at 0x140041bf8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov sil, dl
mov rbx, rcx
call fcn.1400149a8
cmp byte [rax + 0x2f], 0
je 0x140041c2b
cmp byte [rbx + 0x6a4], 0
jne 0x140041c2b
mov al, 1
jmp 0x140041cac
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1400e272c]
cmp eax, edi
jb 0x140041caa
mov dl, sil
mov rcx, rbx
call fcn.1400418d4
mov dil, al
test al, al
jne 0x140041c8d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1400e2730]
cmp eax, 0x7d0
jb 0x140041c99
mov eax, dword [0x1400db538]
lea rdx, [rsp + 0x48]
sub eax, dword [rbx + 0x130]
mov rcx, rbx
mov dword [rsp + 0x48], eax
mov eax, dword [0x1400db53c]
sub eax, dword [rbx + 0x134]
mov dword [rsp + 0x4c], eax
call fcn.1400448c4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400e2730], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400e272c], eax
mov al, dil
jmp 0x140041cac
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14004b484
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x440
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbp, rdx
mov r8d, 0x80
mov rcx, rbp
lea rdx, [r11 - 0x338]
call qword [sym.imp.USER32.dll_GetClassNameW]
xor r14d, r14d
test eax, eax
je 0x14004b5b2
mov edi, r14d
lea rbx, [0x14008be40]
lea r15, [0x14008bdc0]
movsxd rax, edi
lea rdx, [r15 + 0x40]
lea rcx, [rsp + 0x120]
lea rsi, [rax + rax*2]
shl rsi, 6
add rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14004b5a0
cmp word [rbx - 0x80], r14w
je 0x14004b5e1
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x80
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsi + r15]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14004b5a0
cmp word [rbx], r14w
je 0x14004b5e1
mov r8d, 0x104
lea rdx, [rsp + 0x220]
mov rcx, rbp
call fcn.14006f2f8
test al, al
je 0x14004b5a0
lea rcx, [rsp + 0x220]
call qword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea rcx, [r15 + 0x80]
add rcx, rsi
lea rdx, [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14004b5e1
inc edi
add rbx, 0xc0
cmp edi, 0xa
jb 0x14004b4e6
xor al, al
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14007e630
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov al, 1
jmp 0x14004b5b4
Function at 0x140062634
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rsi, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x14006267e
lea rax, [rdi - 0x40000000]
cmp rsi, rax
cmovb rsi, rax
mov rbx, qword [0x1400e3ae0]
lea r15, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r15
cmovbe r15, qword [rbp - 0x50]
sub r15, 0xfff
test rbx, rbx
je 0x1400626bb
cmp rbx, rsi
jb 0x1400626b6
cmp rbx, r15
jae 0x1400626b6
cmp qword [rbx + 8], 0
jne 0x140062817
mov rbx, qword [rbx]
jmp 0x14006269c
mov r14, rdi
cmp rdi, rsi
jb 0x14006273f
mov r12d, dword [rbp - 0x38]
xor edx, edx
mov rax, r14
div r12
sub r14, rdx
sub r14, r12
cmp r14, rsi
jb 0x140062736
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140062736
cmp dword [rbp - 0x10], 0x10000
je 0x140062706
mov r14, qword [rbp - 0x28]
cmp r14, r12
jb 0x140062736
jmp 0x1400626d2
test r14, r14
je 0x140062736
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1400627d7
cmp r14, rsi
jae 0x1400626c3
test rbx, rbx
jne 0x1400627d7
cmp rdi, r15
ja 0x140062817
mov r14d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov esi, r14d
div r14
mov eax, r14d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x140062817
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140062817
cmp dword [rbp - 0x10], 0x10000
je 0x1400627ad
xor edx, edx
lea edi, [r14 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div rsi
sub rdi, rdx
cmp rdi, r15
jmp 0x140062766
test rdi, rdi
je 0x140062817
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x140062739
and qword [rbx + 8], 0
lea rcx, [rbx + 0x40]
and dword [rbx + 0x10], 0
mov rdx, rcx
sub rdx, rbx
mov rax, qword [rbx + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rbx + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x1400627ea
mov rax, qword [0x1400e3ae0]
mov qword [rbx], rax
mov qword [0x1400e3ae0], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret