joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140152be8
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov ebx, 0x104
lea r9, [rsp + 0x20]
xor r15d, r15d
lea r8, [rsp + 0x30]
mov edx, ebx
mov esi, r15d
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
nop dword [rax + rax]
cmp eax, ebx
jae 0x140152d8c
test eax, eax
jne 0x140152c5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x140152d91
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140152d8c
lea rcx, [rsp + 0x30]
cmp rax, rcx
je 0x140152d8c
mov word [rax], r15w
mov r12d, 0x5c
movzx ecx, word [rsp + 0x30]
lea eax, [rcx - 0x41]
cmp ax, 0x19
jbe 0x140152c97
lea eax, [rcx - 0x61]
cmp ax, 0x19
ja 0x140152cb0
cmp word [rsp + 0x32], 0x3a
jne 0x140152cb0
cmp word [rsp + 0x34], r12w
jne 0x140152d8c
lea rsi, [rsp + 0x34]
cmp cx, r12w
jne 0x140152cec
cmp word [rsp + 0x32], r12w
jne 0x140152cec
mov edx, r12d
lea rcx, [rsp + 0x34]
call sub.msvcrt.dll_wcschr
test rax, rax
je 0x140152d8c
mov edx, r12d
lea rcx, [rax + 2]
call sub.msvcrt.dll_wcschr
mov rsi, rax
test rax, rax
je 0x140152d8c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140152d11
test al, 0x10
je 0x140152dc1
xor eax, eax
jmp 0x140152d91
mov rdi, qword [rsp + 0x20]
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x140152d27
lea rdi, [rsp + 0x30]
jmp 0x140152d2b
add rdi, 0xfffffffffffffffe
cmp rdi, rsi
je 0x140152d8c
cmp word [rdi], r12w
jne 0x140152d8c
cmp rdi, rsi
jbe 0x140152d8c
mov edx, r12d
mov word [rdi], r15w
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_wcsrchr]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x140152d8c
movzx ebx, word [rax + 2]
lea rcx, [rsp + 0x30]
mov word [rax + 2], r15w
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov word [r14 + 2], bx
cmp eax, 0xffffffff
jne 0x140152dbd
mov rdi, r14
cmp r14, rsi
ja 0x140152d3b
cmp rdi, rsi
ja 0x140152de9
mov eax, 0x7b
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1401534b0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
test al, 0x10
jne 0x140152d87
mov eax, 0x10b
jmp 0x140152d91
cmp word [rdi + 2], r15w
je 0x140152d0a
mov word [rdi], r12w
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], r15w
jne 0x140152ddb
lea rdi, [rdi + rax*2]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140152dc8
jmp 0x140152c49

Function at 0x140153470
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
Function at 0x140153b1c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140153b68
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140153b60
cmp dword [rcx + 0x3c], edx
jl 0x140153b60
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140153b60
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140153b68
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140153dc8
Capabilities:
Print debug messages

Disassembly:
jmp 0x140153dd4
push rbx
sub rsp, 0x540
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140153e51
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140153e71
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1401534b0
add rsp, 0x540
pop rbx
ret

Function at 0x140153dd4
Capabilities:
Print debug messages

Disassembly:
jmp 0x140153dd4
push rbx
sub rsp, 0x540
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140153e51
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140153e71
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1401534b0
add rsp, 0x540
pop rbx
ret
Function at 0x140007800
Capabilities:
Access the windows event log

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140186768]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r10, qword [rcx + 8]
mov qword [rsp + 0x50], r8
test r10, r10
je 0x140007881
test r8, r8
je 0x140007881
mov r11d, 1
test edx, edx
je 0x14000783b
cmp edx, r11d
jne 0x14000783b
movzx eax, r11w
jmp 0x140007840
mov eax, 4
cmp edx, r11d
mov ecx, 0xc0020011
mov r9d, 0x40020010
mov r8d, r11d
cmove r9d, ecx
xor edx, edx
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov rcx, r10
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], r11w
mov qword [rsp + 0x20], rdx
movzx edx, ax
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e9cb0
add rsp, 0x68
ret

Function at 0x1400078c0
Capabilities:
Access the windows event log

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140186768]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r10, qword [rcx + 8]
mov qword [rsp + 0x50], r8
test r10, r10
je 0x140007941
test r8, r8
je 0x140007941
mov r11d, 1
test edx, edx
je 0x1400078fb
cmp edx, r11d
jne 0x1400078fb
movzx eax, r11w
jmp 0x140007900
mov eax, 4
cmp edx, r11d
mov ecx, 0xc0020011
mov r9d, 0x40020010
mov r8d, r11d
cmove r9d, ecx
xor edx, edx
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov rcx, r10
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], r11w
mov qword [rsp + 0x20], rdx
movzx edx, ax
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e9cb0
add rsp, 0x68
ret

Function at 0x1400084a0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140186768]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea r8, str.Service_start
mov rcx, qword [rcx + 0x270]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400341b6.0]
mov rcx, qword [rbx + 0x260]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140008490]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e9cb0
add rsp, 0x40
pop rbx
ret
Function at 0x140019ae0
Capabilities:
Enumerate services
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x264
mov eax, dword [rcx + rdx]
mov r8d, 0x260
test al, 1
jne 0x140019b1b
or eax, 1
mov dword [rcx + rdx], eax
lea rcx, [rdx + r8]
call fcn.14000fa60
nop
cmp byte [rdx + r8 + 1], 0
je 0x140019b61
lea rdx, str.unsigned_long___cdecl_MinifilterStopCommand::Execute_int_wchar_t____
lea rdi, [0x1401950c0]
mov rcx, rdi
call fcn.1400104a0
mov rax, qword [0x1401950c0]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.140010290
movzx edx, al
mov rcx, rdi
call fcn.140010130
mov rcx, rdi
call fcn.140010060
mov rcx, qword [rbx + 8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14002b8b0
Function at 0x14001b650
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x264
mov eax, dword [rcx + rdx]
mov r8d, 0x260
test al, 1
jne 0x14001b68b
or eax, 1
mov dword [rcx + rdx], eax
lea rcx, [rdx + r8]
call fcn.14000fa60
nop
cmp byte [rdx + r8 + 1], 0
je 0x14001b6d1
lea rdx, str.Starting_service
lea rdi, [0x1401950c0]
mov rcx, rdi
call fcn.1400104a0
mov rax, qword [0x1401950c0]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.140010290
movzx edx, al
mov rcx, rdi
call fcn.140010130
mov rcx, rdi
call fcn.140010060
mov rcx, qword [rbx + 8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14002b700
Function at 0x14002be00
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x180
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 0xffffffff
mov r8d, edx
mov edx, r9d
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x14002bef3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea edx, [rdi + 1]
lea rcx, [rsp + 0x60]
call fcn.14001a6d0
mov qword [rsp + 0x168], rdi
mov qword [rsp + 0x170], 7
mov word [rsp + 0x158], di
lea rdx, str.ChangeServiceConfig_returned_0x
lea rcx, [rsp + 0x70]
call fcn.14001b1c0
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
mov eax, dword [rsp + rdx + 0x88]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rdx + 0x88], eax
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.14001e540
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x88]
and eax, 0xfffff3ff
bts eax, 9
mov dword [rsp + rcx + 0x88], eax
lea rcx, [rsp + 0x70]
call fcn.14001a8c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400193a0
xor eax, eax
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rdi
ret
Function at 0x14002c570
Capabilities:
Query service status

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x140186768]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14002c658
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.14001a6d0
xor eax, eax
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], 7
mov word [rsp + 0x128], ax
lea rdx, str.Cannot_query_service_state_0x
lea rcx, [rsp + 0x40]
call fcn.14001b1c0
mov rcx, qword [rsp + 0x40]
movsxd rax, dword [rcx + 4]
lea rcx, [rsp + 0x58]
add rcx, rax
mov eax, dword [rcx]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx], eax
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.14001e540
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff3ff
bts eax, 9
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rsp + 0x40]
call fcn.14001a8c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400193a0
mov eax, ebx
jmp 0x14002c65a
xor eax, eax
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1400e9cb0
add rsp, 0x160
pop rbx
ret

Function at 0x14002c680
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140186768]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x264
mov eax, dword [rcx + rdx]
mov r8d, 0x260
test al, 1
jne 0x14002c6ca
or eax, 1
mov dword [rcx + rdx], eax
lea rcx, [rdx + r8]
call fcn.14000fa60
nop
cmp byte [rdx + r8 + 1], 0
je 0x14002c710
lea rdx, str.Waiting_for_the_pending_service_stop...
lea rbx, [0x1401950c0]
mov rcx, rbx
call fcn.1400104a0
mov rax, qword [0x1401950c0]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140010290
movzx edx, al
mov rcx, rbx
call fcn.140010130
mov rcx, rbx
call fcn.140010060
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14002c570
cmp dword [rsp + 0x24], 1
je 0x14002c793
nop dword [rax]
mov eax, 0xcccccccd
mul dword [rsp + 0x38]
shr edx, 3
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14002c570
test eax, eax
jne 0x14002c795
cmp dword [rsp + 0x24], 1
je 0x14002c787
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x7530
ja 0x14002c774
cmp dword [rsp + 0x24], 1
jne 0x14002c730
jmp 0x14002c793
lea rcx, str.Service_stop_timed_out._n
call fcn.14002b5e0
mov eax, 0x41d
jmp 0x14002c795
lea rcx, str.Service_stopped_successfully._n
call fcn.14002b5e0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400e9cb0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140031910
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140186768]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov qword [rsp + 0x50], rbx
mov edi, ebp
lea r14, [0x140196d70]
lea rsi, [0x140187398]
nop dword [rax + rax]
mov rcx, qword [rdi + r14]
cmp byte [rcx + 0x41], 2
jne 0x140031a1e
cmp qword [rcx + 0x20], 8
lea rdx, [rcx + 8]
mov qword [rsp + 0x30], rbp
jb 0x140031971
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 0x1000b
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
jne 0x1400319ab
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
je 0x140031a13
test rcx, rcx
je 0x1400319b6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 2
jne 0x1400319ea
mov rcx, qword [0x140187398]
cmp rcx, rsi
je 0x140031a1e
test dword [rcx + 0x44], 0x8000
je 0x140031a1e
cmp byte [rcx + 0x41], bl
jb 0x140031a1e
mov rcx, qword [rcx + 0x38]
lea edx, [rbx + 8]
lea r8, [0x140159e38]
call fcn.14000a720
jmp 0x140031a1e
mov rcx, qword [0x140187398]
cmp rcx, rsi
je 0x140031a1e
test dword [rcx + 0x44], 0x8000
je 0x140031a1e
cmp byte [rcx + 0x41], 2
jb 0x140031a1e
mov rcx, qword [rcx + 0x38]
mov r9d, ebx
call fcn.1400318a0
jmp 0x140031a1e
test rcx, rcx
je 0x140031a1e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rdi, 8
cmp rdi, 0x60
jb 0x140031950
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e9cb0
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140031a60
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140186768]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebp, ebp
mov edi, ebp
mov qword [rsp + 0x50], rbp
lea rax, [0x140196d70]
mov r12, qword [rdi + rax]
movzx eax, byte [r12 + 0x40]
dec al
test al, 0xfd
jne 0x140031beb
mov qword [rsp + 0x58], rbp
lea rdx, [r12 + 8]
cmp qword [rdx + 0x18], 8
jb 0x140031ac3
mov rdx, qword [rdx]
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test eax, eax
jne 0x140031c2b
mov rbx, qword [r12 + 0x28]
mov r13, qword [r12 + 0x30]
cmp rbx, r13
je 0x140031bdb
cmp byte [r12 + 0x40], 3
jne 0x140031b59
mov dword [rsp + 0x64], ebp
mov dword [rsp + 0x60], ebp
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400341b6.0]
mov rdx, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x64]
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140031bc9
mov rax, qword [rbx]
mov rdx, qword [rax]
mov rdi, rdx
mov r15, rax
mov rcx, rax
mov rax, qword [rdx + 8]
call qword [case.0x1400341b6.0]
mov r14, rax
mov rcx, r15
mov rax, qword [rdi]
call qword [case.0x1400341b6.0]
mov rbp, rax
mov rcx, r15
mov rax, qword [rdi + 0x10]
call qword [case.0x1400341b6.0]
mov edi, eax
mov rdx, qword [r15]
mov rcx, r15
mov rax, qword [rdx + 0x18]
call qword [case.0x1400341b6.0]
mov rdx, rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbp
mov r9d, edi
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test eax, eax
jne 0x140031c2b
xor ebp, ebp
add rbx, 8
cmp rbx, r13
jne 0x140031b10
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140031beb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rdi, 8
mov qword [rsp + 0x50], rdi
cmp rdi, 0x60
jb 0x140031a94
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400e9cb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140031910
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140031c41
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x140031c00
Function at 0x1400320e0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400320f9
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140032197
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 2
jne 0x14003215b
xor edi, edi
mov rcx, qword [0x140187398]
lea rax, [0x140187398]
cmp rcx, rax
je 0x140032197
test dword [rcx + 0x44], 0x100
je 0x140032197
cmp byte [rcx + 0x41], 4
jb 0x140032197
cmp qword [rbx + 0x18], 8
jb 0x140032142
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
mov r9, rbx
call fcn.14001ee70
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [0x140187398]
lea rax, [0x140187398]
cmp rcx, rax
je 0x140032197
test dword [rcx + 0x44], 0x100
je 0x140032197
cmp byte [rcx + 0x41], 2
jb 0x140032197
cmp qword [rbx + 0x18], 8
jb 0x140032187
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
mov r9, rbx
mov dword [rsp + 0x20], edi
call fcn.140031df0
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140035540
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r15, r8
mov r14, rdx
mov rsi, rcx
movzx edi, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rdi, rax
movabs rcx, 0x100000001b3
imul rdi, rcx
movzx eax, byte [r8 + 1]
xor rdi, rax
imul rdi, rcx
movzx eax, byte [r8 + 2]
xor rdi, rax
imul rdi, rcx
movzx eax, byte [r8 + 3]
xor rdi, rax
imul rdi, rcx
mov rdx, rdi
and rdx, qword [rsi + 0x30]
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
lea r12, [rsi + 8]
mov rbp, qword [r12]
cmp rax, rbp
je 0x140035604
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [r8]
cmp ecx, dword [rax + 0x10]
je 0x1400355de
nop dword [rax]
cmp rax, rdx
je 0x140035601
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400355d0
mov qword [r14], rax
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbp, rax
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 0x10], rax
je 0x140035775
mov qword [rsp + 0x30], r12
xor r13d, r13d
mov qword [rsp + 0x38], r13
lfence
lea ecx, [r13 + 0x20]
call fcn.1400e9d0c
mov rbx, rax
mov qword [rsp + 0x38], rax
mov eax, dword [r15]
mov dword [rbx + 0x10], eax
mov qword [rbx + 0x18], r13
mov rdx, qword [rsi + 0x10]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14003565a
cvtsi2ss xmm0, rcx
jmp 0x14003566f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140035682
cvtsi2ss xmm1, rcx
jmp 0x140035697
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x140035710
mov rcx, rsi
call fcn.140036c80
mov rax, rdi
and rax, qword [rsi + 0x30]
add rax, rax
mov r8, qword [rsi + 0x18]
mov rcx, qword [r8 + rax*8 + 8]
mov rdx, qword [r12]
cmp rcx, rdx
jne 0x1400356d5
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], r13
jmp 0x1400356fc
mov rdx, qword [r8 + rax*8]
mov eax, dword [rbx + 0x10]
cmp eax, dword [rcx + 0x10]
je 0x1400356ef
cmp rcx, rdx
je 0x140035745
mov rcx, qword [rcx + 8]
cmp eax, dword [rcx + 0x10]
jne 0x1400356e1
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
mov rdx, qword [rsi + 0x10]
mov rbp, qword [rsp + 0x30]
mov rcx, qword [rbp + 8]
lea rax, [rdx + 1]
mov qword [rsi + 0x10], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rcx
mov qword [rcx], rbx
mov qword [rbp + 8], rbx
mov rax, qword [rsi + 0x18]
and rdi, qword [rsi + 0x30]
add rdi, rdi
mov rdx, qword [rax + rdi*8]
cmp rdx, qword [r12]
jne 0x140035751
mov qword [rax + rdi*8], rbx
jmp 0x140035763
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], r13
jmp 0x1400356fc
cmp rdx, rbp
jne 0x14003575c
mov qword [rax + rdi*8], rbx
jmp 0x140035768
cmp qword [rax + rdi*8 + 8], rcx
jne 0x140035768
mov qword [rax + rdi*8 + 8], rbx
mov qword [r14], rbx
mov byte [r14 + 8], 1
jmp 0x1400355e6
lea rcx, str.unordered_map_set_too_long
call fcn.1400c65c4
int3