joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001000
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1800c4650]
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.180034650
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x20]
lea rcx, str.TEC_OCULAR__AGENT_V3_MUTEX_AGENT
call fcn.180010ab0
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.1800327a0
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 [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r8d, 1
lea rdx, [0x1800d83c0]
lea rcx, [rsp + 0x20]
call fcn.1800266d0
nop
cmp dword [0x1800dde20], 0
je 0x180001212
lea r9, str.CAgentSwitchMgr::IsNoSDAgentVerMutex
lea r8, str.AgentSwitchMgr
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800ddd68]
call fcn.180017680
xor eax, eax
mov word [rsp + 0x40], ax
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
call fcn.180034650
mov r8d, 1
lea rdx, [rsp + 0x40]
lea rcx, str.TEC_OCULAR__AGENT_V3_MUTEX_AGENT_VERMODE
call fcn.180010ab0
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.180026710
xor eax, eax
jmp 0x18000128d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x20]
call fcn.180026710
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800327a0
add rsp, 0x268
ret
Function at 0x180003f30
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 [0x1800c4650]
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 0x180004058
lea r8d, [rsi + 0x14]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x18000404f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180004046
lea rdx, str.QueryServiceStatusEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180004046
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 0x180004046
mov ebx, dword [rsp + 0x3c]
cmp ebx, 4
je 0x180004016
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esi, eax
cmp dword [0x1800dde20], 0
je 0x180004046
lea r9, str.CheckAndStartService___d____d_
lea r8, str.Inject
lea rcx, [0x1800ddd68]
mov edx, reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebx
call fcn.180017680
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.1800327a0
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 0x180005480
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov rbx, rcx
jne 0x1800054a1
lea rcx, str.wintrust.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180005516
cmp qword [rbx + 0x18], 0
jne 0x1800054c2
lea rdx, str.WinVerifyTrustEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
cmp qword [rbx + 0x20], 0
jne 0x1800054de
mov rcx, qword [rbx + 8]
lea rdx, str.WTHelperProvDataFromStateData
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x28], 0
jne 0x1800054fa
mov rcx, qword [rbx + 8]
lea rdx, str.WTHelperGetProvSignerFromChain
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x30], 0
jne 0x180005516
mov rcx, qword [rbx + 8]
lea rdx, str.WTHelperGetProvCertFromChain
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
cmp qword [rbx + 0x10], 0
jne 0x18000552e
lea rcx, str.crypt32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18000554f
cmp qword [rbx + 0x38], 0
jne 0x18000554f
lea rdx, str.CertNameToStrW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
add rsp, 0x20
pop rbx
ret
Function at 0x18000c520
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 0x18000c55a
lea rbx, [rdx + 0x14]
lea rsi, str.enfunc_
xor r13d, r13d
cmp dword [rbx], r13d
je 0x18000c586
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx]
cmp eax, 0x1d4c0
ja 0x18000c586
test r12d, r12d
jne 0x18000c57e
mov esi, dword [rdi + 0x18]
jmp 0x18000c6d4
mov esi, dword [rdi + 0x1c]
jmp 0x18000c6d4
mov rax, qword [0x180081bb8]
mov qword [rbp + 0x48], rax
mov r9, qword [rdi + 8]
mov r8, rsi
lea rdx, str._s_s
lea rcx, [rbp + 0x48]
call fcn.180023e40
lea r14, vtable.CTConfig.0
mov qword [rbp - 0x40], r14
mov rax, qword [0x180081bb8]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x20]
call fcn.18004db80
nop
mov dword [rbp - 8], r13d
call fcn.1800159b0
nop
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x50]
call fcn.180024640
mov rbx, rax
mov qword [rbp + 0x58], rax
mov dword [rbp - 8], r13d
lea rcx, [rbp - 0x38]
call fcn.180024870
lea rcx, [rbp - 0x30]
call fcn.180024870
lea rcx, [rbp - 0x28]
call fcn.180024870
or r8d, 0xffffffff
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.180024d20
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.1800233a0
lea rcx, [rbp - 0x40]
call fcn.180015ce0
nop
mov rcx, rbx
call fcn.180023290
mov esi, r13d
mov dword [rbp + 0x40], r13d
cmp dword [rbp - 0x18], r13d
jle 0x18000c661
mov rax, qword [rbp - 0x20]
lea r8, [rbp + 0x40]
lea rdx, [0x18009b1b8]
mov rcx, qword [rax]
call fcn.180033078
mov esi, dword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov rdx, rdi
lea rcx, [0x1800d85c0]
call fcn.18000cf00
mov rdx, rdi
lea rcx, [0x1800d85c0]
test r12d, r12d
jne 0x18000c694
mov dword [rax + 0x10], ebx
call fcn.18000cf00
mov dword [rax + 0x18], esi
jmp 0x18000c69f
mov dword [rax + 0x14], ebx
call fcn.18000cf00
mov dword [rax + 0x1c], esi
mov qword [rbp - 0x40], r14
lea rcx, [rbp - 0x20]
call fcn.180024cf0
nop
lea rcx, [rbp - 0x28]
call fcn.180023290
nop
lea rcx, [rbp - 0x30]
call fcn.180023290
nop
lea rcx, [rbp - 0x38]
call fcn.180023290
nop
lea rcx, [rbp + 0x48]
call fcn.180023290
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 0x18000d2b0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
call fcn.180048b60
test eax, eax
jne 0x18000d2da
call fcn.180048b80
test eax, eax
jne 0x18000d2da
call fcn.180048b00
test eax, eax
jne 0x18000d2da
mov dword [rbx + 0x218], eax
cmp dword [rbx + 0x21c], 0
jne 0x18000d4b3
cmp dword [rbx + 0x220], 3
jge 0x18000d4b3
cmp dword [rbx + 0x218], 0
je 0x18000d4b3
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
lea rsi, str.TnfcapInst.dll
call fcn.1800488d0
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 [0x1800dde20], 0
mov rsi, rax
je 0x18000d374
lea r9, str.CTnfcapDrive::Initialize____08x____s_
lea r8, str.drive
lea rcx, [0x1800ddd68]
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.180017680
mov rdi, qword [rsp + 0x78]
test rsi, rsi
je 0x18000d4a2
lea rdx, str.InitTnfcapMgr
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.UninitTnfcapMgr
mov rcx, rsi
mov qword [0x1800dda00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.InstallTnfcapModule
mov rcx, rsi
mov qword [0x1800dda08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.UninstallTnfcapModule
mov rcx, rsi
mov qword [0x1800dda10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.IsTnfcapInstalled
mov rcx, rsi
mov qword [0x1800dda18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.StartTnfcapService
mov rcx, rsi
mov qword [0x1800dda20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.StopTnfcapService
mov rcx, rsi
mov qword [0x1800dda28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x1800dde20], 0
mov qword [0x1800dda30], rax
je 0x18000d498
mov rcx, qword [0x1800dda20]
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 [0x1800dda28]
mov qword [rsp + 0x40], rax
mov rax, qword [0x1800dda18]
lea rcx, [0x1800ddd68]
mov qword [rsp + 0x38], rax
mov rax, qword [0x1800dda10]
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x30], rax
mov rax, qword [0x1800dda08]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1800dda00]
mov qword [rsp + 0x20], rax
call fcn.180017680
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 0x18000f0d0
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 [0x1800d88a8], rax
test rax, rax
je 0x18000f1c6
lea rdx, str.SetHooks
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800d88a8]
lea rdx, str.UnSetHooks
mov qword [0x1800dda38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800d88a8]
lea rdx, str.SetKeyboardFilterHook
mov qword [0x1800dda40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800d88a8]
lea rdx, str.SetMouseFilterHook
mov qword [0x1800dda48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800d88a8]
lea rdx, str.GetHookThreadMsgId
mov qword [0x1800dda50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800d88a8]
lea rdx, str.SetLocalInputsExtraInfo
mov qword [0x1800dda58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800dda60], rax
mov rax, qword [0x1800d88a8]
test rax, rax
je 0x18000f1c6
cmp qword [0x1800dda38], rbx
je 0x18000f1c6
cmp qword [0x1800dda40], rbx
je 0x18000f1c6
cmp qword [0x1800dda48], rbx
je 0x18000f1c6
cmp qword [0x1800dda50], rbx
lea ecx, [rbx + 1]
jne 0x18000f1c8
mov ecx, ebx
test rax, rax
mov dword [0x1800d88b0], ecx
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18000f2d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1800c4650]
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.180034650
lea r8, [rbx + 8]
lea rdx, [0x180096e60]
lea rcx, [rsp + 0x50]
mov r9, rdi
call fcn.18000eb60
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 0x18000f390
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.1800327a0
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000f3c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1800c4650]
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.180034650
lea r8, [rbx + 8]
lea rdx, [0x180096e60]
lea rcx, [rsp + 0x50]
mov r9, rdi
call fcn.18000eb60
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 0x18000f486
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.1800327a0
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000f4b0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x250
mov rax, qword [0x1800c4650]
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.180034650
lea r8, [rbx + 8]
lea rdx, [0x180096e60]
lea rcx, [rsp + 0x40]
mov r9, rdi
call fcn.18000eb60
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 0x18000f566
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.1800327a0
add rsp, 0x250
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000f590
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x268
movaps xmmword [rsp + 0x250], xmm6
mov rax, qword [0x1800c4650]
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.180034650
lea r8, [rbx + 8]
lea rdx, [0x180096e60]
lea rcx, [rsp + 0x40]
mov r9, rdi
call fcn.18000eb60
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 0x18000f64c
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.1800327a0
movaps xmm6, xmmword [rsp + 0x250]
add rsp, 0x268
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x18000f670
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 0x18000f712
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.180032838
mov rbx, rax
test rax, rax
je 0x18000f712
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
Function at 0x18000f760
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x30
or rbp, 0xffffffffffffffff
xor eax, eax
lea rbx, [0x1800d8ad8]
mov rdi, rbx
mov rcx, rbp
repne scasw ax, word [rdi]
not rcx
dec rcx
jne 0x18000f8c8
lea r8, [rsp + 0x60]
lea rdx, [0x1800d88c8]
xor ebx, ebx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x60], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x18000f847
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.PATH
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rsp + 0x50]
cmp edx, 2
jb 0x18000f83c
add edx, 2
mov eax, 2
mov dword [rsp + 0x50], edx
shr edx, 1
mov ecx, edx
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.180032838
mov rbx, rax
test rax, rax
je 0x18000f83c
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.PATH
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x18000f867
xor eax, eax
mov rcx, rbp
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jne 0x18000f8bd
mov rcx, rbx
call fcn.1800327c0
mov ecx, 3
mov eax, 2
mul rcx
cmovo rax, rbp
mov rcx, rax
call fcn.180032838
mov rdi, rax
test rax, rax
je 0x18000f919
xor eax, eax
lea rcx, [0x1800a0b54]
mov rdx, rdi
mov dword [rdi], eax
sub rdx, rcx
mov word [rdi + 4], ax
movzx eax, word [rcx]
add rcx, 2
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x18000f8a1
mov rax, rdi
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
mov rax, rbx
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
lea esi, [rcx + 1]
mov eax, 2
mul rsi
cmovo rax, rbp
mov rcx, rax
call fcn.180032838
mov rdi, rax
test rax, rax
je 0x18000f914
lea r8, [rsi + rsi]
xor edx, edx
mov rcx, rax
call fcn.180034650
mov rcx, rdi
sub rcx, rbx
movzx eax, word [rbx]
add rbx, 2
mov word [rcx + rbx - 2], ax
test ax, ax
jne 0x18000f900
mov rax, rdi
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
Function at 0x180010f90
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 + 0x20], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180010fc7
xor eax, eax
jmp 0x1800110a8
mov rcx, rdi
mov qword [rsp + 0x450], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
je 0x180011091
test al, 1
je 0x180010ff5
and ebx, 0xfffffffe
mov rcx, rdi
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test bl, 0x10
je 0x180011091
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x3fe
mov word [rsp + 0x20], bx
call fcn.180034650
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [0x1800a10b8]
lea rcx, [rsp + 0x20]
mov r9d, eax
mov r8, rdi
call fcn.180033468
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180011083
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rdx, [0x1800a10b8]
lea rcx, [rsp + 0x20]
mov r9d, eax
mov r8, rdi
call fcn.180033468
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc ebx
cmp ebx, 0xa
jge 0x1800110c9
cmp eax, 0xffffffff
jne 0x180011044
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 rbx, qword [rsp + 0x450]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1800327a0
mov rsi, qword [rsp + 0x458]
add rsp, 0x430
pop rdi
ret
xor eax, eax
jmp 0x1800110a0
Function at 0x180012110
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x250
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor eax, eax
xor ebx, ebx
mov rbp, rcx
mov rdx, rcx
lea rcx, [rsp + 0x28]
lea r8d, [rbx + 3]
mov word [rsp + 0x28], bx
mov dword [rsp + 0x2a], eax
mov word [rsp + 0x2e], ax
call fcn.1800330b0
movzx edx, word [rsp + 0x28]
cmp dx, 0x43
jb 0x180012166
cmp dx, 0x5a
jbe 0x180012174
sub dx, 0x63
cmp dx, 0x17
ja 0x1800122a8
cmp word [rsp + 0x2a], 0x3a
jne 0x1800122a8
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1800122a8
cmp eax, 2
je 0x1800122a8
cmp eax, 3
je 0x1800122a8
cmp eax, 5
je 0x1800122a8
cmp eax, 6
je 0x1800122a8
mov rcx, qword [0x1800dfe28]
mov qword [rsp + 0x268], rsi
mov esi, ebx
test rcx, rcx
je 0x1800121d4
call fcn.18002fc00
mov esi, eax
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bx
call fcn.180034650
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x20], 0x104
mov word [rsp + 0x2c], bx
call qword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
jne 0x180012293
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x270], rdi
xor eax, eax
lea rdi, [rbp + 4]
repne scasw ax, word [rdi]
lea rdi, [rsp + 0x30]
not rcx
lea rdx, [rcx - 1]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
dec rcx
add rdx, rcx
cmp rdx, 0x104
jae 0x18001228b
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
xor edx, edx
nop dword [rax]
movzx eax, word [rbp + rdx + 4]
add rdx, 2
mov word [rdi + rdx - 4], ax
test ax, ax
jne 0x180012260
lea rdx, [rsp + 0x30]
mov r8d, 0x103
mov rcx, rbp
call fcn.1800330b0
mov ebx, 1
mov rdi, qword [rsp + 0x270]
test esi, esi
mov rsi, qword [rsp + 0x268]
je 0x1800122a4
call fcn.18002fbe0
mov eax, ebx
jmp 0x1800122aa
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800327a0
mov rbx, qword [rsp + 0x278]
add rsp, 0x250
pop rbp
ret