joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a3ba0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x1f8], 0
mov rbx, rcx
je 0x1400a3d31
cmp dword [rcx + 0x15c], 0
je 0x1400a3d31
cmp dword [rcx + 0x220], edx
jne 0x1400a3be7
mov rax, rdx
shr rax, 0x20
cmp dword [rcx + 0x224], eax
je 0x1400a3d31
call fcn.1400a3710
mov r8d, eax
lea rdx, [rsp + 0x38]
mov rcx, rbx
mov edi, eax
call fcn.1400a3830
cmp edi, 0xffffffff
je 0x1400a3d31
mov r9d, dword [rbx + 0x368]
cmp edi, r9d
jge 0x1400a3d31
mov r8d, dword [rbx + 0x21c]
cmp r8d, edi
je 0x1400a3d31
mov ecx, dword [rbx + 0x218]
mov eax, r8d
cmp ecx, r8d
cmovl eax, ecx
xor r10d, r10d
test eax, eax
cmovs eax, r10d
cmp ecx, r8d
mov edx, eax
lea eax, [r9 - 1]
cmovg r8d, ecx
cmp eax, r8d
cmovl r8d, eax
movsxd r9, r8d
cmp rdx, r9
jg 0x1400a3c90
nop dword [rax + rax]
cmp rdx, qword [rbx + 0x368]
jae 0x1400a3d41
mov rax, qword [rbx + 0x360]
mov rcx, qword [rax + rdx*8]
cmp dword [rcx + 0x20], 1
jne 0x1400a3c88
mov dword [rcx + 0x20], r10d
dec dword [rbx + 0x3a0]
inc rdx
cmp rdx, r9
jle 0x1400a3c60
mov edx, dword [rbx + 0x218]
mov r8d, edi
mov rcx, rbx
call fcn.1400a29c0
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jae 0x1400a3d05
mov rcx, qword [rbx + 0x200]
mov r9, qword [rbx + 0x208]
cmp rcx, r9
je 0x1400a3d05
nop dword [rax + rax]
movsxd rdx, dword [rcx]
cmp rdx, qword [rbx + 0x368]
jae 0x1400a3d41
mov rax, qword [rbx + 0x360]
mov r8, qword [rax + rdx*8]
cmp dword [r8 + 0x20], 0
jne 0x1400a3cfc
mov dword [r8 + 0x20], 1
inc dword [rbx + 0x3a0]
add rcx, 4
cmp rcx, r9
jne 0x1400a3cd0
mov r8d, dword [rbx + 0x188]
xor r9d, r9d
mov edx, dword [0x140306144]
mov rcx, rbx
mov dword [rbx + 0x3b0], edi
mov dword [rbx + 0x21c], edi
call fcn.1400982a0
mov rcx, rbx
call fcn.1400a2240
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.140019320
int3

Function at 0x1400a8930
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsx ebp, r8w
mov eax, 0x88888889
imul ebp
mov rbx, rcx
lea eax, [rdx + rbp]
sar eax, 4
mov edx, eax
shr edx, 0x1f
add eax, edx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
test esi, esi
jle 0x1400a89b8
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [rbx + 0x238]
mov edi, 1
movsx ecx, ax
bt ecx, 0x10
mov rcx, rbx
cmovb esi, edi
test bp, bp
js 0x1400a89a5
add edx, esi
call fcn.1400a9640
mov rcx, rbx
call fcn.1400a9740
mov eax, edi
jmp 0x1400a89bd
sub edx, esi
call fcn.1400a9640
mov rcx, rbx
call fcn.1400a9740
mov eax, edi
jmp 0x1400a89bd
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ade20
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor eax, eax
mov qword [rdx], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400adf01
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbx], rax
mov esi, 1
mov dword [rsp + 0x20], esi
mov rcx, qword [rbp + 0x1e0]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x1400adeeb
lea edi, [rax + 1]
test edi, edi
js 0x1400adf0c
mov rax, qword [rbx]
sub esi, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edi
or esi, ecx
jge 0x1400adea9
mov edx, edi
mov rcx, rbx
call fcn.140018ec0
mov r8d, edi
mov rdx, qword [rbx]
mov rcx, qword [rbp + 0x1e0]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400adec9
mov eax, r14d
jmp 0x1400aded6
movsxd rdx, dword [rcx - 0xc]
call fcn.1401fa6e8
test eax, eax
js 0x1400adf0c
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1400adf0c
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r14w
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140019320
int3
mov ecx, 0x80070057
call fcn.140019320
int3
Function at 0x1400b63c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400b6540
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 3
jne 0x1400b6523
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jl 0x1400b653c
mov qword [rsp + 0x30], rbx
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400b6565
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdi, [0x140266198]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140018bd0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x1400b647e
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400b6465
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140018f70
nop
mov r8, rsi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400179d0
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400b64b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp esi, 0xffffffff
je 0x1400b6500
test sil, 0x10
jne 0x1400b6500
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400b6535
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov eax, 1
jmp 0x1400b6548
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400b6523
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
lea eax, [rdi - 2]
cmp eax, 1
jbe 0x1400b653c
cmp edi, 0x7b
je 0x1400b653c
cmp edi, 0x35
je 0x1400b653c
mov eax, 1
jmp 0x1400b6548
xor eax, eax
jmp 0x1400b6548
shr eax, 4
not eax
and eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1400b6d70
Capabilities:
Delete file
Get common file path

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x240]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.tmp.
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400b6e51
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018bd0
test al, al
jne 0x1400b6e2d
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400b6e14
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018f70
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x460
pop rbx
ret
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1400cda40
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x180
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rcx
xor eax, eax
mov dword [rbp - 0x80], eax
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdx + r8*2], ax
jne 0x1400cda81
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x60], 0x67452301
mov dword [rbp - 0x5c], 0xefcdab89
mov dword [rbp - 0x58], 0x98badcfe
mov dword [rbp - 0x54], 0x10325476
add r8d, r8d
lea rcx, [rbp - 0x60]
call fcn.14002ba10
lea rdx, [rbp - 0x60]
lea rcx, [rbp]
call fcn.14002bb20
movzx eax, byte [rbp + 0xf]
movzx ecx, byte [rbp + 0xe]
movzx edx, byte [rbp + 0xd]
movzx r10d, byte [rbp + 0xc]
movzx r11d, byte [rbp + 0xb]
movzx edi, byte [rbp + 0xa]
movzx esi, byte [rbp + 9]
movzx r14d, byte [rbp + 8]
movzx r15d, byte [rbp + 7]
movzx r12d, byte [rbp + 6]
movzx r13d, byte [rbp + 5]
movzx r9d, byte [rbp + 1]
movzx r8d, byte [rbp]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x80], ecx
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r13d
movzx eax, byte [rbp + 4]
mov dword [rsp + 0x30], eax
movzx eax, byte [rbp + 3]
mov dword [rsp + 0x28], eax
movzx eax, byte [rbp + 2]
mov dword [rsp + 0x20], eax
lea rdx, str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_wsprintfW]
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400cdbeb
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov rdi, qword [rbp - 0x78]
mov qword [rdi], rax
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.140018bd0
test al, al
jne 0x1400cdbba
lea rax, [rbp + 0x10]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400cdba0
mov r8d, ebx
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.140018f70
nop
mov dword [rbp - 0x80], 1
mov rax, rdi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1400d04b0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x48
mov rdi, rcx
mov dword [rbp - 0x28], 1
xor eax, eax
mov qword [rcx], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400d06a5
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rdi], rax
mov dword [rbp - 0x28], 1
lea rax, [rbp + 0x30]
mov qword [rbp + 0x38], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400d069a
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp + 0x30], rax
lea rsi, str.HKEY_LOCAL_MACHINESOFTWAREBandiziplanguage
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.140018bd0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x1400d0568
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x1400d0550
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.140018f70
nop
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.140063460
nop
mov rdx, rax
mov rcx, rdi
call fcn.140017ba0
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400d05a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
lea rax, [rbp + 0x38]
mov qword [rbp + 0x30], rax
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.1400d01a0
test al, al
je 0x1400d05d9
xor esi, esi
jmp 0x1400d068b
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor esi, esi
mov edx, esi
lea r9, [0x140267790]
mov rcx, r9
lea r8, reloc.SHELL32.dll_SHChangeNotifyRegister
cmp word [rcx], ax
je 0x1400d060d
inc edx
add rcx, 0x18
cmp rcx, r8
jl 0x1400d05f4
lea rdx, [0x14028fa46]
jmp 0x1400d0619
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rdx, qword [r9 + rcx*8 + 8]
mov rcx, rdi
call fcn.14003ed90
lea rax, [rbp + 0x40]
mov qword [rbp + 0x30], rax
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x40]
call fcn.1400d01a0
test al, al
jne 0x1400d068b
lea rdx, str.English
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400d0651
mov r8d, ebx
mov rcx, rdi
call fcn.140018f70
lea rax, [rbp - 0x20]
mov qword [rbp + 0x30], rax
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1400d01a0
mov dword [rbp - 0x28], esi
mov rax, rdi
add rsp, 0x48
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1400e5360
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r8
mov rbp, rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400e557a
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140018bd0
lea rsi, [rdi - 1]
test al, al
jne 0x1400e53ea
test rbx, rbx
jne 0x1400e53ce
mov r8d, edi
jmp 0x1400e53dc
mov r8, rsi
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400e53d1
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140018f70
nop
mov rbx, qword [rsp + 0x38]
lea rdx, str.BTN_COMPARISON
mov rcx, rsi
nop dword [rax]
movzx eax, word [rbx + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x1400e5424
add rcx, 2
cmp rcx, 0xf
je 0x1400e54b3
movzx eax, word [rbx + rcx*2]
cmp ax, word [rdx + rcx*2]
je 0x1400e5400
lea rdx, str.BTN_BUYNOW
mov rcx, rsi
nop
movzx eax, word [rbx + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x1400e5450
add rcx, 2
cmp rcx, 0xb
je 0x1400e54bc
movzx eax, word [rbx + rcx*2]
cmp ax, word [rdx + rcx*2]
je 0x1400e5430
lea rdx, str.BTN_HOWTOREGISTER
mov rcx, rdi
nop word [rax + rax]
movzx eax, word [rbx + rcx*2]
cmp ax, word [rdx + rcx*2]
jne 0x1400e5516
movzx eax, word [rbx + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x1400e5516
add rcx, 2
cmp rcx, 0x12
jne 0x1400e5460
lea r8, str.https:__www.bandisoft.com_bandizip_help_how_to_register_
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea rdx, [0x140265d30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400e5542
lea r8, str.https:__www.bandisoft.com_bandizip_help_edition_comparison_
jmp 0x1400e548f
lea rcx, [rsp + 0x30]
call fcn.1400e0690
nop
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, qword [rax]
lea rdx, [0x140265d30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400e550f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rbx, qword [rsp + 0x38]
jmp 0x1400e5542
lea rcx, [0x140293008]
nop dword [rax]
movzx eax, word [rbx + rdi*2]
inc rdi
cmp ax, word [rcx + rdi*2 - 2]
jne 0x1400e5542
cmp rdi, 5
jne 0x1400e5520
lea edx, [rdi - 4]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.USER32.dll_EndDialog]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400e5560
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1400e7b60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400e7cc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x1400e7bb4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jl 0x1400e7cb4
xor esi, esi
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400e7cee
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140018bd0
lea rbx, [rsi - 1]
test al, al
jne 0x1400e7c2d
test rdi, rdi
je 0x1400e7c1c
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400e7c10
mov esi, eax
mov r8d, esi
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140018f70
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1400e7550
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp edi, 0xffffffff
je 0x1400e7c87
test dil, 0x10
jne 0x1400e7c87
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400e7cbe
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov eax, 1
jmp 0x1400e7cd1
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400e7caa
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
cmp esi, 2
je 0x1400e7cc5
cmp esi, 3
je 0x1400e7cc5
cmp esi, 0x7b
je 0x1400e7cc5
cmp esi, 0x35
je 0x1400e7cc5
mov eax, 1
jmp 0x1400e7cd1
xor eax, eax
jmp 0x1400e7cd1
shr eax, 4
not eax
and eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x1400f20a0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov edx, dword [0x140306100]
mov rbx, rcx
mov r8, rcx
xor r9d, r9d
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.USER32.dll_PostMessageW]
mov r8, qword [rbx + 0x50]
cmp dword [r8 - 0x10], 0
je 0x1400f2125
lea rdx, str.URL_NULL
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
movzx ecx, word [r8 + rax*2 + 2]
cmp cx, word [rdx + rax*2 + 2]
jne 0x1400f2102
add rax, 2
cmp rax, 9
je 0x1400f2125
movzx ecx, word [r8 + rax*2]
cmp cx, word [rdx + rax*2]
je 0x1400f20e0
mov dword [rsp + 0x28], 5
lea rdx, [0x140265d30]
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x30
pop rbx
ret
Function at 0x1400f3b90
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbx
push rbp
push rdi
push r14
sub rsp, 0xa8
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp dword [rsp + 0x100], 0
mov rbp, r9
mov r14, qword [rsp + 0xf8]
mov rdi, rcx
jne 0x1400f3d9c
cmp r8d, 2
jne 0x1400f3cbe
mov qword [r11 + 0x10], r12
mov r12, qword [rcx + 0x40]
mov qword [r11 - 0x28], r15
mov r15, qword [rcx + 8]
test r15, r15
je 0x1400f3c85
mov rcx, qword [rcx + 0x28]
call fcn.1401f3934
mov rcx, qword [rdi + 8]
mov edx, 0xfffffffc
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
cmp rbx, rax
jne 0x1400f3c3b
mov r8, qword [rdi + 0x40]
mov edx, 0xfffffffc
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rax, rax
je 0x1400f3c3b
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [rdi + 0x40], rax
mov qword [rdi + 8], 0
cmp qword [rdi + 8], 0
je 0x1400f3c85
mov rcx, qword [rdi + 0x28]
call fcn.1401f3934
mov rcx, qword [rdi + 8]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov r8, qword [rdi + 0x40]
mov edx, 0xfffffffc
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rax, rax
je 0x1400f3c85
mov rcx, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [rdi + 0x40], rcx
mov qword [rdi + 8], 0
mov r9, qword [rsp + 0xf0]
mov r8, rbp
mov edx, 2
mov rcx, r15
mov rax, r12
call qword [case.0x140038716.0]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xd8]
mov qword [r14], rax
mov eax, 1
jmp 0x1400f3d9e
cmp r8d, 0x100
jne 0x1400f3d9c
cmp rbp, 0x2e
jne 0x1400f3cf7
mov rcx, qword [rcx + 0x48]
lea edx, [r8 + 0x11]
mov r8d, 0x523
xor r9d, r9d
call qword [sym.imp.USER32.dll_PostMessageW]
lea eax, [rbp - 0x2d]
mov qword [r14], 0
jmp 0x1400f3d9e
cmp rbp, 0x41
jne 0x1400f3d95
lea ecx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
bt ecx, 0x10
jae 0x1400f3d95
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov rbp, rax
lea edx, [r9 + 0xb]
call qword [sym.imp.USER32.dll_SendMessageW]
test ebp, ebp
jle 0x1400f3d80
xor ebx, ebx
mov ebp, ebp
nop dword [rax + rax]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov r8, rbx
mov dword [rsp + 0x40], 3
mov edx, 0x102b
mov dword [rsp + 0x3c], 3
call qword [sym.imp.USER32.dll_SendMessageW]
inc rbx
sub rbp, 1
jne 0x1400f3d50
mov rcx, qword [rdi + 8]
xor r9d, r9d
lea edx, [r9 + 0xb]
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [r14], 0
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0xa8
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x14010d2d0
Capabilities:
Create process on windows

Disassembly:
test r8, r8
je 0x14010d45f
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x48], rsi
mov r14, r8
mov esi, 1
mov qword [rsp + 0x40], rbx
mov rdi, rcx
nop dword [rax]
cmp dword [rdi + 0x10], 0
je 0x14010d3bb
movzx eax, word [r14]
xor esi, esi
xor r10d, r10d
mov rcx, r14
test ax, ax
je 0x14010d336
nop dword [rax + rax]
imul r10d, r10d, 0x21
lea rcx, [rcx + 2]
movzx eax, ax
add r10d, eax
movzx eax, word [rcx]
test ax, ax
jne 0x14010d320
mov r9, qword [rdi + 0x18]
test r9, r9
je 0x14010d408
xor edx, edx
mov eax, r10d
div dword [rdi + 0x28]
mov r9, qword [r9 + rdx*8]
test r9, r9
je 0x14010d408
cmp dword [r9 + 0x18], r10d
jne 0x14010d388
mov rax, qword [r9]
mov r8, r14
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14010d384
add rax, 2
test ecx, ecx
jne 0x14010d370
test edx, edx
je 0x14010d393
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x14010d358
jmp 0x14010d408
mov eax, dword [r9 + 8]
cmp eax, 0xfffffffe
je 0x14010d419
cmp eax, 0xffffffff
je 0x14010d408
test eax, eax
je 0x14010d419
cmp eax, 1
je 0x14010d3b5
cmp eax, 2
jne 0x14010d443
jmp 0x14010d3ec
lea rbx, [rdi + 0x18]
jmp 0x14010d3d1
lea rbx, [rdi + 0x18]
xor r8d, r8d
mov rcx, rbx
lea rdx, str.CMD_OPEN_HONEYVIEW_HOMEPAGE
call fcn.140076da0
cmp dword [rdi + 0x10], 0
jne 0x14010d408
mov r8d, 1
lea rdx, [0x140293008]
mov rcx, rbx
call fcn.140076da0
cmp dword [rdi + 0x10], 0
jne 0x14010d408
lea rcx, [rdi + 0x18]
mov r8d, 2
lea rdx, [0x140293020]
call fcn.140076da0
mov dword [rdi + 0x10], 1
test esi, esi
jne 0x14010d300
jmp 0x14010d44a
mov r8, qword [rdi + 0x98]
lea rdx, [0x140265d30]
mov dword [rsp + 0x28], 1
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [rdi + 0x10], 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret