joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401481e0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
mov r8d, edx
mov r9, rcx
xor r8d, 0x3b2e0fe0
cmp edx, 4
jl 0x140148228
mov r10d, edx
shr r10, 2
mov eax, r10d
neg eax
lea edx, [rdx + rax*4]
imul eax, dword [r9], 0x5bd1e995
imul r8d, r8d, 0x5bd1e995
add r9, 4
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r8d, ecx
dec r10
jne 0x140148201
dec edx
je 0x14014824a
dec edx
je 0x14014823f
dec edx
jne 0x140148258
movzx eax, byte [r9 + 2]
shl eax, 0x10
xor r8d, eax
movzx eax, byte [r9 + 1]
shl eax, 8
xor r8d, eax
movzx eax, byte [r9]
xor eax, r8d
imul r8d, eax, 0x5bd1e995
mov eax, r8d
shr eax, 0xd
xor eax, r8d
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
ret

Function at 0x140148270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov r12d, edx
mov rdi, rcx
movzx r8d, word [rax + rcx + 6]
test r8d, r8d
jle 0x140148340
mov r15d, dword [rax + rcx + 0x88]
lea r14, [rcx + 0x114]
xor ebp, ebp
add r14, rax
mov eax, r8d
mov qword [rsp + 0x60], r8
nop dword [rax]
mov ecx, dword [r14]
cmp r15d, ecx
jb 0x140148334
add ecx, dword [r14 - 4]
cmp r15d, ecx
jae 0x14014832f
mov ecx, dword [rdi + r15 + 0x24]
mov r13d, dword [rdi + r15 + 0x1c]
mov ebx, dword [rdi + r15 + 0x20]
mov esi, dword [rdi + r15 + 0x18]
lea rax, [rdi + r15]
add rcx, rdi
add r13, rdi
add rbx, rdi
xor r11d, r11d
mov qword [rsp + 0x70], rcx
test esi, esi
je 0x14014832f
nop
mov ecx, dword [rbx]
add rcx, rdi
or rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140148310
call fcn.1401481e0
cmp eax, r12d
je 0x140148357
inc r11d
add rbx, 4
cmp r11d, esi
jb 0x140148300
mov rax, qword [rsp + 0x60]
inc rbp
add r14, 0x28
cmp rbp, rax
jl 0x1401482c0
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x70]
movzx ecx, word [rcx + r11*2]
mov eax, dword [r13 + rcx*4]
add rax, rdi
jmp 0x140148342
Function at 0x140148370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
movsxd rcx, dword [rcx + 0x3c]
add rcx, rsi
mov qword [rsp + 0x20], rcx
movzx eax, word [rcx + 6]
test eax, eax
jle 0x140148456
mov r13d, dword [rcx + 0x88]
xor ebp, ebp
mov qword [rsp + 0x70], rax
lea rbx, [rcx + 0x114]
mov edx, dword [rbx]
cmp r13d, edx
jb 0x140148446
mov ecx, dword [rbx - 4]
add ecx, edx
cmp r13d, ecx
jae 0x140148441
mov r15d, dword [rbx + 8]
mov r12d, edx
xor r11d, r11d
mov eax, r15d
sub rax, rdx
lea rcx, [rax + r13]
add rcx, rsi
mov edx, dword [rcx + 0x1c]
mov r14d, dword [rcx + 0x20]
mov edi, dword [rcx + 0x18]
add rdx, rax
add r14, rax
add rdx, rsi
add r14, rsi
mov qword [rsp + 0x88], rdx
mov edx, dword [rcx + 0x24]
add rdx, rax
add rdx, rsi
mov qword [rsp + 0x80], rdx
test edi, edi
je 0x140148441
mov ecx, dword [r14 + r11*4]
sub rcx, r12
add rcx, r15
add rcx, rsi
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140148424
call fcn.1401481e0
cmp eax, 0xcce2dcad
je 0x14014846d
inc r11d
cmp r11d, edi
jb 0x140148413
mov rax, qword [rsp + 0x70]
inc rbp
add rbx, 0x28
cmp rbp, rax
jl 0x1401483b4
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + r11*2]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x20]
add eax, dword [rcx + 0x11c]
sub eax, dword [rcx + 0x114]
add rax, rsi
jmp 0x140148458

Function at 0x1401484a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rdx, [rsp + 0x50]
mov r8d, 0x104
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1401485cd
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x290], rsi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401485c9
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x288], rbp
mov qword [rsp + 0x298], rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov ebp, eax
call fcn.1402b9c60
mov rdi, rax
test rax, rax
je 0x14014858d
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140148585
mov rcx, rdi
call fcn.140148370
test rax, rax
je 0x140148585
movsd xmm0, qword [rax]
mov ebx, 0xa
movsd qword [0x14042bb98], xmm0
movzx eax, word [rax + 8]
mov word [0x14042bba0], ax
mov rcx, rdi
call fcn.1402b9c20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x298]
mov rbp, qword [rsp + 0x288]
mov eax, ebx
mov rsi, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0x270
pop rbx
ret
mov eax, ebx
jmp 0x1401485a8
mov eax, ebx
jmp 0x1401485b0
Function at 0x140148660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx edx, dx
mov r8d, 0xa
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1401486cf
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1401486cf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, rax
call fcn.1401487a0
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401486e0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x40
xor ebx, ebx
xor r9d, r9d
mov edx, 0x80000000
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140148787
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov ebp, eax
call fcn.1402b9c60
mov rdi, rax
test rax, rax
je 0x140148774
lea r9, [rsp + 0x58]
mov r8d, ebp
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14014876c
cmp dword [rsp + 0x58], ebp
jb 0x14014876c
mov rcx, rdi
call fcn.1401487a0
mov rbx, rax
mov rcx, rdi
call fcn.1402b9c20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rsi
ret

Function at 0x140148f90
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rdx, str.comctl32
mov r8d, 8
mov rbx, rcx
call fcn.1402bedf4
test eax, eax
jne 0x140148fcf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x140149018
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, [0x1403564ac]
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.1402bbff0
lea rcx, [rsp + 0x20]
mov r8, rbx
mov edx, 0x104
call fcn.1402bbff0
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0x140
pop rbx
ret
Function at 0x140149040
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movzx eax, word [rdx + 0x14]
movzx ebx, word [rdx + 6]
xor r10d, r10d
lea r9, [rdx + 0x18]
mov edi, ecx
mov r11d, r10d
add r9, rax
mov rax, r9
test ebx, ebx
je 0x14014908b
mov ecx, dword [rax + 8]
test ecx, ecx
jne 0x140149072
mov ecx, dword [rax + 0x10]
mov edx, dword [rax + 0xc]
cmp edi, edx
jb 0x14014907f
add ecx, edx
cmp edi, ecx
jb 0x140149098
inc r11d
add rax, 0x28
cmp r11d, ebx
jb 0x140149068
xor eax, eax
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov edx, r9d
sub edx, r8d
test ebx, ebx
je 0x1401490d4
cmp r9, rax
je 0x1401490cc
inc r10d
add r9, 0x28
cmp r10d, ebx
jb 0x1401490a2
mov ecx, dword [rax + 0x14]
sub ecx, dword [rax + 0xc]
lea eax, [rdx + rcx]
add eax, edi
add rax, r8
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov edx, dword [r9 + 0xc]
sub edx, dword [r9 + 0x14]
mov ecx, dword [rax + 0x14]
mov rbx, qword [rsp + 8]
sub ecx, dword [rax + 0xc]
lea eax, [rdx + rcx]
add eax, edi
mov rdi, qword [rsp + 0x10]
add rax, r8
ret
Function at 0x1401490f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x48
mov eax, 0x5a4d
mov r8, rcx
cmp word [rcx], ax
je 0x140149108
xor al, al
add rsp, 0x48
ret
mov qword [rsp + 0x38], rsi
movsxd rsi, dword [rcx + 0x3c]
add rsi, rcx
cmp dword [rsi], 0x4550
je 0x140149128
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x48
ret
movzx eax, word [rsi + 0x18]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x30], rdi
mov ecx, 0x10b
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp ax, cx
jne 0x140149158
lea rax, [rsi + 0x80]
jmp 0x14014916d
mov ecx, 0x20b
cmp ax, cx
jne 0x140149251
lea rax, [rsi + 0x90]
test rax, rax
je 0x140149251
mov ecx, dword [rax]
mov rdx, rsi
call fcn.140149040
mov r15, rax
test rax, rax
je 0x140149251
cmp dword [rax], 0
je 0x140149251
xor r14d, r14d
movabs rbp, 0x8000000000000000
mov ecx, dword [rax + 0x10]
test ecx, ecx
je 0x14014923b
mov ebx, dword [rax]
test ebx, ebx
je 0x14014923b
mov rdx, rsi
call fcn.140149040
mov rdx, rsi
mov ecx, ebx
mov rdi, rax
call fcn.140149040
mov rbx, rax
test rdi, rdi
je 0x14014923b
test rax, rax
je 0x14014923b
mov rcx, qword [rax]
test rcx, rcx
je 0x14014923b
test rbp, rcx
jne 0x14014922a
mov ecx, dword [rbx]
mov rdx, rsi
call fcn.140149040
test rax, rax
je 0x14014922a
movzx ecx, byte [rax + 2]
lea rdx, [rax + 2]
xor eax, eax
test cl, cl
je 0x14014922a
nop dword [rax]
nop word [rax + rax]
ror eax, 0xd
movsx ecx, cl
lea rdx, [rdx + 1]
add eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140149210
cmp eax, 0x753a512
je 0x140149276
mov rcx, qword [rbx + 8]
add rbx, 8
add rdi, 8
test rcx, rcx
jne 0x1401491e1
inc r14
lea rax, [r14 + r14*4]
cmp dword [r15 + rax*4], 0
lea rax, [r15 + rax*4]
jne 0x1401491a2
xor al, al
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
add rsp, 0x48
ret
mov edx, 8
lea r9, [rsp + 0x50]
mov rcx, rdi
lea r8d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1401492b3
mov r8d, dword [rsp + 0x50]
lea rax, [0x1401492c0]
lea r9, [rsp + 0x58]
mov edx, 8
mov rcx, rdi
mov qword [rdi], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
jmp 0x140149253
Function at 0x14014bbb0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x14042c9e0]
mov ebx, edx
test al, 1
jne 0x14014bbf4
or eax, 1
lea rcx, [0x1403017d0]
mov qword [0x14042c9f0], 0xffffffff80000002
mov dword [0x14042c9e0], eax
lea rax, vtable.Core::Win32::RegistryKey.0
mov qword [0x14042c9e8], rax
call fcn.1402bb344
lea rdx, [0x14034ee50]
lea rcx, [0x14042c9e8]
call fcn.1400eb8d0
mov rdi, rax
test rax, rax
je 0x14014bca0
dec ebx
je 0x14014bc59
dec ebx
je 0x14014bc50
dec ebx
je 0x14014bc47
dec ebx
je 0x14014bc3e
mov rcx, qword [rax + 8]
lea rdx, str.ProxyMode
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14014bc93
lea rcx, str.Manual
jmp 0x14014bc60
lea rcx, [0x14034ec80]
jmp 0x14014bc60
lea rcx, str.WPAD
jmp 0x14014bc60
lea rcx, str.None
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14014bc64
add eax, eax
lea rdx, str.ProxyMode
mov r9d, 1
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi + 8]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14014c920
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rbx, rcx
lea rax, [rcx + 0x18]
mov qword [r11 + 0x10], rax
lea rsi, [rax + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14014cb50
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.140201da0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14014c993
test al, 0x10
je 0x14014c993
cmp dword [rsp + 0x30], 0
jle 0x14014c9b4
mov rcx, qword [rsp + 0x28]
call fcn.1402b9c20
jmp 0x14014c9b4
cmp dword [rsp + 0x30], 0
jle 0x14014c9a4
mov rcx, qword [rsp + 0x28]
call fcn.1402b9c20
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400d1110
nop
mov rbp, qword [rbx + 0xb0]
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, 0x40000000
lea rcx, [rsp + 0x48]
call fcn.140208780
mov rdi, rax
test rax, rax
je 0x14014ca36
mov word [rsp + 0x80], 0xfeff
mov r9, qword [rax]
mov r8d, 2
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [r9 + 0x48]
mov rdx, rdi
mov rcx, rbp
call fcn.1402073f0
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x20]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov byte [rbx + 0xb8], 0
mov bl, 1
jmp 0x14014ca38
xor bl, bl
cmp dword [rsp + 0x50], 0
jle 0x14014ca4a
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x40], 0
jle 0x14014ca5c
mov rcx, qword [rsp + 0x38]
call fcn.1402b9c20
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, bl
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14014d1f0
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x2d8], rbx
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rcx
lea rax, [rcx + 0x18]
mov qword [rsp + 0x50], rax
lea rdi, [rax + 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400d1110
nop
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x14014d265
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0xb0], 0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14014d2ab
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400d1110
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [rsp + 0x48], 0
jle 0x14014d2ab
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14014cb50
nop
mov dl, 1
lea rcx, [rsp + 0x20]
call fcn.1400ec740
mov rcx, rbx
call fcn.14014c690
nop
cmp dword [rsp + 0x28], 0
jle 0x14014d2e0
mov rcx, qword [rsp + 0x20]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x38], 0
jle 0x14014d2f2
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1402b9610
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x2c0
pop rdi
ret
Function at 0x14014f2a0
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
movzx eax, word [rdx + 0x10]
mov rdi, rdx
mov rbx, rcx
cmp ax, 0x14
jne 0x14014f2cd
mov qword [rdx + 0x18], 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp ax, 1
jne 0x14014f35b
call fcn.1401fc460
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0xfa
mov rcx, rax
call fcn.140148660
mov ecx, 0xfdb361
mov qword [rbx + 0xa0], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
xor r9d, r9d
lea edx, [r9 + 1]
xor r8d, r8d
xor ecx, ecx
mov qword [rbx + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r8, [0x14014f3e0]
mov qword [rbx + 0xb8], rax
lea rax, [rsp + 0x48]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xb0], rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp ax, 2
jne 0x14014f3be
mov rdx, qword [rcx + 0xb0]
test rdx, rdx
je 0x14014f3b1
mov rcx, qword [rcx + 0xb8]
xor r9d, r9d
mov r8d, 0x3e8
call qword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
cmp eax, 0x102
jne 0x14014f399
mov rcx, qword [rbx + 0xb0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0xb8]
mov qword [rbx + 0xb0], 0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0xa8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1401fc460
Function at 0x14014f3f0
Capabilities:
Capture screenshot
Check for time delay via gettickcount

Disassembly:
mov r11, rsp
push r14
sub rsp, 0xa0
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp qword [rcx + 0xa0], 0
mov r14, rcx
je 0x14014f626
mov rax, qword [rcx]
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x20], r13
mov qword [r11 - 0x28], r15
call qword [rax]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx]
lea rdx, [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [rsp + 0x74]
mov r13d, dword [rsp + 0x70]
sub ebx, dword [rsp + 0x6c]
sub r13d, dword [rsp + 0x68]
mov rcx, rdi
mov dword [rsp + 0x50], ebx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, ebx
mov edx, r13d
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rbp
mov rdx, rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [r14 + 0xa0]
xor edi, edi
mov r15d, dword [rcx + 0x10]
mov sil, 1
sub r15d, r13d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [r14 + 0xb8]
xor edx, edx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14014f5e2
mov qword [rsp + 0x90], r12
lea r12d, [r13 - 8]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [r14 + 0xa8]
lea rdx, [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, qword [r14 + 0xa0]
mov r9d, 8
mov eax, dword [rcx + 0x14]
mov r8d, r9d
mov rdx, rbp
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x20], edi
call fcn.140148d70
mov rcx, qword [rsp + 0x58]
xor eax, eax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x50]
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
test sil, sil
je 0x14014f580
inc edi
cmp edi, r15d
jne 0x14014f58e
xor sil, sil
jmp 0x14014f58e
dec edi
movzx esi, sil
mov eax, 1
cmove esi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0xa
jae 0x14014f5bb
mov r12d, 1
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0xa
jb 0x14014f5a1
lea r12d, [r13 - 8]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [r14 + 0xb8]
xor edx, edx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14014f500
mov r12, qword [rsp + 0x90]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r15, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0xa0
pop r14
ret
Function at 0x140150b80
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [rcx + 0x30]
lea rax, vtable.RegKeyMonitor.0
mov rbx, rcx
mov qword [rcx], rax
mov rcx, qword [rcx + 0x28]
xor r9d, r9d
mov r8d, 0x2710
call qword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
cmp eax, 0x102
jne 0x140150bbd
mov rcx, qword [rbx + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbx + 0x20]
add rsp, 0x20
pop rbx
jmp fcn.1402b9c20

Function at 0x140150c00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
test rax, rax
jne 0x140150c3b
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
mov qword [rsp + 0x48], rbp
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbp, rax
test rax, rax
jne 0x140150c7e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x48]
xor eax, eax
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x40
mov qword [rsp + 0x40], rbx
call fcn.1402b968c
mov rbx, rax
test rax, rax
je 0x140150cff
lea rax, vtable.RegKeyMonitor.0
lea rcx, str.ScanAndClean
mov qword [rbx + 0x10], rsi
mov qword [rbx], rax
mov rax, qword [rdi]
mov qword [rbx + 0x18], rbp
mov qword [rbx + 8], rax
call fcn.1402bc8c0
xor r9d, r9d
lea edx, [r9 + 1]
xor r8d, r8d
xor ecx, ecx
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r8, [0x140150d20]
mov qword [rbx + 0x28], rax
lea rax, [rbx + 0x38]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x30], rax
jmp 0x140150d01
xor ebx, ebx
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret