joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051e70
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xc8
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x27], rax
cmp dword [rdx], 1
mov rdi, rcx
jge 0x140051e9e
mov dword [rdx], 1
cmp dword [r8], 0x7fffffff
jl 0x140051eae
mov dword [r8], 0x7ffffffe
cmp dword [r9], 0x4000
jb 0x140051ebe
mov dword [r9], 0x3fff
mov r10d, dword [rdx]
mov cl, 1
mov eax, dword [r8]
cmp r10d, eax
jle 0x140051ed2
mov dword [rdx], eax
xor cl, cl
mov dword [r8], r10d
mov eax, dword [rdx]
cmp dword [r8], eax
jne 0x140051ee0
xor cl, cl
inc eax
mov dword [r8], eax
mov r10d, dword [r9]
cmp r10d, 3
jae 0x140051ef0
mov dword [r9], 3
xor r14d, r14d
movzx eax, cl
cmp r10d, 3
mov r11d, r14d
mov r10d, dword [r9]
cmovae r11d, eax
cmp r10d, 0x2712
jbe 0x140051f14
mov dword [r9], 0x2712
mov ecx, dword [r8]
mov ebx, r14d
sub ecx, dword [rdx]
add ecx, 2
movzx eax, r11b
cmp r10d, 0x2712
mov qword [rsp + 0xc0], rsi
cmovbe ebx, eax
cmp dword [r9], ecx
jbe 0x140051f41
xor bl, bl
mov dword [r9], ecx
jmp 0x140051f49
test bl, bl
jne 0x140052040
mov r8d, 0x22
mov qword [rbp - 0x41], 0xf
lea rdx, str.Histogram.BadConstructionArguments
mov qword [rbp - 0x49], r14
lea rcx, [rbp - 0x59]
mov byte [rbp - 0x59], r14b
call fcn.14002a1a4
lea rcx, [rbp - 0x59]
call fcn.14006ed20
mov rsi, rax
mov rax, qword [rbp - 0x41]
cmp rax, 0x10
jb 0x140051fc9
mov rcx, qword [rbp - 0x59]
inc rax
cmp rax, 0x1000
jb 0x140051fc4
test cl, 0x1f
jne 0x140052064
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14005206a
sub rcx, rax
cmp rcx, 8
jb 0x140052070
cmp rcx, 0x27
ja 0x140052076
mov rcx, rax
call fcn.140111e78
cmp qword [rdi + 0x18], 0x10
mov qword [rbp - 0x41], 0xf
mov qword [rbp - 0x49], r14
mov byte [rbp - 0x59], r14b
jb 0x140051fe5
mov rcx, qword [rdi]
jmp 0x140051fe8
mov rcx, rdi
mov rax, qword [rdi + 0x10]
lea rdx, [rbp - 0x69]
mov qword [rbp - 0x69], rcx
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x61], rax
mov dword [rbp - 0x39], 0x67452301
mov dword [rbp - 0x35], 0xefcdab89
mov dword [rbp - 0x31], 0x98badcfe
mov qword [rbp - 0x2d], 0x10325476
mov dword [rbp - 0x25], r14d
call fcn.14008ca10
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x69]
call fcn.14008cb90
mov r8, qword [rsi]
mov rcx, rsi
mov rdx, qword [rbp - 0x69]
bswap rdx
call qword [r8 + 0x20]
movzx eax, bl
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140111850
add rsp, 0xc8
pop r14
pop rdi
pop rbx
pop rbp
ret
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
Function at 0x140052960
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rsi, qword [rsp + 0xe0]
lea rax, [0x140162540]
mov qword [rcx], rax
mov rbx, rcx
add rcx, 8
xor r14d, r14d
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdi, rdx
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], r14
mov byte [rcx], r14b
call fcn.14002a2a0
mov dword [rbx + 0x28], r14d
lea rax, [0x140162300]
mov qword [rbx], rax
movabs rax, 0xfeedc0dedeadbeef
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], r14
mov qword [rbx + 0x40], r14
test rsi, rsi
jne 0x1400529eb
int3
mov ecx, 0x38
call fcn.140111b94
cmp qword [rdi + 0x18], 0x10
mov rbp, rax
jb 0x140052a04
mov rcx, qword [rdi]
jmp 0x140052a07
mov rcx, rdi
mov rax, qword [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x67452301
mov dword [rsp + 0x34], 0xefcdab89
mov dword [rsp + 0x38], 0x98badcfe
mov qword [rsp + 0x3c], 0x10325476
mov dword [rsp + 0x44], r14d
call fcn.14008ca10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14008cb90
mov rdx, qword [rsp + 0x20]
mov r8, rsi
bswap rdx
mov rcx, rbp
call fcn.140083720
mov rcx, qword [rbx + 0x38]
mov qword [rbx + 0x38], rax
test rcx, rcx
je 0x140052a83
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov ecx, 0x38
call fcn.140111b94
mov r9, rax
mov r8, rsi
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rcx, r9
call fcn.140083720
mov rcx, qword [rbx + 0x40]
mov qword [rbx + 0x40], rax
test rcx, rcx
je 0x140052abe
mov r8, qword [rcx]
mov edx, 1
call qword [r8]
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140111850
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140052b60
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, qword [rsp + 0x100]
lea rax, [0x140162540]
mov r15, qword [rsp + 0x118]
mov rbx, rcx
mov r14, qword [rsp + 0x120]
xor r12d, r12d
mov qword [rcx], rax
or r9, 0xffffffffffffffff
add rcx, 8
xor r8d, r8d
mov rdi, rdx
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], r12
mov byte [rcx], r12b
call fcn.14002a2a0
mov dword [rbx + 0x28], r12d
lea rax, [0x140162300]
mov qword [rbx], rax
movabs rax, 0xfeedc0dedeadbeef
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], r12
mov qword [rbx + 0x40], r12
test rsi, rsi
jne 0x140052bff
int3
mov ecx, 0x40
call fcn.140111b94
cmp qword [rdi + 0x18], 0x10
mov rbp, rax
jb 0x140052c18
mov rcx, qword [rdi]
jmp 0x140052c1b
mov rcx, rdi
mov rax, qword [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 0x67452301
mov dword [rsp + 0x44], 0xefcdab89
mov dword [rsp + 0x48], 0x98badcfe
mov qword [rsp + 0x4c], 0x10325476
mov dword [rsp + 0x54], r12d
call fcn.14008ca10
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14008cb90
mov rax, qword [rsp + 0x108]
mov r9, r15
mov rdx, qword [rsp + 0x30]
mov r8, rsi
bswap rdx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.140083870
mov rcx, qword [rbx + 0x38]
mov qword [rbx + 0x38], rax
test rcx, rcx
je 0x140052ca7
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov ecx, 0x40
call fcn.140111b94
mov r10, rax
mov r9, r14
mov rax, qword [rbx + 0x38]
mov r8, rsi
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov rdx, qword [rcx]
mov rcx, r10
call fcn.140083870
mov rcx, qword [rbx + 0x40]
mov qword [rbx + 0x40], rax
test rcx, rcx
je 0x140052cf2
mov r8, qword [rcx]
mov edx, 1
call qword [r8]
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140111850
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14005da50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x50], 4
mov rbx, r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x68], 4
mov dword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005dabe
mov ecx, dword [rsp + 0x50]
add ecx, 0xfffffffd
cmp ecx, 1
ja 0x14005dab9
cmp dword [rsp + 0x68], 4
jne 0x14005dab9
mov ecx, dword [rsp + 0x30]
mov dword [rbx], ecx
add rsp, 0x40
pop rbx
ret
mov eax, 0x3f4
add rsp, 0x40
pop rbx
ret

Function at 0x14005dad0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x50], ntohl
mov rbx, r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x68], 8
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005db44
mov ecx, dword [rsp + 0x50]
add ecx, 0xfffffffd
test ecx, 0xfffffff7
jne 0x14005db3f
cmp dword [rsp + 0x68], 8
jne 0x14005db3f
mov rcx, qword [rsp + 0x30]
mov qword [rbx], rcx
add rsp, 0x40
pop rbx
ret
mov eax, 0x3f4
add rsp, 0x40
pop rbx
ret

Function at 0x14005db50
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
mov eax, 0x1050
call fcn.140112490
sub rsp, rax
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 1
mov rdi, r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x34], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14005dc9b
mov ecx, dword [rsp + 0x30]
cmp ecx, 1
jne 0x14005dc0f
cmp word [rsp + 0x40], ax
jne 0x14005dbde
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140029c40
mov eax, ebx
jmp 0x14005dc9b
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005dbf0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140029c40
mov eax, ebx
jmp 0x14005dc9b
cmp ecx, 2
jne 0x14005dc96
mov r8d, 0x400
lea rdx, [rsp + 0x840]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x34], eax
dec eax
cmp eax, 0x3ff
ja 0x14005dc8f
cmp word [rsp + 0x840], 0
jne 0x14005dc60
xor r8d, r8d
lea rdx, [rsp + 0x840]
mov rcx, rdi
call fcn.140029c40
mov eax, ebx
jmp 0x14005dc9b
lea rax, [rsp + 0x840]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005dc70
lea rdx, [rsp + 0x840]
mov rcx, rdi
call fcn.140029c40
mov eax, ebx
jmp 0x14005dc9b
mov eax, 0xea
jmp 0x14005dc9b
mov eax, 0x3f4
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0x1078]
add rsp, 0x1050
pop rdi
ret
Function at 0x14005dcc0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x14005dd00
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r10, rcx
or rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [r8 + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14005dd10
lea ecx, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], ecx
mov rcx, qword [r10]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x14005dd50
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r9d
mov r9d, dword [rsp + 0x60]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x14005dd80
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov esi, r8d
lea rcx, str.advapi32.dll
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RegDeleteKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rbx
mov rcx, rdi
test rax, rax
je 0x14005ddd8
xor r9d, r9d
mov r8d, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
Function at 0x14005e2a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, r8
mov qword [rsp + 0x20], rcx
mov r10, rdx
mov rdi, rcx
mov rdx, rax
mov rcx, r10
or r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x14005e329
mov rcx, qword [rdi]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x88], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14005e33e
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
jmp fcn.14005e420
mov eax, dword [rsp + 0x88]
mov rcx, rdi
dec eax
mov dword [rdi + 8], eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
jmp fcn.14005e420
Function at 0x14005e420
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r13
push r14
sub rsp, 0x58
xor r13d, r13d
mov rdi, rcx
cmp qword [rcx], r13
je 0x14005e594
cmp dword [rcx + 8], r13d
jl 0x14005e594
mov qword [rax + 0x18], rbx
lea r14, [rcx + 0x48]
mov rbx, qword [rcx + 0x30]
mov qword [rax - 0x28], rbp
mov ebp, dword [rcx + 0x28]
mov qword [rax - 0x30], r12
mov edx, ebp
mov dword [rax + 0x10], ebp
mov qword [rax - 0x38], r15
mov rax, qword [rcx + 0x38]
sub rax, qword [rcx + 0x30]
add rcx, 0x10
sar rax, 1
lea eax, [rax*2 - 2]
mov dword [r14], eax
call fcn.140058330
mov edx, dword [rdi + 8]
lea r12, [rdi + 0x4c]
mov rcx, qword [rdi]
lea r9, [rsp + 0x88]
mov qword [rsp + 0x38], r14
mov r8, rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0xea
jne 0x14005e558
mov edx, dword [r14]
mov rax, qword [rdi + 0x38]
inc rdx
sub rax, qword [rdi + 0x30]
shr rdx, 1
inc edx
sar rax, 1
cmp rdx, rax
jbe 0x14005e4f3
lea r8, [rsp + 0x80]
mov word [rsp + 0x80], r13w
lea rcx, [rdi + 0x30]
call fcn.14005e750
mov rax, qword [rdi + 0x38]
lea rcx, [rdi + 0x10]
sub rax, qword [rdi + 0x30]
mov rbx, qword [rdi + 0x30]
sar rax, 1
cmp dword [rsp + 0x88], ebp
lea eax, [rax*2 - 2]
mov dword [r14], eax
mov eax, 0x4000
cmove ebp, eax
mov edx, ebp
mov dword [rsp + 0x88], ebp
call fcn.140058330
mov edx, dword [rdi + 8]
lea r9, [rsp + 0x88]
mov rcx, qword [rdi]
mov r8, rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x90]
test eax, eax
jne 0x14005e594
mov ecx, dword [r14]
mov rax, qword [rdi + 0x30]
inc rcx
shr rcx, 1
mov ecx, ecx
mov word [rax + rcx*2], r13w
mov al, 1
add rsp, 0x58
pop r14
pop r13
pop rdi
pop rsi
ret
cmp qword [rdi + 0x28], 8
lea rax, [rdi + 0x10]
jb 0x14005e5a2
mov rax, qword [rax]
mov word [rax], r13w
mov rax, qword [rdi + 0x30]
mov word [rax], r13w
xor al, al
mov dword [rdi + 0x48], r13d
add rsp, 0x58
pop r14
pop r13
pop rdi
pop rsi
ret

Function at 0x14005e620
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
xor edi, edi
mov rcx, qword [rcx]
test rcx, rcx
je 0x14005e67b
mov edx, dword [rbx + 8]
test edx, edx
js 0x14005e67b
lea rax, [r11 + 0x10]
mov dword [rsp + 0x50], 0x104
mov qword [r11 - 0x10], rax
lea r8, [rbx + 0xc]
mov qword [r11 - 0x18], rdi
lea r9, [r11 + 8]
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14005e67b
mov al, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov word [rbx + 0xc], di
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14005e690
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, r8
mov qword [rsp + 0x20], rcx
mov r10, rdx
mov rdi, rcx
mov rdx, rax
mov rcx, r10
or r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x14005e719
mov rcx, qword [rdi]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x48], rbx
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x88], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14005e72e
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
jmp fcn.14005e620
mov eax, dword [rsp + 0x88]
mov rcx, rdi
dec eax
mov dword [rdi + 8], eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
jmp fcn.14005e620

Function at 0x14005fe70
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, 0x40
call fcn.140111b94
mov rcx, rax
call fcn.14005faf0
mov qword [0x14017c038], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r8d, r8d
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r8
mov word [rsp + 0x20], r8w
cmp word [rax], r8w
je 0x14005fece
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14005fec3
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140029c40
mov rcx, qword [0x14017c038]
lea rdx, [rsp + 0x20]
call fcn.140061850
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x14005ff3e
mov rcx, qword [rsp + 0x20]
inc rax
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
ja 0x14005ff52
add rax, rax
cmp rax, 0x1000
jb 0x14005ff39
test cl, 0x1f
jne 0x14005ff58
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14005ff5e
sub rcx, rax
cmp rcx, 8
jb 0x14005ff64
cmp rcx, 0x27
ja 0x14005ff6a
mov rcx, rax
call fcn.140111e78
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140111850
add rsp, 0x58
ret
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
Function at 0x140061850
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov rdi, rcx
mov dword [rsp + 0x20], ebx
lea rcx, [0x140151848]
mov qword [rsp + 0x58], 7
mov r8, rdx
mov qword [rsp + 0x50], rbx
or rax, 0xffffffffffffffff
mov word [rsp + 0x40], bx
mov qword [rsp + 0x30], rcx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400618a0
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x30]
mov rcx, r8
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400578e0
cmp qword [rsp + 0x50], rbx
je 0x14006190d
cmp qword [rsp + 0x58], 8
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, dword [rsp + 0x20]
mov rcx, rdi
mov r8, rax
mov rbx, rax
call fcn.14005ff70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x58]
cmp rax, 8
jb 0x14006195f
mov rcx, qword [rsp + 0x40]
inc rax
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
ja 0x14006197a
add rax, rax
cmp rax, 0x1000
jb 0x14006195a
test cl, 0x1f
jne 0x140061980
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140061986
sub rcx, rax
cmp rcx, 8
jb 0x14006198c
cmp rcx, 0x27
ja 0x140061992
mov rcx, rax
call fcn.140111e78
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3

Function at 0x140064800
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
cmp byte [rdx + 0x90], 0
mov rdi, r8
mov rbx, rdx
mov r9d, ecx
jne 0x1400648e4
mov r8, qword [rbx + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx edx, r9b
xor rdx, rax
movzx eax, byte [rsp + 0x31]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x32]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x33]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [rbx + 0x38]
and rcx, rdx
mov rdx, qword [rbx + 0x20]
mov rax, rcx
add rax, rax
add rcx, rcx
mov rax, qword [rdx + rax*8]
mov r10, qword [rdx + rcx*8]
lea r11, [rdx + rcx*8]
nop dword [rax + rax]
cmp r10, r8
jne 0x14006489a
mov rcx, r8
jmp 0x1400648a1
mov rcx, qword [r11 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400648b7
cmp r9d, dword [rax + 0x10]
je 0x1400648b1
mov rax, qword [rax]
jmp 0x140064890
cmovne rax, r8
jmp 0x1400648ba
mov rax, r8
cmp rax, r8
je 0x1400648e4
lea rdx, [rax + 0x18]
cmp rdi, rdx
je 0x1400648d7
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rdi
call fcn.140029d5c
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140064900
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x30
movzx r9d, cl
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov r10d, ecx
movzx eax, byte [rsp + 0x41]
movabs rcx, 0x100000001b3
imul r9, rcx
mov rdi, r8
mov r11, rdx
xor r9, rax
movzx eax, byte [rsp + 0x42]
imul r9, rcx
xor r9, rax
movzx eax, byte [rsp + 0x43]
imul r9, rcx
xor r9, rax
mov rax, qword [rdx + 0x78]
imul r9, rcx
mov rcx, qword [rdx + 0x60]
mov rdx, qword [rdx + 0x50]
and rax, r9
mov rbx, rax
add rbx, rbx
add rax, rax
mov rbx, qword [rcx + rbx*8]
mov r8, qword [rcx + rax*8]
lea r9, [rcx + rax*8]
nop
cmp r8, rdx
jne 0x14006498a
mov rax, rdx
jmp 0x140064991
mov rax, qword [r9 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400649a7
cmp r10d, dword [rbx + 0x10]
je 0x1400649a1
mov rbx, qword [rbx]
jmp 0x140064980
cmovne rbx, rdx
jmp 0x1400649aa
mov rbx, rdx
cmp rbx, rdx
je 0x140064a0f
cmp byte [r11 + 0x90], 0
jne 0x1400649ea
lea rcx, [r11 + 8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
call fcn.140065390
mov rax, qword [rsp + 0x20]
lea rdx, [rbx + 0x18]
lea rcx, [rax + 0x18]
cmp rcx, rdx
je 0x1400649ea
or r9, 0xffffffffffffffff
xor r8d, r8d
call fcn.140029d5c
lea rdx, [rbx + 0x18]
cmp rdi, rdx
je 0x140064a02
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rdi
call fcn.140029d5c
mov al, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret