joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009e160
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14009e1a2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14009e1e9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14009e242
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14009e200
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14009e283
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400b73a2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400b73a3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14009e250
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14009f39c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009f3e6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009f3e6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009f3e6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009f3e6
cmp dword [rcx + 0x84], 0xe
jbe 0x14009f3e6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009f3e8
xor al, al
add rsp, 0x28
ret
Function at 0x1400112d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140054910]
lea rdx, [0x140047e70]
mov r8d, ecx
mov rbx, qword [rax + 0x1d18]
add rbx, 0x108
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x140011387
lea ecx, [r9 + 1]
test r8d, r8d
je 0x140011373
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140011378
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140023440
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140011da0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140054010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140054910]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x140011e00
cmp byte [rbx + 0x20d6], 0
jne 0x140011e00
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002f90
test dil, 1
je 0x140011f26
jmp 0x140011e8f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14004c878]
mulss xmm1, dword [0x14004c86c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x14004c7e4]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.140002f90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140011ee0
lea r11, [0x140047e70]
nop
cmp r9b, 0x23
jne 0x140011ec3
cmp byte [r8], r9b
jne 0x140011ec3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140011eb0
not ecx
call fcn.14000ada0
test rax, rax
je 0x140011f26
cmp byte [rax + 0xcf], 0
je 0x140011f26
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, 0x10
mov r9d, dword [rbx + 0x3178]
call fcn.140002f90
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000d850
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400452e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001a600
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001a83e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140054010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140047e70]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001a806
mov rcx, rbp
call fcn.140019c90
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001a6d1
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001a6c1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001a6b9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001a6bc
mov rdx, rcx
test rdx, rdx
jne 0x14001a690
cmp r8, r10
je 0x14001a6d1
cmp dword [r8], r9d
jne 0x14001a6d1
mov rcx, qword [r8 + 8]
jmp 0x14001a6d3
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001a767
cmp qword [rcx + 0x18], 0
jne 0x14001a75c
mov qword [rcx + 0x18], rbx
jmp 0x14001a767
cmp qword [rcx + 0x20], 0
jne 0x14001a767
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov rcx, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001a79c
nop
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001a790
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.140002f90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001a7f8
cmp r9b, 0x23
jne 0x14001a7db
cmp byte [r8], r9b
jne 0x14001a7db
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001a7c8
not ecx
call fcn.14000ada0
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001a650
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400452e0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140045eec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140045f36
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140045f36
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140045f36
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140045f36
cmp dword [rcx + 0x84], 0xe
jbe 0x140045f36
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140045f38
xor al, al
add rsp, 0x28
ret
Function at 0x14000f514
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 r13
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [0x1400363c0]
xor rax, rsp
mov qword [rbp + 0x560], rax
xor r15d, r15d
mov r8, rcx
test rcx, rcx
je 0x14000f58a
mov edi, 0x104
mov rax, r8
mov ecx, edi
cmp word [rax], r15w
je 0x14000f56b
add rax, 2
sub rcx, 1
jne 0x14000f55b
mov rax, rcx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test rcx, rcx
je 0x14000f585
sub rdi, rcx
jmp 0x14000f594
mov rdi, r15
jmp 0x14000f594
mov rdi, qword [rsp + 0x20]
mov ebx, 0x80070057
test ebx, ebx
cmovs rdi, r15
js 0x14000f7bd
mov r13d, 0x105
lea rcx, [rsp + 0x30]
mov edx, r13d
call fcn.140005a2c
mov ebx, eax
test eax, eax
jns 0x14000f5c0
mov ecx, eax
jmp 0x14000f7bf
lea rax, [rdi - 1]
cmp rax, rdi
ja 0x14000f5d1
mov rdi, rax
mov ebx, r15d
jmp 0x14000f5dd
mov ebx, 0x80070216
mov ecx, ebx
call fcn.14000e70c
mov ecx, ebx
call fcn.14000e728
test ebx, ebx
js 0x14000f7bd
add rdi, rdi
mov ecx, 0x5c
cmp word [rsp + rdi + 0x30], cx
jne 0x14000f60e
cmp rdi, 0x20a
jae 0x14000f7f8
mov word [rsp + rdi + 0x30], r15w
cmp word [rsp + 0x30], cx
lea rax, [rsp + 0x30]
lea rdi, [rsp + 0x32]
mov word [rbp + 0x140], r15w
cmovne rdi, rax
mov r14d, r15d
mov edx, ecx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
mov rsi, rax
test rax, rax
jne 0x14000f664
mov r8, rdi
invalid
invalid
invalid
Function at 0x7ffb3e5b11f4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rdi
mov eax, 0x1038
call fcn.7ffb3e5b11b0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1020], rax
xor ebx, ebx
cmp dword [0x7ffb3e5f2008], ebx
jne 0x7ffb3e5c114b
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call int.7ffb3e5b1000
add rsp, 0x1038
pop rdi
pop rbx
ret
mov r8, rcx
mov edi, 0x7ff
lea r9, [rsp + 0x1058]
lea rcx, [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.msvcrt.dll__vsnwprintf]
cmp eax, ebx
jl 0x7ffb3e5c1176
cdqe
cmp rax, rdi
ja 0x7ffb3e5c1176
jne 0x7ffb3e5c117e
mov word [rsp + 0x101e], bx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
jmp 0x7ffb3e5b1236

Function at 0x7ffb3e5b58a4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x30
mov rdi, rcx
mov dword [rcx + 0x58], edx
lea rcx, str.CStateThread::Initialize__
call fcn.7ffb3e5b11f4
mov edx, dword [rdi + 0x24]
cmp edx, 4
jne 0x7ffb3e5c307f
xor eax, eax
mov ebp, 0x80070000
xchg dword [rdi + 0x24], eax
mov rcx, qword [rdi + 0x10]
and dword [rdi + 0x20], 0
test rcx, rcx
jne 0x7ffb3e5c30b9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x7ffb3e5c30a4
mov rcx, qword [rdi + 0x18]
test rcx, rcx
jne 0x7ffb3e5c30c7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x18], rax
test rax, rax
je 0x7ffb3e5c30c5
xor ebx, ebx
test ebx, ebx
js 0x7ffb3e5c3090
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x7ffb3e5b2080]
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 8], rax
test rax, rax
je 0x7ffb3e5c30d3
xor ebx, ebx
test ebx, ebx
js 0x7ffb3e5c3090
mov rcx, qword [rdi + 0x18]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx ebx, ax
or ebx, ebp
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x7ffb3e5c3090
mov ebx, dword [rdi + 0x20]
jmp 0x7ffb3e5b5993
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, str.CStateThread::Initialize___called_in_wrong_state___d_
call fcn.7ffb3e5b11f4
mov ebx, 0x8004d011
lea rcx, str.CStateThread::Initialize___failed_with_0x_08X
mov edx, ebx
call fcn.7ffb3e5b11f4
nop
jmp 0x7ffb3e5b5993
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, ebp
test eax, eax
cmovle ebx, eax
jmp 0x7ffb3e5b5931
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop
jmp 0x7ffb3e5b5907
jmp 0x7ffb3e5c30a4
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop
jmp 0x7ffb3e5b592f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, ebp
test eax, eax
cmovle ebx, eax
jmp 0x7ffb3e5b5967
Function at 0x7ffb3e5b63e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rax, [0x7ffb3e5ea128]
xor ebx, ebx
mov rbp, r8
mov qword [rsp + 0x38], rax
mov edi, edx
mov rsi, rcx
mov rax, qword [rsp + 0x38]
cmp edx, 1
jne 0x7ffb3e5b644a
and qword [r11 - 0x28], rbx
lea rax, [r11 - 0x28]
mov qword [0x7ffb3e5f2270], rcx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionMedia_CenterServiceITV
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x38], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x7ffb3e5c10e8
mov r8, rbp
mov edx, edi
mov rcx, rsi
call fcn.7ffb3e5b6478
mov edi, eax
test rbx, rbx
jne 0x7ffb3e5c113c
mov eax, edi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [0x7ffb3e5f2008]
lea rdx, str.Trace
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x7ffb3e5b644a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x7ffb3e5b644a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x7ffb3e5b6462

Function at 0x7ffb3e5b7d14
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rsp + 0x70]
lea rax, str.iTV_Data_In
xor edx, edx
mov qword [r11 - 0x20], rax
mov rbx, r8
mov rdi, rcx
mov qword [r11 - 0x28], rsi
call fcn.7ffb3e5b7770
lea rax, [0x7ffb3e5e88e0]
mov qword [rdi + 0x18], rax
lea rax, [0x7ffb3e5ea888]
lea r11, [0x7ffb3e5e83e0]
mov qword [rdi + 0x20], rax
lea rax, [0x7ffb3e5e85f0]
lea rcx, [rdi + 0x138]
mov qword [rdi], r11
mov qword [rdi + 0x130], rbx
mov qword [rdi + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
and dword [rdi + 0x160], 0
cmp qword [rdi + 0x40], 0
je 0x7ffb3e5c11c6
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionMedia_CenterServiceITV
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x7ffb3e5c11d1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
mov dword [rsi], 0x8007000e
jmp 0x7ffb3e5b7d99
and dword [rsp + 0x50], eax
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x30]
lea rdx, str.DataTestMode
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7ffb3e5c1227
cmp dword [rsp + 0x30], 4
jne 0x7ffb3e5c1227
test eax, eax
jne 0x7ffb3e5c1227
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x160], eax
test rbx, rbx
je 0x7ffb3e5b7dce
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x7ffb3e5b7dce
Function at 0x7ffb3e5b8944
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
jmp 0x7ffb3e5b9cc4
jne 0x7ffb3e5ba25d
mov rdx, qword [r10 + 0x30]
btr ecx, 4
movzx r11d, bx
movsxd rax, dword [rdx + 0x3c]
shl r10w, cl
shrd r10d, edi, 0x44
adc sil, 0x4a
mov ecx, dword [rax + rdx + 0x88]
neg dil
jmp 0x7ffb3e5ba37a
xor eax, r9d
imul r9d, eax, 0x5bd1e995
movsx ax, r11b
mov eax, r9d
cmp r8b, r12b
stc
shr eax, 0xf
cmp r14d, esp
clc
xor r9d, eax
mov al, byte [rcx]
test ch, 0x3a
test al, al
jmp 0x7ffb3e5b9aaa
call rsi
lea rax, [rdi + 0x6d44]
not ecx
mov rcx, 0x11dc05da
lea rcx, [rbp + 0x48]
jmp 0x7ffb3e5b9eab
jmp 0x7ffb3e5b8aff
jne 0x7ffb3e5b8aec
xor ebx, ebx
jmp 0x7ffb3e5ba2d2
lock dec dword [rbp + 0x40]
test r10b, 0xc5
sub rax, r12
jmp 0x7ffb3e5b8adf
add rdi, r12
cmp dword [rdi], eax
jmp 0x7ffb3e5b9e30
ret
jne 0x7ffb3e5b9ca1
cmp r9d, 0x64098594
je 0x7ffb3e5ba36a
add r11w, r12w
add r10, 4
sbb ah, 0xca
movzx rax, r10w
movzx eax, r11w
stc
test ah, 0x5c
cmc
add r8, 2
stc
cmp eax, esi
jmp 0x7ffb3e5ba348
and eax, 3
stc
mov al, byte [rbp + rax + 0x48]
clc
cmp ax, r14w
test r12, r10
xor byte [rdx], al
add rdx, r12
test r11b, 0x4f
test edx, esi
sub r14, r12
jne 0x7ffb3e5b9e99
lea rax, [rbp + 0x50]
bt r9d, 0x57
sal rdx, 0xb2
test r14w, dx
mov qword [rbp - 8], r15
test r10d, r13d
adc r9w, 0x153d
lea r9d, [r14 + 0x20]
not r8b
mov qword [rsp + 0x20], rax
bsr r8w, r13w
bswap dx
lea r8, [rbp + 0x58]
movzx dx, sil
not dh
or rcx, 0xffffffffffffffff
cqo
lea rdx, [rbp - 8]
jmp 0x7ffb3e5b8abf
je 0x7ffb3e5b9abd
movsx eax, al
cmp si, 0x6d6
cmc
add rcx, r12
jmp 0x7ffb3e5b8a93
xor r8d, eax
movsx rax, r10w
cdqe
movzx eax, word [r9]
jmp 0x7ffb3e5b9fea
push rbp
push rbx
push rsi
btc ebp, 0x61
movsx eax, sp
push rdi
mov ax, 0x3689
rcl ah, 0x88
push r12
movzx bp, r12b
push r14
lahf
push r15
cmp r11b, 0xf0
or ax, ax
mov rbp, rsp
cmp spl, 0x3c
sub rsp, 0x40
cmovge r12, rsp
nop
mov eax, 0x7fffffff
not r12d
mov r12b, 0x30
movsxd r12, ebp
mov r12d, 1
jmp 0x7ffb3e5ba106
jne 0x7ffb3e5ba290
cmp r8d, 0x66b65ce9
jmp 0x7ffb3e5b9e1e
je 0x7ffb3e5b8a63
mov rcx, qword [rcx]
cmc
cmp rcx, rdx
jmp 0x7ffb3e5b8a5d
jne 0x7ffb3e5b8afc
lea rax, [rbp + 0x50]
shrd r15w, si, 0xc9
shr dh, 2
mov r14d, 0x2660f
bsf edx, r14d
xor r8b, 0x40
lea r15, [rdi + 4]
mov qword [rbp + 0x58], r14
mov r9d, 4
clc
bsf r8d, r15d
movzx r8, r13w
mov qword [rbp - 0x10], r15
shl dh, 0xa5
movzx r8w, r14b
lea r8, [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x10]
cmc
or rcx, 0xffffffffffffffff
call rsi
mov rdx, r15
bt rax, r15
sub ah, 2
mov dword [rbp + 0x48], 0x907cee42
mov rax, rbx
cmp dl, r13b
lea rbx, [rbx + r12]
test rbx, r13
jmp 0x7ffb3e5b9b4f
call rax
xor eax, eax
stc
add rsp, 0x40
xchg r14b, dil
movzx r14, dx
movzx edi, bp
pop r15
pop r14
mov rbx, r14
bswap bx
pop r12
movzx ebp, sp
cmovae edi, ecx
pop rdi
pop rsi
pop rbx
movsxd rbp, r8d
movzx bp, spl
pop rbp
invalid
invalid
in al, dx
invalid
Function at 0x7ffb3e5c7fb4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
rdtsc
shl rdx, 0x20
or rax, rdx
cdqe
mov qword [0x7ffb3e5f5490], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
xor ebx, ebx
and eax, 0x80000000
lea rbp, [0x7ffb3e5b0000]
mov dword [0x7ffb3e5f2c70], eax
cmp dword [0x7ffb3e5f5540], ebx
jne 0x7ffb3e5c8012
lea rcx, [0x7ffb3e5f5498]
call fcn.7ffb3e5c7d70
cmp eax, ebx
jl 0x7ffb3e5c8204
mov dword [0x7ffb3e5f5540], 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movsxd rdx, dword [0x7ffb3e5b003c]
mov rdi, qword [rsp + 0x28]
mov edx, dword [rdx + rbp + 0x50]
mov r8d, 0x80000000
lea rcx, [0x7ffb3e5b0000]
lea rax, [rdi + r8]
add rdx, rcx
cmp rdx, rax
jb 0x7ffb3e5c804d
lea rdi, [rdx - 0x80000000]
lea rdx, [rdi + 0xffff]
mov rdi, qword [rsp + 0x30]
and rdx, 0xffffffffffff0000
lea rax, [rdi - 0x80000000]
mov qword [0x7ffb3e5f5488], rdx
cmp rcx, rax
jbe 0x7ffb3e5c807c
mov qword [0x7ffb3e5f5480], rdi
jmp 0x7ffb3e5c8086
add rcx, r8
mov qword [0x7ffb3e5f5480], rcx
mov word [0x7ffb3e5f5480], bx
mov rax, qword [0x7ffb3e5f5480]
sub rax, rdx
shr rax, 0x10
mov qword [0x7ffb3e5f54c0], rax
mov eax, ebx
cmp eax, ebx
jl 0x7ffb3e5c8204
mov rax, qword [0x7ffb3e5f5a10]
mov edi, 0x100
cmp rax, rdi
jae 0x7ffb3e5c80f5
lea rax, [rax + rax*4]
lea rcx, [rbp + rax*8 + 0x42c80]
call fcn.7ffb3e5c7d70
cmp eax, ebx
mov edx, eax
jl 0x7ffb3e5c80ee
mov rax, qword [0x7ffb3e5f5a10]
inc rax
mov qword [0x7ffb3e5f5a10], rax
cmp rax, rdi
jb 0x7ffb3e5c80bd
cmp edx, ebx
jge 0x7ffb3e5c80f5
mov eax, edx
jmp 0x7ffb3e5c8204
mov eax, dword [0x7ffb3e5ed854]
cmp eax, ebx
je 0x7ffb3e5c818f
mov edx, dword [0x7ffb3e5ed850]
mov eax, dword [0x7ffb3e5ed854]
lea rsi, [0x7ffb3e5f5a08]
imul edx, eax
lea r9, [rsp + 0x78]
mov r8d, 0x40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, ebx
jne 0x7ffb3e5c8151
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x54f
cmp eax, ebx
cmove eax, ecx
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
jmp 0x7ffb3e5c8191
mov eax, dword [0x7ffb3e5ed854]
mov r8, rbx
cmp eax, ebx
jbe 0x7ffb3e5c818f
mov edi, dword [0x7ffb3e5ed850]
mov ecx, dword [0x7ffb3e5ed850]
xor eax, eax
mov dword [rbp + r8*4 + 0x45570], 0xc32d
imul rdi, r8
add rdi, rsi
inc r8
rep stosb byte [rdi], al
mov eax, dword [0x7ffb3e5ed854]
cmp r8, rax
jb 0x7ffb3e5c815e
mov ecx, ebx
cmp ecx, ebx
jge 0x7ffb3e5c8199
mov eax, ecx
jmp 0x7ffb3e5c8204
mov ecx, dword [0x7ffb3e5f5510]
cmp ecx, ebx
je 0x7ffb3e5c81eb
mov edx, dword [0x7ffb3e5f5508]
lea rdi, [0x7ffb3e5f5538]
lea rax, [rdx + rbp + 0x45538]
mov qword [0x7ffb3e5f5518], rdi
mov qword [0x7ffb3e5f5520], rax
mov eax, dword [0x7ffb3e5f550c]
add rdx, rax
add rcx, rdx
lea rax, [rdx + rbp + 0x45538]
add rcx, rdi
mov qword [0x7ffb3e5f5528], rax
mov qword [0x7ffb3e5f5530], rcx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
call fcn.7ffb3e5c7dec
cmp dword [rsp + 0x70], ebx
cmovl ebx, dword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ffb3e5e3e74
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x280
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x7ffb3e5e3eb0
mov eax, 0x80004005
jmp 0x7ffb3e5e3f54
lea rax, [rsp + 0x48]
mov r9d, 0x2000000
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r11d, eax
test eax, eax
jne 0x7ffb3e5e3f44
jmp 0x7ffb3e5e3eeb
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.7ffb3e5e3e74
test eax, eax
jne 0x7ffb3e5e3f2a
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x7ffb3e5e3ed8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r11d, eax
movzx eax, r11w
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call int.7ffb3e5b1000
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
ret