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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800ae1f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
lea rdx, [rcx + 0x28]
mov qword [rsp + 0x20], 0
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x30]
mov r8d, 0x18
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18000d894
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x18000d8ac
cmp dword [rbx + 0x28], 0xa1b2c3d4
jne 0x18000d8a7
cmp dword [rbx + 0x3c], 1
jne 0x18000d8a7
xor eax, eax
jmp 0x18000d8ac
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18004e170
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x18000d8d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1800ae1f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rcx + 8]
mov edi, 0x139f
xor r15d, r15d
cmp rbx, 0xffffffffffffffff
cmovne edi, r15d
mov qword [rdx + 8], r15
lea rax, [rsp + 0x38]
cmp rdx, rax
je 0x18000d927
mov rcx, qword [rdx]
mov qword [rdx], r15
test rcx, rcx
je 0x18000d927
call fcn.18004e190
cmp rbx, 0xffffffffffffffff
je 0x18000d96c
mov dword [rsp + 0x30], r15d
lea rdx, [r14 + 0x14]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x30]
mov r8d, 0x10
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18000d964
mov edi, 0x44c
cmp dword [rsp + 0x30], r15d
cmovne edi, r15d
jmp 0x18000d96c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, r15
mov qword [rsp + 0x38], rbx
mov rbp, r15
test edi, edi
jne 0x18000da11
mov ebx, dword [r14 + 0x1c]
mov ecx, ebx
call fcn.18004e838
mov rbp, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.180050e40
mov rbx, rbp
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x30]
mov r8d, dword [r14 + 0x1c]
mov rdx, rbp
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18000d9c6
mov edi, r15d
jmp 0x18000d9d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jne 0x18000da11
lea rax, [r14 + 0x14]
mov rbx, r15
mov qword [rsi + 8], rax
lea rax, [rsp + 0x38]
cmp rsi, rax
mov rax, r15
je 0x18000d9ff
mov rcx, qword [rsi]
mov qword [rsi], rbp
test rcx, rcx
je 0x18000da21
call fcn.18004e190
mov rax, r15
jmp 0x18000da21
test rbp, rbp
je 0x18000da21
mov rcx, rbp
call fcn.18004e190
mov rax, r15
jmp 0x18000da21
mov rax, rbp
cmp edi, 0x44c
jne 0x18000da21
mov byte [r14 + 0x10], 1
test rax, rax
je 0x18000da2e
mov rcx, rbx
call fcn.18004e190
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18004e170
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000da70
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1800ae1f0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r15, r8
mov r14, rdx
mov r13, rcx
mov rcx, qword [rcx + 8]
mov edi, 0x139f
xor esi, esi
cmp rcx, 0xffffffffffffffff
cmovne edi, esi
je 0x18000db58
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
lea r8d, [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18000dad9
mov edi, 0x44c
cmp dword [rsp + 0x30], esi
cmovne edi, esi
jmp 0x18000dae1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x18000db58
mov ebx, dword [r14 + 0x10]
mov ecx, ebx
call fcn.18004e838
mov rdi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.180050e40
lea rax, [rsp + 0x38]
cmp r15, rax
je 0x18000db17
mov rcx, qword [r15]
mov qword [r15], rdi
test rcx, rcx
je 0x18000db1f
jmp 0x18000db1a
mov rcx, rdi
call fcn.18004e190
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
mov r8d, dword [r14 + 0x10]
mov rdx, qword [r15]
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18000db50
mov edi, 0x44c
cmp dword [rsp + 0x30], esi
cmovne edi, esi
jmp 0x18000db58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ebp, dword [r14]
sub ebp, dword [r14 + 0x10]
sub ebp, 0x1c
mov rbx, rsi
mov qword [rsp + 0x38], rbx
test edi, edi
jne 0x18000dbc5
movsxd rdi, ebp
mov rcx, rdi
call fcn.18004e838
mov rbx, rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.180050e40
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
mov r8d, ebp
mov rdx, rbx
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18000dbba
mov edi, 0x44c
cmp dword [rsp + 0x30], 0
cmovne edi, esi
jmp 0x18000dbc2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rsi, rbx
test rsi, rsi
je 0x18000dbd2
mov rcx, rbx
call fcn.18004e190
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18004e170
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18000f7e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x1800ae1f0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x18000f9d2
lea rdx, [r8 + 0x34]
mov r8d, dword [r8]
btr r8d, 0x1f
sub r8, 0x34
lea rcx, [rbp + 0x17]
call fcn.18000e820
lea rsi, [rdi + 0x108]
lea r8, [rbp + 0x17]
lea rdx, [rbp - 0x19]
mov rcx, rsi
call fcn.180015160
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x41], xmm0
xor r15d, r15d
mov rcx, qword [rbp - 0x41]
cmp byte [rcx + 0x19], r15b
jne 0x18000f8cc
movzx eax, word [rcx + 0x42]
mov word [rbp - 0x51], ax
movups xmm0, xmmword [rcx + 0x32]
movups xmmword [rbp - 0x4f], xmm0
movzx eax, word [rcx + 0x30]
mov word [rbp - 0x3f], ax
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbp - 0x3d], xmm0
mov eax, dword [rcx + 0x1c]
mov dword [rbp - 0x2d], eax
movzx eax, word [rbp + 0x3d]
mov word [rbp - 0x19], ax
movups xmm0, xmmword [rbp + 0x2d]
movups xmmword [rbp - 0x17], xmm0
movzx eax, word [rbp + 0x2b]
mov word [rbp - 7], ax
movups xmm0, xmmword [rbp + 0x1b]
movups xmmword [rbp - 5], xmm0
mov eax, dword [rbp + 0x17]
mov dword [rbp + 0xb], eax
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x19]
call fcn.1800148b0
test al, al
je 0x18000f938
movabs rax, 0x38e38e38e38e38e
cmp qword [rsi + 8], rax
je 0x18000f9fb
mov rbx, qword [rsi]
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], r15
mov ecx, 0x48
call fcn.18004e1a0
nop
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rax + 0x1c], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rax + 0x2c], xmm1
movsd xmm0, qword [rbp + 0x37]
movsd qword [rax + 0x3c], xmm0
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
movups xmm0, xmmword [rbp - 0x29]
movaps xmmword [rbp - 0x29], xmm0
mov r8, rax
lea rdx, [rbp - 0x29]
mov rcx, rsi
call fcn.18000d4c0
mov dword [rbp + 0xf], r15d
mov rcx, qword [rdi + 0x88]
cmp rcx, 0xffffffffffffffff
je 0x18000f982
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0xf]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rdi + 0xc8]
mov edx, 0x12e0bd
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
setne al
test al, al
jne 0x18000f9d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.Failed_to_blacklist_stream:
lea rcx, [0x1800b15b0]
call fcn.1800044e0
mov dword [rbp - 0x59], ebx
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.180013a70
mov rcx, rax
lea rdx, [0x180099c28]
call fcn.1800044e0
mov dword [rbp - 0x55], ebx
lea rdx, [rbp - 0x55]
mov rcx, rax
call fcn.180041ae0
mov rcx, rax
call fcn.180004780
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.18004e170
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18000b880
int3
Function at 0x1800235a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1800ae1f0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, r8
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rdx
xor r14d, r14d
mov qword [rcx + 0x38], r14
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x18002362f
cmp rcx, rdx
sete al
test al, al
je 0x180023627
mov rax, qword [rcx]
mov rdx, rsi
mov rax, qword [rax + 8]
call qword [case.0x180018da5.0]
mov qword [rsi + 0x38], rax
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x18002362f
mov rax, qword [rcx]
cmp rcx, rbp
sete dl
xor dl, 1
mov rax, qword [rax + 0x20]
call qword [case.0x180018da5.0]
mov qword [rbp + 0x38], r14
jmp 0x18002362f
mov qword [rsi + 0x38], rcx
mov qword [rdx + 0x38], r14
mov qword [rsi + 0x40], rbx
mov ecx, 8
call fcn.18004e1a0
mov qword [rax], rsi
mov qword [rsp + 0x48], rax
lea rbx, [rsi + 0x50]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x180025770]
xor edx, edx
xor ecx, ecx
call fcn.18005dea0
mov qword [rsi + 0x48], rax
test rax, rax
je 0x180023744
lea rdi, [rsi + 0x58]
mov qword [rsp + 0x48], rdi
mov ecx, 0xd0
call fcn.18004e1a0
mov rbx, rax
mov qword [rsp + 0x48], rax
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call fcn.180050e40
lea rax, vtable.std::_Associated_state_int_.0
mov qword [rbx], rax
mov dword [rbx + 8], 1
lea rcx, [rbx + 0x10]
call fcn.18004c9f0
lea rcx, [rbx + 0x20]
mov edx, 2
call fcn.18004b730
lea rcx, [rbx + 0x70]
call fcn.18004cef0
mov byte [rbx + 0xb8], 0
mov dword [rbx + 0xbc], r14d
mov word [rbx + 0xc0], 0
mov byte [rbx + 0xc2], 0
mov qword [rbx + 0xc8], r14
mov qword [rdi], rbx
mov byte [rdi + 8], 0
mov byte [rdi + 0x10], 0
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x18002371f
mov r8, qword [rcx]
cmp rcx, rbp
setne dl
mov rax, qword [r8 + 0x20]
call qword [case.0x180018da5.0]
mov qword [rbp + 0x38], r14
mov rax, rsi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18004e170
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov dword [rbx], r14d
mov ecx, 6
call fcn.18004bb50
int3
Function at 0x1800257a0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Parse pe header

Disassembly:
jmp 0x180025888
sub rsp, 0x558
mov qword [rsp + 0x548], 0
mov qword [rsp + 0x540], 0
mov byte [rsp + 0x520], 0x38
mov byte [rsp + 0x521], 0x42
mov byte [rsp + 0x522], 0x5e
mov byte [rsp + 0x523], 0x55
mov byte [rsp + 0x524], 0x49
mov byte [rsp + 0x525], 0x69
mov byte [rsp + 0x526], 0x6c
mov byte [rsp + 0x527], 0x5a
mov byte [rsp + 0x528], 0x70
mov byte [rsp + 0x529], 0x54
mov byte [rsp + 0x52a], 0x46
mov byte [rsp + 0x52b], 0x41
mov byte [rsp + 0x52c], 0x4c
mov byte [rsp + 0x52d], 0x43
mov byte [rsp + 0x52e], 0x5e
mov byte [rsp + 0x52f], 0x48
mov byte [rsp + 0x530], 0x4f
mov byte [rsp + 0x531], 0x30
mov byte [rsp + 0x532], 0x5e
mov byte [rsp + 0x533], 0x4d
mov byte [rsp + 0x534], 0x50
mov byte [rsp + 0x535], 0x59
mov byte [rsp + 0x536], 0x45
mov byte [rsp + 0x537], 0x6b
mov byte [rsp + 0x538], 0x7a
mov byte [rsp + 0x539], 0
mov ecx, 0x7024b
lea r8, [rsp + 0x30]
lea rdx, [r8 + 0x4d0]
jmp 0x18002599f
mov qword [rax], 0x174b21a4
add rax, 8
cmp rax, rdx
jne 0x18002598a
sub ecx, 1
je 0x1800259a8
lea rax, [r8 + 0xe0]
jmp 0x18002598a
cmp qword [rsp + 0x258], 0x174b21a4
jne 0x180025a97
call fcn.180025ac0
mov edx, 0x6d92a5e2
mov rcx, rax
call fcn.1800257f8
mov qword [rsp + 0x540], 0x43a03
lea rdx, [rsp + 0x548]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x540]
mov r8d, 0
mov rcx, 0xffffffffffffffff
call rax
test eax, eax
js 0x180025a18
cmp qword [rsp + 0x540], 0
jne 0x180025a3b
jmp 0x180025a90
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
call qword [0x18006d808]
mov eax, 0
jmp 0x180025ab3
mov ecx, 0
movabs r8, 0x4ec4ec4ec4ec4ec5
mov rax, rcx
mul r8
shr rdx, 3
lea rax, [rdx + rdx*2]
lea rax, [rdx + rax*4]
add rax, rax
mov rdx, rcx
sub rdx, rax
movzx eax, byte [rsp + rdx + 0x520]
lea rdx, resource.0
xor al, byte [rdx + rcx]
mov rdx, qword [rsp + 0x548]
mov byte [rdx + rcx], al
add rcx, 1
cmp qword [rsp + 0x540], rcx
ja 0x180025a4a
call qword [rsp + 0x548]
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
call qword [0x18006d808]
add rsp, 0x558
ret

Function at 0x1800257f8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov r8d, dword [rcx + rax + 0x88]
add r8, rcx
mov edi, dword [r8 + 0x20]
mov r14d, dword [r8 + 0x1c]
mov r15d, dword [r8 + 0x24]
mov r12d, dword [r8 + 0x18]
test r12d, r12d
je 0x180025872
mov ebp, edx
mov rsi, rcx
mov ebx, 0
add rdi, rcx
mov ecx, dword [rdi + rbx*4]
add rcx, rsi
call fcn.1800257d0
cmp eax, ebp
jne 0x180025862
mov r15d, r15d
lea rax, [r15 + rbx*2]
movzx eax, word [rsi + rax]
mov r14d, r14d
lea rax, [r14 + rax*4]
mov eax, dword [rsi + rax]
add rax, rsi
jmp 0x180025877
add rbx, 1
cmp r12d, ebx
ja 0x180025839
mov eax, 0
jmp 0x180025877
mov eax, 0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180025890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x180025888
sub rsp, 0x558
mov qword [rsp + 0x548], 0
mov qword [rsp + 0x540], 0
mov byte [rsp + 0x520], 0x38
mov byte [rsp + 0x521], 0x42
mov byte [rsp + 0x522], 0x5e
mov byte [rsp + 0x523], 0x55
mov byte [rsp + 0x524], 0x49
mov byte [rsp + 0x525], 0x69
mov byte [rsp + 0x526], 0x6c
mov byte [rsp + 0x527], 0x5a
mov byte [rsp + 0x528], 0x70
mov byte [rsp + 0x529], 0x54
mov byte [rsp + 0x52a], 0x46
mov byte [rsp + 0x52b], 0x41
mov byte [rsp + 0x52c], 0x4c
mov byte [rsp + 0x52d], 0x43
mov byte [rsp + 0x52e], 0x5e
mov byte [rsp + 0x52f], 0x48
mov byte [rsp + 0x530], 0x4f
mov byte [rsp + 0x531], 0x30
mov byte [rsp + 0x532], 0x5e
mov byte [rsp + 0x533], 0x4d
mov byte [rsp + 0x534], 0x50
mov byte [rsp + 0x535], 0x59
mov byte [rsp + 0x536], 0x45
mov byte [rsp + 0x537], 0x6b
mov byte [rsp + 0x538], 0x7a
mov byte [rsp + 0x539], 0
mov ecx, 0x7024b
lea r8, [rsp + 0x30]
lea rdx, [r8 + 0x4d0]
jmp 0x18002599f
mov qword [rax], 0x174b21a4
add rax, 8
cmp rax, rdx
jne 0x18002598a
sub ecx, 1
je 0x1800259a8
lea rax, [r8 + 0xe0]
jmp 0x18002598a
cmp qword [rsp + 0x258], 0x174b21a4
jne 0x180025a97
call fcn.180025ac0
mov edx, 0x6d92a5e2
mov rcx, rax
call fcn.1800257f8
mov qword [rsp + 0x540], 0x43a03
lea rdx, [rsp + 0x548]
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x540]
mov r8d, 0
mov rcx, 0xffffffffffffffff
call rax
test eax, eax
js 0x180025a18
cmp qword [rsp + 0x540], 0
jne 0x180025a3b
jmp 0x180025a90
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
call qword [0x18006d808]
mov eax, 0
jmp 0x180025ab3
mov ecx, 0
movabs r8, 0x4ec4ec4ec4ec4ec5
mov rax, rcx
mul r8
shr rdx, 3
lea rax, [rdx + rdx*2]
lea rax, [rdx + rax*4]
add rax, rax
mov rdx, rcx
sub rdx, rax
movzx eax, byte [rsp + rdx + 0x520]
lea rdx, resource.0
xor al, byte [rdx + rcx]
mov rdx, qword [rsp + 0x548]
mov byte [rdx + rcx], al
add rcx, 1
cmp qword [rsp + 0x540], rcx
ja 0x180025a4a
call qword [rsp + 0x548]
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
call qword [0x18006d808]
add rsp, 0x558
ret

Function at 0x180025ac0
Capabilities:
Access peb ldr_data

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
ret

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

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1800285d4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800285c0
ret
Function at 0x180041df0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbx, r8
mov rbp, rdx
mov r14, rcx
mov ecx, 0x70
call fcn.18004e1a0
mov rdi, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x180041f3a
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180041e43
lock inc dword [rcx + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov ecx, 0x18
call fcn.18004e1a0
xor esi, esi
test rax, rax
je 0x180041e7f
lea rcx, [0x180042b70]
mov qword [rax], rcx
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rdi
jmp 0x180041e82
mov rax, rsi
mov qword [rsp + 0x38], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x180041cb0]
xor edx, edx
xor ecx, ecx
call fcn.18005dea0
mov qword [rdi], rax
test rax, rax
je 0x180041f59
mov byte [rdi + 0x10], 1
lea rcx, [rdi + 0x18]
call fcn.18004cef0
nop
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x40], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov ecx, 0x30
call fcn.18004e1a0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.180041ce0
nop
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x180041f3e
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180041f3e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x180041f3e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x180041f3e
xor esi, esi
mov edi, esi
mov qword [r14], rdi
mov rax, r14
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov dword [rbx], esi
mov ecx, 6
call fcn.18004bb50
int3
Function at 0x180048c90
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1800ae1f0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rdx
mov rsi, rcx
cmp qword [rcx + 0x28], 0
je 0x180048d2e
xor edi, edi
cmp qword [rdx + 0x10], rdi
jne 0x180048cca
mov ebp, edi
jmp 0x180048cd7
mov rbp, rbx
cmp qword [rdx + 0x18], 8
jb 0x180048cd7
mov rbp, qword [rdx]
mov edx, 0x1000b
call fcn.180048e80
mov rcx, rax
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov ebp, eax
cmp eax, 5
jne 0x180048d22
cmp qword [rbx + 0x10], rdi
je 0x180048d07
mov rdi, rbx
cmp qword [rbx + 0x18], 8
jb 0x180048d07
mov rdi, qword [rbx]
mov edx, 0x10009
mov rcx, rsi
call fcn.180048e80
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov ebp, eax
test ebp, 0xfffffffd
jne 0x180048d51
mov byte [rsi + 0x40], 0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.18004e170
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
mov edi, 0x5c
mov rcx, rsi
call fcn.180049460
mov rdx, rax
movzx r8d, di
lea rcx, [rsp + 0x48]
call fcn.180048ba0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180048b40
nop
mov r8, rax
lea rdx, str.Failed_to_delete_key
lea rcx, [rsp + 0x88]
call fcn.180049b00
mov rbx, rax
call fcn.180002140
mov r8, rax
mov r9, rbx
mov edx, ebp
lea rcx, [rsp + 0x20]
call fcn.180046350
lea rdx, [0x1800ac1d8]
lea rcx, [rsp + 0x20]
call fcn.1800505e0
int3
Function at 0x180049020
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1800ae1f0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov r12d, r8d
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x40], rdx
mov eax, dword [rcx + 0x48]
inc eax
mov dword [rsp + 0x40], eax
mov r14d, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor r13d, r13d
mov qword [rsp + 0x58], r13
mov edi, r13d
mov ebx, r13d
test eax, eax
je 0x1800490b4
mov edx, r14d
lea rcx, [rsp + 0x48]
call fcn.180004290
mov rdi, rax
mov rbp, rax
mov qword [rsp + 0x48], rax
lea r8, [r14 + r14]
lea rbx, [r8 + rax]
mov qword [rsp + 0x58], rbx
xor edx, edx
mov rcx, rax
call fcn.180050e40
mov qword [rsp + 0x50], rbx
jmp 0x1800490b9
mov rbp, qword [rsp + 0x48]
mov edx, 8
mov rcx, r15
call fcn.180048e80
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
mov r8, rbp
mov edx, r12d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r14d, eax
test eax, eax
jne 0x180049189
mov r8d, dword [rsp + 0x40]
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov rdx, rbp
mov rcx, rsi
call fcn.180003e90
nop
test rdi, rdi
je 0x18004915b
sub rbx, rdi
sar rbx, 1
add rbx, rbx
cmp rbx, 0x1000
jb 0x180049150
add rbx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1800491d5
mov rdi, rcx
mov rdx, rbx
mov rcx, rdi
call fcn.18004e190
mov rax, rsi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.18004e170
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, r15
call fcn.180049460
mov r8, rax
lea rdx, str.Failed_to_retrieve_value_name
lea rcx, [rsp + 0x88]
call fcn.180049b00
mov rbx, rax
call fcn.180002140
mov r8, rax
mov r9, rbx
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.180046350
lea rdx, [0x1800ac1d8]
lea rcx, [rsp + 0x60]
call fcn.1800505e0
nop
call fcn.180055c10
int3