joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029a2c
Capabilities:
Clear file content

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 r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d034
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d034
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029b7c
cmp rax, 0xffffffffffffffff
je 0x140029b7c
xor edi, edi
test rbp, rbp
jle 0x140029b27
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f948
mov rbx, rax
test rax, rax
jne 0x140029ab4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029b1d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a99c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001dd10
cmp eax, 0xffffffff
je 0x140029afd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029ac4
mov edx, r15d
mov ecx, r14d
call fcn.14001a99c
jmp 0x140029b1d
cmp byte [rsi + 0x38], dil
je 0x140029b14
cmp dword [rsi + 0x34], 5
jne 0x140029b14
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029b1d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b700
jmp 0x140029b90
jns 0x140029b90
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d034
cmp rax, 0xffffffffffffffff
jne 0x140029b48
cmp byte [rsi + 0x30], dil
je 0x140029b90
mov edi, dword [rsi + 0x2c]
jmp 0x140029b90
mov ecx, r14d
call fcn.140018e54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029b90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029b90
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029b89
mov eax, dword [rsi + 0x2c]
jmp 0x140029b8e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d034
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ac80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aca8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aca8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x401000
Capabilities:
Execute syscall

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x38
mov rcx, 0xffffffffffffffff
mov r10, rcx
movabs rdx, 0x40311f
xor r8, r8
mov qword [rsp + 0x18], 0x117
lea r9, [rsp + 0x18]
mov qword [rsp + 0x28], 0x1000
mov qword [rsp + 0x30], 0x40
mov eax, 0x18
syscall
leave
ret
Function at 0x4e9610
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x4e961d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x4e962d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x4e9615
lea eax, [rcx + 1]
jmp 0x4e963b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x4e964e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x4e9634
sub eax, 3
jb 0x4e966e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x4e96bd
sar eax, 1
movsxd rbp, eax
jb 0x4e96a4
jmp 0x4e967c
add ebx, ebx
jne 0x4e967a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x4e96a4
inc ecx
add ebx, ebx
jne 0x4e968a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x4e96a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x4e969d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x4e968c
add ecx, 2
jmp 0x4e96a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.004e95d2
jmp 0x4e961d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb0600
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x4e970d
cmp rsi, rcx
jae 0x4e9715
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x4e96f4
cmp al, 0x8f
ja 0x4e96f4
cmp byte [rsi - 2], 0xf
je 0x4e96fa
sub al, 0xe8
cmp al, 1
ja 0x4e96de
cmp rsi, rcx
jae 0x4e9715
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x4e96e4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x4e9715
lodsb al, byte [rsi]
jmp 0x4e96f4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xe7000]
mov eax, dword [rdi]
or eax, eax
je 0x4e9772
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xe9000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x4e9722
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x4e976c
mov qword [rbx], rax
add rbx, 8
jmp 0x4e9742
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.004e97f5], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.004e97f5
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x4e97e5
sub rsp, 0xffffffffffffff80
jmp 0x4014e0
Function at 0x140001aa0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x14011b040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [0x1401234d0], rcx
add rcx, 8
xor edx, edx
mov r8d, 0x3d0
call fcn.1400c5d40
xor edi, edi
mov dword [rbx + 0x3f4], 1
xor edx, edx
mov dword [rbx + 0x3f0], edi
mov r8d, VarUI4FromDisp
mov dword [rbx + 0x448], edi
lea rcx, [rsp + 0x24]
mov qword [rbx + 0x420], rdi
mov qword [rbx + 0x440], rdi
mov qword [rbx + 0x3e8], rdi
mov qword [rbx + 0x3f8], 1
mov qword [rbx + 0x44c], 1
mov dword [rsp + 0x20], VarUI4FromDisp
call fcn.1400c5d40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x140001b5c
cmp dword [rsp + 0x24], 5
jb 0x140001b5c
mov dword [rbx + 0x400], 1
jmp 0x140001b62
mov dword [rbx + 0x400], edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14006ce40
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret

Function at 0x140002700
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x1400027b6
mov rbx, qword [rcx]
cmp qword [rdi], 0
je 0x140002782
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x14000279a
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x14000279a
mov qword [rsp + 0x28], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call rax
nop
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je case.default.0x14000279a
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x140123588], 0
jne 0x140002801
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400027f1
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140123580], rax
mov byte [0x140123588], 1
jmp 0x140002808
mov rax, qword [0x140123580]
mov byte [0x140123588], 1
jmp 0x140002808
mov rax, qword [0x140123580]
mov rdx, rsi
mov rcx, qword [rbx]
test rax, rax
je 0x14000278b
xor r9d, r9d
mov r8d, dword [rbx + 8]
call rax
nop
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140002f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x14011b040]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140002f95
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140002f95
call fcn.1400024d0
mov ebx, eax
jmp 0x1400030ba
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140002fb6
call fcn.1400024d0
jmp 0x1400030a9
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140002fd9
call fcn.1400024d0
jmp 0x1400030a9
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140002ffb
mov ebx, 0x8007000e
jmp 0x1400030ab
mov ecx, eax
test eax, eax
je 0x140003030
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400030f2
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140003030
lea rcx, [rsp + 0x60]
call fcn.140007330
jmp 0x14000303a
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x14000304d
cmp qword [rsp + 0x60], 0
jne 0x14000305c
mov ebx, 0x8007000e
jmp 0x1400030ab
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140003086
call fcn.1400024d0
jmp 0x1400030a9
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140003df0
mov ebx, eax
test rdi, rdi
je 0x1400030ba
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x1400030d1
lea rcx, [rsp + 0x60]
call fcn.140007290
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14006ce40
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140001870
int3
Function at 0x140006a20
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x14011b040]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x208
xor esi, esi
call fcn.1400c5d40
movups xmm0, xmmword [str.SoftwareRimeWeasel]
movzx eax, word [0x1400f7fe8]
lea r8, [rsp + 0x38]
movups xmm1, xmmword [0x1400f7fd0]
lea rdx, [rsp + 0x48]
mov rcx, 0xffffffff80000001
movups xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x70], ax
movsd xmm0, qword [0x1400f7fe0]
movsd qword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x58], xmm1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140006b4c
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x2b8], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.RimeUserDir
mov dword [rsp + 0x34], 0x208
mov dword [rsp + 0x30], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x2b8]
jne 0x140006b4c
cmp dword [rsp + 0x30], 1
jne 0x140006b4c
cmp word [rsp + 0x80], si
je 0x140006b4c
xorps xmm0, xmm0
lea rax, [rsp + 0x80]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140006b40
jmp 0x140006b8e
mov r8d, 0x104
lea rdx, [rsp + 0x80]
lea rcx, str._AppData_Rime
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xorps xmm0, xmm0
lea rax, [rsp + 0x80]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
inc r8
cmp word [rax + r8*2], si
jne 0x140006b84
lea rdx, [rsp + 0x80]
mov rcx, rdi
call fcn.1400073a0
mov rax, rdi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14006ce40
mov rsi, qword [rsp + 0x2c0]
add rsp, 0x2a0
pop rdi
ret
Function at 0x140006c10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14011b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x60], rbx
lea r8, str.APPCAST
mov qword [rsp + 0x68], rsi
lea rdx, str.ManualUpdateFeedURL
xor ecx, ecx
mov qword [rsp + 0x50], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x140006cd6
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140006cd6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, eax
test rdi, rdi
je 0x140006cd6
test eax, eax
je 0x140006cd6
movzx ecx, byte [rdx + rdi - 1]
lea r8, [rdx - 1]
test cl, cl
mov qword [rsp + 0x38], rsi
xorps xmm0, xmm0
mov qword [rsp + 0x40], rsi
cmovne r8, rdx
lea rcx, [rsp + 0x28]
mov rdx, rdi
movups xmmword [rsp + 0x28], xmm0
call fcn.1400074d0
cmp qword [rsp + 0x38], rsi
je 0x140006cf1
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.WinSparkle.dll_win_sparkle_set_appcast_url]
jmp 0x140006cf1
xorps xmm0, xmm0
mov qword [rsp + 0x38], rsi
movups xmmword [rsp + 0x28], xmm0
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x40], 0xf
call qword [sym.imp.WinSparkle.dll_win_sparkle_check_update_with_ui]
mov rdx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140006d3f
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006d3a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d53
call fcn.14006d178
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006ce40
add rsp, 0x58
ret
call fcn.1400a5664
int3

Function at 0x14001c080
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001c0ef
mov rcx, qword [rbx + 8]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rbx + 8]
xor r9d, r9d
mov ecx, 0x8028
lea r8d, [r9 - 4]
call qword [sym.imp.USER32.dll_NotifyWinEvent]
cmp qword [0x1401234d8], 0
mov rax, qword [rbx + 0x350]
mov rcx, qword [rax + 8]
mov byte [rcx + 0x671], 0
je 0x14001c0ef
mov rcx, qword [rbx + 8]
mov edx, 0x1330684
call qword [sym.imp.USER32.dll_KillTimer]
mov qword [0x1401234d8], 0
add rsp, 0x20
pop rbx
ret
Function at 0x140020300
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
push r12
push r13
sub rsp, 0xa0
mov rax, qword [0x14011b040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r13, rcx
mov rdi, rdx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, qword [r13 + 8]
lea rdx, [rsp + 0x60]
xorps xmm0, xmm0
mov r12, rax
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r8d, dword [rsp + 0x64]
mov rcx, rdi
mov edx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_OffsetRect]
mov rcx, qword [r13 + 8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140020492
test r12, r12
je 0x14002046d
test rdi, rdi
je 0x14002046d
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x14002046d
mov qword [rsp + 0xd0], rbx
mov rcx, r12
mov qword [rsp + 0x98], rbp
mov ebp, dword [rdi]
mov qword [rsp + 0x90], rsi
mov esi, dword [rdi + 4]
mov qword [rsp + 0x88], r14
mov r14d, dword [rdi + 8]
mov edi, dword [rdi + 0xc]
sub r14d, ebp
sub edi, esi
mov qword [rsp + 0x80], r15
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, edi
mov edx, r14d
mov rcx, r12
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x50], 0xcc0020
mov r9d, r14d
mov dword [rsp + 0x48], edi
xor r8d, r8d
mov dword [rsp + 0x40], r14d
xor edx, edx
mov dword [rsp + 0x38], esi
mov rcx, r15
mov dword [rsp + 0x30], ebp
mov rbx, rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edi
call qword [sym.imp.GDI32.dll_StretchBlt]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
mov rdi, rax
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xd0]
jmp 0x14002046f
xor edi, edi
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [r13 + 8]
mov rdx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006ce40
add rsp, 0xa0
pop r13
pop r12
pop rdi
ret

Function at 0x14002d940
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14002d974
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14002d960
ret

Function at 0x14002dd70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x14002ddb4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14002dda0
ret
Function at 0x140039bb0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140039c7c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140039c7c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140039c95
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140039c6c
cmp byte [rax], 0x5c
jne 0x140039c66
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140039c66
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140039c52
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140039c63
test r8b, 0x10
jne 0x140039c66
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140039c66
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140030ea0
test edi, edi
jne 0x140039bd0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140030e90
int3

Function at 0x14003a840
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14003a923
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14003a923
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14003a941
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14003a913
cmp word [rax], 0x5c
jne 0x14003a90c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14003a90c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14003a8f7
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14003a909
test r8b, 0x10
jne 0x14003a90c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14003a90c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.140031450
test edi, edi
jne 0x14003a870
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140030e90
int3
Function at 0x140047bc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x30], rax
lea r8, str.AppsUseLightTheme
lea rax, [rsp + 0x60]
mov r9d, 0x10
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140047c22
cmp dword [rsp + 0x58], 4
jne 0x140047c22
cmp dword [rsp + 0x60], eax
sete al
add rsp, 0x48
ret
xor al, al
add rsp, 0x48
ret
Function at 0x140069840
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x60
mov rax, qword [0x14011b040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x20]
mov rbx, rcx
xor ebp, ebp
xor ecx, ecx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [rsp + 0x20]
test eax, eax
jne 0x1400698a1
xorps xmm0, xmm0
lea rdx, [0x1400f7a80]
movups xmmword [rbx], xmm0
xor r8d, r8d
mov qword [rbx + 0x10], rbp
mov rcx, rbx
mov qword [rbx + 0x18], rbp
call fcn.1400073a0
jmp 0x14006995f
lea ecx, [rax + 1]
mov qword [rsp + 0x78], rsi
mov eax, 2
mov qword [rsp + 0x80], rdi
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.14006d8b4
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp dword [rsp + 0x20], ebp
ja 0x14006990d
mov rcx, rsi
call fcn.14006d178
xorps xmm0, xmm0
lea rdx, [0x1400f7a80]
movups xmmword [rbx], xmm0
xor r8d, r8d
mov qword [rbx + 0x10], rbp
mov rcx, rbx
mov qword [rbx + 0x18], rbp
call fcn.1400073a0
jmp 0x140069952
xorps xmm0, xmm0
mov qword [rsp + 0x40], rbp
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], rbp
nop
inc rdi
cmp word [rsi + rdi*2], bp
jne 0x140069920
mov r8, rdi
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1400073a0
mov rcx, rsi
call fcn.14006d178
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006ce40
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rbp
ret