joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ff80
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x008ff350]
test rcx, rcx
jne 0x43ffa4
xor ecx, ecx
xor edx, edx
jmp 0x43ffb9
call fcn.00454360
mov rcx, rbx
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], r14
mov rsi, qword [r14 + 0x30]
inc dword [rsi + 0xd8]
mov qword [r14 + 0x10], 0xfffffffffffffade
mov byte [r14 + 0xb7], 1
call fcn.0043ff20
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x70], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rax + 0x78], rdx
mov ebx, 2
mov ecx, 3
call fcn.00439840
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x70]
cmp qword [rcx], rdx
ja 0x440026
nop dword [rax + rax]
cmp qword [rcx + 8], rdx
jae 0x440062
movups xmmword [rsp + 0x40], xmm15
lea rax, [0x00440280]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov qword [rsp], rax
call fcn.00460a60
xorps xmm15, xmm15
mov r14, qword [0x008ff590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x10]
test rax, rax
je 0x4400cb
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 0
lea rcx, [0x00440200]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp], rax
nop
call fcn.00460a60
xorps xmm15, xmm15
mov r14, qword [0x008ff590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043ff20
mov rcx, qword [rsp + 0x20]
mov al, byte [0x0087ba38]
test al, al
je 0x44010b
lea rax, [0x007e94f0]
mov qword [rsp], rax
call fcn.00460a60
xorps xmm15, xmm15
mov r14, qword [0x008ff590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043ff20
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
cmp dword [rax + 0x2298], 0
nop
je 0x440158
lea rax, fcn.0043b0c0
mov qword [rsp], rax
call fcn.00460a60
xorps xmm15, xmm15
mov r14, qword [0x008ff590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043ff20
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rdx, qword [rax + 0xa0]
mov edx, dword [rdx + 0x14]
mov dword [rax + 0x388], edx
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
mov qword [rax + 0x38], 0
mov rdx, qword [rcx + 0x30]
mov rbx, rax
mov qword [rdx + 0xb0], rax
mov rax, qword [rcx + 0x30]
mov qword [rax + 0xa0], 0
mov eax, 2
xchg dword [rbx + 4], eax
mov al, byte [0x0087ba28]
test al, al
je 0x4401e4
lea rax, [0x007e94e8]
mov qword [rsp], rax
call fcn.00460a60
xorps xmm15, xmm15
mov r14, qword [0x008ff590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.0043ff20
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x50
pop rbp
ret
Function at 0x444e80
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x444fe7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x444e92
cmp edx, ecx
jne 0x444fd5
nop word [rax + rax]
test rsi, rsi
jne 0x444fd5
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x444ef4
nop
call fcn.00464760
xorps xmm15, xmm15
mov r14, qword [0x008ff590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00444da0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x444fd0
mov rdx, qword [0x0087a8a8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x444fc5
mov rcx, qword [0x0087a8a0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x0087b990]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x0087b990], rax
nop
mov edx, 1
lea rsi, [0x0087b998]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x444fb3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004aed95]
mov ebx, 0x28
nop
call fcn.00434ec0
mov rax, rsi
mov rcx, rdx
call fcn.00462e60
call fcn.00433aa0
lea rax, [0x004ae101]
mov ebx, 0x23
call fcn.00434ec0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460b80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00444e80
Function at 0x448a40
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x448a88
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x448a88
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x448a98
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.imp.kernel32.dll_RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.004328c0
xorps xmm15, xmm15
mov r14, qword [0x008ff590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x448b71
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.imp.kernel32.dll_RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.00432b40
xorps xmm15, xmm15
mov r14, qword [0x008ff590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x448b71
cmp qword [rcx + 8], rax
ja 0x448a93
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x450480
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x4505f7
movzx edx, byte [rax]
test edx, edx
jne 0x4504b4
nop dword [rax]
test r8b, r8b
jne 0x4504b4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x4504c7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x4505b7
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x4505a5
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x450597
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x45051d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x450560
mov eax, 1
cmp rax, rbx
ja 0x45054b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00462f20
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45058f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x450553
mov rcx, r11
mov eax, r12d
jmp 0x450522
mov rcx, rbx
call fcn.00462e60
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00462e60
mov eax, r8d
mov rcx, rbx
call fcn.00462f20
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x4505ed
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x4505b0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x4504cd
mov eax, edx
mov rcx, rbx
call fcn.00462e60
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00462e60
nop
int3

Function at 0x4561c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x456275
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00453e40
nop
test bl, bl
je 0x45626f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x004562c0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00460a60
xorps xmm15, xmm15
mov r14, qword [0x008ff590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00460b80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004561c0
Function at 0x4591c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45926f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x004592c0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00460a60
xorps xmm15, xmm15
mov r14, qword [0x008ff590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00460b80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.004591c0
Function at 0x462980
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x404403
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a1a0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460b80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4043e0
cmp byte [0x008ff388], 0
je 0x462995
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45fbc0
jmp 0x4043e0

Function at 0x4629a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x008ff660]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x008ff388], 0
je 0x4629d5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x008ff980]
aesenc xmm0, xmmword [0x008ff990]
aesenc xmm0, xmmword [0x008ff9a0]
movq rax, xmm0
ret
jmp 0x40a3c0

Function at 0x4629e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x008ff660]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x008ff388], 0
je 0x462a16
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x008ff980]
aesenc xmm0, xmmword [0x008ff990]
aesenc xmm0, xmmword [0x008ff9a0]
movq rax, xmm0
ret
jmp 0x40a420

Function at 0x4647a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x4647d4
mov rcx, 0x28
jmp 0x4647df
shl rcx, 3
add rcx, 0x1480
mov qword [0x008ff590], rcx
pop rbp
ret
Function at 0x46db60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46dc2a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403960
xorps xmm15, xmm15
mov r14, qword [0x008ff590]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x46dc0f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00493d00]
xor ebx, ebx
mov rcx, rdx
call fcn.004495c0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0046dec0
inc rbx
cmp rcx, rbx
jae 0x46dbfe
mov edi, 1
lea rsi, [0x00493d00]
call fcn.004496a0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x008030e8]
lea rsi, [0x00802a98]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460b80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0046db60
Function at 0x14004ec78
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
or rax, 0xffffffffffffffff
mov rdi, r8
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
inc rax
cmp word [r8 + rax*2], r15w
jne 0x14004eca0
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], r15
mov edx, 0x20006
mov qword [rsp + 0x50], r15
mov rcx, r9
lea ebp, [rax*2 + 2]
call fcn.14004e7f8
mov ebx, eax
test eax, eax
jne 0x14004ed4c
mov rcx, qword [rsp + 0x58]
cmp dword [rsp + 0xa0], r15d
je 0x14004ed29
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov rdx, rsi
mov dword [rsp + 0x20], 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
mov rsi, r15
mov ebx, eax
test eax, eax
jne 0x14004ed51
mov dword [rsp + 0x28], ebp
mov r9d, 1
mov r8, r14
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004ed62
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004ed78
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x14004f970
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
xor ebx, ebx
mov r9d, 0x20019
mov qword [rsp + 0x50], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x1400bc760]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14004fa04
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.DnsOnWire
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x48], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmove ebx, dword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140078cb4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1400c77d8]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor ebx, ebx
mov dword [rsp + 0x44], 0x104
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x60]
mov r12, rdx
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x170]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rbx
xor edx, edx
mov qword [rsp + 0x20], rbx
mov r15, rcx
mov r14d, ebx
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
lea esi, [rbx + 1]
jmp 0x140078e60
cmp word [rsp + 0x60], bx
je 0x140078e11
mov edx, 0x2c
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140078e11
mov word [rax], bx
add rdi, 2
cmp word [rdi], 0x20
je 0x140078d79
mov r8d, 2
lea rdx, [0x1400bc870]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140078e11
add rdi, 4
mov ecx, ebx
mov word [rdi + 4], bx
jmp 0x140078dc8
lea eax, [rdx - 0x30]
cmp ax, 9
ja 0x140078dd0
lea ecx, [rcx + rcx*4]
movzx eax, dx
lea ecx, [rcx - 0x18]
add rdi, 2
lea ecx, [rax + rcx*2]
movzx edx, word [rdi]
test dx, dx
jne 0x140078daf
lea rax, [rbp + 0x170]
mov r9, r12
sub r9, rax
movzx edx, word [rax]
movzx r8d, word [rax + r9]
sub edx, r8d
jne 0x140078df3
add rax, 2
test r8d, r8d
jne 0x140078ddd
test edx, edx
je 0x140078e85
cmp ecx, 0x64
jae 0x140078e11
mov edx, ecx
mov eax, esi
and ecx, 0x1f
shr rdx, 5
shl eax, cl
or dword [rsp + rdx*4 + 0x48], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], 0x104
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x170]
add r14d, esi
mov qword [rsp + 0x28], rbx
mov edx, r14d
mov qword [rsp + 0x20], rbx
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
je 0x140078d49
mov eax, ebx
mov ecx, ebx
shr rax, 5
and ecx, 0x1f
mov eax, dword [rsp + rax*4 + 0x48]
bt eax, ecx
jae 0x140078e89
add ebx, esi
cmp ebx, 0x64
jb 0x140078e68
jmp 0x140078e8b
mov eax, ecx
jmp 0x140078e8d
mov esi, ebx
mov eax, esi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14000f060
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14007d1ec
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rcx, qword [0x1400c8f00]
mov ebx, 1
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
test byte [0x1400c8f08], bl
jne 0x14007d301
mov eax, dword [0x1400c8f10]
test eax, eax
je 0x14007d277
lea r9d, [rax - 1]
mov dword [0x1400c8f10], r9d
mov rcx, qword [0x1400c72a8]
lea rax, [0x1400c72a8]
cmp rcx, rax
je 0x14007d25f
test byte [rcx + 0x44], 0x80
je 0x14007d25f
mov rcx, qword [rcx + 0x38]
lea edx, [rbx + 9]
lea r8, [0x1400bc888]
call fcn.14001c23c
mov rcx, qword [0x1400c8f18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
jmp 0x14007d303
mov rax, qword [0x1400c8f00]
mov r9d, dword [0x1400c8f0c]
cmp r9d, dword [rax]
jae 0x14007d303
mov rcx, qword [0x1400c72a8]
lea rax, [0x1400c72a8]
cmp rcx, rax
je 0x14007d2b8
test byte [rcx + 0x44], 0x80
je 0x14007d2b8
mov rcx, qword [rcx + 0x38]
lea r8, [0x1400bc888]
mov edx, 0xb
call fcn.14001c23c
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9, [0x1400c8f00]
and dword [rsp + 0x20], 0
lea r8, [0x14007d440]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
test rax, rax
je 0x14007d301
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
add dword [0x1400c8f0c], ebx
jmp 0x14007d303
xor ebx, ebx
mov rcx, qword [0x1400c8f00]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14007eb70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1400c77d8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, qword [0x1400c9188]
mov rdi, rdx
mov rcx, rsi
call fcn.14007fc78
mov ebx, eax
cmp eax, 1
jne 0x14007ed4e
call sym.spoolsv.exe_PrvRevertToPrinterSelf
and qword [rbp - 0x19], 0
lea rdx, [rbp - 0x19]
mov rcx, rdi
mov r14, rax
call fcn.140080e04
test eax, eax
jne 0x14007ec5f
mov rsi, qword [rbp - 0x19]
test rsi, rsi
je 0x14007ec55
and qword [rbp - 0x19], 0
lea r8, [rbp - 0x19]
mov rdx, rsi
call fcn.140080550
mov rcx, rsi
mov ebx, eax
call fcn.14000eccc
test ebx, ebx
jne 0x14007ec55
lea ecx, [rbx + 0x38]
call fcn.14000ecd8
test rax, rax
je 0x14007ec55
mov rdx, rdi
mov rcx, rax
call fcn.14007e9d8
test rax, rax
je 0x14007ec55
mov r11, rax
cmp dword [rax + 0x34], ebx
jl 0x14007ec37
mov rcx, qword [rbp - 0x19]
mov rdx, rax
mov rcx, qword [rcx + 0x40]
call fcn.14005fa10
test eax, eax
jns 0x14007ec55
mov rax, qword [r11]
movabs r10, 0xda74867c1459e070
mov rax, qword [rax]
mov edx, 1
mov rcx, r11
call qword [0x1400a83f0]
mov ebx, 0x80004005
jmp 0x14007ed27
mov r8d, 0x74736c74
mov byte [rsp + 0x20], 0
lea rdx, [0x14008c098]
mov dword [rbp - 0x11], r8d
mov ecx, 0x6b6e6c74
mov qword [rbp - 9], rdx
lea rax, [rbp - 9]
mov dword [rbp - 1], ecx
mov qword [rbp + 7], rax
lea r9, [rbp + 0x17]
lea rax, [rbp - 9]
mov dword [rbp + 0x17], r8d
mov qword [rbp + 0xf], rax
lea r8, [rbp - 0x11]
lea rax, [rbp + 0x1f]
mov qword [rbp + 0x1f], rdx
mov qword [rbp + 0x2f], rax
mov rdx, rdi
lea rax, [rbp + 0x1f]
mov dword [rbp + 0x27], ecx
mov rcx, rsi
mov qword [rbp + 0x37], rax
call fcn.140080b80
mov ebx, eax
test eax, eax
jne 0x14007ecd8
lea r8, [rbp - 0x11]
mov rdx, rdi
mov rcx, rsi
call fcn.14007ed7c
mov ebx, eax
jmp 0x14007ed15
cmp ax, 0x2af9
jne 0x14007ed15
lea rax, [0x1400c8f30]
mov rcx, rdi
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x19], rax
call fcn.14007fec4
mov ebx, eax
test eax, eax
jne 0x14007ed0c
mov rdx, qword [rbp - 0x19]
mov r8, rdi
mov rcx, rsi
call fcn.14007ef48
mov ebx, eax
mov rdx, qword [rbp - 0x19]
call fcn.14004388c
lea rcx, [rbp + 0x17]
call fcn.140042394
lea rcx, [rbp - 0x11]
call fcn.140042394
mov rcx, r14
call sym.spoolsv.exe_PrvImpersonatePrinterClient
test eax, eax
jne 0x14007ed4e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov eax, ebx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14000f060
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret