joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b704
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 rdi, rcx
mov rbx, r8
lea rcx, [0x140258a68]
mov esi, edx
call fcn.1401bc2fc
mov r8d, eax
lea rdx, [0x140258a68]
mov rcx, rbx
call fcn.14000c820
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x14001b7eb
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x14001b803
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x14001b81e
mov r9, qword [rbx]
lea edx, [rbp + 1]
mov ecx, dword [r9 - 0xc]
sub edx, dword [r9 - 8]
sub ecx, edi
or edx, ecx
jge 0x14001b79a
mov edx, edi
mov rcx, rbx
call fcn.14000bd30
mov r9, qword [rbx]
cmp edi, dword [r9 - 0xc]
jg 0x14001b81e
mov dword [r9 - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov rdx, r9
mov rcx, rsi
mov word [rax + rdi*2], bp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001b7c7
mov eax, ebp
jmp 0x14001b7d4
movsxd rdx, dword [rcx - 0xc]
call fcn.1401bc428
test eax, eax
js 0x14001b81e
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14001b81e
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x14001b803
mov rcx, rdi
call fcn.1400129a0
test rax, rax
je 0x14001b803
mov rdx, rbx
mov rcx, rax
call fcn.14001bca4
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, dword [rax - 0x10]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.14000bfa0
int3

Function at 0x14001bca4
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 rsi, rcx
xor ebp, ebp
mov rcx, qword [rcx + 0xd0]
mov rbx, rdx
test rcx, rcx
jne 0x14001bd58
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x14001bd7d
mov r9, qword [rbx]
lea edx, [rbp + 1]
mov ecx, dword [r9 - 0xc]
sub edx, dword [r9 - 8]
sub ecx, edi
or edx, ecx
jge 0x14001bd06
mov edx, edi
mov rcx, rbx
call fcn.14000bd30
mov r9, qword [rbx]
cmp edi, dword [r9 - 0xc]
jg 0x14001bd7d
mov dword [r9 - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov rdx, r9
mov word [rax + rdi*2], bp
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001bd34
mov eax, ebp
jmp 0x14001bd41
movsxd rdx, dword [rcx - 0xc]
call fcn.1401bc428
test eax, eax
js 0x14001bd7d
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14001bd7d
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x14001bd68
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x140033e8a.0]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.14000bfa0
int3
Function at 0x14001c32c
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 r14
push r15
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14001c404
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x14001c404
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001c404
test rsi, rsi
je 0x14001c404
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.14000fef0
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x14001c3d1
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, r14
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14001c404
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.140026164
mov esi, eax
test rbp, rbp
je 0x14001c3f4
test rdi, rdi
je 0x14001c3f4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x14001c400
mov rcx, rbx
call fcn.14001bfec
mov eax, esi
jmp 0x14001c406
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14001d38c
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 rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.1400133d8
mov rdi, rax
test rax, rax
je 0x14001d408
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14001d403
cmp dword [rbx], 0x40
jb 0x14001d403
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14001d403
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x14001d40c
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 0x140021930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x10000
jae 0x140026adf
cmp dword [rcx + 0xe8], 0
jne 0x140026adf
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.14000fef0
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140026e64
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140022d24
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x140022d8c
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x140022d76
cmp qword [rcx + 0x18], 0
jne 0x140022d71
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x140022d92
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x140022d8c
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.140013070
call fcn.14000d8b0
int3
call fcn.14000d8b0
int3

Function at 0x1400269b8
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 r14
sub rsp, 0x20
mov rdi, qword [rcx + 0x100]
xor r14d, r14d
mov rsi, rcx
mov rbp, qword [rcx + 0xf8]
cmp qword [rcx + 0xf0], r14
je 0x140026a1a
call fcn.14000fef0
mov rdx, qword [rsi + 0xf0]
lea r8d, [r14 + 5]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rbp, rbp
je 0x140026a2b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov ebx, 1
test rdi, rdi
je 0x140026a6f
mov eax, dword [rdi]
mov edx, 0xffff
mov ecx, eax
shr ecx, 0x10
cmp cx, dx
jne 0x140026a53
mov eax, dword [rdi + 0xc]
movzx edx, word [rdi + 0x12]
movzx ecx, word [rdi + 0x14]
jmp 0x140026a5b
movzx edx, word [rdi + 0xa]
movzx ecx, word [rdi + 0xc]
test eax, 0x1801
jne 0x140026a6c
test dx, dx
jne 0x140026a6c
test cx, cx
je 0x140026a6f
mov ebx, r14d
cmp qword [rsi + 0xf0], r14
je 0x140026a81
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140026aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x10000
jae 0x140026adf
cmp dword [rcx + 0xe8], 0
jne 0x140026adf
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.14000fef0
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140026e64
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140026b3c
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 r14
push r15
sub rsp, 0x20
mov r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.14000fef0
lea r8d, [rdi + 5]
mov rdx, rbx
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140026b98
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.140026bd0
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140029728
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
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, qword [rdx + 0x10]
mov rdi, rdx
mov rbp, rcx
jne 0x14002979f
mov rcx, qword [rdi + 8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14002976f
call fcn.140017b2c
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x140029789
call fcn.140017b2c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x14002979f
call fcn.140017b2c
call fcn.14000fef0
cmp qword [rax + 0x68], 0
je 0x1400297b9
mov rdx, rbx
mov rcx, rbp
call fcn.140028bec
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.140029a14
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400297e0
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400297ef
mov rbx, rsi
mov qword [rbp + 0xf8], rsi
or dword [rdi + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002e4a4
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
lea rdx, [0x14002e66c]
mov ebp, r8d
lea rcx, [0x1402a2708]
call fcn.140010f0c
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x14002e64d
cmp word [rax + 0x10], bx
jne 0x14002e5fc
lea rcx, str.comctl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
test rax, rax
je 0x14002e598
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x14002e556
lea rcx, str.MS_UI_Gothic
call fcn.14002e6b4
test eax, eax
je 0x14002e556
mov eax, ebp
lea edx, [rbx + 5]
neg eax
mov r9d, 0xfc11
mov rcx, rsi
sbb r8, r8
and r8d, 0xe
add r8, 0x3ee
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
jne 0x14002e579
neg ebp
mov r8d, 5
mov rcx, rsi
sbb rdx, rdx
and edx, 0xe
add rdx, 0x3ee
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14002e598
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002e598
mov r8, r14
mov rdx, r15
mov rcx, rax
call fcn.14002deb8
mov rax, qword [r15]
mov edx, 0xffffffff
mov ecx, dword [rsp + 0x58]
mov eax, dword [rax - 0x10]
inc eax
add rax, rax
cmp rax, rdx
cmovbe ecx, eax
ja 0x14002e653
mov edx, ecx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rdi + 8], rax
test rax, rax
je 0x14002e664
mov r8, qword [r15]
mov ecx, dword [r8 - 0x10]
inc ecx
movsxd rdx, ecx
mov rcx, rax
call fcn.1401bc6c0
test eax, eax
je 0x14002e5f4
cmp eax, 0xc
je 0x14002e664
cmp eax, 0x50
jne 0x14002e64d
movzx eax, word [r14]
mov word [rdi + 0x10], ax
mov rsi, qword [rdi + 8]
test rsi, rsi
jne 0x14002e609
mov eax, ebx
jmp 0x14002e611
mov rcx, rsi
call fcn.1401bc2fc
mov r8d, eax
mov rdx, rsi
mov rcx, r15
call fcn.14000c820
movzx ecx, word [rdi + 0x10]
mov eax, 0xffff
mov rbp, qword [rsp + 0x48]
cmp cx, ax
mov rsi, qword [rsp + 0x50]
setne bl
mov word [r14], cx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
call fcn.14000d8b0
int3
cmp rdx, rax
sbb ecx, ecx
and ecx, 0x80070216
call fcn.14000bfa0
int3
call fcn.14000d8d4
int3
Function at 0x140043730
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov rdi, rcx
cmp qword [0x1402a5108], 0
je 0x14004390f
lea r8, [rbp + 0x77]
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x140043900
lea rcx, [rbp + 0x7f]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x140043900
mov dword [rbp - 0x59], 0x67
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14004390f
mov rax, qword [rbp + 0x77]
mov qword [rbx + 0x10], rax
mov rdx, qword [rbp + 0x77]
mov rcx, qword [0x1402a5108]
call fcn.14009f310
mov qword [rbx + 8], rax
and qword [rbx], 0
mov qword [rbp - 0x29], rbx
mov rax, qword [rdi]
mov r8, rbx
lea rdx, [rbp + 0x6f]
mov rcx, rdi
mov rax, qword [rax + 0x2c8]
call qword [case.0x140033e8a.0]
nop
mov rax, qword [rbp + 0x6f]
mov r8d, dword [rax - 0x10]
test r8d, r8d
js 0x140043904
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, r8d
or ecx, edx
jge 0x140043813
mov edx, r8d
lea rcx, [rbp + 0x6f]
call fcn.14000bd30
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x41], rax
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x2d0]
call qword [case.0x140033e8a.0]
mov dword [rbp - 0x35], eax
mov rax, qword [rdi]
mov r8d, 1
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x2d0]
call qword [case.0x140033e8a.0]
mov dword [rbp - 0x31], eax
mov dword [rbp - 0x2d], 1
movups xmm0, xmmword [rbp - 0x59]
movaps xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x49]
movaps xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp + 0x17], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp + 0x27], xmm1
mov qword [rbp - 0x11], 0xffffffffffff0002
mov qword [rbp - 0x19], 0xffffffffffff0000
lea r9, [rbp - 0x19]
xor r8d, r8d
mov edx, 0x1132
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rax
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140033e8a.0]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400438f0
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140033e8a.0]
mov eax, 1
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
xor eax, eax
jmp 0x1400438f5
mov ecx, 0x80070057
call fcn.14000bfa0
nop
call fcn.14000d8b0
int3
Function at 0x140056344
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 r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x140056375
call fcn.14000fef0
mov rdi, qword [rax + 0x18]
lea r8, [0x140200f20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x1400563de
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400563de
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400563d1
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.1400563fc
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
jmp 0x1400563e0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14008c228
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r13
mov rax, qword [0x1402987c8]
xor rax, rbp
mov qword [rbp], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r13, rcx
test rdx, rdx
je 0x14008c394
test r8, r8
je 0x14008c394
call fcn.14000fef0
mov r8, rdi
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14008c394
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14008c394
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14008c3bc
mov rcx, rax
call fcn.1401bc610
lea r15d, [rax + 1]
lea ecx, [r15 + r15]
movsxd rdx, ecx
lea rcx, [rdx + 0x10]
cmp rdx, rcx
sbb rdx, rdx
and rdx, rcx
je 0x14008c33c
cmp rdx, 0x400
ja 0x14008c320
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x14008c2fe
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14018f0d0
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x14008c3bc
mov dword [rdi], 0xcccc
jmp 0x14008c336
mov rcx, rdx
call fcn.1401bbf74
mov rdi, rax
test rax, rax
je 0x14008c33f
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x14008c33f
mov rdi, rbx
test rdi, rdi
je 0x14008c3bc
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.14000c600
mov r14, rax
test rax, rax
je 0x14008c376
mov rcx, rax
call fcn.1401bc2fc
mov r8d, eax
lea rcx, [r13 + 8]
mov rdx, r14
call fcn.14000c820
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x14008c390
call fcn.1401b8ddc
mov eax, ebx
jmp 0x14008c396
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.14018e750
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r13, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
call fcn.14000d8b0
int3
Function at 0x1400df360
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1400df4b0
Capabilities:
Query or enumerate registry value

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

Function at 0x1400df914
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400df9e6
test rbx, rbx
je 0x1400df9e6
test r9, r9
je 0x1400df9e6
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400df9e2
cmp dword [rsp + 0x48], 3
jne 0x1400df9e2
test eax, eax
jne 0x1400df9e2
cmp dword [rdi], eax
je 0x1400df9e2
mov ecx, dword [rdi]
call fcn.14000c054
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400df9d6
cmp dword [rsp + 0x48], 3
jne 0x1400df9d6
test eax, eax
jne 0x1400df9d6
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
call fcn.14000c04c
and qword [rbx], 0
xor eax, eax
jmp 0x1400df9c1
call fcn.14000d8b0
int3

Function at 0x1400dfcbc
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400dfccd
xor eax, eax
jmp 0x1400dfcfb
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]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400dfd04
Capabilities:
Set registry value

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