joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140058d50
Capabilities:
Check if file exists
Delete directory
Get file attributes
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140058d66
xor eax, eax
add rsp, 0x20
pop rbx
ret
lea rcx, str._CZoomProductPathHelper::RecursiveRemoveDirA__Path_is:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140058d94
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140058dae
and eax, 0x410
cmp eax, 0x410
je 0x140058dc1
lea rdx, [0x140056f30]
mov rcx, rbx
call fcn.140057020
test eax, eax
je 0x140058dd0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add rsp, 0x20
pop rbx
ret

Function at 0x140058de0
Capabilities:
Check if file exists
Delete directory
Get file attributes
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
test rcx, rcx
je 0x140058f40
lea rcx, str._ProductPathHelper::RecursiveRemoveDirA__Path_is:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [0x1400ac820]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, 0xfde9
mov rcx, rbx
call fcn.14005a450
mov rdi, rax
test rax, rax
jne 0x140058e58
xor edx, edx
mov rcx, rbx
call fcn.14005a450
mov rdi, rax
test rax, rax
je 0x140058f40
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140008750
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rbx, [rsp + 0x20]
xor esi, esi
cmp qword [rsp + 0x38], 8
jb 0x140058e9f
mov rbx, qword [rsp + 0x20]
test rbx, rbx
jne 0x140058e9f
lea ecx, [rsi + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, esi
jmp 0x140058eeb
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140058eb1
lea edi, [rax + 1]
jmp 0x140058eeb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140058ecb
and eax, 0x410
cmp eax, 0x410
je 0x140058ee0
lea rdx, [0x140056f30]
mov rcx, rbx
call fcn.140057020
mov edi, eax
test eax, eax
je 0x140058eeb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x140058f29
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058f24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058f5f
call fcn.140027b00
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
mov eax, edi
jmp 0x140058f42
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007a950
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.14005fbcc
nop
int3
Function at 0x140059910
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400599b0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400599b0
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x24]
call main
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400599a0
nop
mov rdx, rsi
lea rcx, [rsp + 0x20]
call rdi
test eax, eax
jne 0x1400599a0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140059980
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400599b2
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14007a950
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400599e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor edi, edi
mov r14, rcx
xor edx, edx
mov esi, edi
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140059bb6
xor edx, edx
mov dword [rsp + 0x60], 0x238
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call main
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140059a79
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x68], eax
je 0x140059a72
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140059a52
jmp 0x140059a79
mov esi, dword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x140059bb6
mov r8d, esi
mov qword [rsp + 0x38], rdi
xor edx, edx
mov qword [rsp + 0x30], rdi
mov ecx, 0x400
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov ebp, edi
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140059ad9
mov r8d, esi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140059bb6
lea rax, [rsp + 0x40]
mov rcx, rbx
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x140059b59
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x140059b54
mov eax, dword [rsp + 0x30]
mov edx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
shl rdx, 0x20
or rdx, rax
shl rcx, 0x20
mov eax, dword [rsp + 0x38]
or rcx, rax
mov eax, 1
cmp rcx, rdx
cmovb ebp, eax
test rbx, rbx
je 0x140059b62
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x140059bb6
cmp qword [0x1400c0a68], rdi
jne 0x140059ba8
lea rcx, [0x1400a0f60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140059bb6
lea rdx, str.ProcessIdToSessionId
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x1400c0a68], rax
setne dil
test edi, edi
je 0x140059bb6
test rax, rax
je 0x140059bb6
call fcn.1400598c0
mov rdx, r14
mov ecx, esi
call rax
jmp 0x140059bb8
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14007a950
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140059d20
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x590]
sub rsp, 0x690
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rbp + 0x580], rax
xor edi, edi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], edi
call fcn.1400599e0
test eax, eax
je 0x140059eea
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x418
call main
mov eax, dword [rsp + 0x40]
lea rcx, [rbp + 0x370]
mov edx, 0x104
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, 2
jb 0x140059eea
cmp word [rbp + 0x372], 0x3a
jne 0x140059eea
mov ecx, eax
lea rax, [rcx + 0xd]
cmp rax, 0x105
jae 0x140059eea
add rcx, rcx
cmp rcx, 0x20a
jae 0x140059f10
mov word [rbp + rcx + 0x370], di
lea rdx, str.explorer.exe
lea rcx, [rbp + 0x370]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rax, [rbp + 0x370]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], di
jne 0x140059df2
mov r8d, 0x208
mov word [rbp + 0x374], di
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, eax
test rax, rax
je 0x140059eea
add rax, 0xfffffffffffffffe
add rax, rbx
cmp rax, 0x209
jae 0x140059eea
lea rdx, [rbp + 0x376]
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x50]
lea rcx, [0x140059be0]
call fcn.140059910
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x140059eea
xor edx, edx
mov qword [rsp + 0x30], rdi
mov ecx, 0x400
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140059ed3
lea r8, [rsp + 0x30]
mov edx, 2
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140059eca
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov r9d, 2
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140059ee3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x38]
jmp 0x140059eec
xor eax, eax
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.14007a950
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14007ad44
int3
Function at 0x14007d520
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, 0xffff
xor r14d, r14d
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x14007d564
movzx eax, r14w
jmp 0x14007d69a
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14007d5a0
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x14007d5a0
lea ecx, [r9 - 1]
mov dword [rax], ecx
movzx eax, si
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x14007d69a
cmp qword [rcx + 0x80], r14
je 0x14007d697
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14007d5de
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14007d607
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.14006cba4
cmp ax, di
je 0x14007d697
movzx edi, si
jmp 0x14007d697
lea r8, [rbp + 0xf]
mov word [rbp + 7], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp + 9]
lea r8, [rbp + 0x3f]
mov qword [rsp + 0x30], r8
lea r8, [rbp + 0x1f]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], r8
lea r8, [rbp + 7]
call qword [case.0x14002b001.0]
test eax, eax
je 0x14007d65c
sub eax, 1
je 0x14007d65c
cmp eax, 2
jne 0x14007d697
movzx ecx, word [rbp + 7]
jmp 0x14007d5ea
mov r14, qword [rbp + 0xf]
lea rax, [rbp + 0x1f]
sub r14, rax
je 0x14007d686
mov r9, qword [rbx + 0x80]
lea rcx, [rbp + 0x1f]
mov r8, r14
mov edx, 1
call fcn.1400613c0
cmp r14, rax
jne 0x14007d697
lea rax, [rbp + 7]
mov byte [rbx + 0x72], 1
cmp qword [rbp + 0x17], rax
movzx eax, si
jne 0x14007d69a
movzx eax, di
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14007a950
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140087b00
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x14008783f
call fcn.140060a90
mov dword [rax], 0x16
call fcn.14005fbac
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14007a950
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test rcx, rcx
je 0x140087806
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400878ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x140087880
cmp eax, 3
jbe 0x14008789d
cmp eax, 8
je 0x14008788d
cmp eax, 0x12
je 0x14008789d
call fcn.140060a90
mov dword [rax], 0x16
jmp 0x140087816
call fcn.140060a90
mov dword [rax], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
jmp 0x140087816
call fcn.140060a90
mov dword [rax], 2
jmp 0x140087816
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, esi
mov dword [rbx], eax
call fcn.140087a48
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140087a48
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140087a48
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.1400605f0
test eax, eax
jne 0x14008790b
mov rax, rdi
jmp 0x14008781a
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14005fbfc
int3
jmp 0x1400877d8
Function at 0x140087b08
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x1400bca20]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
mov rbx, rdx
test rcx, rcx
jne 0x14008797d
call fcn.140060a90
mov dword [rax], 0x16
call fcn.14005fbac
or eax, 0xffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14007a950
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
cmp rcx, 0xffffffffffffffff
je 0x140087949
test rbx, rbx
je 0x140087949
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400879d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x1400879b1
cmp eax, 3
jbe 0x1400879cb
cmp eax, 8
je 0x1400879be
cmp eax, 0x12
je 0x1400879cb
call fcn.140060a90
mov dword [rax], 0x16
jmp 0x140087959
call fcn.140060a90
mov dword [rax], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
jmp 0x140087959
call fcn.140060a90
mov dword [rax], 2
jmp 0x140087959
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, edi
mov dword [rbx], eax
call fcn.140087a48
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140087a48
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140087a48
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.1400605f0
test eax, eax
je 0x14008795c
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14005fbfc
int3
jmp 0x140087920
Function at 0x140017f5c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r11, r8
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x140017f74
mov r8, qword [rbx + 0x30]
mov r10, qword [rbx + 0x18]
and r8, r9
add r8, r8
mov r9, qword [r10 + r8*8]
mov rcx, r9
cmp r9, qword [rbx + 8]
jne 0x140017fb4
mov rax, qword [rbx + 8]
jmp 0x140017fbc
mov rax, qword [r10 + r8*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140017fcf
mov rax, qword [r11]
cmp qword [rcx + 0x10], rax
je 0x140017fd3
mov rcx, qword [rcx]
jmp 0x140017fa8
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret

Function at 0x140018060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, rcx
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
movzx eax, byte [r9 + rdi + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, rdx
cmp r9, 8
jb 0x140018085
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1400180dd
cmp qword [rcx + rdx*8], rdi
jne 0x1400180d2
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x1400180d6
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400180ea
cmp qword [rcx + rdx*8], rdi
jne 0x1400180ea
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [rdi + 0x18]
dec qword [r8 + 0x10]
call fcn.140017dd0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400183c4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x140018400
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rdi
je 0x140018445
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x140018498
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r9], rax
jne 0x140018448
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
lea rcx, [rbx + 0x18]
call fcn.140017dd0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1400185bd
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x1400184d2
mov rax, qword [rbx + 8]
mov qword [rax], r9
mov rax, qword [r9 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rcx, qword [rdx + 8]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [r9 + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov r9, qword [rsi + 0x18]
mov rax, qword [r9 + r8*8]
cmp rax, qword [rsi + 8]
jne 0x1400184f2
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140018521
cmp rax, rdx
jne 0x1400184fd
mov qword [r9 + r8*8], rbx
jmp 0x140018521
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140018521
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x14017f2b0]
test rax, rax
jns 0x140018542
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140018553
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1400185b2
cmp rdx, 0x200
jae 0x14001856b
shl rdx, 3
jmp 0x14001857d
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14001857d
add rdx, rdx
mov rcx, rsi
call fcn.1400186e0
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1400185b2
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400183c4
cmp rdi, r15
jne 0x140018592
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14001ba38
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x10], 0
lea rax, [rbp - 0x10]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
lea rdx, str.CLSID
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001bb05
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
and qword [rbp + 0x28], 0
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001baf6
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rdx, str.InsecureQI
lea rax, [rbp + 0x20]
mov dword [rbp + 0x18], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001baf6
cmp dword [rbp + 0x18], 4
jne 0x14001baf6
mov ebx, dword [rbp + 0x20]
cmp ebx, 3
ja 0x14001baf6
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14001bb07
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001bb07
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14001bb05
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14001bb16
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x14001becc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
mov rbp, rsp
sub rsp, 0x30
cmp byte [0x1401dbfc8], 0
je 0x14001bef2
mov eax, dword [0x1401dbfcc]
jmp 0x14001bff6
and qword [rbp + 0x18], 0
lea rax, [rbp + 0x18]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwarePoliciesMicrosoftSecurity
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, 4
lea rsi, [0x1401dbfcc]
test eax, eax
jne 0x14001bf5e
mov rcx, qword [rbp + 0x18]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rdx, str.CLSIDInterfaceTest
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rbp + 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001bf5e
cmp dword [rbp + 0x10], ebx
je 0x14001bfcd
mov rcx, qword [rbp + 0x18]
and qword [rbp + 0x18], 0
test rcx, rcx
je 0x14001bf72
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftSecurity
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001bfd5
mov rcx, qword [rbp + 0x18]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rdx, str.CLSIDInterfaceTest
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rbp + 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001bfd5
cmp dword [rbp + 0x10], ebx
jne 0x14001bfd5
mov ebx, dword [0x1401dbfcc]
jmp 0x14001bfde
and dword [0x1401dbfcc], 0
xor ebx, ebx
mov rcx, qword [rbp + 0x18]
mov byte [0x1401dbfc8], 1
test rcx, rcx
je 0x14001bff4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret