joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001c30
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 edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140001ca5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140001ca5
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140001c95
nop
cmp rbx, rcx
jae 0x140001ca5
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140001c80
cmp rbx, rcx
jae 0x140001ca5
cmp word [rbx], 0
je 0x140001ca5
mov rax, rbx
jmp 0x140001ca7
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 0x140002860
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140056010]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov edi, 0xffffffff
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
nop dword [rax + rax]
lea rdx, [rsp + 0x4c]
lea rcx, [0x1400475a8]
call fcn.14001a9b0
test eax, eax
je 0x1400028d9
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400028b0
jmp 0x1400028dd
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140011970
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x1400100d0
Capabilities:
Create http request
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push rbp
push rsi
push r14
push r15
sub rsp, 0x38
mov rsi, rcx
lea r8, str.DownloadTest
xor r14d, r14d
lea rcx, [0x140090f60]
mov edx, 0x80
mov ebp, r14d
call fcn.14001b57c
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea edx, [r14 + 1]
lea rcx, str.JYTEST
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
test rax, rax
jne 0x14001017b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.InternetOpen
lea rdx, [0x140090f60]
test rsi, rsi
je 0x14001015c
mov r9, rsi
mov dword [rsp + 0x20], eax
lea rcx, str.error______s___s___s__failed._ErrorCode__d__n
call fcn.140001030
mov eax, 0x65b
add rsp, 0x38
pop r15
pop r14
pop rsi
pop rbp
ret
mov r9d, eax
lea rcx, str.error______s___s_failed._ErrorCode__d__n
call fcn.140001030
mov eax, 0x65b
add rsp, 0x38
pop r15
pop r14
pop rsi
pop rbp
ret
mov qword [rsp + 0x60], rbx
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x30], rdi
mov rcx, r15
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
je 0x14001029a
xor r9d, r9d
lea rdx, [rsp + 0x68]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x14001021b
nop dword [rax]
mov ecx, eax
call fcn.14001bda4
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
xor r9d, r9d
lea rdx, [rsp + 0x68]
xor r8d, r8d
mov rcx, rdi
mov ebp, eax
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test rbx, rbx
je 0x140010213
mov rcx, rbx
call fcn.14001bd9c
mov eax, dword [rsp + 0x68]
test eax, eax
jne 0x1400101d0
cmp ebp, 1
je 0x1400102dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [0x140051028]
lea rdx, [0x140090f60]
test rsi, rsi
je 0x140010252
mov r9, rsi
mov dword [rsp + 0x20], eax
lea rcx, str.error______s___s___s__failed._ErrorCode__d__n
call fcn.140001030
jmp 0x140010261
mov r9d, eax
lea rcx, str.error______s___s_failed._ErrorCode__d__n
call fcn.140001030
test rdi, rdi
je 0x14001026f
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x28], r14
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
jne 0x1400101b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.InternetOpenUrl
lea rdx, [0x140090f60]
test rsi, rsi
je 0x1400102c8
mov r9, rsi
mov dword [rsp + 0x20], eax
lea rcx, str.error______s___s___s__failed._ErrorCode__d__n
call fcn.140001030
jmp 0x1400102d7
mov r9d, eax
lea rcx, str.error______s___s_failed._ErrorCode__d__n
call fcn.140001030
mov r14d, 0x65b
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x60]
test rdi, rdi
je 0x1400102f9
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rsp + 0x30]
mov eax, r14d
add rsp, 0x38
pop r15
pop r14
pop rsi
pop rbp
ret
Function at 0x140010310
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x300
mov rax, qword [0x140056010]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov edi, edx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call fcn.140013860
xor eax, eax
mov dword [rsp + 0x70], WSAGetLastError
lea r8, str.ProcessStart_0_
mov qword [rsp + 0x50], rax
mov edx, 0x80
mov qword [rsp + 0x58], rax
lea rcx, [0x140090f60]
mov qword [rsp + 0x60], rax
call fcn.14001b57c
mov r8, rbx
lea rcx, [rsp + 0xe0]
mov edx, 0x104
call fcn.14001b57c
lea rax, [rsp + 0x50]
mov dword [rsp + 0xac], edi
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140010407
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, [rsp + 0xe0]
mov dword [rsp + 0x20], eax
lea r8, [0x1400510a8]
lea rdx, [0x140090f60]
lea rcx, str.error______s___s___s__failed._ErrorCode__d__n
call fcn.140001030
xor eax, eax
jmp 0x14001041c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140010417
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140011970
mov rbx, qword [rsp + 0x320]
add rsp, 0x300
pop rdi
ret

Function at 0x140010440
Capabilities:
Copy file

Disassembly:
sub rsp, 0x458
mov rax, qword [0x140056010]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r8, rcx
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14001b57c
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [0x140091ac0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov r8d, dword [0x140091ed4]
lea rdx, str.C:JYDummy_d.exe
lea rcx, [rsp + 0x230]
call fcn.140010040
mov edx, WSAStartup
lea rcx, [rsp + 0x230]
call fcn.1400014f0
lea r9, [rsp + 0x230]
lea r8, [rsp + 0x20]
lea rdx, str._s__start__s
lea rcx, [rsp + 0x20]
call fcn.140010040
inc dword [0x140091ed4]
lea rcx, [rsp + 0x20]
mov edx, 0x8000000
call fcn.140010310
test rax, rax
je 0x1400104ee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140011970
add rsp, 0x458
ret
Function at 0x140010510
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [0x140056010]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call fcn.140013860
xor eax, eax
mov dword [rsp + 0x70], WSAGetLastError
lea r8, str.AbusableProcessTest_0_
mov qword [rsp + 0x50], rax
mov edx, 0x80
mov qword [rsp + 0x58], rax
lea rcx, [0x140090f60]
mov qword [rsp + 0x60], rax
call fcn.14001b57c
mov r8, rbx
mov dword [rsp + 0xac], 4
mov edx, 0x104
lea rcx, [rsp + 0xe0]
call fcn.14001b57c
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140010608
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CreateProcess
lea r9, [rsp + 0xe0]
mov dword [rsp + 0x20], eax
lea rdx, [0x140090f60]
lea rcx, str.error______s___s___s__failed._ErrorCode__d__n
call fcn.140001030
mov eax, 0x65b
jmp 0x14001064a
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140010628
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [0x140051158]
jmp 0x1400105e2
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140010638
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140010648
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140011970
add rsp, 0x300
pop rbx
ret
Function at 0x140010670
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov rax, 0xffffffffffffffff
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140010691
lea r8, str.InjectDll_0_
mov edx, 0x80
lea rcx, [0x140090f60]
lea ebx, [rax*2 + 2]
call fcn.14001b57c
mov ecx, 1
call fcn.140010890
mov r9d, 0x1000
mov dword [rsp + 0x20], 4
mov r8d, ebx
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
jne 0x140010747
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [0x140051218]
lea rdx, [0x140090f60]
test rdi, rdi
je 0x140010727
mov r9, rdi
mov dword [rsp + 0x20], eax
lea rcx, str.error______s___s___s__failed._ErrorCode__d__n
call fcn.140001030
xor ecx, ecx
call fcn.140010890
mov eax, 0x65b
jmp 0x140010871
mov r9d, eax
lea rcx, str.error______s___s_failed._ErrorCode__d__n
call fcn.140001030
xor ecx, ecx
call fcn.140010890
mov eax, 0x65b
jmp 0x140010871
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140010775
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [0x140051238]
jmp 0x1400106f7
lea rcx, [0x140051260]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
jne 0x1400107be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.GetModuleHandle
lea rdx, [0x140090f60]
lea rcx, str.error______s___s_failed._ErrorCode__d__n
call fcn.140001030
xor ecx, ecx
call fcn.140010890
mov eax, 0x65b
jmp 0x140010871
lea rdx, [0x1400512a0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400107dc
lea rdi, [0x1400512b0]
jmp 0x140010812
mov qword [rsp + 0x30], 0
mov r9, rax
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
test rax, rax
jne 0x140010848
lea rdi, [0x1400512d0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rdx, [0x140090f60]
mov r8, rdi
lea rcx, str.error______s___s_failed._ErrorCode__d__n
call fcn.140001030
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.140010890
mov eax, 0x65b
jmp 0x140010871
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
call fcn.140010890
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140010890
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140056010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov ebx, ecx
mov dword [rsp + 0x30], SafeArrayAccessData
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400109a9
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400109a9
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov r9d, sendto
mov qword [rsp + 0x5c], rax
xor edx, edx
lea rax, [rsp + 0x30]
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x64], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400109a9
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x48], 1
test ebx, ebx
je 0x140010959
or dword [rsp + 0x54], 2
jmp 0x14001095e
and dword [rsp + 0x54], 0xfffffffd
mov r9d, dword [rsp + 0x30]
lea r8, [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400109a9
mov eax, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140011970
add rsp, 0x70
pop rbx
ret
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140011970
add rsp, 0x70
pop rbx
ret
Function at 0x1400118c0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [rsp + 0x24]
mov r9d, 0x40
mov ecx, ebx
mov r8d, 0x1000
shr rcx, 1
mov rdx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x140011908
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140051910]
call fcn.140001820
xor ecx, ecx
lea eax, [rbx + rbx*4]
lea edx, [rax + rax]
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x140011941
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualAlloc___ERROR__d__n
call fcn.140001820
xor eax, eax
add rsp, 0x50
pop rbx
ret
lea rcx, str.VirutalAlloc___Success_n
call fcn.140001820
xor eax, eax
add rsp, 0x50
pop rbx
ret

Function at 0x14001a674
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14001a448
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001a448
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001a448
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001a448
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001a448
cmp dword [rcx + 0x84], 0xe
jbe 0x14001a448
cmp dword [rcx + 0xf8], esi
je 0x14001a448
mov ecx, r14d
call fcn.14001a590
mov ecx, 2
call fcn.140021108
nop
cmp byte [0x140090440], 0
jne 0x14001a512
mov r15d, 1
mov eax, r15d
xchg dword [0x140090434], eax
test ebx, ebx
jne 0x14001a4bb
mov rdi, qword [0x140056010]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140090438]
cmp rcx, rax
je 0x14001a4b2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400126a8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140090680]
jmp 0x14001a4c7
cmp ebx, r15d
jne 0x14001a4cd
lea rcx, [0x140090698]
call fcn.14001cc4c
nop
test ebx, ebx
jne 0x14001a4e4
lea rdx, [0x140030778]
lea rcx, [0x140030758]
call fcn.14001cf14
lea rdx, [0x140030788]
lea rcx, [0x140030780]
call fcn.14001cf14
movzx eax, byte [0x140090440]
test esi, esi
cmove eax, r15d
mov byte [0x140090440], al
jmp 0x14001a512
mov ecx, 2
call fcn.14002115c
test esi, esi
jne 0x14001a529
mov ecx, r14d
call fcn.14001a544
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14001a3d8
Function at 0x140022a00
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1400229dd
call fcn.14001bd7c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.14001b870
or eax, 0xffffffff
jmp 0x1400229fa
sub dword [rcx + 0x10], 1
jns 0x1400229ec
add rsp, 0x28
jmp 0x14002bb90
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1400229bc
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14002b84c
call fcn.14001bd7c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.14001b870
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002b834
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14002b834
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14002b87e
lock or dword [rax + 0x14], 0x10
jmp 0x14002b834
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14002b89b
mov rcx, qword [rbp + 0x10]
call fcn.14002d28c
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140020f5c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14002de74
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14002b8f2
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14002b834
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14002b95e
mov rcx, qword [rbp + 0x10]
call fcn.140020f5c
cmp eax, 0xffffffff
je 0x14002b945
mov rcx, qword [rbp + 0x10]
call fcn.140020f5c
cmp eax, 0xfffffffe
je 0x14002b945
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140020f5c
movsxd rdi, eax
lea rsi, [0x1400908b0]
mov rcx, rbx
sar rdi, 6
call fcn.140020f5c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14002b94c
lea rax, [0x140056160]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002b95e
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14002b994
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14002b990
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14002b990
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14002b837
jmp 0x14002b804
Function at 0x14002bb98
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14002b9fe
call fcn.14001bd7c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.14001b870
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002b9e0
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14002b9e0
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x14002ba30
lock or dword [rax + 0x14], 0x10
jmp 0x14002b9e0
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14002ba4d
mov rcx, qword [rbp + 0x20]
call fcn.14002d28c
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x14002ba62
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x14002ba68
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.140020f5c
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14002de74
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x14002babb
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x14002b9e0
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14002bb27
mov rcx, qword [rbp + 0x20]
call fcn.140020f5c
cmp eax, 0xffffffff
je 0x14002bb0e
mov rcx, qword [rbp + 0x20]
call fcn.140020f5c
cmp eax, 0xfffffffe
je 0x14002bb0e
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.140020f5c
movsxd rdi, eax
lea r15, [0x1400908b0]
mov rcx, rbx
sar rdi, 6
call fcn.140020f5c
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x14002bb15
lea rax, [0x140056160]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002bb27
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x14002bb5d
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14002bb59
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14002bb59
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x14002bb7b
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x14002bb86
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x14002b9e5
jmp 0x14002b9ac
Function at 0x1800030e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x180098028]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rbx, [rcx + 0x60]
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x180063850]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x1800031ec
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800102a0
mov rdi, rax
cmp rbx, rax
je 0x18000319c
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x18000316e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180003169
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800031d5
mov rcx, r8
call fcn.18005f794
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1800031e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800031dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800031dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005f794
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
call fcn.18005edcc
lea rcx, str.HPESkinChanger
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0xe
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.180001cd0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180001f00
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x18000326a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003264
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180003264
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005f794
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18005f3b0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret