joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002016c
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 0x140020244
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140020244
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140020244
test rsi, rsi
je 0x140020244
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.1400152e8
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 0x140020211
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 0x140020244
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.14002ad38
mov esi, eax
test rbp, rbp
je 0x140020234
test rdi, rdi
je 0x140020234
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x140020240
mov rcx, rbx
call fcn.14001fe2c
mov eax, esi
jmp 0x140020246
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 0x1400211cc
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.14001bb4c
mov rdi, rax
test rax, rax
je 0x140021248
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x140021243
cmp dword [rbx], 0x40
jb 0x140021243
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 0x140021243
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x14002124c
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 0x140025b88
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140025bef
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140025c03
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140025c03
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [case.0x14003a4e2.0]
jmp 0x140025c08
cmp dword [rcx + 8], 0
je 0x140025c03
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140025c08
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14002b58c
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 0x14002b5ee
call fcn.1400152e8
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 0x14002b5ff
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov ebx, 1
test rdi, rdi
je 0x14002b643
mov eax, dword [rdi]
mov edx, 0xffff
mov ecx, eax
shr ecx, 0x10
cmp cx, dx
jne 0x14002b627
mov eax, dword [rdi + 0xc]
movzx edx, word [rdi + 0x12]
movzx ecx, word [rdi + 0x14]
jmp 0x14002b62f
movzx edx, word [rdi + 0xa]
movzx ecx, word [rdi + 0xc]
test eax, 0x1801
jne 0x14002b640
test dx, dx
jne 0x14002b640
test cx, cx
je 0x14002b643
mov ebx, r14d
cmp qword [rsi + 0xf0], r14
je 0x14002b655
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 0x14002b67c
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 0x14002b6bb
cmp dword [rcx + 0xe8], 0
jne 0x14002b6bb
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.1400152e8
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.14002ba40
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 0x14002b718
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.1400152e8
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 0x14002b774
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.14002b7ac
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 0x14002e304
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 0x14002e37b
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 0x14002e34b
call fcn.14001646c
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x14002e365
call fcn.14001646c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x14002e37b
call fcn.14001646c
call fcn.1400152e8
cmp qword [rax + 0x68], 0
je 0x14002e395
mov rdx, rbx
mov rcx, rbp
call fcn.14002d7c8
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.14002e5f0
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14002e3bc
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14002e3cb
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 0x14002eb90
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14002ebb6
mov r8, rdx
mov rdx, qword [rbx]
call fcn.140025b88
jmp 0x14002ec21
cmp byte [0x140270bc8], 0
jne 0x14002ebfa
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002ebea
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140270bc0], rax
jmp 0x14002ebf1
mov rax, qword [0x140270bc0]
mov byte [0x140270bc8], 1
jmp 0x14002ec01
mov rax, qword [0x140270bc0]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14002ec1b
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x14003a4e2.0]
jmp 0x14002ec21
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140030768
Capabilities:
Get graphical window text

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, r8
mov rbx, rcx
call fcn.1400308a8
xor r14d, r14d
mov esi, 1
mov rbp, rax
mov dword [rbx + 0x14], esi
mov rcx, rax
cmp dword [rbx], r14d
je 0x14003081e
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rbx, eax
test eax, eax
js 0x140030841
mov rdx, qword [rdi]
mov ecx, dword [rdx - 0xc]
sub esi, dword [rdx - 8]
sub ecx, ebx
or esi, ecx
jge 0x1400307cf
mov edx, ebx
mov rcx, rdi
call fcn.140015588
mov rdx, qword [rdi]
cmp ebx, dword [rdx - 0xc]
jg 0x140030841
mov dword [rdx - 0x10], ebx
lea r8d, [rbx + 1]
mov rax, qword [rdi]
mov rcx, rbp
mov word [rax + rbx*2], r14w
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x1400307f9
mov eax, r14d
jmp 0x140030806
movsxd rdx, dword [rcx - 0xc]
call fcn.1401a2064
test eax, eax
js 0x140030841
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x140030841
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], r14w
jmp 0x140030826
mov rdx, qword [rdi]
call fcn.14001b7e4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, 0x80070057
call fcn.140015384
int3
Function at 0x1400332a0
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, [0x140033468]
mov ebp, r8d
lea rcx, [0x140270db0]
call fcn.140018180
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x140033449
cmp word [rax + 0x10], bx
jne 0x1400333f8
lea rcx, str.comctl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
test rax, rax
je 0x140033394
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x140033352
lea rcx, str.MS_UI_Gothic
call fcn.1400334b0
test eax, eax
je 0x140033352
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 0x140033375
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 0x140033394
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140033394
mov r8, r14
mov rdx, r15
mov rcx, rax
call fcn.1400328b4
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 0x14003344f
mov edx, ecx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rdi + 8], rax
test rax, rax
je 0x140033460
mov r8, qword [r15]
mov ecx, dword [r8 - 0x10]
inc ecx
movsxd rdx, ecx
mov rcx, rax
call fcn.1401a1bf8
test eax, eax
je 0x1400333f0
cmp eax, 0xc
je 0x140033460
cmp eax, 0x50
jne 0x140033449
movzx eax, word [r14]
mov word [rdi + 0x10], ax
mov rsi, qword [rdi + 8]
test rsi, rsi
jne 0x140033405
mov eax, ebx
jmp 0x14003340d
mov rcx, rsi
call fcn.1401a1f38
mov r8d, eax
mov rdx, rsi
mov rcx, r15
call fcn.1400192d0
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.140014bec
int3
cmp rdx, rax
sbb ecx, ecx
and ecx, 0x80070216
call fcn.140015384
int3
call fcn.140014c10
int3
Function at 0x140049de4
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 [0x1402737c8], 0
je 0x140049fc3
lea r8, [rbp + 0x77]
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x140049fb4
lea rcx, [rbp + 0x7f]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x140049fb4
mov dword [rbp - 0x59], 0x67
mov edx, 0x18
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x140049fc3
mov rax, qword [rbp + 0x77]
mov qword [rbx + 0x10], rax
mov rdx, qword [rbp + 0x77]
mov rcx, qword [0x1402737c8]
call fcn.1400a7fd8
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.0x14003a4e2.0]
nop
mov rax, qword [rbp + 0x6f]
mov r8d, dword [rax - 0x10]
test r8d, r8d
js 0x140049fb8
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, r8d
or ecx, edx
jge 0x140049ec7
mov edx, r8d
lea rcx, [rbp + 0x6f]
call fcn.140015588
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.0x14003a4e2.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.0x14003a4e2.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.0x14003a4e2.0]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140049fa4
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14003a4e2.0]
mov eax, 1
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
xor eax, eax
jmp 0x140049fa9
mov ecx, 0x80070057
call fcn.140015384
nop
call fcn.140014bec
int3
Function at 0x14005c9f8
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 0x14005ca29
call fcn.1400152e8
mov rdi, qword [rax + 0x18]
lea r8, [0x1401da840]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14005ca92
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14005ca92
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14005ca85
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.14005cab0
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
jmp 0x14005ca94
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 0x140094ef0
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 [0x1402677d8]
xor rax, rbp
mov qword [rbp], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r13, rcx
test rdx, rdx
je 0x14009505c
test r8, r8
je 0x14009505c
call fcn.1400152e8
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 0x14009505c
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14009505c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140095084
mov rcx, rax
call fcn.1401a2500
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 0x140095004
cmp rdx, 0x400
ja 0x140094fe8
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x140094fc6
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140197d90
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x140095084
mov dword [rdi], 0xcccc
jmp 0x140094ffe
mov rcx, rdx
call fcn.1401a0cac
mov rdi, rax
test rax, rax
je 0x140095007
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x140095007
mov rdi, rbx
test rdi, rdi
je 0x140095084
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.140019eec
mov r14, rax
test rax, rax
je 0x14009503e
mov rcx, rax
call fcn.1401a1f38
mov r8d, eax
lea rcx, [r13 + 8]
mov rdx, r14
call fcn.1400192d0
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x140095058
call fcn.14019bd5c
mov eax, ebx
jmp 0x14009505e
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.140197410
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.140014bec
int3

Function at 0x1400e8028
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 0x1400e8178
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 0x1400e81ba
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 0x1400e85dc
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 0x1400e86ae
test rbx, rbx
je 0x1400e86ae
test r9, r9
je 0x1400e86ae
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 0x1400e86aa
cmp dword [rsp + 0x48], 3
jne 0x1400e86aa
test eax, eax
jne 0x1400e86aa
cmp dword [rdi], eax
je 0x1400e86aa
mov ecx, dword [rdi]
call fcn.1400145b4
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 0x1400e869e
cmp dword [rsp + 0x48], 3
jne 0x1400e869e
test eax, eax
jne 0x1400e869e
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.1400145ac
and qword [rbx], 0
xor eax, eax
jmp 0x1400e8689
call fcn.140014bec
int3

Function at 0x1400e8984
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400e8995
xor eax, eax
jmp 0x1400e89c3
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 0x1400e89cc
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400e89dd
xor eax, eax
jmp 0x1400e8a01
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
Function at 0x140139f00
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax - 0x18], 0
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1401abe7c
test eax, eax
jne 0x140139f64
mov eax, dword [rsp + 0x30]
lea r8, str._s_s_X.tmp
mov dword [rsp + 0x28], eax
mov r9, rsi
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call fcn.140025cd4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140139f76
jmp 0x140139f24
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1401434c8
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x40
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, rdx
mov rbp, rcx
cmp dword [rdx + 8], 0x100
jne 0x140143601
mov ebx, dword [rdx + 0x10]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140143601
cmp ebx, 0x43
je 0x140143521
cmp ebx, 0x2d
jne 0x140143601
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140143601
call qword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.140019f30
mov rcx, rax
test rax, rax
je 0x140143620
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14003a4e2.0]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov eax, dword [rbp + 0x194]
movzx edx, ax
shr eax, 0x10
movzx ecx, al
mov r9d, edx
shr r9d, 8
movzx r8d, dl
mov dword [rsp + 0x20], ecx
lea rdx, str.RGB__d___d___d_
lea rcx, [rsp + 0x58]
call fcn.1400167c4
mov rbx, qword [rsp + 0x58]
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
add rdx, rdx
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rdi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140143601
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14003a4e2.0]
mov rdx, rsi
mov rcx, rbp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp method.CDialogEx.virtual_536
mov ecx, 0x80004005
call fcn.140015384
int3
Function at 0x1401adee0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401add04