joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011a8d4
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 0x14011a94c
mov rsi, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
call fcn.140034d58
mov rcx, rax
test rax, rax
je 0x14011a923
mov rax, qword [rax]
mov rax, qword [rax + 0xe8]
call qword [case.0x1400d81fd.0]
test rax, rax
je 0x14011a923
mov rcx, qword [rax + 0x40]
jmp 0x14011a926
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_ShellExecuteW]
cmp rax, 0x20
setae bl
mov eax, ebx
jmp 0x14011a94e
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 0x1401222dc
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 0x140122420
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 0x140122462
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 0x140122858
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 0x140122922
test rbx, rbx
je 0x140122922
test r9, r9
je 0x140122922
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 0x14012291e
cmp dword [rsp + 0x48], 3
jne 0x14012291e
cmp dword [rdi], eax
je 0x14012291e
mov ecx, dword [rdi]
call fcn.140009f40
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 0x140122912
cmp dword [rsp + 0x48], 3
jne 0x140122912
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.140009f50
and qword [rbx], 0
xor eax, eax
jmp 0x1401228fd
call fcn.140015d94
int3
Function at 0x140122be4
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140122c3d
xor eax, eax
jmp 0x140122c61
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 0x1401242dc
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1402b0b74], 0
mov ebx, ecx
je 0x140124379
cmp dword [0x1402b0da8], 0xfffffffe
jne 0x140124366
cmp ecx, 0xffffffff
je 0x140124379
lea rcx, [0x1402bec50]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1402bec78], 0
jne 0x14012437f
xor r8d, r8d
lea rcx, [0x140124388]
xor edx, edx
call fcn.1401ecc9c
mov rcx, rax
mov qword [0x1402bec78], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14012434b
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x1402b0da8], ebx
jmp 0x140124353
and qword [0x1402bec78], 0
lea rcx, [0x1402bec50]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [0x1402b0da8], ebx
cmp ebx, 0xffffffff
jne 0x140124379
and qword [0x1402bec78], 0
add rsp, 0x20
pop rbx
ret
call fcn.140015d94
int3
Function at 0x14012cfdc
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 0x14012d17d
je 0x14012d1a2
sub eax, 0xa1
je 0x14012d1a2
sub eax, 1
je 0x14012d1a2
sub eax, 2
je 0x14012d1a2
sub eax, 1
je 0x14012d1a2
sub eax, 2
je 0x14012d1a2
sub eax, 1
je 0x14012d1a2
cmp eax, 0x58
jne 0x14012d1ed
cmp dword [rbx + 0x154], 0xffffffff
je 0x14012d1a2
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14012d1a2
mov rax, qword [rsi + 0x10]
sub rax, 0x21
je 0x14012d0d7
cmp rax, 1
jne 0x14012d1a2
mov eax, dword [rbx + 0x154]
mov r8d, dword [rbx + 0x150]
lea esi, [rax + 1]
add eax, r8d
cmp esi, eax
jge 0x14012d20b
mov eax, esi
mov rcx, rbx
cdq
idiv r8d
mov rax, qword [rbx]
mov ebp, edx
mov rax, qword [rax + 0x4f8]
call qword [case.0x1400d81fd.0]
test eax, eax
jne 0x14012d11f
mov ecx, dword [rbx + 0x154]
inc esi
mov r8d, dword [rbx + 0x150]
add ecx, r8d
cmp esi, ecx
jl 0x14012d09d
jmp 0x14012d20b
mov ecx, dword [rbx + 0x154]
lea esi, [rcx - 1]
add esi, dword [rbx + 0x150]
cmp esi, ecx
jle 0x14012d20b
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.0x1400d81fd.0]
test eax, eax
jne 0x14012d11f
dec esi
cmp esi, dword [rbx + 0x154]
jg 0x14012d0ee
jmp 0x14012d20b
mov rax, qword [rbx]
mov edx, ebp
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
mov rax, qword [rax + 0x428]
call qword [case.0x1400d81fd.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x420]
call qword [case.0x1400d81fd.0]
mov rcx, rax
call fcn.1400372f8
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
mov rax, qword [rax + 0x4e0]
call qword [case.0x1400d81fd.0]
mov dword [rbx + 0x3b8], edi
jmp 0x14012d20b
sub eax, 0x200
je 0x14012d1a2
sub eax, 1
je 0x14012d1a2
sub eax, 1
je 0x14012d1a2
sub eax, 2
je 0x14012d1a2
sub eax, 1
je 0x14012d1a2
sub eax, 2
je 0x14012d1a2
cmp eax, 1
jne 0x14012d1ed
mov rax, qword [rbx + 0x1c0]
mov ebp, 0x407
test rax, rax
je 0x14012d1ca
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x14012d1ca
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 0x14012d1ed
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x14012d1ed
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsi + 8], 0x203
jne 0x14012d212
lea rax, [rbx + 0x3208]
test rax, rax
je 0x14012d206
mov rdi, qword [rax + 0x40]
cmp qword [rsi], rdi
jne 0x14012d212
mov eax, 1
jmp 0x14012d21d
mov rdx, rsi
mov rcx, rbx
call fcn.1400a7ddc
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401602c4
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 0x1401603d2
cmp qword [rdx + 0x10], 9
je 0x140160308
cmp qword [rdx + 0x10], 0x1b
jne 0x14016035c
call fcn.14003a40c
test rax, rax
je 0x14016035c
mov rcx, rbx
call fcn.14003a40c
jmp 0x14016034a
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140039e2c
test rax, rax
je 0x14016035c
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140039e2c
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.140039e2c
mov rcx, rax
call fcn.1400372f8
mov eax, 1
jmp 0x1401603dd
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140039e2c
cmp rax, rbx
jne 0x1401603d2
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1401603d2
mov rax, qword [rdi + 0x10]
cmp rax, 0x2e
je 0x1401603cb
cmp rax, 0x43
je 0x1401603c4
cmp rax, 0x56
je 0x1401603ad
cmp rax, 0x58
je 0x1401603a6
cmp rax, 0x5a
jne 0x1401603d2
lea edx, [rax + 0x6d]
jmp 0x1401603b2
mov edx, 0x300
jmp 0x1401603b2
mov edx, 0x302
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140160352
mov edx, 0x301
jmp 0x1401603b2
mov edx, 0x303
jmp 0x1401603b2
mov rdx, rdi
mov rcx, rbx
call fcn.14017f350
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140163d60
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 0x140163e98
mov ebx, dword [rdx + 0x10]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140163e98
cmp ebx, 0x43
je 0x140163dac
cmp ebx, 0x2d
jne 0x140163e98
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140163e98
call qword [sym.imp.USER32.dll_EmptyClipboard]
nop
call fcn.140014fd4
mov rcx, rax
test rax, rax
je 0x140163eb5
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400d81fd.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.140008790
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 r14, rax
test rax, rax
je 0x140163e6c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140163e6c
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r14
mov ecx, SafeArrayGetDim
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 0x140163e98
lfence
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
mov rax, qword [rax + 8]
call qword [case.0x1400d81fd.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.140009870
int3
Function at 0x1401688ac
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x650]
sub rsp, 0x750
mov rax, qword [0x1402b1940]
xor rax, rsp
mov qword [rbp + 0x640], rax
mov edi, r9d
mov rbx, rdx
mov rsi, rcx
mov r10, qword [rbp + 0x690]
mov qword [rsp + 0x30], rdx
test r10, r10
je 0x140168a9c
mov ecx, r9d
test r9d, r9d
je 0x140168a30
sub ecx, 1
je 0x140168915
sub ecx, 1
je 0x14016899d
cmp ecx, 1
jne 0x140168a5d
lea rdx, [rbp + 0x430]
mov rcx, qword [r10 + 8]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140168a5d
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.140049430
test eax, eax
je 0x140168a5d
call fcn.140014fd4
mov rcx, rax
test rax, rax
je 0x140168a91
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400d81fd.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
cmp edi, 1
jne 0x1401689d3
test byte [rsp + 0x60], 0x18
jne 0x1401689f0
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rax + 0x340]
jmp 0x1401689e2
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 0x140168a5d
lea rdx, [rbp + 0x388]
jmp 0x140168a64
mov rax, qword [rsi]
lea rdx, [rsp + 0x48]
mov rax, qword [rax + 0x348]
lea r8, [rsp + 0x30]
mov rcx, rsi
call qword [case.0x1400d81fd.0]
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.140009750
add rax, 0x18
mov qword [rbx], rax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140168a6c
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d81fd.0]
jmp 0x140168a6c
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 0x140168a64
lea rdx, [0x14027553c]
mov rcx, rbx
call fcn.140009290
mov rax, rbx
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.1401b21e0
mov rbx, qword [rsp + 0x780]
add rsp, 0x750
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140009870
nop
call fcn.140015d94
int3
Function at 0x140168e7c
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.1401f49dc
test eax, eax
jne 0x140168ee0
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.14002bcac
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140168ea0
jmp 0x140168ef2
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 0x14017c398
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 r15, rdx
mov r14, rcx
lea rdx, [0x14017c554]
mov ebp, r8d
lea rcx, [0x1402b12e8]
call fcn.140047664
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x14017c548
cmp word [rax + 0x10], bx
jne 0x14017c4e9
lea rcx, str.comctl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
test rax, rax
je 0x14017c48c
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x14017c44a
lea rcx, str.MS_UI_Gothic
call fcn.14017c59c
test eax, eax
je 0x14017c44a
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 0x14017c46d
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 0x14017c48c
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14017c48c
mov r8, r15
mov rdx, r14
mov rcx, rax
call fcn.1400da704
mov rax, qword [r14]
mov ecx, 0xffffffff
mov eax, dword [rax - 0x10]
inc eax
add rax, rax
cmp rax, rcx
ja 0x14017c53a
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rdi + 8], rax
test rax, rax
je 0x14017c54e
mov r8, qword [r14]
mov ecx, dword [r8 - 0x10]
inc ecx
movsxd rdx, ecx
mov rcx, rax
call fcn.1401ecf20
test eax, eax
je 0x14017c4e1
cmp eax, 0xc
je 0x14017c54e
cmp eax, 0x50
jne 0x14017c548
movzx eax, word [r15]
mov word [rdi + 0x10], ax
mov rsi, qword [rdi + 8]
test rsi, rsi
jne 0x14017c4f6
mov eax, ebx
jmp 0x14017c4fe
mov rcx, rsi
call fcn.1401e27f0
mov r8d, eax
mov rdx, rsi
mov rcx, r14
call fcn.140009550
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 [r15], cx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
lfence
mov ecx, 0x80070216
call fcn.140009870
int3
call fcn.140015d94
int3
call fcn.140015db8
int3
Function at 0x140180354
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.140036e9c
test eax, eax
je 0x140180493
cmp dword [rbx + 0xb28], 0
je 0x14018039b
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
jmp 0x140180498
call fcn.1400403a0
mov rcx, qword [rax + 8]
call fcn.140034400
nop
mov rcx, qword [rbx + 0xb30]
sub rcx, 0x18
call fcn.140009750
add rax, 0x18
mov qword [rsp + 0x50], rax
cmp dword [rax - 0x10], 0
jne 0x1401803d6
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14003a518
lea rdx, [rbx + 0xb38]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140007290
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rax]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140180433
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d81fd.0]
mov dword [rbx + 0xb2c], 1
and dword [rbx + 0x124], 0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140180489
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d81fd.0]
nop
lea rcx, [rsp + 0x48]
call fcn.140037688
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14018b90c
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rdi, rcx
cmp qword [0x1402b8e78], 0
je 0x14018bae9
lea r8, [rbp + 0x77]
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x14018bada
lea rcx, [rbp + 0x7f]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x14018bada
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 0x14018bae9
mov rax, qword [rbp + 0x77]
mov qword [rbx + 0x10], rax
mov rdx, qword [rbp + 0x77]
mov rcx, qword [0x1402b8e78]
call fcn.14001a6b0
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.0x1400d81fd.0]
nop
mov rax, qword [rbp + 0x6f]
mov r8d, dword [rax - 0x10]
test r8d, r8d
js 0x14018bade
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, r8d
or ecx, edx
jge 0x14018b9ea
lfence
mov edx, r8d
lea rcx, [rbp + 0x6f]
call fcn.1400094e0
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.0x1400d81fd.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.0x1400d81fd.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.0x1400d81fd.0]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14018baca
lfence
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x1400d81fd.0]
mov eax, 1
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
xor eax, eax
jmp 0x14018bacf
mov ecx, 0x80070057
call fcn.140009870
nop
call fcn.140015d94
int3
Function at 0x14018be04
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x310
mov rax, qword [0x1402b1940]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov qword [rsp + 0x38], rdx
mov rax, r8
mov rbx, rdx
test r8, r8
je 0x14018be83
mov rcx, qword [rax + 8]
lea r8, [rsp + 0x40]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x208
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, rbx
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x14018be62
lea rdx, [0x14025b1d0]
call fcn.140009290
mov rax, rbx
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1401b21e0
add rsp, 0x310
pop rbx
ret
call fcn.140015d94
int3

Function at 0x14018e0ec
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov bl, r8b
movzx ebp, dx
mov rdi, rcx
mov rax, qword [rax + 0x2f0]
call qword [case.0x1400d81fd.0]
mov ecx, ebp
mov edx, 2
mov esi, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test bl, bl
jne 0x14018e153
test esi, esi
js 0x14018e153
cmp ax, 0x20
je 0x14018e13b
cmp ebp, 0x71
jne 0x14018e153
lfence
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
mov rax, qword [rax + 0x320]
call qword [case.0x1400d81fd.0]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1401b2de4
Capabilities:
Parse pe header

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

Function at 0x1401ba170
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 0x1401ba1aa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401ba1af
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 0x1401ba1f8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140269c20]
cmp byte [rcx + rax], 0
je 0x1401ba1f8
dec r8
sub rdx, 1
jne 0x1401ba1de
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1401bcd4a
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1401bcd2d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1401bcd18