joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400588f0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x140058a86
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.14020f7cc
movaps xmm6, xmmword [0x1402825c0]
lea r14, [rsp + 0x80]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str.....chromium_base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x51
call fcn.1401bdb50
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1401b2b30
xorps xmm0, xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov dword [r15 + 0x30], 0
mov rcx, rbx
call fcn.14020f7a4
mov ecx, eax
call fcn.14021013c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140058a77
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov r14d, 0xffff
cmovg r14, rax
cmp r14, rdi
cmovae r14, rdi
inc r14
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm6
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov r8, r14
call qword [0x14030c820]
xor r13d, r13d
mov ebp, 0x10000
lea r15, [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
add rcx, r13
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.14021a59c
test rax, rax
je 0x140058a8d
mov r12, rax
mov rax, rdi
sub rax, r13
cmp rax, r12
jb 0x140058a82
add r12, r13
mov rcx, rbx
call fcn.140219d88
test eax, eax
jne 0x140058a8a
test r13, r13
cmove r14, rbp
lea r8, [r12 + r14]
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov rcx, r15
call qword [0x14030c820]
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x30], xmm0
mov r13, r12
jmp 0x140058a13
mov r14d, 0xffff
jmp 0x1400589e4
xor ebx, ebx
jmp 0x140058a9d
xor ebx, ebx
jmp 0x140058abf
mov r13, r12
mov rcx, rbx
call fcn.140219db4
test eax, eax
sete bl
mov rdi, r13
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x20]
mov r8, rdi
call qword [0x14030c820]
lea rcx, [rsp + 0x80]
call fcn.1401b2bb0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401f08b0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140063c40
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140063e00
mov eax, dword [rsi]
mov dword [reloc.WS2_32.dll_accept], eax
mov bl, 1
test al, 1
jne 0x140063c87
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401f08b0
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x14032f540]
test rcx, rcx
je 0x140063cb5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14032f540], 0
cmp qword [0x14032f548], 0
jne 0x140063cb5
and byte [reloc.WS2_32.dll_accept], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x140063cde
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x140063ccc
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x140063d57
mov qword [0x14032f540], rax
jmp 0x140063c6e
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x140063cec
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140063da6
lea rdi, [rsi + 8]
mov rcx, qword [0x14032f548]
test rcx, rcx
jne 0x140063d27
mov ecx, 0x18
call fcn.1401ef3e0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14032f548], rax
mov rdx, rdi
call fcn.1401a5950
cmp dword [rsi + 0x24], 0
jne 0x140063d4b
mov rcx, qword [0x14032f548]
cmp byte [rcx + 0x17], 0
jns 0x140063d45
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140063f40
mov ebx, eax
jmp 0x140063c6e
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str.....chromium_baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x232
call fcn.1401bdb50
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.1402544b0
mov rcx, r14
call fcn.1402546c0
mov rax, qword [rsi + 0x28]
jmp 0x140063cd5
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str.....chromium_baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x238
call fcn.1401bdb50
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.1402544b0
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov rcx, rbx
call fcn.140252120
mov rcx, rbx
call fcn.1402546c0
jmp 0x140063cf5
Function at 0x140069e10
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14032f658]
test rdi, rdi
jne 0x140069ec3
mov ecx, 0x50
call fcn.1401ef3e0
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1401ef3e0
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140069ee5
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x14032f658], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140069ee5
mov rcx, rax
call fcn.14021cf84
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140069ef0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401f08b0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
ud2
Function at 0x14006f4d0
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov r8, qword [rcx]
lea rcx, [0x14006f500]
xor edx, edx
call fcn.14020b648
test rax, rax
je 0x14006f4fb
mov qword [rsi], 0
add rsp, 0x20
pop rsi
ret
int3
Function at 0x14006fa90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1d0
movaps xmmword [rsp + 0x1c0], xmm6
mov rsi, rcx
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
cmp byte [0x14032f71c], 1
jne 0x14006fb3d
call fcn.1401c02b0
mov rdi, rax
lea rbx, str.vivaldi_install_dir
mov rcx, rax
mov rdx, rbx
call fcn.1401c02c0
test al, al
je 0x14006fb3d
lea r14, [rsp + 0x1a8]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14021ccd0
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.14006a990
lea rcx, [0x14029fb10]
lea rdi, [rsp + 0x198]
mov qword [rdi], rcx
call fcn.14021cf84
mov qword [rdi + 8], rax
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.1401bf380
mov rcx, rbx
jmp 0x14006fc31
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x180]
mov qword [rdi + 0x10], r15
movaps xmm6, xmmword [0x1402825c0]
movaps xmmword [rdi], xmm6
call fcn.14006f800
mov rcx, rdi
mov rdx, rax
call fcn.1401be780
cmp byte [0x14032f71c], 1
jne 0x14006fc19
lea rbx, [rsp + 0x180]
lea rdi, [rsp + 0x160]
mov rcx, rbx
mov rdx, rdi
call fcn.1401be910
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.1401be910
mov rcx, rbx
mov rdx, r14
call fcn.140067bb0
mov rcx, r14
call fcn.1401be900
mov rcx, rdi
call fcn.1401be900
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
lea rcx, str.vivaldi.exe
lea r14, [rsp + 0x150]
mov qword [r14], rcx
call fcn.14021cf84
mov qword [r14 + 8], rax
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call fcn.1401bf380
cmp byte [rdi + 0x17], 0
jns 0x14006fbfe
mov rdi, qword [rsp + 0x160]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006fc60
lea rcx, [rsp + 0x160]
call fcn.1401be900
lea rdx, [rsp + 0x180]
mov rcx, rsi
call fcn.140067b30
lea rcx, [rsp + 0x180]
call fcn.1401be900
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1401f08b0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x1c0]
add rsp, 0x1d0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 2
call fcn.1401bd3c0
test al, al
je 0x14006fcbd
lea rdx, str.....installerutil_vivaldi_install_util.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0xa7
mov r9d, 2
call fcn.140064570
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x160]
call fcn.140253580
lea rdx, str._does_not_exist
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov rcx, rax
call fcn.14019aea0
mov rcx, rdi
call fcn.140064b40
mov rcx, rsi
call fcn.1401be760
lea rcx, [rsp + 0x160]
call fcn.1401be900
jmp 0x14006fc29
Function at 0x14006fce0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x48], rax
movsx rax, byte [rdx + 0x17]
test rax, rax
jns 0x14006fd13
mov rax, qword [rdi + 8]
test rax, rax
jne 0x14006fd38
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.14006fa90
mov rcx, rdi
mov rdx, rbx
call fcn.140067bb0
mov rcx, rbx
call fcn.1401be900
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], r15
movaps xmm6, xmmword [0x1402825c0]
movaps xmmword [rbx], xmm6
lea rcx, str.new_vivaldi.exe
lea r14, [rsp + 0x20]
mov qword [r14], rcx
call fcn.14021cf84
mov qword [r14 + 8], rax
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.1401bf380
cmp byte [rbx + 0x17], 0
jns 0x14006fd86
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006fdc0
mov qword [rsi + 0x10], r15
movups xmmword [rsi], xmm6
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14006fe90
mov rcx, rsi
call fcn.140059130
test al, al
jne 0x14006fe4f
mov rcx, rsi
call fcn.140058d50
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1401be900
mov qword [rbx + 0x10], r15
movaps xmmword [rbx], xmm6
lea rcx, str.vivaldi.exe
lea r14, [rsp + 0x20]
mov qword [r14], rcx
call fcn.14021cf84
mov qword [r14 + 8], rax
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.1401bf380
cmp byte [rbx + 0x17], 0
jns 0x14006fe05
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006fe3b
mov qword [rsi + 0x10], r15
movups xmmword [rsi], xmm6
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14006fe90
mov rcx, rsi
call fcn.140059130
test al, al
jne 0x14006fe4f
mov rcx, rsi
call fcn.140058d50
lea rcx, [rsp + 0x30]
call fcn.1401be900
mov rcx, rsi
call fcn.140058c90
jmp 0x14006fe59
lea rcx, [rsp + 0x30]
call fcn.1401be900
mov rcx, rdi
call fcn.1401be900
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401f08b0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140070030
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsx rax, byte [rdx + 0x17]
test rax, rax
jns 0x14007005c
mov rax, qword [rdi + 8]
test rax, rax
jne 0x140070081
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14006fa90
mov rcx, rdi
mov rdx, rbx
call fcn.140067bb0
mov rcx, rbx
call fcn.1401be900
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x50]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1402825c0]
movaps xmmword [rbx], xmm0
lea rcx, str.new_vivaldi.exe
lea r14, [rsp + 0x40]
mov qword [r14], rcx
call fcn.14021cf84
mov qword [r14 + 8], rax
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.1401bf380
cmp byte [rbx + 0x17], 0
jns 0x1400700cf
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140070132
lea rbx, [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14006fe90
mov rcx, rsi
mov rdx, rbx
call fcn.140058d20
mov byte [rsi + 0x18], 1
mov rcx, rbx
call fcn.140058d50
lea rcx, [rsp + 0x50]
call fcn.1401be900
mov rcx, rdi
call fcn.1401be900
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401f08b0
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
xor eax, eax
mov byte [rsi], al
mov byte [rsi + 0x18], al
jmp 0x140070106
Function at 0x1400730a0
Capabilities:
Initialize winsock library

Disassembly:
push rsi
sub rsp, 0x1c0
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov rax, qword [0x14032f7d0]
cmp rax, 1
jbe 0x1400730e1
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1401f08b0
nop
add rsp, 0x1c0
pop rsi
ret
lea rcx, [0x14032f7d0]
call fcn.140065ed0
test al, al
je 0x140073138
lea rsi, [rsp + 0x20]
mov r8d, 0x198
mov rcx, rsi
mov dl, 0xaa
call fcn.140235e90
mov cx, 0x202
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14007311d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [0x14032f7d8]
lea rcx, [0x14032f7d0]
xor r8d, r8d
mov r9, rcx
call fcn.140065f90
jmp 0x1400730c7
mov rax, qword [0x14032f7d0]
jmp 0x1400730c7

Function at 0x140079c80
Capabilities:
Log keystrokes via polling

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, r9
mov rsi, rdx
mov rbx, rcx
mov r14, qword [rsp + 0x80]
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [0x1402825c0]
movups xmmword [rdx + 0x60], xmm0
movups xmmword [rdx + 0x50], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx], xmm0
mov rcx, rdx
mov edx, r8d
call fcn.1400c7440
test rbx, rbx
je 0x140079d9f
mov eax, dword [rbx + 0x78]
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0x20], eax
mov rbx, qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call rbx
mov cl, byte [rsi + 0x50]
shr eax, 0xe
and al, 2
and cl, 0xfd
or cl, al
mov byte [rsi + 0x50], cl
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call rbx
movzx eax, ax
shr eax, 0xf
mov cl, byte [rsi + 0x50]
and cl, 0xfa
mov edx, r14d
shr edx, 0x1b
and dl, 4
or dl, al
or dl, cl
mov byte [rsi + 0x50], dl
mov dword [rsi + 0x64], edi
mov dword [rsi + 0x68], r14d
call qword [sym.imp.USER32.dll_GetMessageTime]
mov dword [rsi + 0x1c], eax
mov word [rsi + 0x60], di
cmp rdi, 0x7f
jbe 0x140079da9
mov word [rsp + 0x2e], di
mov byte [rsp + 0x2d], 0xaa
mov rcx, qword [0x1403304c8]
test rcx, rcx
jne 0x140079d69
call fcn.1400b2f40
mov rcx, rax
mov qword [0x1403304c8], rax
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], 1
lea rdx, [rsp + 0x2d]
lea r9, [rsp + 0x2e]
mov r8d, 1
call qword [0x14030c820]
cmp rax, 0xffffffffffffffff
je 0x140079dac
movzx eax, byte [rsp + 0x2d]
mov dword [rsi + 0x5c], eax
jmp 0x140079dac
mov eax, 0xffffffff
jmp 0x140079ce6
mov dword [rsi + 0x5c], edi
mov al, byte [rsi + 0x50]
test al, 1
je 0x140079dca
test al, 4
je 0x140079dca
mov ecx, dword [rsi + 0x5c]
add ecx, 0xffffffe0
cmp ecx, 0xdf
ja 0x140079dca
and al, 0xfa
mov byte [rsi + 0x50], al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401f08b0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14007cf40
Capabilities:
Log keystrokes via polling

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd0
mov rbx, rcx
mov rax, qword [0x14031d040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
and byte [rcx + 0x1c0], 0xfe
mov rsi, qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call rsi
mov edi, eax
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call rsi
mov r14d, eax
mov ecx, 1
call rsi
mov r15d, eax
mov ecx, 4
call rsi
mov ebp, eax
mov ecx, 2
call rsi
mov esi, eax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0xb0]
mov qword [rcx], r12
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
jne 0x14007cfdc
call qword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
mov dword [rsp + 0xb0], ecx
sar eax, 0x10
mov dword [rsp + 0xb4], eax
shr edi, 0xd
and dil, 4
lea eax, [rdi + 8]
test r14w, r14w
movzx ecx, dil
movzx eax, al
cmovns eax, ecx
movzx ecx, r15w
shr ecx, 0xf
or ecx, eax
lea eax, [rcx + 0x10]
test bp, bp
movzx eax, al
cmovns eax, ecx
mov ecx, eax
or cl, 2
test si, si
movzx ebp, cl
cmovns ebp, eax
mov rcx, qword [rbx + 0x1b0]
movaps xmm0, xmmword [0x1402825c0]
lea rsi, [rsp + 0xa0]
movaps xmmword [rsi], xmm0
mov rdx, rsi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsi]
sub dword [rsp + 0xb0], eax
mov eax, dword [rsi + 4]
sub dword [rsp + 0xb4], eax
lea rsi, [0x1402e04b8]
lea r14, [rsp + 0x20]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rdi, r14
rep movsq qword [rdi], qword [rsi]
mov edx, dword [0x1403314e0]
mov rcx, r14
call fcn.1400c7360
mov edi, dword [rsp + 0xb0]
mov r15d, dword [rsp + 0xb4]
lea rsi, [rsp + 0xb8]
mov qword [rsi], r12
mov rax, qword [rbx]
mov rax, qword [rax + 0xf0]
mov rcx, rbx
mov rdx, rsi
call qword [0x14030c820]
mov eax, edi
sub eax, dword [rsi]
mov dword [r14 + 0x54], eax
mov eax, r15d
sub eax, dword [rsi + 4]
mov dword [r14 + 0x58], eax
mov eax, ebp
shr al, 1
and al, 2
mov cl, byte [r14 + 0x50]
mov dl, byte [r14 + 0x51]
and cl, 0xfc
mov r8d, ebp
shr r8b, 3
mov r9d, r8d
and r9b, 1
or r9b, al
or r9b, cl
mov byte [r14 + 0x50], r9b
mov eax, ebp
and al, 1
and dl, 0xe0
and r8b, 2
or r8b, al
add bpl, bpl
and bpl, 4
or bpl, r8b
or bpl, dl
mov byte [r14 + 0x51], bpl
mov ecx, SafeArrayUnlock
call qword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [r14 + 0x50]
shr eax, 0xd
and al, 4
and cl, 0xfb
or cl, al
mov byte [r14 + 0x50], cl
call qword [sym.imp.USER32.dll_GetMessageTime]
mov dword [r14 + 0x1c], eax
mov qword [r14 + 0x10], rbx
mov eax, dword [rbx + 0x78]
mov dword [r14 + 0x20], eax
lea rsi, [rsp + 0xc4]
mov dword [rsi], edi
lea rdi, [rsp + 0xc0]
mov dword [rdi], r15d
mov rax, qword [rbx]
mov rax, qword [rax + 0x4d0]
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call qword [0x14030c820]
mov eax, dword [rsi]
mov ecx, dword [rdi]
shl rcx, 0x20
or rcx, rax
mov qword [0x14032f858], rcx
mov eax, dword [r14 + 0x18]
mov dword [0x14032f860], eax
mov rcx, rbx
mov rdx, r14
call fcn.14009f1b0
lea rax, [0x140285cb0]
mov qword [r14], rax
mov rcx, r14
call fcn.1400b9c50
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401f08b0
nop
add rsp, 0xd0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14007d770
Capabilities:
Log keystrokes

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, r8
movzx r8d, cx
xor eax, eax
lea r9, [0x1402e0660]
cmp dword [r9 + rax*8], r8d
je 0x14007d7df
inc rax
cmp rax, 0x4d
jne 0x14007d785
lea eax, [r8 - 0xba]
cmp eax, 0x28
ja 0x14007d7f9
movabs r9, 0x13e0000007f
bt r9, rax
jae 0x14007d7f9
mov ecx, r8d
mov edx, 2
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ecx, eax
xor edx, edx
test eax, eax
mov eax, 0
cmovg eax, ecx
test rsi, rsi
je 0x14007d7d4
mov word [rsi], ax
cmp ecx, 0x100
cmovge eax, edx
jmp 0x14007d7f3
mov eax, dword [r9 + rax*8 + 4]
test rsi, rsi
je 0x14007d7f3
cmp eax, 0x12b
jg 0x14007d7f3
mov word [rsi], ax
add rsp, 0x20
pop rsi
ret
lea eax, [r8 - 0x21]
cmp eax, 0xd
ja case.default.0x14007d814
lea r9, [0x1402e103c]
movsxd rax, dword [r9 + rax*4]
add rax, r9
jmp rax
bt edx, 0x18
mov eax, reloc.COMCTL32.dll_Ordinal_380
mov ecx, 0x16e
cmovb eax, ecx
test edx, edx
cmove eax, ecx
jmp 0x14007d7f3
bt edx, 0x18
mov eax, Ordinal_380
mov ecx, 0x13c
jmp 0x14007d824
bt edx, 0x18
mov eax, Ordinal_380
mov ecx, 0x13b
jmp 0x14007d824
bt edx, 0x18
mov eax, 0x17e
mov ecx, 0x138
jmp 0x14007d824
bt edx, 0x18
mov eax, Ordinal_380
mov ecx, 0x13a
jmp 0x14007d824
bt edx, 0x18
mov eax, reloc.COMCTL32.dll_Ordinal_381
mov ecx, 0x16f
jmp 0x14007d824
bt edx, 0x18
mov eax, 0x180
mov ecx, 0x142
jmp 0x14007d824
bt edx, 0x18
mov eax, 0x177
mov ecx, 0x139
jmp 0x14007d824
bt edx, 0x18
mov eax, Ordinal_380
mov ecx, 0x13d
jmp 0x14007d824
cmp r8d, 0xd
jne case.0x14007d814.41
bt edx, 0x18
mov ecx, SafeArrayGetDim
mov eax, 0x172
cmovae eax, ecx
test rsi, rsi
je 0x14007d7f3
mov word [rsi], SafeArrayGetDim
jmp 0x14007d7f3
lea edx, [r8 - 0x30]
lea r9d, [r8 - 0x41]
xor eax, eax
cmp r9w, 0x1a
cmovb eax, r8d
cmp dx, 0xa
cmovb eax, r8d
test rsi, rsi
je 0x14007d7f3
mov word [rsi], cx
jmp 0x14007d7f3
bt edx, 0x18
mov eax, 0x181
mov ecx, 0x7f
cmovb eax, ecx
test edx, edx
cmove eax, ecx
test rsi, rsi
je 0x14007d7f3
mov word [rsi], 0x7f
jmp 0x14007d7f3
Function at 0x140080170
Capabilities:
Log keystrokes via polling

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rdi, r9
mov ebp, r8d
mov rsi, rdx
mov r14, rcx
cmp dword [0x14033151c], r8d
je 0x140080197
cmp dword [0x140331524], ebp
jne 0x1400801dd
cmp qword [0x14031f9c0], 0
je 0x1400801dd
lea rax, str.CreateKeyEvent___cant_be_used_for_char_events
mov qword [rsp + 0x20], rax
lea rcx, str.....update_notifier_thirdpartywxWidgets_srcmswwindow.cpp
lea r8, str.wxWindow::CreateKeyEvent
lea r9, str.evType___wxEVT_CHAR__evType___wxEVT_CHAR_HOOK
mov edx, 0x18b6
call fcn.1400d9180
cmp byte [0x140331ad8], 1
jne 0x1400801dd
mov byte [0x140331ad8], 0
int3
mov rbx, qword [rsp + 0x80]
movaps xmm0, xmmword [0x1402825c0]
movups xmmword [rsi + 0x60], xmm0
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
mov rcx, rsi
mov edx, ebp
call fcn.1400c7440
test r14, r14
je 0x140080291
mov eax, dword [r14 + 0x78]
mov qword [rsi + 0x10], r14
mov dword [rsi + 0x20], eax
mov r14, qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call r14
mov cl, byte [rsi + 0x50]
shr eax, 0xe
and al, 2
and cl, 0xfd
or cl, al
mov byte [rsi + 0x50], cl
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call r14
movzx eax, ax
shr eax, 0xf
mov cl, byte [rsi + 0x50]
and cl, 0xfa
mov edx, ebx
shr edx, 0x1b
and dl, 4
or dl, al
or dl, cl
mov byte [rsi + 0x50], dl
mov dword [rsi + 0x64], edi
mov dword [rsi + 0x68], ebx
call qword [sym.imp.USER32.dll_GetMessageTime]
mov dword [rsi + 0x1c], eax
lea r8, [rsi + 0x60]
mov ecx, edi
mov rdx, rbx
call fcn.14007d770
mov dword [rsi + 0x5c], eax
mov rax, rsi
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov eax, 0xffffffff
jmp 0x14008021e