joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42dec0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42e166
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1278]
mov rcx, qword [rax + 0x1268]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42e15a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x0059c7b1], 0
jne 0x42df22
xor edx, edx
xor ebx, ebx
nop
jmp 0x42df6a
xor edx, edx
jmp 0x42df4d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.0041d8c0
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42df26
add rax, 0x1268
call fcn.0042dd40
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42e0f4
mov rsi, qword [rax + rdx*8 + 0x1278]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x42df67
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00411860
test rax, rax
jne 0x42dfc2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42df67
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x42e005
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42df67
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42e14d
lea r10, [0x0056ec10]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42e08b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42e0c5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42df67
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42e145
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42df67
cmp rbx, 0x200
ja 0x42e138
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00423a40
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.0042dd40
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.0045e680
mov rax, r8
call fcn.0045e600
mov rax, r8
mov ecx, 0x40
call fcn.0045e620
mov edx, 0x200
nop
call fcn.0045e660
nop
mov qword [rsp + 8], rax
call fcn.00460660
mov rax, qword [rsp + 8]
jmp fcn.0042dec0
Function at 0x442e20
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x442f8f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [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 0x442e38
cmp edx, ecx
jne 0x442f7d
nop dword [rax]
test rsi, rsi
jne 0x442f7d
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x442e96
nop
call fcn.0045ff20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
nop dword [rax + rax]
call fcn.00442d20
mov rcx, qword [0x005489b8]
mov rdx, qword [0x005489b0]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
sar esi, 5
mov r8d, esi
shl esi, 5
sub edi, esi
test edi, edi
jl 0x442f78
cmp edi, 0x20
sbb esi, esi
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x442f6d
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x00549350]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x00549350], rbx
mov edx, 1
lea rsi, [0x00549358]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x442f5c
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1228], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x004b23f1]
mov ebx, 0x28
call fcn.004348e0
mov rcx, rax
mov rax, rsi
call fcn.0045e600
call fcn.00432e00
lea rax, [0x004b188d]
mov ebx, 0x23
call fcn.004348e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bf20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00442e20
Function at 0x44dec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44e038
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44defc
test r8b, r8b
jne 0x44defc
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44df0f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44dff8
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44dfe6
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44dfdc
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44df63
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44dfa6
mov eax, 1
cmp rax, rbx
ja 0x44df95
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.0045e6c0
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44dfd4
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44df9d
mov r8d, eax
mov eax, r10d
jmp 0x44df68
mov rcx, rbx
call fcn.0045e600
xor eax, eax
mov rcx, rax
call fcn.0045e600
mov eax, r8d
mov rcx, rbx
call fcn.0045e6c0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44e02e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44dff1
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44df15
mov eax, edx
mov rcx, rbx
call fcn.0045e600
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0045e600
nop
int3
Function at 0x4558c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45597b
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
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 rdx, [0x004559c0]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045bde0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045bf20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004558c0
Function at 0x45e040
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4027af
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00408e40
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bf20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402780
cmp byte [0x0059c7b0], 0
je 0x45e055
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45b020
jmp 0x402780

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

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0059ca60]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0059c7b0], 0
je 0x45e095
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0059cd80]
aesenc xmm0, xmmword [0x0059cd90]
aesenc xmm0, xmmword [0x0059cda0]
movq rax, xmm0
ret
jmp 0x409040

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

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0059ca60]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x0059c7b0], 0
je 0x45e0d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0059cd80]
aesenc xmm0, xmmword [0x0059cd90]
aesenc xmm0, xmmword [0x0059cda0]
movq rax, xmm0
ret
jmp 0x4090a0

Function at 0x45fa40
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x0059cd00]
mov qword [rsp + 8], rdx
lea r8d, [0x0059c7c8]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045df80
add rsp, 0x30
ret
Function at 0x46a600
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46a706
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rsi
test r8, r8
je 0x46a682
cmp rdi, r8
jb 0x46a6f8
cmp rsi, rbx
je 0x46a665
nop
mov rdx, rbx
lea rdi, [rsi + r8]
lea rdi, [rdi - 1]
cmp rdi, rbx
jb 0x46a662
mov rdi, rsi
lea r9, [rdx + r8]
lea r9, [r9 - 1]
cmp r9, rsi
jae 0x46a6e5
mov rbx, rdx
mov rsi, rdi
jmp 0x46a665
mov rbx, rdx
movzx edx, byte [rax + 0x400]
movzx edi, byte [rax + 0x401]
lea r9, [r8 - 1]
cmp rcx, r9
jbe 0x46a6dd
xor ecx, ecx
nop
jmp 0x46a6c1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
movzx r9d, byte [rsi + rcx]
inc edx
movzx r10d, dl
mov r11d, dword [rax + r10*4]
add edi, r11d
movzx r12d, dil
mov r13d, dword [rax + r12*4]
mov dword [rax + r10*4], r13d
mov dword [rax + r12*4], r11d
lea r10d, [r11 + r13]
movzx r10d, r10b
xor r9d, dword [rax + r10*4]
mov byte [rbx + rcx], r9b
inc rcx
cmp r8, rcx
jg 0x46a68c
mov byte [rax + 0x400], dl
mov byte [rax + 0x401], dil
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, r9
call fcn.0045e600
lea rax, [0x00498f00]
lea rbx, [0x004cf468]
call fcn.00434140
mov rcx, r8
mov rdx, rdi
nop
call fcn.0045e680
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.0045bf20
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.0046a600
Function at 0x140002a50
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
mov r10, rcx
mov ecx, 0x5a4d
mov ebx, edx
cmp word [r10], cx
jne 0x140002ae4
cmp dword [rax + r10], 0x4550
jne 0x140002ae4
cmp dword [rax + r10 + 0x8c], 0
je 0x140002ae4
mov eax, dword [rax + r10 + 0x88]
xor r8d, r8d
add rax, r10
mov r9d, dword [rax + 0x20]
mov edi, dword [rax + 0x1c]
add r9, r10
mov esi, dword [rax + 0x24]
add rdi, r10
mov r11d, dword [rax + 0x18]
add rsi, r10
test r11d, r11d
je 0x140002ae4
mov edx, dword [r9]
xor eax, eax
add rdx, r10
movzx ecx, byte [rdx]
test cl, cl
je 0x140002ad4
ror eax, 0xd
lea rdx, [rdx + 1]
movsx ecx, cl
add eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140002ac1
cmp ebx, eax
je 0x140002af6
inc r8d
add r9, 4
cmp r8d, r11d
jb 0x140002ab2
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
movsxd rax, r8d
movzx ecx, word [rsi + rax*2]
mov rsi, qword [rsp + 0x10]
mov eax, dword [rdi + rcx*4]
mov rdi, qword [rsp + 0x18]
add rax, r10
ret

Function at 0x1400034c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000350a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000350a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000350a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000350a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000350a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000350c
xor al, al
add rsp, 0x28
ret
Function at 0x1800037d0
Capabilities:
Check os version

Disassembly:
mov r11, rsp
sub rsp, 0xd8
mov rax, qword [0x1800bd6d8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x24], xmm0
movups xmmword [rsp + 0x34], xmm0
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [r11 - 0x54], xmm0
movups xmmword [r11 - 0x44], xmm0
movups xmmword [r11 - 0x34], xmm0
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x180003862
mov eax, dword [rsp + 0x24]
cmp eax, 5
jae 0x180003848
cmp eax, 4
jne 0x180003862
cmp dword [rsp + 0x28], 0x5a
jb 0x180003862
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180013da0
add rsp, 0xd8
ret
mov al, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180013da0
add rsp, 0xd8
ret
Function at 0x180004900
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x10]
mov rdi, rdx
mov rsi, qword [rcx]
test rbx, rbx
je 0x180004995
cmp qword [rbx], 0
je 0x18000497a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180004980
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180004980
mov rdx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rsi
mov rdx, rdi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rbx + 8], 0
jne 0x180004995
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
Function at 0x1800078a0
Capabilities:
Check os version

Disassembly:
mov r11, rsp
sub rsp, 0xd8
mov rax, qword [0x1800bd6d8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x94
movups xmmword [rsp + 0x24], xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x34], xmm0
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [r11 - 0x54], xmm0
movups xmmword [r11 - 0x44], xmm0
movups xmmword [r11 - 0x34], xmm0
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x180007924
cmp dword [rsp + 0x24], 6
jb 0x180007924
mov al, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180013da0
add rsp, 0xd8
ret
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180013da0
add rsp, 0xd8
ret
Function at 0x18000c350
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x1800bd6d8]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r9d, dword [rcx + 8]
lea rax, [rsp + 0x60]
xor ebp, ebp
mov qword [rsp + 0x20], rax
mov rdi, rcx
mov qword [rsp + 0x48], rbp
mov rcx, qword [rcx]
or r9d, 0x2001f
xor r8d, r8d
mov dword [rsp + 0x50], ebp
mov rsi, rdx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x18000c497
mov rcx, qword [rsp + 0x48]
mov ebx, ebp
test rcx, rcx
je 0x18000c3cb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test ebx, ebx
jne 0x18000c497
lea rax, [rsp + 0x68]
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x18000c471
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.18000c350
mov ebx, eax
test eax, eax
jne 0x18000c497
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x18000c420
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18000c486
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov dword [rsp + 0x50], ebp
mov rcx, rdi
call fcn.180004900
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18000c4a7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180013da0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret
Function at 0x180010d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movzx esi, r8b
mov rbx, rdx
mov rbp, rcx
mov rdi, qword [0x1800becc0]
mov r8d, 0xf1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x180010fa6
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180010fa6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x180010fa6
movzx r14d, word [rax + 6]
movzx r8d, word [rax + 4]
movzx edx, word [rax + 2]
mov rcx, rbp
call fcn.18000e430
mov rax, qword [rbp + 0x80]
mov r12d, 1
test rax, rax
jne 0x180010e88
mov rdi, qword [0x1800becc0]
lea r8d, [rax + 2]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov edx, 0x20
cmp word [rax + 0xe], dx
cmove ecx, edx
movzx eax, byte [rbp + 0xf1]
and al, 0xdf
or cl, al
mov byte [rbp + 0xf1], cl
movzx r9d, word [r15 + 6]
test dl, cl
mov eax, 0x21
mov r8d, 0x19
cmovne r8d, eax
mov dword [rsp + 0x20], r12d
mov edx, dword [rbp + 0x100]
mov ecx, dword [rbp + 0xfc]
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
mov qword [rbp + 0x80], rax
test rax, rax
je 0x180010fa6
mov rcx, rax
call qword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov r13d, eax
test sil, sil
je 0x180010ec7
movsx edx, bx
movzx r8d, word [rsp + 0x88]
mov ecx, dword [rsp + 0x98]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x90]
mov rcx, qword [0x1800becc0]
call qword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
jmp 0x180010efe
mov rdx, rbx
mov rcx, qword [0x1800becc0]
test byte [rbp + 0xf1], 0x20
je 0x180010ef8
mov dword [rsp + 0x28], 0x2040
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_LoadImageA]
jmp 0x180010efe
call qword [sym.imp.USER32.dll_LoadBitmapA]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180010f90
mov r8d, dword [rbp + 0x10c]
mov rdx, rax
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
je 0x180010f90
xor esi, esi
test r14, r14
je 0x180010f5d
xor edi, edi
cmp word [r15 + rdi*2 + 8], 0
je 0x180010f53
mov eax, esi
add rax, 4
lea rdx, [r15 + rax*2]
lea rcx, [rbp + 0x88]
call fcn.180002ad0
inc esi
inc rdi
cmp rdi, r14
jl 0x180010f34
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov edi, eax
cmp eax, dword [rbp + 0x90]
jne 0x180010f90
call fcn.1800078a0
test al, al
je 0x180010f93
sub edi, r13d
mov r8d, edi
mov edx, r13d
mov rcx, rbp
call fcn.1800109c0
jmp 0x180010f93
xor r12d, r12d
test rbx, rbx
je 0x180010fa1
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, r12d
jmp 0x180010fa8
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180011790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
xor r14d, r14d
mov rbp, rcx
mov ebx, 0xdce618d4
cmp byte [rcx], r14b
je 0x180011814
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
mov rdi, rcx
nop dword [rax]
lea rcx, [0x1800665d0]
call fcn.1800260e0
movzx edi, word [rdi]
lea rcx, [0x1800665c8]
sub di, ax
call fcn.1800260e0
lea rcx, [0x1800665c0]
lea esi, [rdi + rax]
call fcn.1800260e0
inc r14d
add ax, si
mov ecx, ebx
mov edi, r14d
ror ecx, 8
add rdi, rbp
movzx eax, ax
add ecx, eax
xor ebx, ecx
cmp byte [rdi], 0
jne 0x1800117c0
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret