joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002a3b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14002a4a4
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
je 0x14002a46a
sub r8, rdx
add rdx, qword [rbx + 8]
mov rax, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp r8, rcx
cmovae r8, rcx
mov dword [rbp - 0x28], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x14002a425
mov eax, dword [rbp - 0x28]
mov ecx, 2
test rax, rax
jne 0x14002a43c
jmp 0x14002a449
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x6d
je 0x14002a449
cmp eax, 0x3e5
jne 0x14002a45a
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x14002a44d
mov byte [rsi + 1], 0
xor eax, eax
mov byte [rsi], al
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14002a44f
test r8, r8
mov ecx, 0x10
mov eax, 1
cmove rax, rcx
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.14002fd60
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14002a3e1
mov qword [rbp - 0x28], 0
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.140030000
int3

Function at 0x14002ec04
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14002ec4e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002ec4e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002ec4e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002ec4e
cmp dword [rcx + 0x84], 0xe
jbe 0x14002ec4e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002ec50
xor al, al
add rsp, 0x28
ret
Function at 0x1400289e4
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c2f4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c2f4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028b34
cmp rax, 0xffffffffffffffff
je 0x140028b34
xor edi, edi
test rbp, rbp
jle 0x140028adf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001ec08
mov rbx, rax
test rax, rax
jne 0x140028a6c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028ad5
mov edx, 0x8000
mov ecx, r14d
call fcn.140019c58
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001cfd0
cmp eax, 0xffffffff
je 0x140028ab5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a7c
mov edx, r15d
mov ecx, r14d
call fcn.140019c58
jmp 0x140028ad5
cmp byte [rsi + 0x38], dil
je 0x140028acc
cmp dword [rsi + 0x34], 5
jne 0x140028acc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028ad5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a9b8
jmp 0x140028b48
jns 0x140028b48
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c2f4
cmp rax, 0xffffffffffffffff
jne 0x140028b00
cmp byte [rsi + 0x30], dil
je 0x140028b48
mov edi, dword [rsi + 0x2c]
jmp 0x140028b48
mov ecx, r14d
call fcn.14001878c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028b48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028b48
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028b41
mov eax, dword [rsi + 0x2c]
jmp 0x140028b46
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c2f4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029c40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029c68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029c68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140ecf414
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140ecf41e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140ecf447
pop rbp
sub rbp, 0x33
sub rbp, 0xecf414
sub rsp, 0x20
jmp 0x140ecf466
mov rax, 0xecf414
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x2884252b
xor byte [rax], dl
inc rax
dec rcx
jne 0x140ecf485
jmp 0x140ecf49c
invalid
Function at 0x140004907
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400123e0
mov r15, qword [0x14002048c]
cmp r15, 1
jne 0x1400049d6
push qword [0x14002057c]
pop rcx
call fcn.14000d5b4
mov r15, rax
and r15, r15
jle 0x14000496c
mov rcx, qword [0x14002057c]
call fcn.14000d5bc
mov rcx, qword [0x14002057c]
call fcn.14000d5d0
or rax, rax
je 0x14000496c
mov rbp, qword [0x140020584]
push qword [rbp + 0x10]
pop rcx
call fcn.14000da6c
jmp 0x140004949
push qword [0x14002056c]
pop rcx
call fcn.14000d5b4
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400049d6
push 5
push 0
push 1
push qword [0x14002056c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009070
mov rcx, qword [0x14002056c]
call fcn.14000d5bc
mov rcx, qword [0x14002056c]
call fcn.14000d5d0
or rax, rax
je 0x1400049d6
mov rbp, qword [0x140020574]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400049b3
mov rax, 1
jmp 0x1400049e2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006a58
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xchg edx, eax
invalid
xchg ebp, eax
call qword [rdx - 0x6d006a10]
invalid
xchg edx, eax
invalid
xchg edx, eax
invalid
xchg edx, eax
invalid
xchg ebp, eax
call qword [rdx - 0x6d006a10]
invalid
xchg ebp, eax
call qword [rdx - 0x6d006a10]
invalid
Function at 0x180001000
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bx
call fcn.180032160
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x20]
lea rcx, str.TEC_OCULAR__AGENT_V3_MUTEX_AGENT
call fcn.180010730
lea r8, [rsp + 0x20]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
jne 0x180001070
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
sete bl
mov eax, ebx
jmp 0x18000107e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180030310
add rsp, 0x240
pop rbx
ret

Function at 0x1800011b0
Capabilities:
Check mutex on windows

Disassembly:
sub rsp, 0x268
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r8d, 1
lea rdx, [0x1800d12a0]
lea rcx, [rsp + 0x20]
call fcn.1800242f0
nop
cmp dword [0x1800d6b50], 0
je 0x180001212
lea r9, str.CAgentSwitchMgr::IsNoSDAgentVerMutex
lea r8, str.AgentSwitchMgr
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800d6a98]
call fcn.180015770
xor eax, eax
mov word [rsp + 0x40], ax
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.180032160
mov r8d, 1
lea rdx, [rsp + 0x40]
lea rcx, str.TEC_OCULAR__AGENT_V3_MUTEX_AGENT_VERMODE
call fcn.180010730
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
jne 0x180001274
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x180001266
jmp 0x18000127e
lea rcx, [rsp + 0x20]
call fcn.180024330
xor eax, eax
jmp 0x18000128d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x20]
call fcn.180024330
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180030310
add rsp, 0x268
ret
Function at 0x180003fe0
Capabilities:
Start service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
xor ecx, ecx
mov r8d, 0xc0000000
mov ebx, esi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x180004108
lea r8d, [rsi + 0x14]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x1800040ff
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800040f6
lea rdx, str.QueryServiceStatusEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800040f6
xor ecx, ecx
lea r9d, [rsi + 0x24]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x58], ecx
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x38], rsi
call rax
test eax, eax
je 0x1800040f6
mov ebx, dword [rsp + 0x3c]
cmp ebx, 4
je 0x1800040c6
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esi, eax
cmp dword [0x1800d6b50], 0
je 0x1800040f6
lea r9, str.CheckAndStartService___d____d_
lea r8, str.Inject
lea rcx, [0x1800d6a98]
mov edx, reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebx
call fcn.180015770
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180030310
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18000c330
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov rdi, rdx
mov r12d, ecx
lea rsi, str.disfunc_
lea rbx, [rdx + 0x10]
test ecx, ecx
je 0x18000c36a
lea rbx, [rdx + 0x14]
lea rsi, str.enfunc_
xor r13d, r13d
cmp dword [rbx], r13d
je 0x18000c396
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx]
cmp eax, 0x1d4c0
ja 0x18000c396
test r12d, r12d
jne 0x18000c38e
mov esi, dword [rdi + 0x18]
jmp 0x18000c4e4
mov esi, dword [rdi + 0x1c]
jmp 0x18000c4e4
mov rax, qword [0x18007db48]
mov qword [rbp + 0x48], rax
mov r9, qword [rdi + 8]
mov r8, rsi
lea rdx, str._s_s
lea rcx, [rbp + 0x48]
call fcn.180021bb0
lea r14, vtable.CTConfig.0
mov qword [rbp - 0x40], r14
mov rax, qword [0x18007db48]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x20]
call fcn.180023cc0
nop
mov dword [rbp - 8], r13d
call fcn.180013bc0
nop
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x50]
call fcn.180022250
mov rbx, rax
mov qword [rbp + 0x58], rax
mov dword [rbp - 8], r13d
lea rcx, [rbp - 0x38]
call fcn.180022480
lea rcx, [rbp - 0x30]
call fcn.180022480
lea rcx, [rbp - 0x28]
call fcn.180022480
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.180022930
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.180021110
lea rcx, [rbp - 0x40]
call fcn.180013ef0
nop
mov rcx, rbx
call fcn.180021000
mov esi, r13d
mov dword [rbp + 0x40], r13d
cmp dword [rbp - 0x18], r13d
jle 0x18000c471
mov rax, qword [rbp - 0x20]
lea r8, [rbp + 0x40]
lea rdx, [0x18009b1e4]
mov rcx, qword [rax]
call fcn.180030c30
mov esi, dword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov rdx, rdi
lea rcx, [0x1800d1490]
call fcn.18000cd10
mov rdx, rdi
lea rcx, [0x1800d1490]
test r12d, r12d
jne 0x18000c4a4
mov dword [rax + 0x10], ebx
call fcn.18000cd10
mov dword [rax + 0x18], esi
jmp 0x18000c4af
mov dword [rax + 0x14], ebx
call fcn.18000cd10
mov dword [rax + 0x1c], esi
mov qword [rbp - 0x40], r14
lea rcx, [rbp - 0x20]
call fcn.180022900
nop
lea rcx, [rbp - 0x28]
call fcn.180021000
nop
lea rcx, [rbp - 0x30]
call fcn.180021000
nop
lea rcx, [rbp - 0x38]
call fcn.180021000
nop
lea rcx, [rbp + 0x48]
call fcn.180021000
cmp esi, 1
sete r13b
mov eax, r13d
add rsp, 0x70
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18000d0c0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
call fcn.1800466d0
test eax, eax
jne 0x18000d0ea
call fcn.1800466f0
test eax, eax
jne 0x18000d0ea
call fcn.180046670
test eax, eax
jne 0x18000d0ea
mov dword [rbx + 0x218], eax
cmp dword [rbx + 0x21c], 0
jne 0x18000d2c3
cmp dword [rbx + 0x220], 3
jge 0x18000d2c3
cmp dword [rbx + 0x218], 0
je 0x18000d2c3
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
lea rsi, str.TnfcapInst.dll
call fcn.180046440
lea rdi, str.TnfcapInst64.dll
test eax, eax
lea rax, [rbx + 0x10]
cmove rdi, rsi
cmp word [rax], 0
cmovne rdi, rax
inc dword [rbx + 0x220]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x1800d6b50], 0
mov rsi, rax
je 0x18000d184
lea r9, str.CTnfcapDrive::Initialize____08x____s_
lea r8, str.drive
lea rcx, [0x1800d6a98]
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.180015770
mov rdi, qword [rsp + 0x78]
test rsi, rsi
je 0x18000d2b2
lea rdx, str.InitTnfcapMgr
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.UninitTnfcapMgr
mov rcx, rsi
mov qword [0x1800d6728], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.InstallTnfcapModule
mov rcx, rsi
mov qword [0x1800d6730], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.UninstallTnfcapModule
mov rcx, rsi
mov qword [0x1800d6738], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.IsTnfcapInstalled
mov rcx, rsi
mov qword [0x1800d6740], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.StartTnfcapService
mov rcx, rsi
mov qword [0x1800d6748], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.StopTnfcapService
mov rcx, rsi
mov qword [0x1800d6750], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x1800d6b50], 0
mov qword [0x1800d6758], rax
je 0x18000d2a8
mov rcx, qword [0x1800d6748]
lea r9, str.CTnfcapDrive::Initialize____08x__08x__08x__08x__08x___08x__08x_
lea r8, str.drive
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rax
mov rax, qword [0x1800d6750]
mov qword [rsp + 0x40], rax
mov rax, qword [0x1800d6740]
lea rcx, [0x1800d6a98]
mov qword [rsp + 0x38], rax
mov rax, qword [0x1800d6738]
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x30], rax
mov rax, qword [0x1800d6730]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1800d6728]
mov qword [rsp + 0x20], rax
call fcn.180015770
mov dword [rbx + 0x21c], 1
mov eax, dword [rbx + 0x21c]
mov rsi, qword [rsp + 0x70]
add rsp, 0x60
pop rbx
ret
mov eax, dword [rbx + 0x21c]
add rsp, 0x60
pop rbx
ret
Function at 0x18000ee70
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 [0x1800d1778], rax
test rax, rax
je 0x18000ef66
lea rdx, str.SetHooks
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800d1778]
lea rdx, str.UnSetHooks
mov qword [0x1800d6760], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800d1778]
lea rdx, str.SetKeyboardFilterHook
mov qword [0x1800d6768], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800d1778]
lea rdx, str.SetMouseFilterHook
mov qword [0x1800d6770], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800d1778]
lea rdx, str.GetHookThreadMsgId
mov qword [0x1800d6778], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800d1778]
lea rdx, str.SetLocalInputsExtraInfo
mov qword [0x1800d6780], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800d6788], rax
mov rax, qword [0x1800d1778]
test rax, rax
je 0x18000ef66
cmp qword [0x1800d6760], rbx
je 0x18000ef66
cmp qword [0x1800d6768], rbx
je 0x18000ef66
cmp qword [0x1800d6770], rbx
je 0x18000ef66
cmp qword [0x1800d6778], rbx
lea ecx, [rbx + 1]
jne 0x18000ef68
mov ecx, ebx
test rax, rax
mov dword [0x1800d1780], ecx
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18000f070
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rsp + 0x52]
xor ebp, ebp
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x50], bp
call fcn.180032160
lea r8, [rbx + 8]
lea rdx, [0x180092930]
lea rcx, [rsp + 0x50]
mov r9, rdi
call fcn.18000e900
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x38], rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x18000f130
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x34], ebp
mov dword [rsp + 0x40], 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.180030310
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000f160
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rsp + 0x52]
xor ebp, ebp
xor edx, edx
mov r8d, 0x1fe
mov word [rsp + 0x50], bp
call fcn.180032160
lea r8, [rbx + 8]
lea rdx, [0x180092930]
lea rcx, [rsp + 0x50]
mov r9, rdi
call fcn.18000e900
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
xorpd xmm5, xmm5
movsd qword [rsp + 0x40], xmm5
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x18000f226
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x38], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsd xmm0, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180030310
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000f250
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x250
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rbp, r8
mov rdi, rdx
lea rcx, [rsp + 0x42]
xor r12d, r12d
xor edx, edx
mov r8d, 0x1fe
mov esi, r9d
mov word [rsp + 0x40], r12w
call fcn.180032160
lea r8, [rbx + 8]
lea rdx, [0x180092930]
lea rcx, [rsp + 0x40]
mov r9, rdi
call fcn.18000e900
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x18000f306
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9d, [r12 + 4]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180030310
add rsp, 0x250
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000f330
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x268
movaps xmmword [rsp + 0x250], xmm6
mov rax, qword [0x1800bd650]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rsp + 0x42]
xor ebp, ebp
xor edx, edx
movapd xmm6, xmm3
mov r8d, 0x1fe
mov word [rsp + 0x40], bp
call fcn.180032160
lea r8, [rbx + 8]
lea rdx, [0x180092930]
lea rcx, [rsp + 0x40]
mov r9, rdi
call fcn.18000e900
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x38], xmm6
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x18000f3ec
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9d, [rbp + 3]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180030310
movaps xmm6, xmmword [rsp + 0x250]
add rsp, 0x268
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x18000f410
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
xor ebx, ebx
mov rsi, rcx
lea rax, [rsp + 0x50]
mov rdx, rcx
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rsp + 0x50]
cmp r11d, 2
jb 0x18000f4b2
add r11d, 2
mov eax, 2
mov dword [rsp + 0x50], r11d
shr r11d, 1
mov ecx, r11d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1800303a8
mov rbx, rax
test rax, rax
je 0x18000f4b2
mov rcx, qword [rdi]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret