joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038ae8
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 0x140038b27
cmp dword [rcx + 0xe8], 0
jne 0x140038b27
movzx eax, si
mov dword [rcx + 0xe8], eax
call fcn.14002ebf0
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 0x140038e88
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 0x140038edd
call fcn.140033d30
mov rdx, rax
test rax, rax
je 0x140038edb
mov rcx, qword [rax]
mov rax, qword [rcx + 0xe8]
mov rcx, rdx
call qword [case.0x1400677b6.0]
mov rbx, rax
jmp 0x140038edd
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.140038bfc

Function at 0x140038b74
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.14002ebf0
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 0x140038bce
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.140038bfc

Function at 0x140040b6c
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 0x140040b92
mov r8, rdx
mov rdx, qword [rbx]
call fcn.1400356a4
jmp 0x140040bfd
cmp byte [0x140281850], 0
jne 0x140040bd6
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140040bc6
lea rdx, [0x1401ee3b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140281848], rax
jmp 0x140040bcd
mov rax, qword [0x140281848]
mov byte [0x140281850], 1
jmp 0x140040bdd
mov rax, qword [0x140281848]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x140040bf7
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x1400677b6.0]
jmp 0x140040bfd
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140040c08
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 0x140040efc
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 0x140040f3e
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 0x140041334
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 0x1400413fe
test rbx, rbx
je 0x1400413fe
test r9, r9
je 0x1400413fe
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 0x1400413fa
cmp dword [rsp + 0x48], 3
jne 0x1400413fa
cmp dword [rdi], eax
je 0x1400413fa
mov ecx, dword [rdi]
call fcn.140010830
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 0x1400413ee
cmp dword [rsp + 0x48], 3
jne 0x1400413ee
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.1400208fc
and qword [rbx], 0
xor eax, eax
jmp 0x1400413d9
call fcn.14002a8c8
int3

Function at 0x140041818
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140041871
xor eax, eax
jmp 0x140041895
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 0x140047c10
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 0x140047c87
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 0x140047c57
call fcn.14002bf08
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x140047c71
call fcn.14002bf08
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x140047c87
call fcn.14002bf08
call fcn.14002ebf0
cmp qword [rax + 0x68], 0
je 0x140047ca1
mov rdx, rbx
mov rcx, rbp
call fcn.1400470d4
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.140047efc
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x140047cc8
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x140047cd7
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 0x140058bd0
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 0x140058bfb
call fcn.14002ebf0
mov rbx, qword [rax + 0x18]
lea r8, [0x1401f0768]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140058c54
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140058c54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140058c54
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rbp
mov r8d, eax
call fcn.140058c6c
jmp 0x140058c56
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 0x14008d9b0
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 0x14008d9e2
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14008d9e2
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.14010f2bc
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x14008fd18
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 0x14008ff06
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.0x1400677b6.0]
mov rbx, rax
call fcn.14002ebf0
mov rbx, qword [rbx]
xor edx, edx
mov rcx, qword [rax + 8]
call fcn.1400346ac
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 0x14008fdc8
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 0x14008fded
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400677b6.0]
test ebx, ebx
jne 0x14008fef7
call fcn.14002afec
mov rcx, rax
test rax, rax
je 0x14008ff14
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400677b6.0]
add rax, 0x18
mov qword [rbp + 0x6f], rax
call fcn.14002afec
mov rcx, rax
test rax, rax
je 0x14008ff1f
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400677b6.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.14008df90
mov rbx, qword [rbp + 0x7f]
test rbx, rbx
je 0x14008fe8f
mov rcx, rbx
call fcn.1401c7a38
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 0x14008feb1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400677b6.0]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008fed6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400677b6.0]
cmp qword [rbp + 7], 0
jne 0x14008fdf5
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14008fef0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14008ff08
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14008ff06
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.140010520
nop
mov ecx, 0x80004005
call fcn.140010520
int3
Function at 0x140090cf0
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 0x140090d2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140090d2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbx + 0x18]
mov ecx, eax
call fcn.140131670
mov rax, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x140091040
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test r8d, r8d
jne 0x140091052
xor eax, eax
jmp 0x140091080
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 0x14009107c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbx + 0x18]
mov ecx, eax
call fcn.140131670
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret

Function at 0x14009115c
Capabilities:
Write file on windows

Disassembly:
test r8d, r8d
je 0x1400911ab
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 0x14009119b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rdi]
mov ecx, eax
call fcn.140131670
cmp dword [rsp + 0x50], ebx
jne 0x1400911ac
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140010710
or edx, 0xffffffff
mov r8, rax
lea ecx, [rdx + 0xe]
call fcn.1401311d0
int3

Function at 0x1400b07ac
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 0x1400b081b
call fcn.140033d30
test rax, rax
je 0x1400b07ea
mov rdx, qword [rax]
mov rcx, rax
mov rax, qword [rdx + 0xe8]
call qword [case.0x1400677b6.0]
test rax, rax
je 0x1400b07ea
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 0x1400b081b
mov eax, 1
jmp 0x1400b081d
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400ff884
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 0x1400ffa33
je 0x1400ffa59
cmp eax, 0xa1
jb 0x1400ffaa4
cmp eax, 0xa2
jbe 0x1400ffa59
cmp eax, 0xa3
jbe 0x1400ffaa4
cmp eax, 0xa5
jbe 0x1400ffa59
cmp eax, 0xa6
jbe 0x1400ffaa4
cmp eax, 0xa8
jbe 0x1400ffa59
cmp eax, 0x100
jne 0x1400ffaa4
cmp dword [rbx + 0x154], 0xffffffff
je 0x1400ffa59
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400ffa59
mov rax, qword [rsi + 0x10]
sub rax, 0x21
je 0x1400ff98d
cmp rax, 1
jne 0x1400ffa59
mov eax, dword [rbx + 0x154]
mov r8d, dword [rbx + 0x150]
lea esi, [rax + 1]
add eax, r8d
cmp esi, eax
jge 0x1400ffac2
mov eax, esi
mov rcx, rbx
cdq
idiv r8d
mov rax, qword [rbx]
mov ebp, edx
mov rax, qword [rax + 0x4f8]
call qword [case.0x1400677b6.0]
test eax, eax
jne 0x1400ff9d5
mov ecx, dword [rbx + 0x154]
inc esi
mov r8d, dword [rbx + 0x150]
add ecx, r8d
cmp esi, ecx
jl 0x1400ff953
jmp 0x1400ffac2
mov ecx, dword [rbx + 0x154]
lea esi, [rcx - 1]
add esi, dword [rbx + 0x150]
cmp esi, ecx
jle 0x1400ffac2
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.0x1400677b6.0]
test eax, eax
jne 0x1400ff9d5
dec esi
cmp esi, dword [rbx + 0x154]
jg 0x1400ff9a4
jmp 0x1400ffac2
mov rax, qword [rbx]
mov edx, ebp
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
mov rax, qword [rax + 0x428]
call qword [case.0x1400677b6.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x420]
call qword [case.0x1400677b6.0]
mov rcx, rax
call fcn.14002dd28
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
mov rax, qword [rax + 0x4e0]
call qword [case.0x1400677b6.0]
mov dword [rbx + 0x3b8], edi
jmp 0x1400ffac2
cmp eax, 0x200
jb 0x1400ffaa4
cmp eax, 0x202
jbe 0x1400ffa59
cmp eax, 0x203
jbe 0x1400ffaa4
cmp eax, 0x205
jbe 0x1400ffa59
add eax, 0xfffffdf9
cmp eax, 1
ja 0x1400ffaa4
mov rax, qword [rbx + 0x1c0]
mov ebp, 0x407
test rax, rax
je 0x1400ffa81
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x1400ffa81
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 0x1400ffaa4
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x1400ffaa4
mov r9, rsi
xor r8d, r8d
mov edx, ebp
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsi + 8], 0x203
jne 0x1400ffac9
lea rax, [rbx + 0x3208]
test rax, rax
je 0x1400ffabd
mov rdi, qword [rax + 0x40]
cmp qword [rsi], rdi
jne 0x1400ffac9
mov eax, 1
jmp 0x1400ffad4
mov rdx, rsi
mov rcx, rbx
call fcn.1400f876c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14016e4e4
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.1401ce73c
test eax, eax
jne 0x14016e548
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.140035378
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14016e55a
jmp 0x14016e508
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 0x1401ac874
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 0x1401ac99f
mov ebx, dword [rdx + 0x10]
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1401ac99f
cmp ebx, 0x43
je 0x1401ac8c2
cmp ebx, 0x2d
jne 0x1401ac99f
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1401ac99f
call qword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.14002afec
mov rcx, rax
test rax, rax
je 0x1401ac9be
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400677b6.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.140010630
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 0x1401ac99f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400677b6.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.140010520
int3

Function at 0x1401c2dcc
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 0x1401c2c5f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401c2c5f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401c2c5f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401c2c5f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401c2c5f
cmp dword [rcx + 0x84], 0xe
jbe 0x1401c2c5f
cmp dword [rcx + 0xf8], 0
je 0x1401c2c5f
mov ecx, ebx
call fcn.1401c2d00
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.1401c2af0
cmp dword [rbp + 0x20], 0
je 0x1401c2cac
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401c2cb4
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401c2bf8
Function at 0x1400035a0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0xaf030
call fcn.140007bf0
sub rsp, rax
mov rdi, rdx
mov dword [rsp + 0x20], 0
mov rbx, rcx
xor edx, edx
lea rcx, str.WinInet
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenW]
test rax, rax
je 0x14000364b
mov qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x14000364b
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0xaf000
call fcn.1400224b0
lea r9, [rsp + 0xaf050]
mov r8d, 0xaf000
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000364b
mov r8d, 0xaf000
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140021e10
mov rbx, qword [rsp + 0xaf040]
xor eax, eax
add rsp, 0xaf030
pop rdi
ret
Function at 0x140003ba0
Capabilities:
Enumerate processes
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x3e0
xor edx, edx
mov dword [rsp + 0x1a0], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x1a0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor edi, edi
test eax, eax
je 0x140003c9d
lea rax, str.VBoxService.exe
mov qword [rsp + 0x40], rax
lea rax, str.VBoxTray.exe
mov qword [rsp + 0x48], rax
nop dword [rax]
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x104
call fcn.1400224b0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x1cc]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r9, rdi
nop
mov r8, qword [rsp + r9*8 + 0x40]
lea rax, [rsp + 0x90]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140003c73
inc rax
test ecx, ecx
jne 0x140003c60
test edx, edx
je 0x140003d51
inc r9
cmp r9, 2
jl 0x140003c50
lea rdx, [rsp + 0x1a0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003c00
lea r8, [rsp + 0x3f0]
mov rcx, 0xffffffff80000000
lea rdx, str.ApplicationsVMwareHostOpen.exe
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x140003d51
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, 0xfff8d001
cmp qword [rsp + 0x58], rax
jb 0x140003d51
xor r9d, r9d
mov qword [rsp + 0x3f0], rdi
lea r8, [rsp + 0x3f0]
lea rcx, str.D:P_D_OICI_GA___WD__A_OICI_GA___SY__A_OICI_GA___OW_
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x140003d39
mov rbx, qword [rsp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbx
mov edx, 4
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_SetKernelObjectSecurity]
test eax, eax
je 0x140003d39
mov rcx, qword [rsp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.140003660
mov rbx, qword [rsp + 0x3f8]
xor eax, eax
add rsp, 0x3e0
pop rdi
ret
mov ecx, 0xffffffff
call fcn.14000e63c
int3