joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000892a
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
xor r9d, r9d
mov r8d, eax
ror byte [rax - 0x75], 0x54
and al, 0x70
mov rcx, qword [rsp + 0x38]
call fcn.1400072b9
jmp 0x140002a4e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x1400053df
jmp 0x140003915
test eax, eax
je 0x1400070d6
jmp 0x14000851c
jmp 0x140002655
mov rax, qword [rsp + 0x48]
add rsp, 0x68
ret
mov rcx, qword [rsp + 0x70]
call fcn.1400024cf
jmp 0x1400024f3
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
jmp 0x1400089c6
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x38], rax
jmp 0x140002655
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
jne 0x140002d84
jmp 0x140004bc9
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x140008219
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x140003084
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x1400053df
jmp 0x140003915
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
je 0x140003084
jmp 0x1400089c6
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
sub rax, 0x10
jmp 0x140003ef7
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140006bcb
jmp 0x14000851c
Function at 0x140008a50
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rdx
mov rdx, rcx
mov rcx, rax
jmp 0x140012900
mov rax, qword gs:[0x30]
mov r10, rcx
mov r8, qword [rax + 0x60]
mov r9, qword [r8 + 0x18]
add r9, 0x20
mov rax, qword [r9]
nop dword [rax + rax]
cmp qword [rax + 0x20], rdx
je 0x14001293d
test rdx, rdx
je 0x14001293d
mov rax, qword [rax]
cmp rax, r9
jne 0x140012920
mov qword [rcx], 0
xor eax, eax
ret
mov rcx, qword [rax + 0x40]
mov qword [r10], rcx
movzx eax, word [rax + 0x38]
shr eax, 1
ret

Function at 0x1400b040c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x14057e5c8]
test rax, rax
je 0x1400b0456
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b0456
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b0456
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b0456
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b0456
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b0458
xor al, al
add rsp, 0x28
ret
Function at 0x1401bdb50
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov eax, dword [rbx + 0x38]
cmp eax, 0xffffffff
je 0x1401bdb6d
add rsp, 0x48
pop rbx
pop rbp
ret
mov dword [rsp + 0x20], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.140271cb0
mov ecx, eax
test ecx, ecx
jne 0x1401bdbfa
xor eax, eax
mov ecx, 0x40000000
test byte [rbp - 0x10], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [rbp - 0x10], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [rbp - 0x10], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [rbp - 0x10], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [rbp - 0x10], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [rbp - 0x10], 8
cmovne eax, ecx
mov dword [rbx + 0x38], eax
add rsp, 0x48
pop rbx
pop rbp
ret
call fcn.140271b80
mov ecx, eax
lea rdx, [0x140421d50]
call fcn.14023df40
mov rcx, rax
call fcn.140008140
int3

Function at 0x1401e5ef0
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, dword [rbx + 0x1c]
mov edi, esi
and edi, 3
cmp esi, 4
jb 0x1401e5f26
mov eax, dword [rbx]
rol eax, 1
mov ecx, dword [rbx + 4]
rol ecx, 7
add eax, ecx
mov ecx, dword [rbx + 8]
rol ecx, 0xc
add eax, ecx
mov ecx, dword [rbx + 0xc]
rol ecx, 0x12
add eax, ecx
jmp 0x1401e5f3c
lea rbp, [0x140485050]
cmp qword [rbp - 8], 0
jne 0x1401e5fad
mov eax, dword [rbp]
add eax, 0x165667b1
lea eax, [rax + rsi*4]
test edi, edi
je 0x1401e5f83
imul ecx, dword [rbx + 0x10], 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp edi, 1
jbe 0x1401e5f83
imul ecx, dword [rbx + 0x14], 0xc2b2ae3d
add ecx, eax
rol ecx, 0x11
imul eax, ecx, 0x27d4eb2f
cmp edi, 2
jbe 0x1401e5f83
imul ecx, dword [rbx + 0x18], 0xc2b2ae3d
add ecx, eax
rol ecx, 0x11
imul eax, ecx, 0x27d4eb2f
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul eax, ecx, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae3d
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
call fcn.140001570
jmp 0x1401e5f34

Function at 0x1401f78a0
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp qword [rbx], 0
jne 0x1401f78ca
lea rcx, [0x140560788]
mov edx, 0x55
call fcn.140007c70
mov rdx, rax
mov rcx, rbx
call fcn.140007dd0
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
cmp dword [rax + 8], 0x50
jbe 0x1401f7938
mov dword [rax + 0x150], 0x67452301
mov rax, qword [rbx]
cmp dword [rax + 8], 0x51
jbe 0x1401f7938
mov dword [rax + 0x154], 0xefcdab89
mov rax, qword [rbx]
cmp dword [rax + 8], 0x52
jbe 0x1401f7938
mov dword [rax + 0x158], 0x98badcfe
mov rax, qword [rbx]
cmp dword [rax + 8], 0x53
jbe 0x1401f7938
mov dword [rax + 0x15c], 0x10325476
mov rax, qword [rbx]
cmp dword [rax + 8], 0x54
jbe 0x1401f7938
mov dword [rax + 0x160], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret
call fcn.14026df00
int3
Function at 0x140001940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140001973
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400019b9
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400019b4
nop
cmp rbx, rcx
jae 0x1400019b9
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x1400019a0
cmp rbx, rcx
jb 0x1400019bd
xor eax, eax
jmp 0x1400019c9
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140002c00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
mov r9, rcx
mov qword [r8], rbx
mov rax, qword [rdx]
cmp rax, qword [0x1401468b0]
jne 0x140002c27
mov rax, qword [rdx + 8]
cmp rax, qword [0x1401468b8]
je 0x140002c48
mov rax, qword [rdx]
cmp rax, qword [0x140146870]
jne 0x140002d92
mov rax, qword [rdx + 8]
cmp rax, qword [0x140146878]
jne 0x140002d92
mov qword [r8], rcx
test rcx, rcx
je 0x140002d92
mov ecx, dword [0x1401bdd80]
lea eax, [rcx + 1]
lea r8d, [rcx + 2]
imul r8d, eax
mov eax, 0x38e38e39
imul r8d, ecx
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
sub r8d, eax
cmp r8d, 5
jne 0x140002cac
lea eax, [r8 + 0x74]
mov ecx, 0x6d
nop
test ecx, ecx
je 0x140002ca4
cdq
mov r8d, ecx
idiv ecx
mov eax, r8d
mov ecx, edx
test r8d, r8d
jne 0x140002c90
add eax, ecx
mov dword [0x1401bdd80], eax
mov rax, qword [r9]
mov rcx, r9
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8d, dword [0x1401bdd80]
lea eax, [r8 + 1]
lea ecx, [r8 + 2]
imul ecx, eax
mov eax, 0x66666667
imul ecx, r8d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
cmp ecx, 5
jne 0x140002d8a
nop dword [rax]
mov ecx, ebx
mov eax, ebx
inc ebx
sar eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, r8d
xor ecx, eax
mov eax, ecx
sar ecx, 1
and eax, 1
dec eax
not eax
and eax, r8d
xor eax, ecx
mov ecx, eax
sar eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, r8d
xor ecx, eax
mov eax, ecx
sar ecx, 1
and eax, 1
dec eax
not eax
and eax, r8d
xor eax, ecx
mov ecx, eax
sar eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, r8d
xor ecx, eax
mov eax, ecx
sar ecx, 1
and eax, 1
dec eax
not eax
and eax, r8d
xor eax, ecx
mov ecx, eax
sar eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, r8d
xor ecx, eax
mov eax, ecx
sar ecx, 1
and eax, 1
dec eax
not eax
and eax, r8d
xor eax, ecx
add r8d, eax
cmp ebx, 0x100
jl 0x140002cf0
mov dword [0x1401bdd80], r8d
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov eax, 0x80004002
add rsp, 0x20
pop rbx
ret
Function at 0x14000ef50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rbx, r9
mov rdi, r8
mov rcx, rdx
mov rax, qword [rdx]
lea rdx, [0x140146b60]
call qword [rax]
test eax, eax
jne 0x14000f113
cmp qword [rdi], 0
je 0x14000f113
xor esi, esi
mov qword [rsp + 0x40], rsi
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + VariantChangeTypeEx]
test eax, eax
jne 0x14000f0e3
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000f0e3
mov rax, qword [rcx]
mov r8, rbx
lea rdx, str._D_3
call qword [rax]
mov r8d, eax
test eax, eax
jne 0x14000f019
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000f019
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x60]
call qword [rax + 0x360]
test eax, eax
jne 0x14000efff
cmp qword [rbx], 0
je 0x14000efff
mov bl, 1
jmp 0x14000f0fe
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000f0fc
lea rdx, str.querying_pWindow2_code__d
jmp 0x14000f0f4
mov edx, dword [0x1401bdd80]
mov eax, edx
imul eax, edx
and eax, 0x8000000f
jge 0x14000f032
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 3
jne 0x14000f0d0
nop dword [rax + rax]
mov ecx, esi
and ecx, 1
dec ecx
not ecx
and ecx, edx
mov eax, esi
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
add edx, eax
inc esi
cmp esi, 0x100
jl 0x14000f040
mov dword [0x1401bdd80], edx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000f0fc
lea rdx, str.querying_document2_code__d
jmp 0x14000f0f7
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000f0fc
lea rdx, str.querying_document_code__d
mov r8d, eax
call fcn.140012200
xor bl, bl
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000f10e
mov rdx, qword [rcx]
call qword [rdx + 0x10]
movzx eax, bl
jmp 0x14000f12e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000f12c
mov r8d, eax
lea rdx, str.querying_pWebBrowser2_code__d
call fcn.140012200
xor al, al
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140010f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401b5e90]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r14, rcx
mov edi, 1
mov rbx, qword [0x1401bc4f0]
mov edx, 0x81
lea r8d, [rdx + 0x6f]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400110bd
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400110bd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400110bd
xor r15d, r15d
mov r13d, 0x403
mov r12d, 0x1234
nop dword [rax]
movzx esi, word [rbx]
cmp r15w, si
je 0x1400110bd
movzx eax, word [rbx + 2]
mov ebp, dword [rbx + 4]
add rbx, 8
cmp r13w, ax
jne 0x140011021
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
mov r8d, 3
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140011300
nop
movzx edx, si
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x143
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
cmove edi, r15d
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
je 0x1400110b2
call fcn.1400cc598
jmp 0x1400110b2
cmp r12w, ax
jne 0x1400110b2
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x40], 0xffffffffffffffff
lea rax, [rsp + 0x188]
mov qword [rsp + 0x180], rax
mov r8d, 3
mov rdx, rbx
lea rcx, [rsp + 0x180]
call fcn.140011300
nop
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x188]
mov rcx, qword [rsp + 0x180]
cmp rcx, rax
je 0x14001108a
call fcn.1400cc598
movzx edx, si
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40b
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
cmove edi, r15d
add rbx, rbp
test edi, edi
jne 0x140010fa0
mov eax, edi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400cbae0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001bc90
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14001bd04
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001bd26
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001bd26
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x14001bd26
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001be40
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x2c0], rbx
mov rax, qword [0x1401b5e90]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rdx
mov rdi, rcx
xor ecx, ecx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0x58], rcx
mov r9d, dword [rdi + 8]
or r9d, 0x2001f
mov rax, qword [rdi]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001bec4
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], r9d
mov r8, rsi
mov rdx, rax
call fcn.14001ba90
jmp 0x14001beda
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14001bfe3
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001beff
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test ebx, ebx
jne 0x14001bfe3
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14001bfa6
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.14001be40
mov ebx, eax
test eax, eax
jne 0x14001bfe3
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14001bf51
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001bfbb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14001bfd5
mov r8, rsi
mov rdx, qword [rdi]
call fcn.14001bc90
jmp 0x14001bfe1
mov rdx, rsi
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001c000
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
jmp 0x14001c008
mov dword [rsp + 0x50], 0
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400cbae0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x140020000
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x1401b5e90]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r12, qword [rsp + 0x110]
xorps xmm0, xmm0
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
cvtsi2sd xmm0, rdx
test rdx, rdx
jns 0x140020054
addsd xmm0, qword [0x14014dac0]
divsd xmm0, qword [0x14014da88]
call fcn.1400ebc60
movsd xmm1, qword [0x14014dab8]
xor eax, eax
mulsd xmm0, qword [0x14014da90]
comisd xmm0, xmm1
jb 0x140020090
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140020090
movabs rcx, 0x8000000000000000
mov rax, rcx
mov r8d, dword [0x1401bdd80]
cvttsd2si rbp, xmm0
xor ebx, ebx
lea ecx, [r8 + 1]
add rbp, rax
mov eax, 0x92492493
imul ecx, r8d
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub ecx, edx
cmp ecx, 8
jne 0x1400200e2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetMailslotInfo]
mov r8d, dword [0x1401bdd80]
test rsi, rsi
je 0x14002024a
test r15, r15
je 0x14002024a
cmp rbp, r14
ja 0x14002024a
mov ecx, r8d
mov eax, 0x2e8ba2e9
imul ecx, r8d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, 0x15
jne 0x140020151
mov ecx, ebx
lea rdx, [rsp + 0x30]
nop word [rax + rax]
mov eax, dword [rdx]
inc ecx
lea rdx, [rdx + 4]
imul eax, eax, 0x9d
add r8d, eax
movsxd rax, ecx
cmp rax, 0x78
jb 0x140020130
mov dword [0x1401bdd80], r8d
mov rdx, rbx
lea r10, [0x140000000]
test rdi, rdi
je 0x140020203
mov r9, r15
cmp rbx, rdi
jae 0x140020175
movzx eax, byte [rdx + rsi]
inc rdx
jmp 0x140020177
mov eax, ebx
cmp rdx, rdi
jae 0x140020186
movzx r8d, byte [rdx + rsi]
inc rdx
jmp 0x140020189
mov r8d, ebx
cmp rdx, rdi
jae 0x140020197
movzx ecx, byte [rdx + rsi]
inc rdx
jmp 0x140020199
mov ecx, ebx
shl eax, 8
add r9, 4
add eax, r8d
shl eax, 8
add eax, ecx
mov ecx, eax
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + r10 + 0x1b8d60]
mov byte [r9 - 4], al
mov eax, ecx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + r10 + 0x1b8d60]
mov byte [r9 - 3], al
mov eax, ecx
and ecx, 0x3f
shr rax, 6
and eax, 0x3f
movzx eax, byte [rax + r10 + 0x1b8d60]
mov byte [r9 - 2], al
movzx eax, byte [rcx + r10 + 0x1b8d60]
mov byte [r9 - 1], al
cmp rdx, rdi
jb 0x14002016c
movabs rax, 0xaaaaaaaaaaaaaaab
mul rdi
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rdi, rax
cmp dword [r10 + rdi*4 + 0x149b38], ebx
jle 0x140020242
lea rax, [r15 - 1]
add rax, rbp
nop dword [rax + rax]
mov byte [rax], 0x3d
inc ebx
dec rax
cmp ebx, dword [r10 + rdi*4 + 0x149b38]
jl 0x140020230
mov qword [r12], rbp
mov al, 1
jmp 0x14002024c
xor al, al
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400cbae0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140024d70
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rdi, rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov r8d, dword [0x1401bdd80]
imul r8d, r8d
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xb
sub r8d, edx
cmp r8d, 8
jne 0x140024dca
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x98], rax
lea rbp, [0x140149fc0]
mov rsi, rbp
shr rsi, 0x10
test rsi, rsi
jne 0x140024e2e
movzx ebx, bp
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x140024e45
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.140002690
jmp 0x140024e45
mov r8d, 3
mov rdx, rbp
lea rcx, [rsp + 0x98]
call fcn.1400023a0
nop
lea rdx, [0x140146fd8]
lea rcx, [rsp + 0xa8]
call fcn.1400021f0
nop
mov qword [rsp + 0x20], rax
mov r9, qword [0x1401b8d58]
lea r8, [0x1401be400]
lea rdx, [rsp + 0x98]
mov rcx, rdi
call fcn.140048570
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140024ea1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rdi
call fcn.14001fd80
test al, al
je 0x140024f92
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
lea rcx, [0x1401b59a8]
mov rax, qword [0x1401b59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xa0], rax
test rsi, rsi
jne 0x140024f01
movzx esi, bp
mov ecx, esi
call fcn.1400019e0
test rax, rax
je 0x140024f18
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140002690
jmp 0x140024f18
mov r8d, 3
mov rdx, rbp
lea rcx, [rsp + 0xa0]
call fcn.1400023a0
nop
lea rdx, [0x140146fd8]
lea rcx, [rsp + 0x38]
call fcn.1400021f0
nop
mov qword [rsp + 0x20], rax
mov r9, 0xffffffff80000002
lea r8, [0x1401be400]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.140048570
nop
mov rdx, rax
mov rcx, rdi
call fcn.140002310
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140024f76
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140024f92
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rdi
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret