joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001610
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov r8, rcx
lea r9, [rdx + 0xa0]
mov r11d, 4
nop word [rax + rax]
mov r10d, 4
nop word [rax + rax]
movzx eax, byte [r9]
inc r8
inc r9
xor byte [r8 - 1], al
sub r10, 1
jne 0x140001650
sub r11, 1
jne 0x140001640
mov bl, 9
lea rbp, [0x14020efb0]
nop word [rax + rax]
movzx eax, byte [rdi + 9]
movzx ecx, byte [rdi + 0xd]
mov r8, rdi
mov byte [rdi + 0xd], al
movzx eax, byte [rdi + 5]
mov r9d, 4
mov byte [rdi + 9], al
movzx eax, byte [rdi + 1]
mov byte [rdi + 1], cl
movzx ecx, byte [rdi + 2]
mov byte [rdi + 5], al
movzx eax, byte [rdi + 0xa]
mov byte [rdi + 2], al
movzx eax, byte [rdi + 0xe]
mov byte [rdi + 0xa], cl
movzx ecx, byte [rdi + 6]
mov byte [rdi + 6], al
movzx eax, byte [rdi + 7]
mov byte [rdi + 0xe], cl
movzx ecx, byte [rdi + 3]
mov byte [rdi + 3], al
movzx eax, byte [rdi + 0xb]
mov byte [rdi + 7], al
movzx eax, byte [rdi + 0xf]
mov byte [rdi + 0xf], cl
mov byte [rdi + 0xb], al
nop dword [rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
add rcx, 4
sub rdx, 1
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
jne 0x1400016f0
inc r8
sub r9, 1
jne 0x1400016e0
movzx edx, bl
mov rcx, rdi
mov r9d, 4
shl rdx, 4
add rdx, rsi
mov r8d, 4
nop word [rax + rax]
movzx eax, byte [rdx]
inc rcx
inc rdx
xor byte [rcx - 1], al
sub r8, 1
jne 0x140001730
sub r9, 1
jne 0x140001720
test bl, bl
je 0x14000175b
mov rcx, rdi
call fcn.1400011b0
dec bl
jmp 0x140001680
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140001779
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14000182f
push rbx
push rbp
sub rsp, 0x48
mov rax, qword [0x140253530]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x40], rdi
lea rdi, [r8 - 1]
shr rdi, 4
mov rbx, rdx
mov rbp, rcx
inc rdi
nop dword [rax]
mov rax, qword [rbx]
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov qword [rcx], rax
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, rbx
call fcn.140001610
lea rcx, [rbp + 0xb0]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
nop word [rax + rax]
movzx eax, byte [rcx]
inc rbx
inc rcx
xor byte [rbx - 1], al
sub rdx, 1
jne 0x1400017e0
sub rdi, 1
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [rbp + 0xb0], rax
mov rax, qword [rcx + 8]
mov qword [rbp + 0xb8], rax
jne 0x1400017b0
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140184d90
add rsp, 0x48
pop rbp
pop rbx
repz ret
Function at 0x14000deec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x14000df5e
call fcn.14005b1a4
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14000df5e
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14000dfab
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x14000df8b
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x14000df8b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x14000dfa9
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret

Function at 0x14000ee1c
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xa8], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x14000ee93
call fcn.14000eda8
mov rsi, rax
test rax, rax
jne 0x14000ee4f
mov eax, edi
jmp 0x14000eea9
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x14000ee4b
mov r9, qword [rcx + 0xd0]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140012ad0
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x140012b0e
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140012bc2
call fcn.140013f60
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140012b2d
mov ecx, 0x80004005
call fcn.140001f40
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140186ed8
test eax, eax
je 0x140012b95
cmp eax, 0xc
je 0x140012b8f
cmp eax, 0x16
je 0x140012b89
cmp eax, 0x22
je 0x140012b89
cmp eax, 0x50
je 0x140012b95
call fcn.14001501c
int3
call fcn.14001501c
int3
call fcn.140014fd4
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140012bc0
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140013d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, r8
mov rbx, rdx
mov r13, rcx
xor edi, edi
call fcn.14005b1a4
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
cmp rax, rdi
je 0x140013dec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.140013820
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x140013e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x140013ebf
cmp dword [rcx + 0xa8], 0
jne 0x140013ebf
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14005b1a4
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140013e24
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140018fe0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.1400942a4
mov rsi, rax
test rax, rax
je 0x14001905c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140019057
cmp dword [rbx], 0x40
jb 0x140019057
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x140019057
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140019060
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140020698
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140020700
call fcn.14005b1a4
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140020700
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140020722
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.1400200a8
mov esi, eax
test rdi, rdi
je 0x140020720
test rbx, rbx
je 0x140020720
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x140036834
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movzx ebx, dx
xor r15d, r15d
mov r14d, r9d
mov rbp, r8
mov r12d, edx
mov rdi, rcx
cmp rbx, r15
jne 0x14003686e
call fcn.14001501c
int3
call fcn.14005b1a4
mov r8d, 0xf1
mov rdx, rbx
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
cmp rax, r15
jne 0x140036895
xor eax, eax
jmp 0x140036a2f
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r13, rax
mov qword [rsp + 0x30], rax
cmp rax, r15
je 0x14003688e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
cmp rax, r15
je 0x14003688e
movzx ecx, word [rax + 6]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400097cc
xor r9d, r9d
mov r15, rax
cmp rax, r9
jne 0x1400368ef
call fcn.14001501c
int3
movzx eax, word [rbx + 2]
movzx ecx, word [rbx + 4]
cmp r14d, r9d
je 0x140036926
mov dword [rsp + 0x20], eax
add eax, 6
mov dword [rsp + 0x24], ecx
mov r8, qword [rsp + 0x20]
mov dword [rsp + 0x28], eax
lea eax, [rcx + 6]
mov dword [rsp + 0x2c], eax
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
call fcn.14002d054
jmp 0x14003694b
mov dword [rsp + 0x28], eax
add eax, 6
mov dword [rsp + 0x2c], ecx
mov rdx, qword [rsp + 0x28]
mov dword [rsp + 0x20], eax
lea eax, [rcx + 6]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x20]
call fcn.14002cf48
mov esi, 1
cmp dword [rbp + 4], r9d
jne 0x14003695a
mov dword [rbp + 4], r12d
cmp dword [rdi + 0x1200], r9d
jne 0x140036981
mov rax, qword [rdi]
mov r8d, r14d
mov rdx, rbp
mov rcx, rdi
call qword [rax + 0x620]
xor r9d, r9d
cmp eax, r9d
je 0x140036a1c
mov eax, dword [rdi + 0x104c]
mov r14d, r9d
mov dword [rsp + 0x20], eax
cmp r9w, word [rbx + 6]
jae 0x1400369f2
mov r13d, dword [rsp + 0x98]
mov rbp, r15
lea r12, [rbx + 8]
movzx edx, word [r12]
mov dword [rbp], edx
cmp r13d, r9d
jne 0x1400369d1
cmp edx, r9d
jbe 0x1400369d1
lea rcx, vtable.CMap_unsigned_int__unsigned_int__int__int_.0
call fcn.1400c4a84
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
add ecx, esi
xor r9d, r9d
mov dword [rsp + 0x20], ecx
movzx eax, word [rbx + 6]
add r14d, esi
add r12, 2
add rbp, 4
cmp r14d, eax
jl 0x1400369a4
mov r13, qword [rsp + 0x30]
mov r12d, dword [rsp + 0x88]
mov rax, qword [rdi]
mov dword [rdi + 0x1200], r12d
movzx r8d, word [rbx + 6]
mov r9d, esi
mov rdx, r15
mov rcx, rdi
call qword [rax + 0x630]
mov esi, eax
test eax, eax
jne 0x140036a1c
and dword [rdi + 0x1200], eax
mov rcx, r15
call fcn.140009818
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003ad68
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rbp, rdx
mov rbx, rcx
jne 0x14003ae4f
xor edx, edx
call fcn.14002e400
mov rcx, rbx
test rax, rax
je 0x14003adb0
mov rdx, rbp
call fcn.1400cf6d0
jmp 0x14003ae5a
call fcn.14002de48
cmp dword [rbx + 0x128c], 0
mov esi, eax
je 0x14003adc6
sub esi, dword [rbx + 0x1280]
mov r12d, dword [rbx + 0x1038]
test r12d, r12d
js 0x14003ae4f
cmp r12d, esi
jge 0x14003ae4f
mov edi, dword [rbp + 0x10]
cmp edi, 9
jne 0x14003adf4
lea ecx, [rdi + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 0x80
neg al
sbb edi, edi
and edi, 0xfffffffe
add edi, 0x27
mov rcx, rbx
call fcn.140012358
bt eax, 0x16
jae 0x14003ae16
mov eax, 0x25
cmp edi, eax
jne 0x14003ae10
lea edi, [rax + 2]
jmp 0x14003ae16
cmp edi, 0x27
cmove edi, eax
sub edi, 0xd
je 0x14003af1b
sub edi, 0xe
je 0x14003aef6
sub edi, 0xa
je 0x14003aee2
sub edi, 2
je 0x14003ae92
mov rcx, rbx
cmp edi, 1
je 0x14003ae75
mov r8, qword [rbx]
mov edx, dword [rbp + 0x10]
call qword [r8 + 0x6e0]
test eax, eax
jne 0x14003ae8b
mov rdx, rbp
mov rcx, rbx
call fcn.14003918c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov edx, dword [rbx + 0x1038]
call fcn.14002d5f4
mov rcx, rbx
mov rdx, rax
call fcn.140031d44
mov eax, 1
jmp 0x14003ae5a
inc dword [rbx + 0x1038]
cmp dword [rbx + 0x1038], esi
jl 0x14003aea7
and dword [rbx + 0x1038], 0
mov edx, r12d
mov rcx, rbx
call fcn.14002f9c4
mov edx, dword [rbx + 0x1038]
mov rcx, rbx
call fcn.14002f9c4
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r11, qword [rbx]
mov edx, dword [rbx + 0x1038]
mov rcx, rbx
call qword [r11 + 0x468]
jmp 0x14003ae4f
add dword [rbx + 0x1038], 0xffffffff
jns 0x14003aea7
lea eax, [rsi - 1]
mov dword [rbx + 0x1038], eax
jmp 0x14003aea7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x678]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x680]
and dword [0x140259dc0], 0
jmp 0x14003ae4f
mov edx, dword [rbx + 0x1038]
mov rcx, rbx
call fcn.14002d5f4
mov rcx, rbx
mov rdx, rax
call fcn.140031d44
test eax, eax
jne 0x14003ae8b
mov edx, dword [rbx + 0x1038]
mov rcx, rbx
call fcn.14002d5f4
mov rcx, rbx
mov rdx, rax
call fcn.14003463c
jmp 0x14003ae8b
Function at 0x140042974
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r13, rcx
cmp dword [0x14025a868], ebx
jne 0x1400429a3
xor eax, eax
jmp 0x140042a18
cmp r8, rbx
jne 0x1400429b1
call fcn.14005b1a4
mov rdi, qword [rax + 0x18]
mov r8, qword [0x140259f08]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
cmp rax, rbx
je 0x14004299f
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
cmp rax, rbx
je 0x14004299f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
cmp rax, rbx
je 0x140042a0d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r12
mov rcx, r13
mov r8d, eax
call fcn.140042830
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x14005b274
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14005b297
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1400c6c90
add rsp, 0x20
pop rbx
ret

Function at 0x14005b2a0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14005b2c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.1400c6c90
add rsp, 0x20
pop rbx
ret

Function at 0x1400639c0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
lea rax, vtable.CMFCBaseVisualManager.0
mov rbx, rcx
mov qword [rcx], rax
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x20], rdi
mov qword [rcx + 0x28], rdi
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x30], rdi
mov qword [rcx + 0x38], rdi
mov qword [rcx + 0x40], rdi
mov qword [rcx + 0x48], rdi
mov qword [rcx + 0x50], rdi
mov qword [rcx + 0x58], rdi
mov qword [rcx + 0x60], rdi
mov qword [rcx + 0x68], rdi
mov qword [rcx + 0x70], rdi
mov qword [rcx + 0x78], rdi
mov qword [rcx + 0x80], rdi
mov qword [rcx + 0x88], rdi
lea rcx, str.UxTheme.dll
call fcn.14005b400
mov qword [rbx + 0x90], rax
cmp rax, rdi
je 0x140063b02
lea rdx, str.OpenThemeData
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.CloseThemeData
mov qword [rbx + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.DrawThemeBackground
mov qword [rbx + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.GetThemeColor
mov qword [rbx + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.GetThemeSysColor
mov qword [rbx + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.GetCurrentThemeName
mov qword [rbx + 0xb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x90]
lea rdx, str.GetWindowTheme
mov qword [rbx + 0xc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [rbx + 0xc8], rax
call fcn.1400631a4
jmp 0x140063b33
mov qword [rbx + 0x98], rdi
mov qword [rbx + 0xa0], rdi
mov qword [rbx + 0xa8], rdi
mov qword [rbx + 0xb0], rdi
mov qword [rbx + 0xb8], rdi
mov qword [rbx + 0xc0], rdi
mov qword [rbx + 0xc8], rdi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400972fc
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.UxTheme.dll
call fcn.14005b400
mov qword [rbx + 0x2b8], rax
test rax, rax
je 0x140097387
lea rdx, str.DrawThemeParentBackground
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x2b8]
lea rdx, str.DrawThemeTextEx
mov qword [rbx + 0x2d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x2b8]
lea rdx, str.BeginBufferedPaint
mov qword [rbx + 0x2e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x2b8]
lea rdx, str.EndBufferedPaint
mov qword [rbx + 0x2e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x2f0], rax
jmp 0x1400973a7
and qword [rbx + 0x2d8], 0
and qword [rbx + 0x2e0], 0
and qword [rbx + 0x2e8], 0
and qword [rbx + 0x2f0], 0
lea rcx, [0x1401d2d10]
call fcn.14005b400
cmp dword [rbx + 0x258], 0
mov qword [rbx + 0x2c0], rax
jne 0x1400973cd
and qword [rbx + 0x2d0], 0
jmp 0x1400973ed
test rax, rax
je 0x140097490
lea rdx, str.SetLayeredWindowAttributes
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x2d0], rax
cmp qword [rbx + 0x2c8], 0
je 0x140097462
lea rcx, str.dwmapi.dll
call fcn.14005b400
mov qword [rbx + 0x2c8], rax
test rax, rax
jne 0x140097415
call fcn.14001501c
int3
lea rdx, str.DwmExtendFrameIntoClientArea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x2c8]
lea rdx, str.DwmDefWindowProc
mov qword [rbx + 0x2f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x2c8]
lea rdx, str.DwmIsCompositionEnabled
mov qword [rbx + 0x300], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x308], rax
cmp dword [rbx + 0x274], 0
je 0x140097475
mov dword [rbx + 0x274], 1
call fcn.14008178c
mov rcx, qword [0x14025a248]
test rcx, rcx
je 0x14009748b
call fcn.140063938
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400a3a44
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x14025ad50], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1400a3a98
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a3a88
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14025ad48], rax
jmp 0x1400a3a8f
mov rax, qword [0x14025ad48]
mov byte [0x14025ad50], 1
jmp 0x1400a3a9f
mov rax, qword [0x14025ad48]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400a3ab5
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x1400a3abb
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a3c34
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x20], ebx
je 0x1400a3c45
xor eax, eax
jmp 0x1400a3c73
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400a3c7c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
cmp dword [rcx + 0x20], ebx
je 0x1400a3ca4
xor eax, eax
jmp 0x1400a3ce3
cmp r8, rbx
jne 0x1400a3cb0
mov eax, SafeArrayGetDim
jmp 0x1400a3cdc
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsi + 8]
mov r9d, 1
lea eax, [rax + rax + 2]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a3e08
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x20], ebx
je 0x1400a3e19
xor eax, eax
jmp 0x1400a3e3d
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400a3e44
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
cmp eax, edx
jne 0x1400a3e86
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
cmp eax, edx
sete dl
mov eax, edx
add rsp, 0x38
ret