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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, rcx
call qword [rax + 0x218]
test al, al
jne 0x180163b18
mov eax, dword [rdi]
sub eax, 9
cmp eax, 0xc
ja 0x180163b18
mov rcx, qword [rbx + 0x740]
mov rdx, rdi
test rcx, rcx
jne 0x180163d0e
mov rcx, rbx
call fcn.1801264e0
jmp 0x180163d1e
cmp dword [rdi], 0x13
jne 0x180163b47
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x208]
test al, al
je 0x180163d1e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
mov rcx, rbx
call fcn.18015fe10
jmp 0x180163d1e
cmp dword [rdi], 3
mov ebp, InitCommonControls
jne 0x180163b67
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x208]
test al, al
je 0x180163b67
cmp word [rdi + 0x1c], bp
je 0x180163b31
cmp dword [rdi], ebp
jne 0x180163bbe
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x208]
test al, al
je 0x180163d1e
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea rbx, [rbx + 0x728]
mov rdi, qword [rbx]
and ax, cx
mov rcx, rbx
je 0x180163bb4
call qword [rdi + 0x20]
test al, al
mov rcx, rbx
sete dl
call qword [rdi + 0x30]
jmp 0x180163d1e
mov dl, 1
call qword [rdi + 0x28]
jmp 0x180163d1e
mov rcx, qword [rbx + 0x740]
test rcx, rcx
je 0x180163bde
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rax + 0x470], 0
je 0x180163bde
cmp dword [rdi], 0xf
je 0x180163b6b
cmp dword [rdi], 0xe
jne 0x180163c1d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x208]
test al, al
je 0x180163d1e
mov byte [rsp + 0x28], 0
lea r8, str.itemclick
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rbx + 0x58]
mov rdx, rbx
call fcn.18012fefc
jmp 0x180163d1e
cmp dword [rdi], 9
je 0x180163d1e
cmp dword [rdi], 0xb
jne 0x180163c88
mov rcx, rbx
call fcn.180165824
test al, al
je 0x180163c68
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x208]
test al, al
je 0x180163c68
mov rcx, qword [rbx + 0x58]
lea r8, str.itemmouseenter
mov byte [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
mov rdx, rbx
call fcn.18012fefc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x208]
test al, al
je 0x180163d1e
or dword [rbx + 0x738], 8
jmp 0x180163b3a
cmp dword [rdi], 0xa
jne 0x180163ca9
mov eax, dword [rbx + 0x738]
test al, 8
je 0x180163d1e
and eax, 0xfffffff7
mov dword [rbx + 0x738], eax
jmp 0x180163b3a
cmp dword [rdi], 0x1b
jne 0x180163ccc
mov rax, qword [rdi + 0x28]
lea r8, str.timer
mov r9, qword [rdi + 0x20]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
jmp 0x180163c0c
cmp dword [rdi], 0x14
jne 0x180163cff
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x1c0]
test al, al
je 0x180163cff
mov rax, qword [rdi + 0x28]
lea r8, str.menu
mov r9, qword [rdi + 0x20]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
jmp 0x180163c0c
mov rcx, qword [rbx + 0x740]
mov rdx, rdi
test rcx, rcx
je 0x180163d16
mov rax, qword [rcx]
call qword [rax + 0x30]
jmp 0x180163d1e
mov rcx, rbx
call fcn.180121994
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180164080
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, rcx
call qword [rax + 0x218]
test al, al
jne 0x1801640c5
mov eax, dword [rdi]
sub eax, 9
cmp eax, 0xc
ja 0x1801640c5
mov rcx, qword [rbx + 0x5b8]
mov rdx, rdi
test rcx, rcx
je 0x1801641bd
mov rax, qword [rcx]
call qword [rax + 0x30]
jmp 0x1801641c5
mov rcx, qword [rbx + 0x5b8]
test rcx, rcx
je 0x180164138
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rax + 0x470], 0
je 0x180164138
cmp dword [rdi], 0xf
jne 0x180164138
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x208]
test al, al
je 0x1801641c5
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea rbx, [rbx + 0x5a0]
mov rdi, qword [rbx]
and ax, cx
mov rcx, rbx
je 0x18016412e
call qword [rdi + 0x20]
test al, al
mov rcx, rbx
sete dl
call qword [rdi + 0x30]
jmp 0x1801641c5
mov dl, 1
call qword [rdi + 0x28]
jmp 0x1801641c5
cmp dword [rdi], 0xd
je 0x1801640e5
cmp dword [rdi], 0xe
jne 0x180164175
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x208]
test al, al
je 0x1801641c5
mov rcx, qword [rbx + 0x58]
lea r8, str.itemclick
mov byte [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
mov rdx, rbx
call fcn.18012fefc
jmp 0x1801641c5
cmp dword [rdi], 9
je 0x1801641c5
cmp dword [rdi], 0xb
jne 0x1801641a0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x208]
test al, al
je 0x1801641c5
or dword [rbx + 0x5b0], 8
mov rcx, rbx
call fcn.18015fe10
jmp 0x1801641c5
cmp dword [rdi], 0xa
jne 0x1801641ba
mov eax, dword [rbx + 0x5b0]
test al, 8
je 0x1801641c5
and eax, 0xfffffff7
mov dword [rbx + 0x5b0], eax
jmp 0x180164196
mov rdx, rdi
mov rcx, rbx
call fcn.180163d30
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x18016dfa0
Capabilities:
Get graphical window text

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rdi
mov rax, qword [0x1802240e0]
xor rax, rbp
mov qword [rbp], rax
cmp byte [rcx + 0x30], 0
mov rdi, rcx
je 0x18016e085
cmp qword [rcx + 0x20], 0
je 0x18016e085
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea r8d, [rax + 1]
movsxd rax, r8d
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18016e000
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.18017ef50
sub rsp, rcx
lea rbx, [rsp + 0x30]
test rbx, rbx
je 0x18016e085
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi + 0x20]
mov rdx, rbx
add rcx, 0x1f0
call fcn.18012524c
mov rbx, qword [rdi + 0x20]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + gethostname]
mov byte [rsp + 0x28], 0
lea r8, str.textchanged
and qword [rsp + 0x20], 0
mov rcx, rax
xor r9d, r9d
mov rdx, rbx
call fcn.18012fefc
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
call qword [rax + gethostname]
mov rcx, rax
call fcn.18012b5b4
test al, al
je 0x18016e085
mov rcx, qword [rdi + 0x20]
call fcn.1801223bc
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.18017dee0
mov rbx, qword [rbp + 0x20]
mov rdi, qword [rbp + 0x28]
lea rsp, [rbp + 0x10]
pop rbp
ret

Function at 0x180171f64
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub rsp, 0x2e8
mov rax, qword [0x1802240e0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x180172005
xor edx, edx
lea rcx, [rsp + 0x1d0]
mov r8d, 0xff
call sub.VCRUNTIME140.dll_memset
mov edx, 0xff
lea rcx, [rsp + 0x1d0]
call sub.WS2_32.dll_gethostname
lea rcx, [rsp + 0x1d0]
call sub.WS2_32.dll_gethostbyname
test rax, rax
je 0x180172005
mov rdx, qword [rax + 0x18]
lea rcx, [rsp + 0x20]
mov r8d, 4
mov rdx, qword [rdx]
call sub.VCRUNTIME140.dll_memcpy
movzx ecx, byte [rsp + 0x21]
movzx eax, byte [rsp + 0x20]
shl eax, 8
add eax, ecx
movzx ecx, byte [rsp + 0x22]
shl eax, 8
add eax, ecx
movzx ecx, byte [rsp + 0x23]
shl eax, 8
add eax, ecx
jmp 0x180172007
xor eax, eax
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.18017dee0
add rsp, 0x2e8
ret

Function at 0x180179090
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx]
mov rdi, rdx
sub eax, 0xd
mov rbx, rcx
test eax, 0xfffffff7
jne 0x1801790b1
call fcn.18017a00c
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp method.DuiLib::CTreeViewUI.virtual_632

Function at 0x1801790c8
Capabilities:
Log keystrokes via polling

Disassembly:
sub rcx, 0x728
jmp method.DuiLib::CListExUI.virtual_632
Function at 0x18017c0c4
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1802240e0]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ecx, ecx
mov qword [rsp + 0x20], rdx
mov edi, r8d
mov rsi, rdx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
xor edx, edx
mov ecx, edi
mov r8, rax
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov ebx, eax
cmp edi, 0x21
jb 0x18017c120
cmp edi, 0x28
jbe 0x18017c11c
lea eax, [rdi - 0x2d]
cmp eax, 1
ja 0x18017c120
bts ebx, 8
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
shl ebx, 0x10
lea rdx, [rsp + 0x30]
mov ecx, ebx
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
or r8d, 0xffffffff
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180125038
mov rax, rsi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18017dee0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002c470
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d0400]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov rdx, qword [rcx]
xor r8d, r8d
mov edx, dword [rdx + 0x98]
lea rcx, [rsp + 0x20]
call fcn.140035f50
nop
cmp byte [rsp + 0x40], 0
je 0x14002c5e4
mov rsi, qword [rsi + 8]
add rsi, 0x148
mov r8d, 0xfde9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140045dc0
mov r8, rax
mov r9, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002c4ea
mov rdx, qword [rax]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x14002c523
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r10
inc rcx
cmp rcx, r9
jb 0x14002c510
mov r9, rbx
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001dc70
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x14002c5aa
mov rcx, qword [rsi + 0x30]
and rcx, rbx
shl rcx, 4
mov rdx, qword [rsi + 0x18]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x14002c573
cmp rax, rdi
jne 0x14002c569
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14002c57e
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x14002c57e
cmp rax, rdi
jne 0x14002c57e
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
dec qword [rsi + 0x10]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rcx, [rdi + 0x10]
call fcn.14000b9a0
mov edx, 0x40
mov rcx, rdi
call fcn.140074cd4
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14002c5e4
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c5de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c617
call fcn.140074cd4
nop
cmp byte [rsp + 0x40], 0
je 0x14002c5f5
lea rcx, [rsp + 0x20]
call fcn.14000d740
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140074df0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14007b518
nop
int3
add rcx, 8
jmp 0x14002c470
Function at 0x14002fc50
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14002fd33
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002fd33
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14002fd51
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14002fd23
cmp word [rcx], 0x5c
jne 0x14002fd1c
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x14002fd1c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002fd07
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x14002fd19
test r8b, 0x10
jne 0x14002fd1c
movzx eax, word [rdx]
sub ax, 0x7b
test bp, ax
jne 0x14002fd1c
mov rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140033e90
test edi, edi
jne 0x14002fc80
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140031ee0
int3
Function at 0x140030270
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + 0xa0]
mov ecx, dword [rcx + 0x98]
jmp 0x140051890
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 8], ecx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
mov rdi, rdx
mov ebx, ecx
lea r14, [0x1400d66f0]
mov qword [rbp + 0x17], r14
mov byte [rbp + 0x1f], 0
mov rcx, r14
call fcn.140056260
test eax, eax
jne 0x140051a51
cmp dword [0x1400d673c], 0x7fffffff
je 0x140051a5c
mov byte [rbp + 0x1f], 1
lea r8, [0x1400d66b0]
mov qword [rbp + 0x27], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbp + 0x68]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x69]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x6a]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400d66e0]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400d66c8]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400d66b8]
cmp rax, rdx
je 0x140051970
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140051972
nop dword [rax]
cmp rax, rcx
je 0x140051970
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140051960
jmp 0x140051972
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x140051a11
lea rdx, [rbp + 0x67]
mov rcx, r8
call fcn.140052fb0
mov dword [rbp - 0x19], 1
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rax
movups xmm6, xmmword [rbp - 0x19]
movups xmmword [rbp - 1], xmm6
mov ecx, 0x18
call fcn.140074c98
test rax, rax
je 0x1400519c4
movups xmm0, xmmword [rbp - 9]
movups xmmword [rax], xmm0
unpckhpd xmm6, xmm6
movsd qword [rax + 0x10], xmm6
mov qword [rbp + 0x77], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004b7f0]
xor edx, edx
xor ecx, ecx
call fcn.140087df0
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140051a3f
cmp dword [rbp - 0x11], 0
je 0x140051a34
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call fcn.1400567a4
test eax, eax
jne 0x140051a34
mov rcx, r14
mov rbx, qword [rsp + 0xb8]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop r14
pop rdi
pop rbp
jmp fcn.140056268
mov ecx, 1
call fcn.1400564dc
nop
mov dword [rbp - 0x11], 0
mov ecx, 6
call fcn.1400564dc
nop
mov ecx, 5
call fcn.1400564dc
int3
mov dword [0x1400d673c], 0x7ffffffe
mov ecx, 6
call fcn.1400564dc
int3
Function at 0x140030930
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d0400]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov rdx, qword [rcx]
xor r8d, r8d
mov edx, dword [rdx + 0x98]
lea rcx, [rsp + 0x20]
call fcn.140035f50
nop
cmp byte [rsp + 0x40], 0
je 0x14002c5e4
mov rsi, qword [rsi + 8]
add rsi, 0x148
mov r8d, 0xfde9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140045dc0
mov r8, rax
mov r9, qword [rax + 0x10]
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002c4ea
mov rdx, qword [rax]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x14002c523
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r10
inc rcx
cmp rcx, r9
jb 0x14002c510
mov r9, rbx
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001dc70
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x14002c5aa
mov rcx, qword [rsi + 0x30]
and rcx, rbx
shl rcx, 4
mov rdx, qword [rsi + 0x18]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x14002c573
cmp rax, rdi
jne 0x14002c569
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14002c57e
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x14002c57e
cmp rax, rdi
jne 0x14002c57e
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
dec qword [rsi + 0x10]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rcx, [rdi + 0x10]
call fcn.14000b9a0
mov edx, 0x40
mov rcx, rdi
call fcn.140074cd4
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14002c5e4
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c5de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c617
call fcn.140074cd4
nop
cmp byte [rsp + 0x40], 0
je 0x14002c5f5
lea rcx, [rsp + 0x20]
call fcn.14000d740
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140074df0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14007b518
nop
int3
add rcx, 8
jmp 0x14002c470
Function at 0x140034f30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140034f74
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140034f60
ret
Function at 0x140039fc0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
movabs rbp, 0x7fffffffffffffff
movabs r14, 0x7ffffffffd050f7f
nop
mov rcx, rsi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x14003a038
lea rcx, [rsp + 0x58]
call fcn.1400372d0
mov rax, qword [rsp + 0x58]
cmp rax, r14
jge 0x14003a01e
add rax, 0x2faf080
mov qword [rsp + 0x50], rax
jmp 0x14003a023
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x50]
call fcn.1400220f0
inc ebx
cmp ebx, 0xa
jl 0x140039ff0
xor al, al
jmp 0x14003a0a7
mov rdx, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
mov ecx, 2
lea rdx, [rdx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp qword [rdi + 0x18], 7
mov rsi, rax
jbe 0x14003a060
mov rdi, qword [rdi]
mov rcx, qword [rbx]
lea rbx, [rcx*2 + 2]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.14009e880
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rsi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14003add0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x14003adf4
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x14003ae82
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14003ae50
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x14003ae50
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.14009e880
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14003ae6d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14003ae75
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x14003ae11
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x14003af60
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x14003ae99
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003ae9b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003aecd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14009e880
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14003af5d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003af08
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x14003af3e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.140080888
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14003af5d
cmp rsi, rax
ja 0x14003af11
test rsi, rsi
je 0x14003af5d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140080888
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x14003bf60
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [0x1400d0400]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor ebx, ebx
cmp qword [rcx + 0x18], 7
jbe 0x14003bf87
mov rcx, qword [rcx]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x100
lea r8, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
cmovne rbx, qword [rsp + 0x30]
mov rax, rbx
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140074df0
add rsp, 0x300
pop rbx
ret

Function at 0x14003c450
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r14, rdx
mov r15, rcx
xor ebx, ebx
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
movsxd rdi, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbx
mov esi, ebx
je 0x14003c50c
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14003c58d
add rdi, rdi
je 0x14003c4e7
cmp rdi, 0x1000
jb 0x14003c4dc
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14003c581
call fcn.140074c98
test rax, rax
je 0x14003c587
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14003c4e7
mov rcx, rdi
call fcn.140074c98
mov rbx, rax
mov rbp, rbx
mov qword [rsp + 0x28], rbx
lea rsi, [rdi + rbx]
mov qword [rsp + 0x38], rsi
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.14009ef20
mov qword [rsp + 0x30], rsi
jmp 0x14003c511
mov rbp, qword [rsp + 0x28]
sub rsi, rbx
sar rsi, 1
mov r8d, esi
mov rdx, rbp
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rdx, rbp
mov rcx, r14
call fcn.140019500
nop
test rbx, rbx
je 0x14003c565
lea rdx, [rsi + rsi]
cmp rdx, 0x1000
jb 0x14003c55d
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14003c587
mov rbx, rcx
mov rcx, rbx
call fcn.140074cd4
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call fcn.14000d5e0
int3
call fcn.14007b518
int3
call fcn.14000d7f0
int3