joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c404
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x14000c43c
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rdi
je 0x14000c481
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x14000c4cb
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r9], rax
jne 0x14000c484
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14000c5f0
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x14000c505
mov rax, qword [rbx + 8]
mov qword [rax], r9
mov rax, qword [r9 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rcx, qword [rdx + 8]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [r9 + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov r9, qword [rsi + 0x18]
mov rax, qword [r9 + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14000c525
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14000c554
cmp rax, rdx
jne 0x14000c530
mov qword [r9 + r8*8], rbx
jmp 0x14000c554
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14000c554
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140186800]
test rax, rax
jns 0x14000c575
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14000c586
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14000c5e5
cmp rdx, 0x200
jae 0x14000c59e
shl rdx, 3
jmp 0x14000c5b0
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14000c5b0
add rdx, rdx
mov rcx, rsi
call fcn.14000bd3c
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14000c5e5
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14000c404
cmp rdi, r15
jne 0x14000c5c5
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14000f07c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
test rcx, rcx
jne 0x14000f09d
xor eax, eax
jmp 0x14000f29e
and dword [rbp + 0x50], 0
lea rdi, [0x1401460b4]
xor r9d, r9d
lea r10, [0x1401d1ff8]
mov dword [rbp + 0x48], r9d
lea r13d, [r9 + 2]
mov cl, byte [rdi]
mov rdx, rbx
or dword [rbp + 0x40], 0xffffffff
call fcn.14000f018
mov r15d, eax
cmp eax, 0xffffffff
je 0x14000f243
and dword [rbp - 0x18], 0
mov rcx, r10
and dword [rbp - 0x14], 0
mov qword [rbp - 0x20], r10
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [rbp - 0x18], eax
test eax, eax
jne 0x14000f109
cmp dword [rbp - 0x14], eax
jne 0x14000f2ad
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [rbp - 0x14], eax
mov ecx, dword [rbp + 0x40]
xor esi, esi
cmp esi, 4
jge 0x14000f22b
mov eax, dword [rbx + 0x1c]
lea rcx, [rbp - 0x10]
mov rdx, qword [rbx + 0x10]
mov r9d, r15d
and qword [rbp + 0x58], 0
xor r14b, r14b
mov dword [rsp + 0x20], eax
call fcn.14000e2fc
mov rcx, rax
mov eax, dword [rax]
mov dword [rbp + 0x40], eax
mov rax, qword [rcx + 8]
and qword [rcx + 8], 0
mov rcx, qword [rbp + 0x58]
mov qword [rbp + 0x58], rax
test rcx, rcx
je 0x14000f161
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14000f17c
and qword [rbp - 8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
mov ecx, dword [rbp + 0x40]
test ecx, ecx
jne 0x14000f1ff
mov rax, qword [rbp + 0x58]
lea rcx, [rbp + 0x48]
mov rdx, qword [rbx]
lea r9, [rbp + 0x50]
mov qword [rsp + 0x28], rcx
xor r8d, r8d
and qword [rsp + 0x20], 0
mov rcx, qword [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
mov dword [rbp + 0x40], eax
cmp dword [rbp + 0x48], r13d
jae 0x14000f1c4
mov eax, dword [rbp + 0x50]
dec eax
cmp eax, 1
cmovbe ecx, r13d
mov dword [rbp + 0x40], ecx
cmp ecx, 0x3f2
je 0x14000f1d9
cmp ecx, 0x3fa
je 0x14000f1d9
cmp ecx, 6
jne 0x14000f1ff
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1401cd7f0]
movzx eax, word [rcx + 0xa]
and eax, 0x1f
shl rax, 5
and qword [rax + rdx], 0
call fcn.14000b808
mov ecx, dword [rbp + 0x40]
mov r14b, 1
mov rdx, qword [rbp + 0x58]
test rdx, rdx
je 0x14000f220
and qword [rbp + 0x58], 0
mov rcx, rdx
mov rax, qword [rdx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
mov ecx, dword [rbp + 0x40]
inc esi
test r14b, r14b
jne 0x14000f10e
test ecx, ecx
lea rcx, [rbp - 0x20]
je 0x14000f257
call fcn.14000ba40
mov r9d, dword [rbp + 0x48]
lea r10, [0x1401d1ff8]
inc rdi
lea rax, [0x1401460b7]
cmp rdi, rax
je 0x14000f260
jmp 0x14000f0ba
call fcn.14000ba40
mov r9d, dword [rbp + 0x48]
cmp dword [rbp + 0x40], 0
jne 0x14000f290
cmp dword [rbp + 0x50], r13d
je 0x14000f276
mov al, byte [rbx + 0x18]
and al, 0xf
cmp al, r13b
jne 0x14000f29b
cmp r9d, 0x82
jae 0x14000f287
mov r9d, 0x208
jmp 0x14000f29b
add r9d, 0x104
jmp 0x14000f29b
mov rcx, rbx
call fcn.140012380
mov r9d, eax
mov eax, r9d
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edx, edx
mov ecx, 0x131f4c4
call fcn.14000ad28
int3
Function at 0x140010a84
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [rcx + 0x10]
mov rbx, rcx
and dword [rbp + 0x20], 0
test byte [rax + 0xa], 0x1f
je 0x140010aae
mov eax, 0xa0
jmp 0x140010bf3
and dword [rbp - 0x18], 0
lea rcx, [0x1401d1ff8]
and dword [rbp - 0x14], 0
mov qword [rbp - 0x20], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [rbp - 0x18], eax
test eax, eax
jne 0x140010ae7
cmp dword [rbp - 0x14], eax
jne 0x140010c03
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [rbp - 0x14], eax
xor edi, edi
cmp edi, 4
jge 0x140010be5
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x10]
and qword [rbp + 0x28], 0
xor r9d, r9d
mov eax, dword [rbx + 0x1c]
xor sil, sil
mov dword [rsp + 0x20], eax
mov rdx, qword [rdx + 0x10]
call fcn.14000e2fc
mov ecx, dword [rax]
mov dword [rbp + 0x20], ecx
mov rcx, qword [rax + 8]
and qword [rax + 8], 0
mov rdx, qword [rbp + 0x28]
mov qword [rbp + 0x28], rcx
test rdx, rdx
je 0x140010b44
mov rax, qword [rdx]
mov rcx, rdx
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp - 8]
test rdx, rdx
je 0x140010b66
and qword [rbp - 8], 0
mov rcx, rdx
mov rax, qword [rdx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
mov rcx, qword [rbp + 0x28]
cmp dword [rbp + 0x20], 0
jne 0x140010bc3
mov rax, qword [rbx + 0x10]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0x20], eax
cmp eax, 0x3f2
je 0x140010b93
cmp eax, 0x3fa
je 0x140010b93
cmp eax, 6
jne 0x140010bb6
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1401cd7f0]
movzx eax, word [rcx + 0xa]
and eax, 0x1f
shl rax, 5
and qword [rax + rdx], 0
call fcn.14000b808
mov sil, 1
mov rcx, qword [rbx + 0x10]
call fcn.14000b808
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140010bda
and qword [rbp + 0x28], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
inc edi
test sil, sil
jne 0x140010ae9
mov ebx, dword [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.14000ba40
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov ecx, 0x131f4c4
call fcn.14000ad28
int3
Function at 0x140010c10
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rbx, rcx
test rcx, rcx
je 0x140010d27
and dword [rbp - 0x18], 0
lea rcx, [0x1401d1ff8]
and dword [rbp - 0x14], 0
mov qword [rbp - 0x20], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [rbp - 0x18], eax
test eax, eax
jne 0x140010c62
cmp dword [rbp - 0x14], eax
jne 0x140010d1a
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [rbp - 0x14], eax
and qword [rbp + 0x18], 0
lea rcx, [rbp - 0x10]
and dword [rbp + 0x10], 0
mov rdx, rbx
call fcn.140010558
mov ecx, dword [rax]
mov dword [rbp + 0x10], ecx
mov r8, qword [rax + 8]
and qword [rax + 8], 0
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 0x18], r8
test rcx, rcx
je 0x140010ca3
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
mov r8, qword [rbp + 0x18]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140010cc2
and qword [rbp - 8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
mov r8, qword [rbp + 0x18]
mov ebx, dword [rbp + 0x10]
test ebx, ebx
je 0x140010cdb
test r8, r8
je 0x140010d04
and qword [rbp + 0x18], 0
mov rcx, r8
mov rdx, qword [r8]
jmp 0x140010cfa
mov rcx, qword [r8 + 0x10]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rbp + 0x18]
mov ebx, eax
test rcx, rcx
je 0x140010d04
and qword [rbp + 0x18], 0
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x1400ee2b6.0]
lea rcx, [rbp - 0x20]
call fcn.14000ba40
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
xor edx, edx
mov ecx, 0x131f4c4
call fcn.14000ad28
int3
xor edx, edx
mov ecx, 0x230239f
call fcn.14000ad28
int3
Function at 0x140010d34
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 - 0x17]
sub rsp, 0xa0
xor r12d, r12d
mov r14, r9
mov r15, r8
mov ebx, edx
mov rsi, rcx
test rcx, rcx
je 0x140010f4e
call fcn.1400102a0
test eax, eax
jne 0x140010d7c
lea eax, [r12 + 2]
jmp 0x140010f25
lea rcx, [0x1401d1ff8]
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x49], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 1
lock xadd dword [rbp - 0x41], eax
test eax, eax
jne 0x140010db2
cmp dword [rbp - 0x3d], r12d
jne 0x140010f41
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [rbp - 0x3d], eax
mov rdx, rsi
mov qword [rbp + 0x67], r12
lea rcx, [rbp - 0x39]
mov dword [rbp + 0x47], r12d
call fcn.140010558
mov ecx, dword [rax]
mov dword [rbp + 0x47], ecx
mov r10, qword [rax + 8]
mov qword [rax + 8], r12
mov rcx, qword [rbp + 0x67]
mov qword [rbp + 0x67], r10
test rcx, rcx
je 0x140010df1
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
mov r10, qword [rbp + 0x67]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140010e0f
mov qword [rbp - 0x31], r12
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
mov r10, qword [rbp + 0x67]
mov edi, dword [rbp + 0x47]
test edi, edi
je 0x140010e3f
test r10, r10
je 0x140010e2f
mov qword [rbp + 0x67], r12
mov rcx, r10
mov rdx, qword [r10]
mov rax, qword [rdx + 8]
call qword [case.0x1400ee2b6.0]
lea rcx, [rbp - 0x49]
call fcn.14000ba40
mov eax, edi
jmp 0x140010f25
cmp ebx, 0x4b
jb 0x140010ed4
mov eax, 0x51eb851f
mul ebx
shr edx, 3
imul ecx, edx, 0x19
cmp ebx, ecx
jne 0x140010ed4
lea rax, [0x14013c2d8]
mov edx, 0x3a7
mov qword [rbp - 0x11], rax
mov r8d, 0x32
lea rax, [0x140145d80]
mov qword [rbp - 9], rax
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax]
lea rax, [0x14013c220]
mov qword [rbp - 0x29], rax
lea rax, str.Index
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
lea rax, str.ExcessiveOrapiValEnumeration
mov qword [rbp - 1], rcx
mov ecx, 0x269a202
mov qword [rsp + 0x20], rax
mov word [rbp + 7], r12w
mov dword [rbp - 0x19], ebx
mov word [rbp - 0x15], r12w
call fcn.1400119d0
mov r10, qword [rbp + 0x67]
mov rax, qword [rbp + 0x6f]
mov r9, r14
mov rcx, qword [r10 + 0x10]
mov r8, r15
mov qword [rsp + 0x38], r12
mov edx, ebx
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov rcx, qword [rbp + 0x67]
mov ebx, eax
test rcx, rcx
je 0x140010f1a
mov qword [rbp + 0x67], r12
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x1400ee2b6.0]
lea rcx, [rbp - 0x49]
call fcn.14000ba40
mov eax, ebx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor edx, edx
mov ecx, 0x131f4c4
call fcn.14000ad28
int3
xor edx, edx
mov ecx, 0x23023a1
call fcn.14000ad28
int3
Function at 0x140012a18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401cd010]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r15, rdx
xor r12d, r12d
mov word [rdx], r12w
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x104
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
jne 0x140012ac3
mov edx, 0x68608a
mov rcx, qword [0x1401cd740]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
xor al, al
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14012aa20
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov word [rbp + 0x156], r12w
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
test rax, rax
jne 0x140012ae7
mov edx, 0x68608b
jmp 0x140012a82
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r12w
lea rdx, [rax + 2]
lea rcx, [rsp + 0x28]
call fcn.140007920
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x140012b53
mov rbx, r12
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
movzx ecx, word [rax + rbx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov word [rcx + rbx*2], ax
inc rbx
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
jb 0x140012b16
lea rdx, [rsp + 0x28]
mov rbx, qword [rsp + 0x28]
mov r14, qword [rsp + 0x40]
cmp r14, 8
cmovae rdx, rbx
mov esi, 0x103
cmp rdi, rsi
ja 0x140012bd7
lea r8, [rdi + rdi]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
cmp dword [rsp + 0x38], esi
cmovl rsi, rdi
mov word [r15 + rsi*2], r12w
cmp r14, 8
jb 0x140012bd0
mov rcx, rbx
lea rax, [r14*2 + 2]
cmp rax, 0x1000
jb 0x140012bbe
mov rbx, qword [rbx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140012bbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
nop dword [rax + rax]
mov al, 1
jmp 0x140012a98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
nop
nop

Function at 0x140012be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 1
mov rbx, rcx
lea r8d, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor esi, esi
mov rdi, rax
test rax, rax
je 0x140012c41
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x140012c41
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140012c41
cmp word [rax + 2], si
je 0x140012c41
cmp dword [rax + 0x28], 0xfeef04bd
jne 0x140012c41
add rax, 0x30
jmp 0x140012c48
lea rax, [0x140148030]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400160cc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
and qword [rbp - 0x10], 0
lea rax, [rbp - 0x10]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000000
lea rdx, str.CLSID
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140016199
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
and qword [rbp + 0x28], 0
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001618a
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rdx, str.InsecureQI
lea rax, [rbp + 0x20]
mov dword [rbp + 0x18], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001618a
cmp dword [rbp + 0x18], 4
jne 0x14001618a
mov ebx, dword [rbp + 0x20]
cmp ebx, 3
ja 0x14001618a
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14001619b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001619b
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140016199
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400161aa
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x140016560
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
mov rbp, rsp
sub rsp, 0x30
cmp byte [0x1401d35f4], 0
je 0x140016586
mov eax, dword [0x1401d35f8]
jmp 0x14001668a
and qword [rbp + 0x18], 0
lea rax, [rbp + 0x18]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwarePoliciesMicrosoftSecurity
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, 4
lea rsi, [0x1401d35f8]
test eax, eax
jne 0x1400165f2
mov rcx, qword [rbp + 0x18]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rdx, str.CLSIDInterfaceTest
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rbp + 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400165f2
cmp dword [rbp + 0x10], ebx
je 0x140016661
mov rcx, qword [rbp + 0x18]
and qword [rbp + 0x18], 0
test rcx, rcx
je 0x140016606
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftSecurity
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140016669
mov rcx, qword [rbp + 0x18]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rdx, str.CLSIDInterfaceTest
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rbp + 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140016669
cmp dword [rbp + 0x10], ebx
jne 0x140016669
mov ebx, dword [0x1401d35f8]
jmp 0x140016672
and dword [0x1401d35f8], 0
xor ebx, ebx
mov rcx, qword [rbp + 0x18]
mov byte [0x1401d35f4], 1
test rcx, rcx
je 0x140016688
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
Function at 0x140019320
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, rcx
lea r9, [rdi + 0x10]
cmp qword [r9 + 0x18], 8
mov r10, r9
mov r11, qword [r9 + 0x10]
jb 0x14001934d
mov r10, qword [r9]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r11, r11
je 0x14001937c
movzx eax, byte [rdx + r10]
movabs rbx, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, rbx
cmp rdx, r11
jb 0x14001935e
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x1400193b4
cmp qword [rcx + rdx*8], rdi
jne 0x1400193a9
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x1400193ad
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400193c1
cmp qword [rcx + rdx*8], rdi
jne 0x1400193c1
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rcx, r9
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.1400184a0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400281d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, r9
mov r10, r8
mov rsi, rdx
mov r9, rcx
mov r15, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14002820d
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r11, [r15 + r15]
xor ecx, ecx
test r11, r11
je 0x140028240
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rbx, 0x100000001b3
imul rdx, rbx
inc rcx
cmp rcx, r11
jb 0x140028222
mov r8, qword [r9 + 0x30]
and r8, rdx
mov rax, r8
add rax, rax
mov rcx, qword [r9 + 0x18]
mov rbx, qword [r9 + 8]
mov r12, qword [rcx + rax*8]
cmp rbx, r12
je 0x14002830d
mov rbx, qword [rcx + rax*8 + 8]
mov rbx, qword [rbx]
cmp rbx, r12
je 0x14002830d
mov rbx, qword [rbx + 8]
lea rax, [rbx + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140028289
mov rax, qword [rax]
mov r11, r10
cmp qword [r10 + 0x18], 8
jb 0x140028296
mov r11, qword [r10]
cmp r15, rcx
jne 0x14002826a
mov r14, r15
test r15, r15
je 0x1400282d3
movzx ecx, word [r11]
movzx edx, word [rax]
cmp cx, dx
jb 0x14002826a
sub r11, rax
cmp cx, dx
ja 0x14002826a
cmp r14, 1
je 0x1400282d3
dec r14
add rax, 2
movzx ecx, word [r11 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x1400282b5
jmp 0x14002826a
mov rdx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r9 + 0x10]
lea rcx, [rdi + 0x10]
call fcn.140026c40
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x1400283a3
mov rdx, qword [rdi]
cmp rbx, rdx
je 0x140028342
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx + 8]
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
mov qword [rdi + 8], rcx
add r8, r8
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [r9 + 8]
jne 0x140028362
mov qword [rdx + r8*8], rdi
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x140028391
cmp rax, rbx
jne 0x14002836d
mov qword [rdx + r8*8], rdi
jmp 0x140028391
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rdi
je 0x140028391
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rcx, r9
call fcn.140028518
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret