joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032cb8
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, 0x30
xor ebx, ebx
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
je 0x140032d20
call fcn.140030740
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140032d20
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140032d66
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov edi, 1
test rbx, rbx
je 0x140032d45
mov rcx, qword [r15]
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rax, qword [rcx + 0x40]
mov rcx, r15
call qword [case.0x1400692aa.0]
mov edi, eax
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x140032d64
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x140]
mov rdx, r14
call qword [case.0x1400692aa.0]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x1400365dc
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 + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x140036657
xor r8d, r8d
call fcn.1400368a0
mov rsi, rax
test rax, rax
je 0x140036653
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140036653
mov eax, dword [rsp + 0x30]
jmp 0x14003666d
mov eax, edi
jmp 0x14003666d
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
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 0x1400371f4
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 0x14003725b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003726f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003726f
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.0x1400692aa.0]
jmp 0x140037274
cmp dword [rcx + 8], 0
je 0x14003726f
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140037274
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14003a5dc
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 rsi, rdx
mov rdi, rcx
cmp rdx, 0x10000
jae 0x14003a61b
cmp dword [rcx + 0xe8], 0
jne 0x14003a61b
movzx eax, si
mov dword [rcx + 0xe8], eax
call fcn.140030740
mov r8d, 5
mov rdx, rsi
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, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp 0x14003a97c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, r9
mov rcx, rdx
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rbx, rbx
jne 0x14003a9d1
call fcn.140035880
mov rdx, rax
test rax, rax
je 0x14003a9cf
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x1400692aa.0]
mov rbx, rax
jmp 0x14003a9d1
xor ebx, ebx
and qword [rdi + 0x108], 0
mov r9, rsi
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14003a6f0

Function at 0x14003a668
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 rbp, r8
mov rbx, rdx
mov r14, rcx
xor edi, edi
call fcn.140030740
lea r8d, [rdi + 5]
mov rdx, rbx
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14003a6c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rsi
mov r8, rbp
mov rdx, rdi
mov rcx, r14
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
jmp fcn.14003a6f0

Function at 0x140042660
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 0x140042686
mov r8, rdx
mov rdx, qword [rbx]
call fcn.1400371f4
jmp 0x1400426f1
cmp byte [0x140284ad0], 0
jne 0x1400426ca
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400426ba
lea rdx, [0x1401f03b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140284ac8], rax
jmp 0x1400426c1
mov rax, qword [0x140284ac8]
mov byte [0x140284ad0], 1
jmp 0x1400426d1
mov rax, qword [0x140284ac8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400426eb
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x1400692aa.0]
jmp 0x1400426f1
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400426fc
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 0x1400429f0
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 0x140042a32
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 0x140042e28
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 0x140042ef2
test rbx, rbx
je 0x140042ef2
test r9, r9
je 0x140042ef2
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 0x140042eee
cmp dword [rsp + 0x48], 3
jne 0x140042eee
cmp dword [rdi], eax
je 0x140042eee
mov ecx, dword [rdi]
call fcn.140011cb0
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 0x140042ee2
cmp dword [rsp + 0x48], 3
jne 0x140042ee2
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.14002244c
and qword [rbx], 0
xor eax, eax
jmp 0x140042ecd
call fcn.14002c418
int3

Function at 0x14004330c
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140043365
xor eax, eax
jmp 0x140043389
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 0x140049704
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 0x14004977b
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 0x14004974b
call fcn.14002da58
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x140049765
call fcn.14002da58
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x14004977b
call fcn.14002da58
call fcn.140030740
cmp qword [rax + 0x68], 0
je 0x140049795
mov rdx, rbx
mov rcx, rbp
call fcn.140048bc8
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.1400499f0
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400497bc
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400497cb
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 0x14005a6c4
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 rbx, r8
mov rdi, rdx
mov rbp, rcx
test r8, r8
jne 0x14005a6ef
call fcn.140030740
mov rbx, qword [rax + 0x18]
lea r8, [0x1401f2768]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14005a748
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14005a748
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x14005a748
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rbp
mov r8d, eax
call fcn.14005a760
jmp 0x14005a74a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14008f4a4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x14008f4d6
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14008f4d6
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.140110db0
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x14009180c
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0x88
mov rdi, rcx
mov esi, 1
mov rax, qword [rcx + 0x20]
neg rax
sbb rdx, rdx
mov qword [rbp + 7], rdx
cmp qword [rcx + 0x20], 0
je 0x1400919fa
xor esi, esi
and qword [rbp + 0x17], rsi
and dword [rbp + 0x1f], esi
and qword [rbp + 0x27], rsi
mov rax, qword [rcx]
lea rdx, [rbp + 0xf]
mov rax, qword [rax + 0x40]
call qword [case.0x1400692aa.0]
mov rbx, rax
call fcn.140030740
mov rbx, qword [rbx]
xor edx, edx
mov rcx, qword [rax + 8]
call fcn.1400361fc
and qword [rbp + 0x77], rsi
lea rcx, [rbp + 0x67]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x77]
mov qword [rsp + 0x38], rcx
and qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400918bc
mov rax, qword [rbp + 0x77]
mov qword [rbp + 0x17], rax
and dword [rbp + 0x1f], ebx
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400918e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400692aa.0]
test ebx, ebx
jne 0x1400919eb
call fcn.14002cb3c
mov rcx, rax
test rax, rax
je 0x140091a08
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400692aa.0]
add rax, 0x18
mov qword [rbp + 0x6f], rax
call fcn.14002cb3c
mov rcx, rax
test rax, rax
je 0x140091a13
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400692aa.0]
add rax, 0x18
mov qword [rbp + 0x7f], rax
lea rcx, [rdi + 8]
lea r9, [rbp + 0x7f]
lea r8, [rbp + 0x6f]
lea rdx, [rbp + 7]
call fcn.14008fa84
mov rbx, qword [rbp + 0x7f]
test rbx, rbx
je 0x140091983
mov rcx, rbx
call fcn.1401c9528
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x6f]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400919a5
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400692aa.0]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400919ca
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400692aa.0]
cmp qword [rbp + 7], 0
jne 0x1400918e9
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x1400919e4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1400919fc
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x1400919fa
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
add rsp, 0x88
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400119a0
nop
mov ecx, 0x80004005
call fcn.1400119a0
int3
Function at 0x1400927e4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [rsp + 0x34]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x30], eax
cmp eax, 0xffffffff
jne 0x140092820
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140092820
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbx + 0x18]
mov ecx, eax
call fcn.140133164
mov rax, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x140092b34
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test r8d, r8d
jne 0x140092b46
xor eax, eax
jmp 0x140092b74
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140092b70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbx + 0x18]
mov ecx, eax
call fcn.140133164
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret

Function at 0x140092c50
Capabilities:
Write file on windows

Disassembly:
test r8d, r8d
je 0x140092c9f
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x20], 0
lea rdi, [rcx + 0x18]
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x50]
mov ebx, r8d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140092c8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rdi]
mov ecx, eax
call fcn.140133164
cmp dword [rsp + 0x50], ebx
jne 0x140092ca0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140011b90
or edx, 0xffffffff
mov r8, rax
lea ecx, [rdx + 0xe]
call fcn.140132cc4
int3

Function at 0x1400b22a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x28]
xor ebx, ebx
mov rdi, rcx
cmp dword [rax - 0x10], ebx
je 0x1400b230f
call fcn.140035880
test rax, rax
je 0x1400b22de
mov rdx, qword [rax]
mov rcx, rax
mov rax, qword [rdx + 0xe8]
call qword [case.0x1400692aa.0]
test rax, rax
je 0x1400b22de
mov rbx, qword [rax + 0x40]
mov rdx, qword [rdi + 0x18]
mov rcx, rbx
mov r9, qword [rdi + 0x10]
mov r8, qword [rdi + 0x28]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jb 0x1400b230f
mov eax, 1
jmp 0x1400b2311
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140101378
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rcx
mov ecx, 0x104
xor edi, edi
mov rsi, rdx
cmp eax, ecx
ja 0x140101527
je 0x14010154d
cmp eax, 0xa1
jb 0x140101598
cmp eax, 0xa2
jbe 0x14010154d
cmp eax, 0xa3
jbe 0x140101598
cmp eax, 0xa5
jbe 0x14010154d
cmp eax, 0xa6
jbe 0x140101598
cmp eax, 0xa8
jbe 0x14010154d
cmp eax, 0x100
jne 0x140101598
cmp dword [rbx + 0x154], 0xffffffff
je 0x14010154d
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14010154d
mov rax, qword [rsi + 0x10]
sub rax, 0x21
je 0x140101481
cmp rax, 1
jne 0x14010154d
mov eax, dword [rbx + 0x154]
mov r8d, dword [rbx + 0x150]
lea esi, [rax + 1]
add eax, r8d
cmp esi, eax
jge 0x1401015b6
mov eax, esi
mov rcx, rbx
cdq
idiv r8d
mov rax, qword [rbx]
mov ebp, edx
mov rax, qword [rax + 0x4f8]
call qword [case.0x1400692aa.0]
test eax, eax
jne 0x1401014c9
mov ecx, dword [rbx + 0x154]
inc esi
mov r8d, dword [rbx + 0x150]
add ecx, r8d
cmp esi, ecx
jl 0x140101447
jmp 0x1401015b6
mov ecx, dword [rbx + 0x154]
lea esi, [rcx - 1]
add esi, dword [rbx + 0x150]
cmp esi, ecx
jle 0x1401015b6
mov eax, esi
mov rcx, rbx
cdq
idiv dword [rbx + 0x150]
mov rax, qword [rbx]
mov ebp, edx
mov rax, qword [rax + 0x4f8]
call qword [case.0x1400692aa.0]
test eax, eax
jne 0x1401014c9
dec esi
cmp esi, dword [rbx + 0x154]
jg 0x140101498
jmp 0x1401015b6
mov rax, qword [rbx]
mov edx, ebp
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
mov rax, qword [rax + 0x428]
call qword [case.0x1400692aa.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x420]
call qword [case.0x1400692aa.0]
mov rcx, rax
call fcn.14002f878
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
mov rax, qword [rax + 0x4e0]
call qword [case.0x1400692aa.0]
mov dword [rbx + 0x3b8], edi
jmp 0x1401015b6
cmp eax, 0x200
jb 0x140101598
cmp eax, 0x202
jbe 0x14010154d
cmp eax, 0x203
jbe 0x140101598
cmp eax, 0x205
jbe 0x14010154d
add eax, 0xfffffdf9
cmp eax, 1
ja 0x140101598
mov rax, qword [rbx + 0x1c0]
mov ebp, 0x407
test rax, rax
je 0x140101575
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x140101575
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0x1b8]
test rax, rax
je 0x140101598
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x140101598
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsi + 8], 0x203
jne 0x1401015bd
lea rax, [rbx + 0x3208]
test rax, rax
je 0x1401015b1
mov rdi, qword [rax + 0x40]
cmp qword [rsi], rdi
jne 0x1401015bd
mov eax, 1
jmp 0x1401015c8
mov rdx, rsi
mov rcx, rbx
call fcn.1400fa260
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14016ffd8
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.1401d022c
test eax, eax
jne 0x14017003c
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.140036ec8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14017004e
jmp 0x14016fffc
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 0x1401ae364
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbp, rcx
cmp dword [rdx + 8], 0x100
jne 0x1401ae48f
mov ebx, dword [rdx + 0x10]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1401ae48f
cmp ebx, 0x43
je 0x1401ae3b2
cmp ebx, 0x2d
jne 0x1401ae48f
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401ae48f
call qword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.14002cb3c
mov rcx, rax
test rax, rax
je 0x1401ae4ae
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400692aa.0]
add rax, 0x18
mov qword [rsp + 0x48], rax
movzx eax, byte [rbp + 0x196]
movzx r9d, byte [rbp + 0x195]
movzx r8d, byte [rbp + 0x194]
mov dword [rsp + 0x20], eax
lea rdx, str.RGB__d___d___d_
lea rcx, [rsp + 0x48]
call fcn.140011ab0
mov rbx, qword [rsp + 0x48]
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, SafeArrayGetDim
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 0x1401ae48f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400692aa.0]
mov rdx, rsi
mov rcx, rbp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp method.CDialogEx.virtual_536
mov ecx, 0x80004005
call fcn.1400119a0
int3

Function at 0x1401c48bc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1401c474f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401c474f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401c474f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401c474f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401c474f
cmp dword [rcx + 0x84], 0xe
jbe 0x1401c474f
cmp dword [rcx + 0xf8], 0
je 0x1401c474f
mov ecx, ebx
call fcn.1401c47f0
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1401c45e0
cmp dword [rbp + 0x20], 0
je 0x1401c479c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401c47a4
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401c46e8