joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f4e78
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 0x1400f4ea3
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400f4eae
mov rax, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.14000c670
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.1400ffe00
int3

Function at 0x1400f51d4
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test r8d, r8d
jne 0x1400f51e6
xor eax, eax
jmp 0x1400f5203
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400f5209
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.14000c670
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.1400ffe00
int3

Function at 0x1400f5320
Capabilities:
Write file on windows

Disassembly:
test r8d, r8d
je 0x1400f535e
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov rdi, rcx
mov ebx, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f535f
cmp dword [rsp + 0x50], ebx
jne 0x1400f537c
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, [rdi + 0x18]
call fcn.14000c670
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.1400ffe00
int3
lea rcx, [rdi + 0x18]
call fcn.14000c670
or edx, 0xffffffff
mov r8, rax
lea ecx, [rdx + 0xe]
call fcn.1400ff95c
int3

Function at 0x1400f9174
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 0x1400f91eb
mov rcx, qword [rdi + 8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
jne 0x1400f91bb
call fcn.14002d87c
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x1400f91d5
call fcn.14002d87c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x1400f91eb
call fcn.14002d87c
call fcn.14003b2b8
cmp qword [rax + 0x68], 0
je 0x1400f9205
mov rdx, rbx
mov rcx, rbp
call fcn.1400f8634
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.1400f9474
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400f922c
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400f923b
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 0x1400f9268
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 rdi, rdx
mov rbx, rcx
call fcn.140036ca8
xor ebp, ebp
test eax, eax
jne 0x1400f9316
mov rdx, qword [str.AfxClosePending]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetPropA]
mov rsi, rax
test rax, rax
je 0x1400f9339
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400f9339
cmp dword [rax], 1
jne 0x1400f9330
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x476
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
jne 0x1400f9330
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [str.AfxClosePending]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_RemovePropA]
test rax, rax
je 0x1400f9303
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbx]
mov rax, qword [rcx + 0xc0]
mov rcx, rbx
call qword [case.0x14014fce9.0]
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [rdi + 8], 0x100
jne 0x1400f9380
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400f9380
mov rax, qword [rdi + 0x10]
cmp rax, 9
je 0x1400f9366
add rax, 0xffffffffffffffdf
cmp rax, 1
ja 0x1400f9380
mov rcx, qword [rbx + 0x40]
mov r9, rdi
xor r8d, r8d
mov edx, 0x475
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
jne 0x1400f9316
mov rdx, rdi
mov rcx, rbx
call fcn.140036c84
jmp 0x1400f931b
Function at 0x1400faa0c
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x90
mov rax, qword [0x1402ae7c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbp, r8
lea r15, [r11 + 0x28]
mov rdi, rcx
call fcn.1400fa9b8
cmp dword [rdi], 0
mov rsi, rax
mov dword [rdi + 0x14], 1
je 0x1400faaa1
mov rbx, qword [r15]
lea rdx, [rsp + 0x40]
mov r8d, 0x40
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r9, rbx
lea rcx, [rsp + 0x40]
mov r8, rbp
mov edx, 0x40
call fcn.1400fab64
cmp eax, 1
je 0x1400fab1a
mov ecx, dword [rsp + 0xd8]
or r8d, 0xffffffff
xor edx, edx
call fcn.14002be44
mov rcx, rdi
call fcn.1400fa95c
jmp 0x1400fab1a
call fcn.1401e7554
mov ebx, dword [rax]
call fcn.1401e7554
and dword [rax], 0
call fcn.14000b790
mov r9d, 0x3f
mov qword [rsp + 0x30], r15
and qword [rsp + 0x28], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rcx, qword [rax]
lea r8d, [r9 + 1]
call fcn.1401e4d74
call fcn.1401e7554
cmp dword [rax], 0
je 0x1400fab06
call fcn.1401e7554
cmp dword [rax], 0
je 0x1400fab0d
cmp dword [rax], 0xc
je 0x1400fab4e
cmp dword [rax], 0x16
je 0x1400fab43
cmp dword [rax], 0x22
je 0x1400fab43
cmp dword [rax], 0x50
jne 0x1400fab38
jmp 0x1400fab0d
call fcn.1401e7554
mov dword [rax], ebx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14003ec60
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401aba90
add rsp, 0x90
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000b7a0
int3
mov ecx, 0x80070057
call fcn.14000b7a0
int3
mov ecx, 0x8007000e
call fcn.14000b7a0
int3

Function at 0x1401127b4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x28]
xor ebx, ebx
cmp dword [rdi - 0x10], ebx
je 0x14011282c
mov rsi, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
call fcn.14002fb70
mov rcx, rax
test rax, rax
je 0x140112803
mov rax, qword [rax]
mov rax, qword [rax + 0xe8]
call qword [case.0x14014fce9.0]
test rax, rax
je 0x140112803
mov rcx, qword [rax + 0x40]
jmp 0x140112806
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov r9, rbp
mov r8, rdi
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp rax, 0x20
setae bl
mov eax, ebx
jmp 0x14011282e
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14011a0a4
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x14011a1dc
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_RegQueryValueExA]
xor edx, edx
test eax, eax
jne 0x14011a21e
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 0x14011a318
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r14, r8
mov rsi, rdx
mov r15, rcx
test rdx, rdx
je 0x14011a42f
mov rcx, r8
call fcn.14000bff0
mov rcx, qword [r15 + 8]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14011a41c
mov eax, dword [rsp + 0x78]
dec eax
cmp eax, 1
ja 0x14011a41c
mov ebp, dword [rsp + 0x68]
test ebp, ebp
jne 0x14011a393
lea eax, [rbx + 1]
jmp 0x14011a41e
lea ecx, [rbp + 1]
call fcn.14000c6e0
mov rcx, qword [r15 + 8]
lea r9, [rsp + 0x78]
mov rdi, rax
mov dword [rsp + 0x68], ebp
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14011a410
mov eax, dword [rsp + 0x78]
dec eax
cmp eax, 1
ja 0x14011a410
test rdi, rdi
je 0x14011a3fd
cmp dword [rsp + 0x68], ebx
je 0x14011a3ec
mov eax, dword [rsp + 0x68]
cmp byte [rax + rdi - 1], bl
je 0x14011a3ee
jmp 0x14011a410
mov byte [rdi], bl
test rdi, rdi
je 0x14011a3fd
mov rcx, rdi
call fcn.1401e7f60
mov ebx, eax
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.14000c070
mov ebx, 1
mov rcx, rdi
call fcn.14000c6f0
mov eax, ebx
jmp 0x14011a41e
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140012dcc
int3
Function at 0x14011a630
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 0x14011a6fa
test rbx, rbx
je 0x14011a6fa
test r9, r9
je 0x14011a6fa
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_RegQueryValueExA]
test eax, eax
jne 0x14011a6f6
cmp dword [rsp + 0x48], 3
jne 0x14011a6f6
cmp dword [rdi], eax
je 0x14011a6f6
mov ecx, dword [rdi]
call fcn.14000c6e0
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_RegQueryValueExA]
test eax, eax
jne 0x14011a6ea
cmp dword [rsp + 0x48], 3
jne 0x14011a6ea
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.14000c6f0
and qword [rbx], 0
xor eax, eax
jmp 0x14011a6d5
call fcn.140012dcc
int3

Function at 0x14011a9b8
Capabilities:
Set registry value

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

Function at 0x14011aa00
Capabilities:
Set registry value

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

Function at 0x14011c054
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1402ad9f4], 0
mov ebx, ecx
je 0x14011c0f1
cmp dword [0x1402adbe0], 0xfffffffe
jne 0x14011c0de
cmp ecx, 0xffffffff
je 0x14011c0f1
lea rcx, [0x1403522b0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1403522d8], 0
jne 0x14011c0f7
xor r8d, r8d
lea rcx, [0x14011c100]
xor edx, edx
call fcn.1401e92c8
mov rcx, rax
mov qword [0x1403522d8], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14011c0c3
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x1402adbe0], ebx
jmp 0x14011c0cb
and qword [0x1403522d8], 0
lea rcx, [0x1403522b0]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [0x1402adbe0], ebx
cmp ebx, 0xffffffff
jne 0x14011c0f1
and qword [0x1403522d8], 0
add rsp, 0x20
pop rbx
ret
call fcn.140012dcc
int3
Function at 0x140124c78
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 0x140124e19
je 0x140124e3e
sub eax, 0xa1
je 0x140124e3e
sub eax, 1
je 0x140124e3e
sub eax, 2
je 0x140124e3e
sub eax, 1
je 0x140124e3e
sub eax, 2
je 0x140124e3e
sub eax, 1
je 0x140124e3e
cmp eax, 0x58
jne 0x140124e89
cmp dword [rbx + 0x154], 0xffffffff
je 0x140124e3e
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140124e3e
mov rax, qword [rsi + 0x10]
sub rax, 0x21
je 0x140124d73
cmp rax, 1
jne 0x140124e3e
mov eax, dword [rbx + 0x154]
mov r8d, dword [rbx + 0x150]
lea esi, [rax + 1]
add eax, r8d
cmp esi, eax
jge 0x140124ea7
mov eax, esi
mov rcx, rbx
cdq
idiv r8d
mov rax, qword [rbx]
mov ebp, edx
mov rax, qword [rax + 0x4f8]
call qword [case.0x14014fce9.0]
test eax, eax
jne 0x140124dbb
mov ecx, dword [rbx + 0x154]
inc esi
mov r8d, dword [rbx + 0x150]
add ecx, r8d
cmp esi, ecx
jl 0x140124d39
jmp 0x140124ea7
mov ecx, dword [rbx + 0x154]
lea esi, [rcx - 1]
add esi, dword [rbx + 0x150]
cmp esi, ecx
jle 0x140124ea7
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.0x14014fce9.0]
test eax, eax
jne 0x140124dbb
dec esi
cmp esi, dword [rbx + 0x154]
jg 0x140124d8a
jmp 0x140124ea7
mov rax, qword [rbx]
mov edx, ebp
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
mov rax, qword [rax + 0x428]
call qword [case.0x14014fce9.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x420]
call qword [case.0x14014fce9.0]
mov rcx, rax
call fcn.14003acbc
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
mov rax, qword [rax + 0x4e0]
call qword [case.0x14014fce9.0]
mov dword [rbx + 0x3b8], edi
jmp 0x140124ea7
sub eax, 0x200
je 0x140124e3e
sub eax, 1
je 0x140124e3e
sub eax, 1
je 0x140124e3e
sub eax, 2
je 0x140124e3e
sub eax, 1
je 0x140124e3e
sub eax, 2
je 0x140124e3e
cmp eax, 1
jne 0x140124e89
mov rax, qword [rbx + 0x1c0]
mov ebp, 0x407
test rax, rax
je 0x140124e66
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x140124e66
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, qword [rbx + 0x1b8]
test rax, rax
je 0x140124e89
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x140124e89
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [rsi + 8], 0x203
jne 0x140124eae
lea rax, [rbx + 0x3208]
test rax, rax
je 0x140124ea2
mov rdi, qword [rax + 0x40]
cmp qword [rsi], rdi
jne 0x140124eae
mov eax, 1
jmp 0x140124eb9
mov rdx, rsi
mov rcx, rbx
call fcn.14009c3e0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140157ac0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rdx + 8], 0x100
mov rdi, rdx
mov rbx, rcx
jne 0x140157bce
cmp qword [rdx + 0x10], 9
je 0x140157b04
cmp qword [rdx + 0x10], 0x1b
jne 0x140157b58
call fcn.140034334
test rax, rax
je 0x140157b58
mov rcx, rbx
call fcn.140034334
jmp 0x140157b46
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140033d28
test rax, rax
je 0x140157b58
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140033d28
mov rdx, qword [rbx + 0x40]
xor r8d, r8d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rcx, rax
call fcn.140033d28
mov rcx, rax
call fcn.14003acbc
mov eax, 1
jmp 0x140157bd9
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140033d28
cmp rax, rbx
jne 0x140157bce
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140157bce
mov rax, qword [rdi + 0x10]
cmp rax, 0x2e
je 0x140157bc7
cmp rax, 0x43
je 0x140157bc0
cmp rax, 0x56
je 0x140157ba9
cmp rax, 0x58
je 0x140157ba2
cmp rax, 0x5a
jne 0x140157bce
lea edx, [rax + 0x6d]
jmp 0x140157bae
mov edx, 0x300
jmp 0x140157bae
mov edx, 0x302
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageA]
jmp 0x140157b4e
mov edx, 0x301
jmp 0x140157bae
mov edx, 0x303
jmp 0x140157bae
mov rdx, rdi
mov rcx, rbx
call fcn.140179130
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14015b7b8
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, rdx
mov rbp, rcx
cmp dword [rdx + 8], 0x100
jne 0x14015b8ea
mov ebx, dword [rdx + 0x10]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14015b8ea
cmp ebx, 0x43
je 0x14015b804
cmp ebx, 0x2d
jne 0x14015b8ea
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14015b8ea
call qword [sym.imp.USER32.dll_EmptyClipboard]
nop
call fcn.14002c73c
mov rcx, rax
test rax, rax
je 0x14015b907
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14014fce9.0]
add rax, 0x18
mov qword [rsp + 0x58], 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 + 0x58]
call fcn.14000c640
mov rbx, qword [rsp + 0x58]
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
test rax, rax
je 0x14015b8c1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14015b8c1
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r14
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
or eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14015b8ea
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
mov rax, qword [rax + 8]
call qword [case.0x14014fce9.0]
mov rdx, rsi
mov rcx, rbp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp method.CDialogEx.virtual_536
mov ecx, 0x80004005
call fcn.14000b7a0
int3

Function at 0x14016084c
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.1401f2250
test eax, eax
jne 0x1401608b0
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.14000b730
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140160870
jmp 0x1401608c2
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140185838
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x1c0
mov rax, qword [0x1402ae7c0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x38], rdx
mov rax, r8
mov rbx, rdx
test r8, r8
je 0x1401858b7
mov rcx, qword [rax + 8]
lea r8, [rsp + 0x40]
mov r9d, 0x168
mov dword [rsp + 0x20], 0x208
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov rcx, rbx
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x140185896
lea rdx, [0x1402579f0]
call fcn.140011960
mov rax, rbx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1401aba90
add rsp, 0x1c0
pop rbx
ret
call fcn.140012dcc
int3

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

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, r9
mov r15, r8
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14018cab5
mov ebx, 0x811c9dc5
xor esi, esi
mov rcx, rdx
call fcn.1401e7f60
mov r8, rax
mov eax, 0xcccccccd
mul r8d
shr edx, 3
inc edx
test r8d, r8d
je 0x14018ca58
movsx ecx, byte [rsi + rdi]
imul ebx, ebx, 0x1000193
xor ebx, ecx
add esi, edx
cmp esi, r8d
jb 0x14018ca45
mov dword [r14], ebx
xor edx, edx
mov eax, ebx
div dword [rbp + 0x10]
mov dword [r15], edx
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14018ca95
mov rbx, qword [rbx + rdx*8]
jmp 0x14018ca90
mov eax, dword [r14]
cmp dword [rbx + 8], eax
jne 0x14018ca8d
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call fcn.1401e93a8
nop
test eax, eax
je 0x14018cab0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14018ca74
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
mov rax, rbx
jmp 0x14018ca97
call fcn.140012dcc
int3

Function at 0x1401ac978
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401ac9c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401ac9c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401ac9c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401ac9c2
cmp dword [rcx + 0x84], 0xe
jbe 0x1401ac9c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401ac9c4
xor al, al
add rsp, 0x28
ret

Function at 0x1401adc84
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401adcbe
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401adcc3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1401add0c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140265d50]
cmp byte [rcx + rax], 0
je 0x1401add0c
dec r8
sub rdx, 1
jne 0x1401adcf2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret