joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8da800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x8da978
movzx edx, byte [rax]
nop
test edx, edx
jne 0x8da83c
test r8b, r8b
jne 0x8da83c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x8da84f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x8da938
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x8da926
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x8da91c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x8da8a3
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x8da8e6
mov eax, 1
cmp rax, rbx
ja 0x8da8d5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.008ebe80
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x8da914
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x8da8dd
mov r8d, eax
mov eax, r10d
jmp 0x8da8a8
mov rcx, rbx
call fcn.008ebdc0
xor eax, eax
mov rcx, rax
call fcn.008ebdc0
mov eax, r8d
mov rcx, rbx
call fcn.008ebe80
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x8da96e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x8da931
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x8da855
mov eax, edx
mov rcx, rbx
call fcn.008ebdc0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.008ebdc0
nop
int3
Function at 0x8e0c40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x8e0cf9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x008e0d40]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.008e9620
xorps xmm15, xmm15
mov r14, qword [0x01796cb8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.008e9760
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.008e0c40
Function at 0x8eb860
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x01797200]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x017969e7], 0
je 0x8eb896
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x01797720]
aesenc xmm0, xmmword [0x01797730]
aesenc xmm0, xmmword [0x01797740]
movq rax, xmm0
ret
jmp 0x8999a0

Function at 0x8ed300
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, str.runtime:_signal_received_on_thread_not_created_by_Go._n
mov qword [rsp + 8], rdx
lea r8d, [0x01796a1c]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.008eb740
add rsp, 0x30
ret

Function at 0x8ed840
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x8ed86c
call fcn.008eb740
shl rcx, 3
add rcx, 0x1480
mov qword [0x01796cb8], rcx
ret
Function at 0x180001080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r15
sub rsp, 0x28
mov qword [rsp + 0x60], r13
xor r15d, r15d
mov qword [rsp + 0x20], r14
mov r13d, r9d
mov edi, r8d
mov r14, rdx
mov rbx, rcx
cmp qword [rcx + 8], r15
jne 0x1800010ae
mov eax, r15d
jmp 0x1800010b4
mov eax, dword [rcx + 0x10]
sub eax, dword [rcx + 8]
lea ecx, [rax + rdi]
mov qword [rsp + 0x50], rbp
cmp ecx, dword [rbx + 0x18]
jb 0x18000114d
pxor xmm0, xmm0
mov eax, ecx
mov qword [rsp + 0x58], r12
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x1800116a8]
call fcn.180008ff4
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rcx + 4]
cvttsd2si rbp, xmm0
shl ebp, 0xa
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, qword [rbx + 8]
mov rsi, rax
test rdx, rdx
jne 0x18000110f
mov ecx, r15d
jmp 0x180001114
mov ecx, dword [rbx + 0x10]
sub ecx, edx
mov r12d, ecx
mov r8d, ecx
mov rcx, rax
call fcn.180003060
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180001139
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rax, [r12 + rsi]
mov r12, qword [rsp + 0x58]
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], ebp
mov rcx, qword [rbx + 0x10]
mov r8, rdi
mov rdx, r14
call fcn.180003060
mov r14, qword [rsp + 0x20]
test r13d, r13d
mov r13, qword [rsp + 0x60]
je 0x1800011ce
mov r10d, r15d
mov r9, r15
mov r11, r15
test edi, edi
jle 0x1800011ce
mov rbp, qword [rsp + 0x70]
nop dword [rax]
movzx ecx, byte [r9 + rbp]
mov r8, qword [rbx + 0x10]
inc r9
mov eax, 0x3a33d62b
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0xcccccccd
imul edx, edx, 0x233
sub ecx, edx
mul r10d
add cl, 0x37
xor byte [r11 + r8], cl
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r10d, ecx
cmove r9, r15
inc r10d
inc r11
cmp r10d, edi
jl 0x180001180
add qword [rbx + 0x10], rdi
mov rbp, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x28
pop r15
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800012f0
Capabilities:
Initialize winsock library

Disassembly:
push rdi
sub rsp, 0x1e0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1f8], rbx
mov rax, qword [0x1800141e0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rax, vtable.CBuffer.0
mov qword [rcx], rax
xor edi, edi
mov dword [rcx + 0x18], edi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x20], rax
mov dword [rcx + 0x38], edi
mov qword [rcx + 0x28], rdi
mov qword [rcx + 0x30], rdi
mov qword [rcx + 0x40], rax
mov dword [rcx + 0x58], edi
mov qword [rcx + 0x48], rdi
mov qword [rcx + 0x50], rdi
mov qword [rcx + 0x7c], rdi
mov dword [rcx + 0x84], edi
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x88], rax
mov ecx, edi
xchg dword [rbx + 0x94], ecx
mov qword [rbx + 0x70], 0xffffffffffffffff
mov qword [rbx + 0x60], rdi
mov qword [rbx + 0x68], rdi
mov dword [rbx + 0x90], edi
mov ecx, 0xfa000
call fcn.180002f58
mov qword [rbx + 0xb0], rax
mov byte [rbx + 0x78], dil
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180003030
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1e0
pop rdi
ret

Function at 0x180001550
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x94], 0
mov rbx, rcx
mov byte [rcx + 0x78], 0
je 0x1800015c6
xor edx, edx
lea r9, [rsp + 0x40]
mov r8d, 0x80
mov eax, edx
mov edx, 0xffff
mov dword [rsp + 0x20], 4
xchg dword [rcx + 0x94], eax
mov rcx, qword [rcx + 0x70]
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx + 0x88]
call qword [sym.imp.KERNEL32.dll_SetEvent]
add rsp, 0x30
pop rbx
ret
Function at 0x180002ed0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, r8d
mov r8, rcx
mov rbx, rdx
lea rcx, str.Network
mov edx, 0x1e
call fcn.1800038b8
lea rcx, str.192.168.1.115
mov r8, rbx
mov edx, 0xff
call fcn.1800038b8
xor eax, eax
lea r8, [0x180002d50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x18001524c], edi
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
mov qword [0x180016828], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret

Function at 0x180003d0f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800141e0]
jne 0x18000304a
rol rcx, 0x10
test cx, 0xffff
jne 0x180003046
repz ret
ror rcx, 0x10
jmp 0x180003c68
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180015860]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180015958]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180003ced
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180015860]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180003d0f
mov rax, qword [rsp + 0x88]
mov qword [0x180015958], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800158f8], rax
mov rax, qword [0x180015958]
mov qword [0x1800157d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800158e0], rax
mov dword [0x1800157c0], 0xc0000409
mov dword [0x1800157c4], 1
mov rax, qword [0x1800141e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800141e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180015858], eax
mov ecx, 1
call fcn.180005b48
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18000f400]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180015858], 0
jne 0x180003d96
mov ecx, 1
call fcn.180005b48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180007fe0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1800141e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180003f20
xor ebx, ebx
cmp qword [0x1800167f8], rbx
mov rdi, rax
jne 0x1800080f3
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1800081ca
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800081ca
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1800167f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180016800], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x180016808], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180016818], rax
test rax, rax
je 0x1800080ea
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180016810], rax
jmp 0x1800080fa
mov rax, qword [0x180016810]
jmp 0x180008101
mov rax, qword [0x180016810]
mov r11, qword [0x180016818]
cmp rax, rdi
je 0x180008168
cmp r11, rdi
je 0x180008168
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180016818]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180008168
test rax, rax
je 0x180008168
call rsi
test rax, rax
je 0x180008162
lea rcx, [rsp + 0x30]
mov r9d, ntohs
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180008162
test byte [rsp + 0x40], 1
jne 0x180008168
bts ebp, 0x15
jmp 0x1800081a8
mov rcx, qword [0x180016800]
cmp rcx, rdi
je 0x1800081a8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800081a8
call rax
mov rbx, rax
test rax, rax
je 0x1800081a8
mov rcx, qword [0x180016808]
cmp rcx, rdi
je 0x1800081a8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800081a8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1800167f8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800081ca
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1800081cc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180003030
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001880
Capabilities:
Create process on windows
Execute command
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, str.E:EFIOCResources
xor dil, dil
lea rcx, [rsp + 0x30]
call fcn.140001af0
xor esi, esi
nop word [rax + rax]
mov ecx, 0x10
movzx ebx, dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000191f
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000191f
test dil, dil
mov ecx, 0xc8
sete dil
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x3e8
mov edx, 0x258
test bl, bl
je 0x140001919
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001987
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001987
mov edx, 0x64
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
cmp qword [rsp + 0x48], 7
lea r8, [rsp + 0x30]
mov dword [rsp + 0x28], 1
lea rdx, str.explore
cmova r8, qword [rsp + 0x30]
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400019ce
mov ecx, 0x72
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400019ce
mov edx, 0x64
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
lea rcx, str.ren_E:EFIOCResourcesLabelLabelOrganizerDxe.efi_LabelOrganizerDxe.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.start_E:EFIOCResourcesLabelLabelOrganizerDxe.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, 0x10
mov ebx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001a2d
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001a2d
mov edx, 0x3e8
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
xor edx, edx
mov r8d, ebx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140001a2d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
jne 0x140001a62
lea rcx, str.Razer_Synapse_3.exe
call fcn.140001210
lea rcx, str.ProcessHacker.exe
call fcn.140001210
lea rcx, str.AyuGram.exe
call fcn.140001210
lea rcx, str.nvcplui.exe
call fcn.140001210
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400018d0
Function at 0x140002d14
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002d5e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002d5e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002d5e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002d5e
cmp dword [rcx + 0x84], 0xe
jbe 0x140002d5e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002d60
xor al, al
add rsp, 0x28
ret
Function at 0x140002c10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x130
mov rdi, rdx
mov byte [rdx], 0
mov edx, 4
mov ebp, r8d
mov rsi, rcx
mov r9, rcx
lea rcx, [rsp + 0x158]
lea r8d, [rdx - 3]
call fcn.1401c4e74
cmp rax, 1
jb 0x140002cf5
mov eax, dword [rsp + 0x158]
lea ebx, [rax - 1]
test ebx, ebx
js 0x140002cb9
nop dword [rax]
mov edx, 4
lea rcx, [rsp + 0x168]
mov r9, rsi
lea r8d, [rdx - 3]
call fcn.1401c4e74
cmp rax, 1
jb 0x140002cf5
cvttss2si ecx, dword [rsp + 0x168]
mov edx, 8
mov r9, rsi
lea r8d, [rdx - 7]
sub cl, bl
sub cl, 0x41
mov byte [rsp + rbx + 0x30], cl
lea rcx, [rsp + 0x20]
call fcn.1401c4e74
cmp rax, 1
jb 0x140002cf5
sub ebx, 1
jns 0x140002c60
mov eax, dword [rsp + 0x158]
cmp eax, ebp
jl 0x140002cc0
lea eax, [rbp - 1]
cdqe
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x30]
sub rdi, rcx
mov byte [rsp + rax + 0x30], 0
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rdx]
mov byte [rdi + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140002ce0
mov eax, 1
jmp 0x140002cf7
xor eax, eax
mov rbx, qword [rsp + 0x150]
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret

Function at 0x140002d10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ebx, ebx
nop
mov edx, 8
lea rcx, [rsp + 0x40]
mov r9, rdi
lea r8d, [rdx - 7]
call fcn.1401c4e74
cmp rax, 1
jb 0x140002d72
mov edx, 4
lea rcx, [rsp + 0x38]
mov r9, rdi
lea r8d, [rdx - 3]
call fcn.1401c4e74
cmp rax, 1
jb 0x140002d72
inc ebx
cmp ebx, 0x80
jl 0x140002d20
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140005320
Capabilities:
Delete file

Disassembly:
sub rsp, 0x228
lea rdx, [rsp + 0x20]
sub rdx, rcx
nop
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140005330
lea rax, [rsp + 0x20]
dec rax
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140005346
mov r8, qword [0x140286190]
xor edx, edx
nop dword [rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140005360
xor edx, edx
lea rcx, str.MDBSELMODEL.INF
nop dword [rax]
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140005380
add rsp, 0x228
jmp qword [sym.imp.KERNEL32.dll_DeleteFileA]

Function at 0x1400053a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov r14d, edx
mov r15d, ecx
lea rdx, [0x1401f6358]
mov rbx, r9
lea rcx, str.MDBSELMODEL.INF
mov rdi, r8
xor esi, esi
call fcn.1401c4c08
mov rbp, rax
test rax, rax
je 0x1400054d0
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x20]
mov qword [rsp + 0xd0], r12
mov r15d, 1
mov r12d, 4
mov r8d, r15d
mov edx, r12d
mov r9, rbp
call fcn.1401ca964
cmp rax, r15
mov dword [rsp + 0x20], r14d
mov r9, rbp
lea rcx, [rsp + 0x20]
mov r8d, r15d
mov edx, r12d
cmovb esi, r15d
call fcn.1401ca964
cmp rax, r15
mov ecx, 2
cmovb esi, ecx
lea rcx, [rsp + 0x30]
sub rcx, rdi
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rcx + rdi], al
lea rdi, [rdi + 1]
test al, al
jne 0x140005450
mov r9, rbp
lea rcx, [rsp + 0x30]
mov r8d, 0x80
mov rdx, r15
call fcn.1401ca964
cmp rax, 0x80
mov ecx, 3
cmovb esi, ecx
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140005490
mov r9, rbp
lea rcx, [rsp + 0x30]
mov r8d, 0x80
mov rdx, r15
call fcn.1401ca964
cmp rax, 0x80
mov rcx, rbp
cmovb esi, r12d
call fcn.1401c4978
mov r12, qword [rsp + 0xd0]
mov eax, esi
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400054f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x120
mov rbp, rdx
mov r14, rcx
mov edx, 4
mov r9, rcx
mov rcx, rbp
lea r8d, [rdx - 3]
call fcn.1401c4e74
cmp rax, 1
jb 0x140005609
xor edi, edi
cmp dword [rbp], edi
jle 0x140005602
lea rsi, [rbp + 8]
nop dword [rax + rax]
mov edx, 4
mov byte [rsp + 0x20], 0
mov r9, r14
lea rcx, [rsp + 0x148]
lea r8d, [rdx - 3]
call fcn.1401c4e74
cmp rax, 1
jb 0x140005609
movsxd rbx, dword [rsp + 0x148]
test ebx, ebx
jle 0x1400055e4
cmp ebx, 0x100
jg 0x1400055e6
lea eax, [rbx + 1]
mov r9, r14
movsxd rdx, eax
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.1401c4e74
cmp rax, 1
jb 0x140005609
cmp ebx, 2
jl 0x1400055dd
mov eax, ebx
xor r8d, r8d
cdq
sub eax, edx
sar eax, 1
movsxd r9, eax
test eax, eax
jle 0x1400055dd
lea rax, [rsp + rbx + 0x1f]
nop word [rax + rax]
movzx ecx, byte [rax]
lea rax, [rax - 1]
movzx edx, byte [rsp + r8 + 0x20]
mov byte [rsp + r8 + 0x20], cl
inc r8
mov byte [rax + 1], dl
cmp r8, r9
jl 0x1400055c0
mov byte [rsp + rbx + 0x20], 0
test ebx, ebx
js 0x140005609
lea rcx, [rsp + 0x20]
call fcn.1401d4970
mov qword [rsi], rax
inc edi
add rsi, 8
cmp edi, dword [rbp]
jl 0x140005540
mov eax, 1
jmp 0x14000560b
xor eax, eax
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret