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

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42b226
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 0x42b21a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x0052f06f], 0
jne 0x42afe2
xor edx, edx
xor ebx, ebx
nop
jmp 0x42b02a
xor edx, edx
jmp 0x42b00d
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.0041ae40
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42afe6
add rax, 0x1268
call fcn.0042ae00
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42b1b4
mov rsi, qword [rax + rdx*8 + 0x1278]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x42b027
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.0040f9e0
test rax, rax
jne 0x42b082
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42b027
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 0x42b0c5
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x42b027
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 0x42b20d
lea r10, [0x005014d0]
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 0x42b14b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42b185
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 0x42b027
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42b205
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 0x42b027
cmp rbx, 0x200
ja 0x42b1f8
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00420fc0
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.0042ae00
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.004594c0
mov rax, r8
call fcn.00459440
mov rax, r8
mov ecx, 0x40
call fcn.00459460
mov edx, 0x200
nop
call fcn.004594a0
nop
mov qword [rsp + 8], rax
call fcn.0045b480
mov rax, qword [rsp + 8]
jmp fcn.0042af80
Function at 0x43f880
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x43f9ef
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 0x43f898
cmp edx, ecx
jne 0x43f9dd
nop dword [rax]
test rsi, rsi
jne 0x43f9dd
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x43f8f6
nop
call fcn.0045ad40
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.0043f780
mov rcx, qword [0x004db2c8]
mov rdx, qword [0x004db2c0]
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 0x43f9d8
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 0x43f9cd
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x004dbc10]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x004dbc10], rbx
mov edx, 1
lea rsi, [0x004dbc18]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x43f9bc
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, [0x0047a1ed]
mov ebx, 0x28
call fcn.00431660
mov rcx, rax
mov rax, rsi
call fcn.00459440
call fcn.0042fc20
lea rax, [0x00479a2f]
mov ebx, 0x23
call fcn.00431660
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00456d80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0043f880
Function at 0x458f00
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 [0x0052f300]
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 [0x0052f06e], 0
je 0x458f36
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0052f620]
aesenc xmm0, xmmword [0x0052f630]
aesenc xmm0, xmmword [0x0052f640]
movq rax, xmm0
ret
jmp 0x408860

Function at 0x45a860
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, [0x0052f5a0]
mov qword [rsp + 8], rdx
lea r8d, [0x0052f084]
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.00458de0
add rsp, 0x30
ret
Function at 0x14001105a
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x140011ca0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250a7]
call fcn.1400113d9
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140011ce8
xor edx, edx
lea rcx, str.Failed_to_load_kernel32.dll._n
call fcn.14001104b
xor eax, eax
jmp 0x140011e2a
lea rcx, [0x14001c000]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140011d1f
xor edx, edx
lea rcx, str.Failed_to_load_advapi32.dll._n
call fcn.14001104b
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x140011e2a
lea rdx, str.CreateToolhelp32Snapshot
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f920], rax
lea rdx, str.Process32First
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f918], rax
lea rdx, str.Process32Next
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f910], rax
lea rdx, str.OpenProcess
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f908], rax
lea rdx, str.OpenProcessToken
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f900], rax
lea rdx, str.DuplicateTokenEx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f8f8], rax
lea rdx, str.CreateProcessWithTokenW
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001f8f0], rax
cmp qword [0x14001f920], 0
je 0x140011e0d
cmp qword [0x14001f918], 0
je 0x140011e0d
cmp qword [0x14001f910], 0
je 0x140011e0d
cmp qword [0x14001f908], 0
je 0x140011e0d
cmp qword [0x14001f900], 0
je 0x140011e0d
cmp qword [0x14001f8f8], 0
je 0x140011e0d
cmp qword [0x14001f8f0], 0
jne 0x140011e25
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x140011e2a
mov eax, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140014340
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112bc
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015680
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400156a0
xor al, al
jmp 0x140015721
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400156b3
xor al, al
jmp 0x140015721
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400156dd
xor al, al
jmp 0x140015721
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400156f1
xor al, al
jmp 0x140015721
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015703
xor al, al
jmp 0x140015721
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001571f
xor al, al
jmp 0x140015721
mov al, 1
add rsp, 0x38
ret
Function at 0x140011361
Capabilities:
Terminate process

Disassembly:
jmp 0x140012340
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250a7]
call fcn.1400113d9
movsxd rax, dword [rbp + 0x120]
mov qword [rbp + 0xf8], rax
mov eax, 8
mov rcx, qword [rbp + 0xf8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400123c3
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.Memory_allocation_failed_for_matrix_rows._n
mov rcx, rax
call fcn.140011393
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov dword [rbp + 0x24], 0
jmp 0x1400123d4
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x120]
cmp dword [rbp + 0x24], eax
jge 0x140012489
movsxd rax, dword [rbp + 0x128]
mov qword [rbp + 0xf8], rax
mov eax, 8
mov rcx, qword [rbp + 0xf8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
movsxd rcx, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov qword [rdx + rcx*8], rax
movsxd rax, dword [rbp + 0x24]
mov rcx, qword [rbp + 8]
cmp qword [rcx + rax*8], 0
jne 0x140012484
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r8d, dword [rbp + 0x24]
lea rdx, str.Memory_allocation_failed_for_matrix_row__d._n
mov rcx, rax
call fcn.140011393
cmp dword [rbp + 0x24], 0
jle 0x14001246f
mov eax, dword [rbp + 0x24]
dec eax
mov dword [rbp + 0x24], eax
movsxd rax, dword [rbp + 0x24]
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.ucrtbased.dll_free]
jmp 0x14001244d
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x1400123cc
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x436290
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x8e0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea r8, [rbp + 0x60]
mov r9d, 0x400
call fcn.00436030
mov ebx, eax
mov rax, qword [0x005b6d60]
cmp byte [rax], 0
je 0x4363c8
mov rcx, qword [0x005b6990]
call fcn.0040a570
call fcn.00408f80
mov ecx, 1
xor rdx, rdx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov esi, eax
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00436250]
mov r8d, 1
movsxd r9, esi
call fcn.004114e0
mov ecx, 1
xor rdx, rdx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
mov rdx, qword [rbp + 0x58]
mov r8d, esi
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
lea rdx, [0x00436468]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
jmp 0x43640e
mov rcx, qword [0x005bbf40]
call fcn.00411ca0
mov rcx, rax
mov rax, qword [0x005b6908]
mov edx, dword [rax + 8]
lea r8, [rbp + 0x860]
mov r9d, 0x40
call sub.user32.dll_LoadStringW_1
xor rcx, rcx
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x860]
mov r9d, 0x2010
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00436250]
call fcn.004116c0
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret
Function at 0x4bf1a0
Capabilities:
Encode data using xor

Disassembly:
mov al, 0xb5
mov r8, rcx
xor rdx, rdx
mov ecx, edx
and ecx, 0x3f
mov r9, r8
shr r9, cl
and r9b, 0xff
xor al, r9b
add edx, 1
cmp edx, 8
jne 0x4bf1a8
nop
ret

Function at 0x50e4f0
Capabilities:
Resume thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov byte [rbp + 0x2f], dl
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
nop
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x19], 0
jne 0x50e523
movzx rax, byte [rbp + 0x2f]
test al, al
je 0x50e581
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x1d], 0
jne 0x50e581
mov rax, qword [rbp + 0x20]
cmp byte [rax + 0x68], 0
jne 0x50e581
mov rax, qword [rbp + 0x20]
mov byte [rax + 0x1b], 0
mov byte [rax + 0x19], 0
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x50e5ab
lea rcx, [rbp + 0x38]
mov rdx, qword [0x005b6cb0]
call fcn.00414090
mov rcx, qword [0x004d4200]
mov dl, 1
mov r8, qword [rbp + 0x38]
call fcn.00436490
mov rcx, rax
call fcn.0040d620
jmp 0x50e5ab
lea rcx, [rbp + 0x30]
mov rdx, qword [0x005b6cb0]
call fcn.00414090
mov rcx, qword [0x004d4200]
mov dl, 1
mov r8, qword [rbp + 0x30]
call fcn.00436490
mov rcx, rax
call fcn.0040d620
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040e490
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x50f420
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
sbb ecx, dword [rax + 0x48903f45]
mov eax, dword [rbp + 0x50]

Function at 0x50f4a0
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.0050e330
cmp esi, 1
jne 0x50f4ca
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x54f5b0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
nop
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xc8]
call fcn.0040ea60
mov rcx, qword [rbp + 0x78]
call fcn.0054ea40
mov byte [rbp + 0x83], al
cmp byte [rbp + 0x83], 0
jne 0x54f625
lea rcx, [rbp + 0x78]
mov edx, 1
mov r8d, 1
call fcn.00410070
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
call fcn.00550840
mov qword [rbp + 0x90], rax
cmp qword [rbp + 0x90], 0
je 0x54f779
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x90]
call fcn.0054ef80
mov rcx, qword [rbp + 0xc0]
lea rdx, [rbp + 0x54]
call fcn.0054f930
test al, al
je 0x54f759
lea rcx, [rbp + 0x70]
xor rdx, rdx
mov r8d, dword [rbp + 0x58]
add r8d, 1
call fcn.0040e670
mov eax, dword [rbp + 0x54]
sub eax, 1
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jl 0x54f758
mov eax, dword [rbp + 0x58]
add eax, 1
mov dword [rbp + 0x88], eax
mov rcx, qword [rbp + 0x70]
call fcn.0040f9d0
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x84]
mov r8, rax
lea r9, [rbp + 0x88]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.0054eea0
test al, al
je 0x54f744
mov rcx, qword [rbp + 0x70]
call fcn.0040f9d0
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.0040fa70
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x40]
call fcn.0054f5b0
sub dword [rbp + 0x84], 1
cmp dword [rbp + 0x84], 0xffffffff
jne 0x54f6b8
nop
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x98]
call fcn.0054ef80
mov rcx, qword [rbp + 0x90]
call sub.advapi32.dll_RegCloseKey_1
cmp byte [0x005c0ebc], 0
je 0x54f7d8
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.0054ef60
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.0040f9d0
mov rcx, rbx
mov rdx, rax
mov rax, qword [rbp + 0xc0]
mov r8d, dword [rax + 0x2c]
and r8d, 0x300
xor r9, r9
call sub.advapi32.dll_RegDeleteKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.0054eea0
mov byte [rbp + 0x8f], al
jmp 0x54f817
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.0054ef60
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.0040f9d0
mov rcx, rbx
mov rdx, rax
call sub.advapi32.dll_RegDeleteKeyW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.0054eea0
mov byte [rbp + 0x8f], al
nop
lea rcx, [rbp + 0x40]
call fcn.0040e3b0
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.0040e490
movzx rax, byte [rbp + 0x8f]
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret

Function at 0x54f900
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rdx
call fcn.0040f9d0
mov rcx, qword [rbx + 8]
mov rdx, rax
call sub.advapi32.dll_RegDeleteValueW
mov rcx, rbx
mov edx, eax
call fcn.0054eea0
add rsp, 0x20
pop rbx
ret
Function at 0x54f9e0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
nop
mov rax, qword [rbp + 0x50]
mov rcx, rax
mov rbx, qword [rax]
call qword [rbx + 0x90]
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x70]
call fcn.0054f930
test al, al
je 0x54fad4
lea rcx, [rbp + 0x68]
xor rdx, rdx
mov r8d, dword [rbp + 0x74]
add r8d, 1
call fcn.0040e670
xor rbx, rbx
mov esi, dword [rbp + 0x70]
sub esi, 1
cmp ebx, esi
jg 0x54fad3
add esi, 1
mov eax, dword [rbp + 0x74]
add eax, 1
mov dword [rbp + 0x8c], eax
mov rcx, qword [rbp + 0x68]
call fcn.0040f9d0
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx + 8]
mov edx, ebx
mov r8, rax
lea r9, [rbp + 0x8c]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov rcx, qword [rbp + 0x68]
call fcn.0040f9d0
lea rcx, [rbp + 0x58]
mov rdx, rax
call fcn.0040fa70
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
call qword [rax + 0x78]
add ebx, 1
cmp ebx, esi
jne 0x54fa53
nop
nop
lea rcx, [rbp + 0x58]
call fcn.0040e3b0
lea rcx, [rbp + 0x68]
call fcn.0040e3b0
lea rsp, [rbp + 0x90]
pop rbx
pop rsi
pop rbp
ret
Function at 0x5510f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
nop
mov rax, qword [rbp + 0xb0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov rax, qword [rax + 8]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xb0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rbp + 0xb8]
call fcn.0054ef80
nop
mov rax, qword [rbp + 0xb0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
lea rdx, [rbp + 0x64]
call fcn.0054f930
test al, al
je 0x55129d
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
xor r9, r9
call fcn.00550ec0
lea rcx, [rbp + 0x58]
xor rdx, rdx
mov r8d, dword [rbp + 0x70]
add r8d, 1
call fcn.0040e670
xor rax, rax
mov ebx, dword [rbp + 0x6c]
sub ebx, 1
mov dword [rbp + 0x80], eax
cmp dword [rbp + 0x80], ebx
jg 0x55129c
add ebx, 1
mov eax, dword [rbp + 0x70]
add eax, 1
mov dword [rbp + 0x84], eax
mov rcx, qword [rbp + 0x58]
call fcn.0040f9d0
mov rcx, qword [rbp + 0xb8]
mov edx, dword [rbp + 0x80]
mov r8, rax
lea r9, [rbp + 0x84]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumValueW
mov rcx, qword [rbp + 0xb0]
lea rcx, [rcx + rbp + 0x50]
mov rdx, rbp
neg rdx
mov rcx, qword [rcx + rdx]
mov edx, eax
call fcn.0054eea0
test al, al
je 0x551289
mov rcx, qword [rbp + 0x58]
call fcn.0040f9d0
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.0040fa70
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
mov r9, qword [rbp + 0x40]
call fcn.00550ec0
add dword [rbp + 0x80], 1
cmp dword [rbp + 0x80], ebx
jne 0x5511e0
nop
nop
mov rax, qword [rbp + 0xb0]
lea rax, [rax + rbp + 0x50]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
mov rdx, qword [rbp + 0x88]
call fcn.0054ef80
nop
lea rcx, [rbp + 0x40]
call fcn.0040e3b0
lea rcx, [rbp + 0x58]
call fcn.0040e3b0
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret
Function at 0x554660
Capabilities:
Hash data with md5

Disassembly:
sub rsp, 0x28
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0
mov dword [rcx + 0x14], 0
lea rax, [rcx + 0x18]
mov rcx, rax
mov edx, 0x40
xor r8, r8
call fcn.0040a600
add rsp, 0x28
ret

Function at 0x5548e0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rbp
sub rsp, 0xc0
mov rbp, rsp
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xd8], rdx
mov rcx, qword [rbp + 0xd8]
call fcn.0040e540
nop
lea rcx, [rbp + 0x50]
call fcn.00554660
mov rcx, qword [rbp + 0xd8]
call fcn.0040f9d0
mov rcx, rax
mov edx, 0x80000000
mov r8d, 3
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x8000080
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0xffffffffffffffff
je 0x554a1e
nop
mov rcx, qword [rbp + 0xa8]
xor rdx, rdx
mov r8d, 2
xor r9, r9
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call sub.kernel32.dll_CreateFileMappingW
mov qword [rbp + 0xb0], rax
cmp qword [rbp + 0xb0], 0
je 0x554a11
nop
mov rcx, qword [rbp + 0xb0]
mov edx, 4
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_MapViewOfFile
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
je 0x554a04
nop
mov rcx, qword [rbp + 0xa8]
xor rdx, rdx
call sub.kernel32.dll_GetFileSize
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0xb8]
mov r8d, eax
call fcn.005546b0
nop
mov rcx, qword [rbp + 0xb8]
call sub.kernel32.dll_UnmapViewOfFile
nop
mov rcx, qword [rbp + 0xb0]
call sub.kernel32.dll_CloseHandle_1
nop
mov rcx, qword [rbp + 0xa8]
call sub.kernel32.dll_CloseHandle_1
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0xd0]
call fcn.00554780
nop
lea rcx, [rbp + 0xd8]
call fcn.0040e3b0
mov rax, qword [rbp + 0xd0]
lea rsp, [rbp + 0xc0]
pop rbp
ret