joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401340c4
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, [0x1401342b4]
mov ebp, r8d
lea rcx, [0x1403f81b8]
call fcn.14011cb98
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x140134283
cmp word [rax + 0x10], bx
jne 0x140134232
lea rcx, str.comctl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
test rax, rax
je 0x1401341b8
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x140134176
lea rcx, str.MS_UI_Gothic
call fcn.1401342fc
test eax, eax
je 0x140134176
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 0x140134199
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 0x1401341b8
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1401341b8
mov r8, r14
mov rdx, r15
mov rcx, rax
call fcn.140125304
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 0x140134289
mov edx, ecx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rdi + 8], rax
mov rcx, rax
test rax, rax
je 0x14013429a
mov r8, qword [r15]
mov eax, dword [r8 - 0x10]
inc eax
movsxd rdx, eax
call fcn.1402a7220
test eax, eax
je 0x14013422a
cmp eax, 0xc
je 0x1401342ac
cmp eax, 0x16
je 0x1401342a6
cmp eax, 0x22
je 0x1401342a6
cmp eax, 0x50
jne 0x1401342a0
movzx eax, word [r14]
mov word [rdi + 0x10], ax
mov rsi, qword [rdi + 8]
test rsi, rsi
jne 0x14013423f
mov eax, ebx
jmp 0x140134247
mov rcx, rsi
call fcn.1402a577c
mov r8d, eax
mov rdx, rsi
mov rcx, r15
call fcn.1400105e0
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.1400f91a0
int3
cmp rdx, rax
sbb ecx, ecx
and ecx, 0x80070216
call fcn.14000de90
int3
call fcn.1400f91c4
int3
call fcn.1400f91a0
int3
call fcn.1400f91a0
int3
call fcn.1400f91c4
int3
Function at 0x140135280
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
cmp qword [0x1403f9f08], 0
mov rdi, rcx
jne 0x14013529e
xor eax, eax
jmp 0x140135399
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 0x40]
call fcn.140105a90
mov edx, 1
mov rcx, rdi
call fcn.140135204
mov rcx, rax
call fcn.14010e194
test rax, rax
jne 0x1401352cb
xor r9d, r9d
jmp 0x1401352cf
mov r9, qword [rax + 8]
mov rcx, qword [rdi + 0x40]
mov ebx, 0x1003
mov edx, ebx
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.14010e194
xor edx, edx
mov rcx, rdi
call fcn.140135204
mov rcx, rax
call fcn.14010e194
test rax, rax
jne 0x140135307
xor r9d, r9d
jmp 0x14013530b
mov r9, qword [rax + 8]
mov rcx, qword [rdi + 0x40]
mov r8d, 1
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.14010e194
mov rax, qword [rdi]
mov rbx, qword [rax + 0x328]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rdi
call rbx
cmp qword [rdi + 0x248], 0
jne 0x140135394
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x28]
xorps xmm0, xmm0
xor edx, edx
xor ecx, ecx
movdqu xmmword [rsp + 0x20], xmm0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x140135394
mov rcx, qword [rdi]
mov rbx, qword [rcx + 0x310]
mov rcx, rbx
call fcn.14029e28c
lea rdx, [rsp + 0x20]
mov rcx, rdi
call rbx
mov rdx, qword [rsp + 0x28]
mov rcx, qword [0x1403f9f08]
call fcn.14018f398
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140135e30
Capabilities:
Get file system object information

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x678]
sub rsp, 0x750
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rbp + 0x640], rax
mov r14d, r9d
mov rsi, rdx
mov r15, rcx
mov r10, qword [rbp + 0x6a0]
test r10, r10
je 0x14013603a
mov ecx, r9d
test r9d, r9d
je 0x140135fd5
sub ecx, 1
je 0x140135e9e
sub ecx, 1
je 0x140135ef5
cmp ecx, 1
jne 0x140136002
lea rdx, [rbp + 0x430]
mov rcx, qword [r10 + 8]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140136002
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
and qword [rsp + 0x50], 0
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x430]
call fcn.140124a80
test eax, eax
je 0x140136002
call fcn.1400f9930
mov rdi, rax
test rax, rax
je 0x140136040
jmp 0x140135f2b
mov dword [rsp + 0x20], 0x408
mov r9d, 0x2b8
lea r8, [rbp + 0x170]
xor edx, edx
mov rcx, qword [r10 + 8]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140136002
lea rdx, [rbp + 0x388]
jmp 0x140136009
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rdi
call rbx
add rax, 0x18
mov qword [rsp + 0x30], rax
cmp r14d, 1
jne 0x140135f6e
test byte [rsp + 0x60], 0x18
jne 0x140135f8f
mov rax, qword [r15]
mov rbx, qword [rax + 0x340]
mov rcx, rbx
call fcn.14029e28c
mov rdx, qword [rsp + 0x58]
jmp 0x140135f85
mov rax, qword [r15]
mov rbx, qword [rax + 0x348]
mov rcx, rbx
call fcn.14029e28c
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x30]
mov rcx, r15
call rbx
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.140015740
add rax, 0x18
mov qword [rsi], rax
mov r14, qword [rsp + 0x30]
or eax, 0xffffffff
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x140136011
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.14029e28c
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
jmp 0x140136011
mov dword [rsp + 0x20], 0x208
mov r9d, 0x2b8
lea r8, [rbp + 0x170]
xor edx, edx
mov rcx, qword [r10 + 8]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
lea rdx, [rbp + 0x180]
jne 0x140136009
lea rdx, [0x140345b70]
mov rcx, rsi
call fcn.140015b30
mov rax, rsi
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.14029d880
mov rbx, qword [rsp + 0x790]
add rsp, 0x750
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400f91a0
int3
mov ecx, 0x80004005
call fcn.14000de90
int3
Function at 0x14014c668
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rcx
cmp qword [0x1403f9f08], 0
je 0x14014c85f
lea r8, [rbp + 0x77]
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x14014c6ae
xor eax, eax
jmp 0x14014c84c
lea rcx, [rbp + 0x7f]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x14014c6a7
mov dword [rbp - 0x59], 0x67
mov edx, 0x18
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14014c865
mov rax, qword [rbp + 0x77]
mov qword [rdi + 0x10], rax
mov rdx, qword [rbp + 0x77]
mov rcx, qword [0x1403f9f08]
call fcn.14018f294
mov qword [rdi + 8], rax
and qword [rdi], 0
mov qword [rbp - 0x29], rdi
mov rax, qword [rsi]
mov rbx, qword [rax + 0x2c8]
mov rcx, rbx
call fcn.14029e28c
mov r8, rdi
lea rdx, [rbp + 0x6f]
mov rcx, rsi
call rbx
nop
mov rax, qword [rbp + 0x6f]
mov r8d, dword [rax - 0x10]
test r8d, r8d
js 0x14014c86b
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, r8d
or ecx, edx
jge 0x14014c753
mov edx, r8d
lea rcx, [rbp + 0x6f]
call fcn.14000ddb0
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x41], rax
mov rax, qword [rsi]
mov rbx, qword [rax + 0x2d0]
mov rcx, rbx
call fcn.14029e28c
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rbx
mov dword [rbp - 0x35], eax
mov rax, qword [rsi]
mov rbx, qword [rax + 0x2d0]
mov rcx, rbx
call fcn.14029e28c
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call rbx
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 [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rax
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rbp + 0x7f]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rdi
call rbx
nop
mov rsi, qword [rbp + 0x6f]
or ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
sub ecx, 1
jg 0x14014c847
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call fcn.14029e28c
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, 1
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
call fcn.1400f91a0
int3
call fcn.1400f91a0
nop
mov ecx, 0x80070057
call fcn.14000de90
int3
Function at 0x14015dc10
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 0x14015dc41
call fcn.1401098dc
mov rdi, qword [rax + 0x18]
lea r8, [0x140351610]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x14015dc60
xor eax, eax
jmp 0x14015dcac
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14015dc5c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14015dca1
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.14015dcc8
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 r15
pop r14
pop rdi
ret
Function at 0x14019037c
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 [0x1403d88e8]
xor rax, rbp
mov qword [rbp], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r13, rcx
test rdx, rdx
jne 0x1401903c0
xor eax, eax
jmp 0x1401904dd
test rdi, rdi
je 0x1401903b9
call fcn.1401098dc
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 0x1401903b9
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1401903b9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140190503
mov rcx, rax
call fcn.1402a89a0
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 0x140190487
cmp rdx, 0x400
ja 0x14019046b
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x140190449
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14029e430
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x140190509
mov dword [rdi], 0xcccc
jmp 0x140190481
mov rcx, rdx
call fcn.1402a7088
mov rdi, rax
test rax, rax
je 0x14019048a
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x14019048a
mov rdi, rbx
test rdi, rdi
je 0x140190509
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.1400f98ec
mov r14, rax
test rax, rax
je 0x1401904c1
mov rcx, rax
call fcn.1402a577c
mov r8d, eax
lea rcx, [r13 + 8]
mov rdx, r14
call fcn.1400105e0
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x1401904db
call fcn.1402a7098
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.14029d880
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.1400f91a0
int3
call fcn.1400f91a0
int3
Function at 0x1401ad03c
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r15d, r9d
mov edi, r8d
mov r14, rdx
call fcn.1400f9930
mov rsi, rax
test rax, rax
je 0x1401ad205
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rsi
call rbx
add rax, 0x18
mov qword [rsp + 0x20], rax
cmp edi, 0x13
jne 0x1401ad0bd
lea rcx, str.Pause
call fcn.1402a577c
lea rdx, str.Pause
jmp 0x1401ad11b
xor edx, edx
lea r8d, [rdx + 0x66]
lea rcx, [rsp + 0x30]
call fcn.14029ff20
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov r8, rax
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov ecx, eax
shl ecx, 0x10
or ecx, 1
lea eax, [rdi - 0x21]
cmp eax, 0xe
jbe 0x1401ad0f7
cmp edi, 0x6f
jne 0x1401ad0fb
bts ecx, 0x18
mov r8d, 0x32
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
lea rcx, [rsp + 0x30]
call fcn.1402a577c
lea rdx, [rsp + 0x30]
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.1400105e0
lea rcx, [rsp + 0x20]
call fcn.140031190
xor edi, edi
mov rbx, qword [rsp + 0x20]
mov eax, dword [rbx - 0x10]
test eax, eax
jle 0x1401ad170
xor esi, esi
test rsi, rsi
js 0x1401ad210
cmp edi, eax
jg 0x1401ad210
movzx ebp, word [rbx + rsi*2]
movzx ecx, bp
call qword [sym.imp.USER32.dll_IsCharLowerW]
test eax, eax
jne 0x1401ad1e3
inc edi
inc rsi
mov eax, dword [rbx - 0x10]
cmp edi, eax
jl 0x1401ad142
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, r14
call fcn.14001cfc0
test r15d, r15d
jne 0x1401ad191
lea edx, [r15 + 0x2b]
mov rcx, r14
call fcn.140031cb0
nop
lea rsi, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x1401ad1bc
mov rdi, qword [rsi]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.14029e28c
mov rdx, rsi
mov rcx, rdi
call rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14029d880
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
movzx ecx, bp
call fcn.1402a82e4
movzx r8d, ax
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140031420
mov rbx, qword [rsp + 0x20]
jmp 0x1401ad170
mov ecx, 0x80004005
call fcn.14000de90
nop
mov ecx, 0x80070057
call fcn.14000de90
int3
Function at 0x1401e7540
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 0x1401e7710
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 0x1401e7752
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 0x1401e7bf4
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 0x1401e7cc6
test rbx, rbx
je 0x1401e7ccc
test r9, r9
je 0x1401e7cd2
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 0x1401e7caf
cmp dword [rsp + 0x48], 3
jne 0x1401e7caf
test eax, eax
jne 0x1401e7caf
cmp dword [rdi], eax
je 0x1401e7caf
mov ecx, dword [rdi]
call fcn.1400f816c
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 0x1401e7ca3
cmp dword [rsp + 0x48], 3
jne 0x1401e7ca3
test eax, eax
jne 0x1401e7ca3
mov eax, 1
jmp 0x1401e7cb1
mov rcx, qword [rbx]
call fcn.1400f8164
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.1400f91a0
int3
call fcn.1400f91a0
int3
call fcn.1400f91a0
int3

Function at 0x1401e7ffc
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1401e8055
xor eax, eax
jmp 0x1401e8079
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 0x14024701c
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbp
mov rsi, rdx
mov rbp, rcx
cmp dword [rdx + 8], 0x100
jne 0x140247167
mov ebx, dword [rdx + 0x10]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140247167
cmp ebx, 0x43
je 0x140247075
cmp ebx, 0x2d
jne 0x140247167
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140247167
call qword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.1400f9930
mov rdi, rax
test rax, rax
je 0x140247184
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.14029e28c
mov rcx, rdi
call rbx
add rax, 0x18
mov qword [rsp + 0x68], 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 + 0x68]
call fcn.14000dfa0
mov rbx, qword [rsp + 0x68]
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, SafeArrayDestroy
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea r14, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x140247167
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.14029e28c
mov rdx, r14
mov rcx, rdi
call rbx
mov rdx, rsi
mov rcx, rbp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
jmp method.CDialogEx.virtual_536
mov ecx, 0x80004005
call fcn.14000de90
int3
Function at 0x1402a04b4
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x140336f78]
xor ecx, ecx
lea r8, [0x140336f70]
lea rdx, [0x140336f78]
call fcn.1402a02dc
mov rbx, rax
test rax, rax
je 0x1402a04f4
mov rcx, rax
call fcn.14029e28c
mov rcx, rdi
call rbx
jmp 0x1402a04fa
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1402a055c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140336fa0]
mov ecx, 2
lea r8, [0x140336f98]
lea rdx, [0x140336fa0]
call fcn.1402a02dc
mov rdi, rax
test rax, rax
je 0x1402a059d
mov rcx, rax
call fcn.14029e28c
mov ecx, ebx
call rdi
jmp 0x1402a05a5
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1402a05b0
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140336fb8]
mov edi, ecx
lea rdx, [0x140336fb8]
mov ecx, 3
lea r8, [0x140336fb0]
call fcn.1402a02dc
mov rsi, rax
test rax, rax
je 0x1402a05fc
mov rcx, rax
call fcn.14029e28c
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x1402a0607
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1402b46ec
Capabilities:
Parse pe header

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

Function at 0x1402ba044
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1402ba021
call fcn.1402a5618
mov dword [rax], 0x16
call fcn.1402a5494
or eax, 0xffffffff
jmp 0x1402ba03e
sub dword [rcx + 0x10], 1
jns 0x1402ba030
add rsp, 0x28
jmp fcn.1402baf54
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1402ba000