joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001590
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.orcshk364.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
mov qword [0x1800a0b30], rax
test rax, rax
je 0x18000166b
lea rdx, str.SetHooks
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800a0b30]
lea rdx, str.UnSetHooks
mov qword [0x1800a44d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800a0b30]
lea rdx, str.SetKeyboardFilterHook
mov qword [0x1800a44e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800a0b30]
lea rdx, str.SetMouseFilterHook
mov qword [0x1800a44e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800a0b30]
lea rdx, str.GetHookThreadMsgId
mov qword [0x1800a44f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a44f8], rax
mov rax, qword [0x1800a0b30]
test rax, rax
je 0x18000166b
cmp qword [0x1800a44d8], rbx
je 0x18000166b
cmp qword [0x1800a44e0], rbx
je 0x18000166b
cmp qword [0x1800a44e8], rbx
je 0x18000166b
cmp qword [0x1800a44f0], rbx
lea ecx, [rbx + 1]
jne 0x18000166d
mov ecx, ebx
test rax, rax
mov dword [0x1800a0b38], ecx
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1800016c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x18008f100]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov rdi, rdx
lea rcx, [rsp + 0x52]
xor esi, esi
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x50], si
call fcn.180015150
lea r8, str.softwareTECOcular.3_agentdebug
lea rdx, str._s_s
lea rcx, [rsp + 0x50]
mov r9, rbx
call fcn.180001510
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x38], rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x18000175d
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x18000179e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180013880
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1800017d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov rdx, rcx
lea r8, [rsp + 0x30]
xor ebx, ebx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x180001822
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1800018bc
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rsp + 0x60]
cmp r11d, 2
jb 0x1800018b1
add r11d, 2
mov eax, 2
mov dword [rsp + 0x60], r11d
shr r11d, 1
mov ecx, r11d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180013c3c
mov rbx, rax
test rax, rax
je 0x1800018b1
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180002900
Capabilities:
Check for time delay via gettickcount
Check if file exists
Copy file
Get file attributes
Move file
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x18008f100]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rsi, rcx
mov rcx, rdx
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1800029ed
test al, 1
je 0x180002950
and ebx, 0xfffffffe
mov rcx, rdi
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
je 0x1800029ed
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x3fe
mov word [rsp + 0x20], bx
call fcn.180015150
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, str._s.bak_08X
lea rcx, [rsp + 0x20]
mov r9d, eax
mov r8, rdi
call fcn.180013f6c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800029df
nop
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, str._s.bak_08X
lea rcx, [rsp + 0x20]
mov r9d, eax
mov r8, rdi
call fcn.180013f6c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc ebx
cmp ebx, 0xa
jge 0x180002a21
cmp eax, 0xffffffff
jne 0x1800029a0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.180013880
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
xor eax, eax
jmp 0x1800029fc
Function at 0x180002fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov rbx, rcx
lea rdx, str.SOFTWAREMicrosoftDriver_Signing
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x40], 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x50]
lea r11, [rsp + 0x40]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x48]
lea rdx, str.Policy
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x50]
lea rdx, str.SOFTWAREMicrosoftNon_Driver_Signing
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r11, [rbx + 1]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.Policy
xor r8d, r8d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x50]
lea rdx, str.SOFTWAREMicrosoftDriver_Signing
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea r11, [rbx + 2]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.Policy
xor r8d, r8d
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x50]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x50]
lea rax, [rbx + 3]
lea r9, [rsp + 0x48]
lea rdx, str.PrivateHash
xor r8d, r8d
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret
Function at 0x180003140
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov rbx, rcx
lea rdx, str.SOFTWAREMicrosoftDriver_Signing
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x40]
lea rdx, str.Policy
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x40]
lea rdx, str.SOFTWAREMicrosoftNon_Driver_Signing
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x40]
lea r11, [rbx + 1]
lea rdx, str.Policy
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x40]
lea rdx, str.SOFTWAREMicrosoftDriver_Signing
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x40]
lea r11, [rbx + 2]
lea rdx, str.Policy
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x40]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x40]
lea r11, [rbx + 3]
lea rdx, str.PrivateHash
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret
Function at 0x1800047e0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
cmp dword [0x1800a40a0], 0
jne 0x180004814
mov dword [0x1800a40a0], 1
mov edx, 0x104
lea rcx, [0x1800a40b0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, 1
lea rdx, [0x1800a0b80]
lea rcx, [rsp + 0x28]
call fcn.180011c90
nop
mov rax, qword [0x180061968]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.1800106a0
mov r9, qword [str.test64.dll]
lea r8, [0x1800a40b0]
lea rdx, str._s_s
lea rcx, [rsp + 0x50]
call fcn.180010070
mov ecx, 0x58
call fcn.180013c3c
mov rbx, rax
test rax, rax
je 0x1800048e2
lea rax, vtable.CTComDll.0
mov qword [rbx], rax
mov rcx, qword [0x180061968]
mov qword [rbx + 8], rcx
xor eax, eax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x20], eax
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.180004480
test eax, eax
je 0x1800048d5
mov r8, rbx
mov edx, dword [0x1800a0b70]
lea rcx, [0x1800a0b68]
call fcn.180011580
jmp 0x1800048e2
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov ebx, dword [0x1800a0b70]
lea rcx, [rsp + 0x50]
call fcn.18000f740
nop
lea rcx, [rsp + 0x28]
call fcn.180011cd0
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x180004b00
Capabilities:
Copy file
Get common file path

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x58
mov qword [rbp - 0x28], 0xfffffffffffffffe
cmp dword [0x1800a40a0], 0
jne 0x180004b37
mov dword [0x1800a40a0], 1
mov edx, 0x104
lea rcx, [0x1800a40b0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call section..text
mov rbx, rax
mov r8d, 1
lea rdx, [0x1800a0b80]
lea rcx, [rbp - 0x20]
call fcn.180011c90
nop
mov rcx, qword [0x180061968]
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x28], rcx
lea rcx, [rbp + 0x30]
call fcn.1800106a0
mov r9, qword [str.baktest64.sys]
mov r8, rbx
lea rdx, str._s_s
lea rcx, [rbp + 0x30]
call fcn.180010070
lea rcx, [rbp + 0x28]
call fcn.1800106a0
mov r9, qword [str.test64.dll]
lea r8, [0x1800a40b0]
lea rdx, str._s_s
lea rcx, [rbp + 0x28]
call fcn.180010070
xor r11d, r11d
mov qword [rbp - 0x38], r11
mov qword [rbp - 0x30], r11
mov dword [rbp + 0x20], r11d
mov dword [rbp + 0x18], r11d
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x38]
mov rcx, qword [rbp + 0x30]
call fcn.1800027b0
lea r8, [rbp + 0x18]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp + 0x28]
call fcn.1800027b0
mov r11d, dword [rbp + 0x18]
cmp dword [rbp + 0x20], r11d
jne 0x180004bf8
mov rax, qword [rbp - 0x38]
cmp rax, qword [rbp - 0x30]
je 0x180004c0a
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop
lea rcx, [rbp + 0x28]
call fcn.18000f740
nop
lea rcx, [rbp + 0x30]
call fcn.18000f740
nop
lea rcx, [rbp - 0x20]
call fcn.180011cd0
add rsp, 0x58
pop rbx
pop rbp
ret
Function at 0x1800052a0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rsi, rdx
mov rbx, rcx
lea rdx, [rcx + 8]
mov r8d, 1
lea rcx, [rsp + 0x38]
call fcn.180011c90
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
test eax, eax
je 0x18000532f
test rsi, rsi
je 0x18000532f
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor r11d, r11d
mov dword [rsp + 0x60], r11d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx + rcx - 2]
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x60]
mov rdx, rsi
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [rsp + 0x38]
call fcn.180011cd0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x180008140
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
or r8, 0xffffffffffffffff
xor eax, eax
mov rcx, r8
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
test ecx, ecx
je 0x180008219
add ecx, 4
mov qword [rsp + 0x70], rsi
mov eax, 2
movsxd rsi, ecx
mul rsi
cmovo rax, r8
mov rcx, rax
call fcn.180013c3c
mov rdi, rax
test rax, rax
je 0x180008214
lea r8, [rsi + rsi]
xor edx, edx
mov rcx, rax
call fcn.180015150
mov rcx, rdi
sub rcx, rbx
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
mov word [rcx + rbx - 2], ax
test ax, ax
jne 0x1800081b0
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov eax, 0x614
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x40], ax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov rcx, rdi
call fcn.180013b68
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x180008230
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x6a0
mov rax, qword [0x18008f100]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov rbx, rcx
test rcx, rcx
je 0x180008464
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x180008464
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
je 0x180008464
test al, 1
je 0x180008299
and edi, 0xfffffffe
mov rcx, rbx
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test dil, 0x10
je 0x180008459
mov qword [rsp + 0x6b8], rbp
lea rcx, [rsp + 0x272]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x6c0], rsi
mov word [rsp + 0x270], bp
call fcn.180015150
lea rcx, [rsp + 0x270]
sub rcx, rbx
mov rdx, rbx
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx - 2], ax
test ax, ax
jne 0x1800082e0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x270]
repne scasw ax, word [rdi]
mov eax, dword [0x180075de0]
lea rcx, [rsp + 0x24]
mov dword [rdi - 2], eax
movzx eax, word [0x180075de4]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x20], ebp
mov word [rdi + 2], ax
call fcn.180015150
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18000843e
nop dword [rax]
lea rdx, [0x180075e14]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x18000841f
lea rdx, [0x180075e1c]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x18000841f
lea rcx, [rsp + 0x482]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x480], bp
call fcn.180015150
lea rcx, [rsp + 0x480]
sub rcx, rbx
mov rdx, rbx
nop
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx - 2], ax
test ax, ax
jne 0x1800083b0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x270]
repne scasw ax, word [rdi]
mov eax, dword [0x180075e20]
or rcx, 0xffffffffffffffff
mov dword [rdi - 2], eax
xor eax, eax
lea rdi, [rsp + 0x270]
repne scasw ax, word [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x4c]
nop word [rax + rax]
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x180008400
lea rcx, [rsp + 0x480]
call fcn.180008230
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180008350
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rsi, qword [rsp + 0x6c0]
mov rbp, qword [rsp + 0x6b8]
jmp 0x180008466
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x180008466
xor eax, eax
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.180013880
mov rbx, qword [rsp + 0x6c8]
add rsp, 0x6a0
pop rdi
ret
Function at 0x18000b7a0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
push rsi
push r12
sub rsp, 0x240
mov rax, qword [0x18008f100]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, rcx
lea r9, str.CAgentU64Thread::Run_1
lea r8, str.AgentU64
lea rcx, [0x1800a45e8]
or edx, 0xffffffff
call fcn.180005b70
call fcn.18000c410
mov rcx, qword [rsi + 0x20]
xor r12d, r12d
mov edx, 0x3e8
mov ebx, r12d
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18000b9bd
mov qword [rsp + 0x268], rbp
lea rbp, [0x180000000]
mov qword [rsp + 0x270], rdi
nop word [rax + rax]
cmp dword [rsi + 0x48], r12d
jne 0x18000b9ad
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call fcn.18000bdd0
test edi, edi
je 0x18000b84d
cmp edi, ebx
jb 0x18000b84d
lea ecx, [rbx + 0x3a98]
cmp edi, ecx
jbe 0x18000b96d
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov ebx, edi
mov word [rsp + 0x20], r12w
call fcn.180015150
call fcn.180013410
mov rcx, r12
test eax, eax
je 0x18000b910
nop word [rax + rax]
movzx eax, word [rcx + rbp + 0x75d40]
add rcx, 2
mov word [rsp + rcx + 0x1e], ax
test ax, ax
jne 0x18000b880
xor eax, eax
lea rdi, [rsp + 0x20]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [str.TEC_OCULAR__AGENT_V3_MUTEX_AGENT]
mov qword [rdi - 2], rax
mov rax, qword [0x18007d278]
mov qword [rdi + 6], rax
mov rax, qword [0x18007d280]
mov qword [rdi + 0xe], rax
mov rax, qword [0x18007d288]
mov qword [rdi + 0x16], rax
mov rax, qword [0x18007d290]
mov qword [rdi + 0x1e], rax
mov rax, qword [0x18007d298]
mov qword [rdi + 0x26], rax
mov rax, qword [0x18007d2a0]
mov qword [rdi + 0x2e], rax
mov rax, qword [0x18007d2a8]
mov qword [rdi + 0x36], rax
movzx eax, word [0x18007d2b0]
mov word [rdi + 0x3e], ax
jmp 0x18000b926
movzx eax, word [rcx + rbp + 0x7d270]
add rcx, 2
mov word [rsp + rcx + 0x1e], ax
test ax, ax
jne 0x18000b910
lea r8, [rsp + 0x20]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
jne 0x18000b95d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x18000b966
mov eax, dword [0x1800a5080]
cmp eax, 0xc
ja 0x18000b989
inc eax
mov dword [0x1800a5080], eax
jmp 0x18000b96d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1800a5080], r12d
mov rcx, qword [rsi + 0x20]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x18000b820
jmp 0x18000b9ad
lea r9, str.CAgentU64Thread::Run_2
lea r8, str.AgentU64
lea rcx, [0x1800a45e8]
or edx, 0xffffffff
call fcn.180005b70
mov dword [0x1800a5080], r12d
mov rdi, qword [rsp + 0x270]
mov rbp, qword [rsp + 0x268]
mov rcx, rsi
call fcn.18000b6e0
mov rcx, rsi
call fcn.180012bd0
lea r9, str.CAgentU64Thread::Run_2
lea r8, str.AgentU64
lea rcx, [0x1800a45e8]
or edx, 0xffffffff
call fcn.180005b70
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180013880
add rsp, 0x240
pop r12
pop rsi
pop rbx
ret
Function at 0x18000bdd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1800a5084]
mov ebx, eax
test ecx, ecx
je 0x18000bdf6
cmp eax, ecx
jb 0x18000bdf6
add ecx, 0x7530
cmp ecx, eax
jae 0x18000be0c
call fcn.18000c410
call fcn.18000be80
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1800a5084], eax
mov eax, dword [0x1800a5088]
test eax, eax
je 0x18000be23
cmp ebx, eax
jb 0x18000be23
add eax, 0x1d4c0
cmp eax, ebx
jae 0x18000be77
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x1800a4ec4]
cmp ecx, 0x1d4c0
jb 0x18000be66
lea rdx, str.TICKCOUNT
lea rcx, [0x1800a46b0]
mov dword [0x1800a4ec4], eax
call fcn.1800016c0
cmp eax, dword [0x1800a48bc]
je 0x18000be66
lea rcx, [0x1800a45e0]
call fcn.180001d10
call fcn.18000c990
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1800a5088], eax
add rsp, 0x20
pop rbx
ret