joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7758e7440
Capabilities:
Hash data using sha512

Disassembly:
jmp 0x7ff7758e7440
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x7ff77592e900]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
movaps xmm0, xmmword [0x7ff7759149b0]
xor ebx, ebx
movaps xmm1, xmmword [0x7ff7759149c0]
mov r14, r8
movaps xmmword [rsp + 0x20], xmm0
mov rdi, rdx
movaps xmm0, xmmword [0x7ff7759149d0]
mov r15, rcx
movaps xmmword [rsp + 0x30], xmm1
movaps xmm1, xmmword [0x7ff7759149e0]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rbx
test r8, r8
je 0x7ff7758e75c4
lea rax, [r8*8]
mov qword [rsp + 0x68], rax
mov rax, r8
shr rax, 0x3d
mov qword [rsp + 0x60], rax
cmp r8, 0x80
jae 0x7ff7758e74e7
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x7ff7758e75c4
movups xmm0, xmmword [rdx]
lea r9, [rbp + 0x270]
movups xmm1, xmmword [rdx + 0x10]
lea r8, [rbp - 0x10]
movaps xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rdx + 0x20]
movaps xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rdx + 0x40]
movaps xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [rdx + 0x50]
movaps xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rdx + 0x60]
movaps xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [rdx + 0x70]
lea rdx, [rsp + 0x70]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
call fcn.7ff7758e62d0
sub rdi, 0xffffffffffffff80
add r14, 0xffffffffffffff80
cmp r14, 0x80
jb 0x7ff7758e758b
mov qword [rsp + 0x400], rsi
mov rsi, r14
shr rsi, 7
lea r9, [rbp + 0x270]
mov rdx, rdi
lea r8, [rbp - 0x10]
lea rcx, [rsp + 0x20]
call fcn.7ff7758e62d0
sub rdi, 0xffffffffffffff80
sub rsi, 1
jne 0x7ff7758e7561
mov rsi, qword [rsp + 0x400]
and r14d, 0x7f
jbe 0x7ff7758e75b6
lea rax, [rsp + 0x70]
sub rdi, rax
nop dword [rax]
lea rcx, [rsp + 0x70]
add rcx, rbx
inc rbx
movzx eax, byte [rdi + rcx]
mov byte [rcx], al
cmp rbx, r14
jb 0x7ff7758e75a0
mov edx, 0x2c0
lea rcx, [rbp - 0x10]
call fcn.7ff7758e7bf0
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.7ff7758e7600
xor eax, eax
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.7ff7759004e0
add rsp, 0x3c0
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret

Function at 0x7ff7758e7b90
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rcx
xor r9d, r9d
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], 0
test r8, r8
je 0x7ff7758e7bd9
nop word [rax + rax]
mov rax, qword [rsp + 0x10]
movzx edx, byte [rax + r9]
mov rax, qword [rsp + 0x18]
movzx ecx, byte [rax + r9]
inc r9
movzx eax, byte [rsp + 8]
xor dl, cl
or dl, al
mov byte [rsp + 8], dl
cmp r9, r8
jb 0x7ff7758e7bb0
movzx eax, byte [rsp + 8]
dec eax
sar eax, 8
and eax, 1
dec eax
ret
Function at 0x7ff7758eacf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x7ff77592e900]
xor rax, rsp
mov qword [rsp + 8], rax
xor edx, edx
lea r15, [0x7ff77591c7f0]
mov dword [rsp], edx
mov r8, rcx
movzx edi, byte [rsp + 3]
xor eax, eax
movzx esi, byte [rsp + 2]
movzx ebx, dl
movzx ebp, byte [rsp + 1]
movzx r14d, dl
mov word [rsp + 4], dx
movzx r11d, byte [rsp + 5]
nop dword [rax]
movzx r10d, byte [r8 + rax]
movzx ecx, r10b
xor cl, byte [rax + r15]
or cl, r14b
movzx r14d, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x20]
or cl, bpl
movzx ebp, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x40]
or cl, sil
movzx esi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x60]
or cl, dil
movzx edi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x80]
or cl, bl
movzx ebx, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0xa0]
xor r10b, byte [rax + r15 + 0xc0]
or cl, r11b
or r10b, dl
movzx r11d, cl
inc rax
movzx edx, r10b
cmp rax, 0x1f
jb 0x7ff7758ead50
movzx ecx, byte [rax + r8]
movzx r9d, byte [rax + r15 + 0xa0]
and cl, 0x7f
movzx edx, byte [rax + r15 + 0x80]
movzx r8d, cl
xor edx, r8d
movzx ecx, r10b
or edx, ebx
xor r9d, r8d
dec edx
or r9d, r11d
dec r9d
or r9d, edx
movzx edx, byte [rax + r15 + 0x60]
xor edx, r8d
or edx, edi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x40]
xor edx, r8d
or edx, esi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x20]
xor edx, r8d
or edx, ebp
dec edx
or r9d, edx
movzx edx, byte [rax + r15]
movzx eax, byte [rax + r15 + 0xc0]
xor edx, r8d
xor eax, r8d
or edx, r14d
or eax, ecx
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.7ff7759004e0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x7ff7758eddf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx r8d, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, r8d
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x10
jl 0x7ff7758ede00
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret

Function at 0x7ff7758ede40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx r8d, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, r8d
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x20
jl 0x7ff7758ede50
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret
Function at 0x7ff7758f1830
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x7ff77592e900]
xor rax, rsp
mov qword [rsp + 8], rax
xor edx, edx
lea r15, [0x7ff77591c950]
mov dword [rsp], edx
mov r8, rcx
movzx edi, byte [rsp + 3]
xor eax, eax
movzx esi, byte [rsp + 2]
movzx ebx, dl
movzx ebp, byte [rsp + 1]
movzx r14d, dl
mov word [rsp + 4], dx
movzx r11d, byte [rsp + 5]
nop dword [rax]
movzx r10d, byte [r8 + rax]
movzx ecx, r10b
xor cl, byte [rax + r15]
or cl, r14b
movzx r14d, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x20]
or cl, bpl
movzx ebp, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x40]
or cl, sil
movzx esi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x60]
or cl, dil
movzx edi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x80]
or cl, bl
movzx ebx, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0xa0]
xor r10b, byte [rax + r15 + 0xc0]
or cl, r11b
or r10b, dl
movzx r11d, cl
inc rax
movzx edx, r10b
cmp rax, 0x1f
jb 0x7ff7758f1890
movzx ecx, byte [rax + r8]
movzx r9d, byte [rax + r15 + 0xa0]
and cl, 0x7f
movzx edx, byte [rax + r15 + 0x80]
movzx r8d, cl
xor edx, r8d
movzx ecx, r10b
or edx, ebx
xor r9d, r8d
dec edx
or r9d, r11d
dec r9d
or r9d, edx
movzx edx, byte [rax + r15 + 0x60]
xor edx, r8d
or edx, edi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x40]
xor edx, r8d
or edx, esi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x20]
xor edx, r8d
or edx, ebp
dec edx
or r9d, edx
movzx edx, byte [rax + r15]
movzx eax, byte [rax + r15 + 0xc0]
xor edx, r8d
xor eax, r8d
or edx, r14d
or eax, ecx
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.7ff7759004e0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x7ff7758f7420
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r9, rcx
movzx eax, byte [rdx + 2]
movzx r8d, byte [rdx + 3]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 1]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx]
shl r8d, 8
or r8d, eax
mov dword [rcx + 0x14], r8d
movzx eax, byte [rdx + 6]
movzx ecx, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x28], ecx
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x3c], ecx
movzx eax, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x30], ecx
movzx eax, byte [rdx + 0x12]
movzx ecx, byte [rdx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x1c], ecx
movzx eax, byte [rdx + 0x16]
movzx ecx, byte [rdx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x10], ecx
movzx eax, byte [rdx + 0x1a]
movzx ecx, byte [rdx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x24], ecx
movzx ecx, byte [rdx + 0x1f]
movzx eax, byte [rdx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x38], ecx
mov dword [r9], 0x61707865
mov dword [r9 + 4], 0x3320646e
mov dword [r9 + 8], 0x79622d32
mov dword [r9 + 0xc], 0x6b206574
ret
Function at 0x7ff77590036c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, [0x7ff7759203e0]
mov r9d, 2
call qword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x7ff7759003a6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x7ff7759003ab
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.kernel32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x7ff7759003f4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x7ff7759202e0]
cmp byte [rcx + rax], 0
je 0x7ff7759003f4
dec r8
sub rdx, 1
jne 0x7ff7759003da
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x7ff775901334
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff77590137e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff77590137e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff77590137e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff77590137e
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff77590137e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff775901380
xor al, al
add rsp, 0x28
ret
Function at 0x14000bbb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
lea rcx, [rsp + 0x21]
xor edi, edi
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], dil
call fcn.1400988d0
lea r8, [rsp + 0x20]
xor r9d, r9d
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne dil
mov eax, edi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret
Function at 0x14000d008
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, rcx
call fcn.14006d8f8
mov rcx, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
jne 0x14000d054
mov ecx, 0x80004005
call fcn.140001074
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
and qword [rsp + 0x58], 0
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x180], 0
mov edi, 0x103
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x181]
call fcn.1400988d0
mov byte [rsp + 0x70], 0
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x71]
call fcn.1400988d0
lea r11, [rsp + 0x180]
mov qword [rsp + 0x20], r11
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x19]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov rax, qword [rbx + 0x88]
xor r9d, r9d
lea r8d, [r9 + 0x53]
movzx edx, word [rax + 0x200]
lea rcx, [rsp + 0x38]
call fcn.14000c7fc
mov r9, qword [rbx + 0x88]
cmp qword [r9 + 0x2c0], 0x10
jb 0x14000d102
mov r9, qword [r9 + 0x2a8]
jmp 0x14000d109
add r9, 0x2a8
mov r8, qword [rsp + 0x38]
mov edi, 0x104
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14009841c
mov r9d, 5
lea r8, str..lnk
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400986cc
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x180]
call fcn.14005bdac
mov r11, qword [rbx + 0x88]
xor r9d, r9d
lea r8d, [r9 + 0x54]
movzx edx, word [r11 + 0x200]
lea rcx, [rsp + 0x38]
call fcn.14000c7fc
mov r11, qword [rbx + 0x88]
cmp qword [r11 + 0x2c0], 0x10
jb 0x14000d186
mov r9, qword [r11 + 0x2a8]
jmp 0x14000d18d
lea r9, [r11 + 0x2a8]
mov r8, qword [rsp + 0x38]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14009841c
mov r9d, 5
lea r8, str..lnk
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400986cc
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x180]
call fcn.14005bdac
nop
cmp qword [rsp + 0x60], 0x10
jb 0x14000d1de
mov rcx, qword [rsp + 0x48]
call fcn.14006127c
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
and qword [rsp + 0x58], 0
mov byte [rsp + 0x48], 0
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000d212
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x2a0
pop rdi
ret
Function at 0x14000e080
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x3e0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov rsi, rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rcx
mov ebp, 1
cmp qword [rdx + 0x20], 0x10
jb 0x14000e0d3
lea rbx, [rdx + 8]
mov qword [rsp + 0x20], rbx
mov r8, qword [rbx]
jmp 0x14000e0df
lea rbx, [rdx + 8]
mov qword [rsp + 0x20], rbx
mov r8, rbx
mov edi, 0x104
mov rdx, rdi
lea rcx, [rsp + 0x2c0]
call fcn.1400986e0
lea r8, [0x1400c6820]
mov rdx, rdi
lea rcx, [rsp + 0x2c0]
call fcn.140098ed8
cmp qword [rsi + 0x20], 0x10
jb 0x14000e117
mov r8, qword [rbx]
jmp 0x14000e11a
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x1b0]
call fcn.1400986e0
lea r8, [0x1400c55c0]
mov rdx, rdi
lea rcx, [rsp + 0x1b0]
call fcn.140098ed8
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
jne 0x14000e166
xor eax, eax
jmp 0x14000e2d7
lea r8, [rsp + 0x1b0]
mov rdx, rdi
lea rcx, [rsp + 0x2c0]
call fcn.1400986e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
cmp eax, 0x12
je 0x14000e2b1
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, edi
je 0x14000e298
lea rdx, [0x1400c6360]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
cmp eax, edi
je 0x14000e298
lea rdx, [0x1400c635c]
lea rcx, [rsp + 0x9c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
cmp eax, edi
je 0x14000e298
lea r8, [rsp + 0x9c]
mov edx, 0x104
lea rcx, [rsp + 0x1b0]
call fcn.140098ed8
test byte [rsp + 0x70], 0x10
je 0x14000e27c
mov qword [rsp + 0x60], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x48], dil
lea rcx, [rsp + 0x1b0]
call fcn.1400980d0
mov r8, rax
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x40]
call fcn.14000352c
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000e080
nop
cmp qword [rsp + 0x60], 0x10
jb 0x14000e260
mov rcx, qword [rsp + 0x48]
call fcn.14006127c
lea r8, [rsp + 0x2c0]
mov edx, 0x104
lea rcx, [rsp + 0x1b0]
call fcn.1400986e0
jmp 0x14000e298
lea r8, [rsp + 0x2c0]
mov edx, 0x104
lea rcx, [rsp + 0x1b0]
call fcn.1400986e0
mov ebp, edi
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14000e199
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebp, edi
je 0x14000e2d5
cmp qword [rsi + 0x20], 0x10
jb 0x14000e2ca
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov edi, eax
mov eax, edi
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x410]
add rsp, 0x3e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001a574
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rdx
mov rdi, rcx
cmp eax, 0x204
je 0x14001a5cf
cmp eax, 0x205
je 0x14001a5cf
cmp eax, 0x206
je 0x14001a5cf
cmp eax, 0x100
jne 0x14001a5b3
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x14001a5cf
cmp dword [rbx + 8], 0x200
jne 0x14001a5c2
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rdx, rbx
mov rcx, rdi
call fcn.14007b498
jmp 0x14001a5d4
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d7d4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rdi, rcx
lea rax, vtable.CHtmlCtrl.0
mov qword [rcx], rax
mov rcx, qword [rcx + 0x260]
call fcn.14000bbb0
test eax, eax
je 0x14001d81b
mov rcx, qword [rdi + 0x260]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rdi + 0x268]
sub rdx, 0x18
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14001d83f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rdx, qword [rdi + 0x260]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14001d860
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
lea rbx, [rdi + 0x220]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call fcn.14001d740
nop
mov rcx, qword [rbx]
call fcn.14006127c
nop
mov rdx, qword [rdi + 0x200]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14001d8a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rdx, qword [rdi + 0x1c0]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14001d8c2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp fcn.14007aebc

Function at 0x14001dc18
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, rcx
mov ebp, edx
lea rcx, [rsp + 0x21]
xor ebx, ebx
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], bl
call fcn.1400988d0
lea r8, [rsp + 0x20]
xor r9d, r9d
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov edi, eax
cmp eax, ebx
je 0x14001dc97
cmp edi, 0x104
ja 0x14001dc97
mov rcx, rsi
call fcn.1400980d0
cmp rdi, rax
jae 0x14001dc97
lea r8, [rsp + 0x20]
mov rdx, rbp
mov rcx, rsi
call fcn.1400986e0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001f168
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
lea rcx, [rsp + 0x21]
xor edi, edi
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], dil
call fcn.1400988d0
cmp qword [rbx + 0x20], 0x10
jb 0x14001f1b0
mov rcx, qword [rbx + 8]
jmp 0x14001f1b4
lea rcx, [rbx + 8]
lea r8, [rsp + 0x20]
xor r9d, r9d
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea rcx, [rsp + 0x20]
call fcn.1400980d0
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rax
call fcn.14000352c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne dil
mov eax, edi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret
Function at 0x140020ed0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x1a0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rbp, rdx
mov rdi, rcx
lea r8, str.CIOUninstaller::DeleteDevNode___n
mov edx, 2
lea r14, [0x14010f570]
mov rcx, r14
call fcn.140001000
lea r12, [rbx + 0x10]
mov qword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
and qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14004f360
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov r8, r12
mov rdx, qword [rbp]
mov ecx, 5
call qword [sym.imp.SETUPAPI.dll_SetupDiCallClassInstaller]
mov r9d, eax
lea r8, str.Called_SetupDiCallClassInstaller___result_was__d_n
mov edx, 1
mov rcx, r14
call fcn.140001000
call fcn.14005d27c
mov r11, qword [0x1401202b8]
test r11, r11
jne 0x140020f8f
xor ebx, ebx
jmp 0x140020f99
mov ecx, 0x2710
call r11
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x64
jae 0x140020fc5
lea r8, str.GetTickCount___t_100_so_sleep_for_5_seconds__n
mov edx, 1
mov rcx, r14
call fcn.140001000
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rdi + 0x88]
lea rsi, str.CIOUninstaller::DeleteDevNode___returns_error_d
cmp dword [rax + 0x7c8], 0
jne 0x140021111
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
lea rcx, str.LPTENUM
call fcn.1400980d0
mov r8, rax
lea rdx, str.LPTENUM
mov rcx, rbx
call fcn.140098c54
test eax, eax
je 0x1400210ec
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
lea rcx, str.DOT4PAR
call fcn.1400980d0
mov r8, rax
lea rdx, str.DOT4PAR
mov rcx, rbx
call fcn.140098c54
test eax, eax
je 0x1400210ec
mov dword [rsp + 0x50], 0x140
lea r8, [rsp + 0x50]
mov rdx, r12
mov rcx, qword [rbp]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstallParamsA]
test eax, eax
je 0x140021078
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x1400210bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
je 0x1400210bb
mov ecx, eax
call fcn.14004d8f0
mov r9, rax
lea r8, str.SetupDiGetDeviceInstallParams
lea rdx, str._s_failed_with__s_n
mov rcx, r14
call fcn.14004b7ec
nop
cmp qword [rsp + 0x48], 0x10
jb 0x1400210b7
mov rcx, qword [rsp + 0x30]
call fcn.14006127c
mov eax, ebx
jmp 0x140021139
test dword [rsp + 0x54], 0x180
je 0x140021111
mov rax, qword [rdi + 0x88]
mov dword [rax + 0x7c8], 1
xor r9d, r9d
mov r8, rsi
lea edx, [r9 + 0x20]
mov rcx, r14
call fcn.140001000
xor ebx, ebx
jmp 0x140021111
mov rax, qword [rdi + 0x88]
mov dword [rax + 0x7c8], 1
xor r9d, r9d
mov r8, rsi
lea edx, [r9 + 0x20]
mov rcx, r14
call fcn.140001000
xor ebx, ebx
mov r9d, ebx
mov r8, rsi
mov edx, 4
mov rcx, r14
call fcn.140001000
nop
cmp qword [rsp + 0x48], 0x10
jb 0x140021137
mov rcx, qword [rsp + 0x30]
call fcn.14006127c
mov eax, ebx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140061100
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret