joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001140
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rbx, rdx
mov rdi, rcx
mov r10, rcx
lea r11, [rdx + 1]
mov esi, 0x56
lea rbp, [0x1800322f0]
nop dword [rax]
movzx r8d, byte [r11 - 1]
movzx r9d, byte [r11]
movzx edx, byte [r11 + 1]
mov eax, r8d
add r10, 4
add r11, 3
shr rax, 2
movzx eax, byte [rax + rbp]
mov byte [r10 - 4], al
movsx eax, r8b
and eax, 3
shl eax, 4
movsxd rcx, eax
mov eax, r9d
shr eax, 4
or rcx, rax
movzx eax, byte [rcx + rbp]
mov byte [r10 - 3], al
movsx eax, r9b
and eax, 0xf
shl eax, 2
movsxd rcx, eax
mov eax, edx
shr rax, 6
or rcx, rax
movzx eax, byte [rcx + rbp]
mov byte [r10 - 2], al
movsx rax, dl
and eax, 0x3f
dec rsi
movzx eax, byte [rax + rbp]
mov byte [r10 - 1], al
jne 0x180001170
movzx ecx, byte [rbx + 0x102]
movzx edx, byte [rbx + 0x103]
mov rbx, qword [rsp + 8]
mov eax, ecx
add r10, 4
shr rax, 2
movzx eax, byte [rax + rbp]
mov byte [r10 - 4], al
movsx eax, cl
and eax, 3
shl eax, 4
movsxd rcx, eax
mov eax, edx
shr rax, 4
or rcx, rax
movzx eax, byte [rcx + rbp]
movsx ecx, dl
mov byte [r10 - 3], al
and ecx, 0xf
shl ecx, 2
movsxd rcx, ecx
movzx ecx, byte [rcx + rbp]
mov rbp, qword [rsp + 0x10]
mov byte [r10 - 2], cl
mov byte [r10 - 1], 0x3d
mov byte [r10], sil
mov rsi, qword [rsp + 0x18]
sub r10, rdi
mov rdi, qword [rsp + 0x20]
lea eax, [r10 + 1]
ret

Function at 0x1800017b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x18003a020]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbx, rcx
or rcx, 0xffffffffffffffff
mov rdi, r8
mov r9, r8
xor eax, eax
mov esi, edx
repne scasb al, byte [rdi]
mov rdx, r9
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x20]
call fcn.1800016c0
xor edx, edx
mov edi, edx
test esi, esi
je 0x180001878
mov r8d, esi
inc edx
and edx, 0x800000ff
jge 0x18000181a
dec edx
or edx, 0xffffff00
inc edx
movsxd r9, edx
movzx r10d, byte [rsp + r9 + 0x20]
add edi, r10d
and edi, 0x800000ff
jge 0x180001838
dec edi
or edi, 0xffffff00
inc edi
movsxd rcx, edi
movzx eax, byte [rsp + rcx + 0x20]
mov byte [rsp + r9 + 0x20], al
mov byte [rsp + rcx + 0x20], r10b
movzx ecx, byte [rsp + r9 + 0x20]
add ecx, r10d
and ecx, 0x800000ff
jge 0x180001865
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd rax, ecx
inc rbx
movzx ecx, byte [rsp + rax + 0x20]
xor byte [rbx - 1], cl
dec r8
jne 0x180001806
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180010fa0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180001c00
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov edi, r8d
mov r14, rdx
mov r13, rcx
xor ebx, ebx
mov qword [rsp + 0x58], rbx
lea rcx, str.ADVAPI32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
lea rdx, str.RegCreateKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
lea rdx, str.RegSetValueExA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.RegDeleteKeyA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RegDeleteValueA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RegOpenKeyExA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
lea rdx, str.RegCloseKey
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, 0xffffffff80000001
call qword [rsp + 0x60]
test eax, eax
jne 0x180001d86
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, r13
mov rcx, 0xffffffff80000001
call qword [rsp + 0x68]
test eax, eax
jne 0x180001d86
cmp edi, 2
jbe 0x180001d4f
cmp edi, 4
jne 0x180001d86
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x58]
call r15
test eax, eax
jne 0x180001d86
lea ebx, [rdi - 3]
jmp 0x180001d86
mov r13, qword [rsp + 0xc8]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
mov r9d, edi
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x58]
call r15
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov rcx, 0xffffffff80000001
call r12
mov rcx, qword [rsp + 0x58]
call r12
test rsi, rsi
je 0x180001da6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180001dd0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x1d0
mov rax, qword [0x18003a020]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
xor esi, esi
lea rax, vtable.CClientSocket.0
mov rbx, rcx
mov qword [rcx], rax
mov dword [rcx + 0x20], esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
lea rdi, vtable.CBuffer.0
add rcx, 0x28
mov qword [rcx - 0x20], rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x70]
mov qword [rbx + 0x50], rdi
mov dword [rbx + 0x68], esi
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x60], rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0xb8]
mov qword [rbx + 0x98], rdi
mov dword [rbx + 0xb0], esi
mov qword [rbx + 0xa0], rsi
mov qword [rbx + 0xa8], rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rdx, [rsp + 0x20]
mov ecx, 0x202
mov qword [rbx + 0x188], rsi
mov dword [rbx + 0x190], esi
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea edx, [rsi + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
xor ecx, ecx
mov byte [rbx + 0x178], sil
mov qword [rbx + 0x168], 0xffffffffffffffff
mov qword [rbx + 0x160], rsi
mov qword [rbx + 0x170], rax
call fcn.1800113d0
mov rcx, rax
call fcn.18001138c
mov rax, rbx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.180010fa0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180002010
Capabilities:
Connect socket
Create thread
Get local ipv4 addresses
Get socket information
Resolve dns
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x18003a020]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
call fcn.180002740
mov rcx, qword [rdi + 0x170]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, 1
mov byte [rdi + 0x178], 0
lea ecx, [rdx + 1]
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi + 0x168], rax
cmp rax, 0xffffffffffffffff
jne 0x18000207a
xor al, al
jmp 0x1800021e0
lea r9, [rbp - 1]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x180002073
mov rax, qword [rbp - 1]
movzx ecx, si
mov rdx, qword [rax + 0x20]
mov eax, dword [rdx]
mov dword [rbp + 0x1f], eax
mov eax, dword [rdx + 4]
mov dword [rbp + 0x23], eax
mov eax, dword [rdx + 8]
mov dword [rbp + 0x27], eax
mov eax, dword [rdx + 0xc]
mov dword [rbp + 0x2b], eax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbp - 1]
mov word [rbp + 0x21], ax
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rcx, qword [rdi + 0x168]
lea rdx, [rbp + 0x1f]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x180002073
mov rcx, qword [rdi + 0x168]
xor eax, eax
lea r8, [rbp - 9]
lea rdx, [rbp + 0xf]
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov dword [rbp - 9], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
lea rcx, [rdi + 0xe0]
xor edx, edx
mov r8d, 0x80
call fcn.1800157e0
mov r9d, 0x80
lea r8, [rdi + 0xe0]
lea ecx, [r9 - 0x7e]
lea rdx, [rbp + 0x13]
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov rcx, qword [rdi + 0x168]
lea r9, [rbp - 5]
mov edx, 0xffff
mov r8d, 8
mov dword [rbp - 5], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
xor ebx, ebx
test eax, eax
jne 0x1800021b3
mov rcx, qword [rdi + 0x168]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 7]
lea r9d, [rbx + 0xc]
lea r8, [rbp + 0x2f]
mov qword [rsp + 0x30], rax
mov edx, 0x98000004
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov dword [rbp + 0x2f], 1
mov dword [rbp + 0x33], 0x2bf20
mov dword [rbp + 0x37], 0x1388
call qword [sym.imp.WS2_32.dll_WSAIoctl]
lea r8, [0x180002200]
mov r9, rdi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov byte [rdi + 0x178], 1
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x160], rax
mov al, 1
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180010fa0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180002740
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x168]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x80
xor ebx, ebx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 0x168]
call qword [sym.imp.KERNEL32.dll_CancelIo]
xchg dword [rdi + 0x178], ebx
mov rcx, qword [rdi + 0x168]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rdi + 0x170]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x48]
mov qword [rdi + 0x168], 0xffffffffffffffff
add rsp, 0x30
pop rdi
ret

Function at 0x180002b00
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor edi, edi
mov r15d, r8d
mov rsi, rdx
mov r14, rcx
mov ebp, r8d
mov r12d, edi
cmp r8d, 0x100000
jl 0x180002ba4
nop word [rax + rax]
mov ebx, edi
nop word [rax + rax]
mov rcx, qword [r14 + 0x168]
xor r9d, r9d
mov r8d, 0x100000
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov ecx, socket
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
test r13d, r13d
jg 0x180002b83
inc ebx
cmp ebx, 0xf
jl 0x180002b50
cmp ebx, 0xf
je 0x180002c0d
sub ebp, 0x100000
add r12d, r13d
add rsi, 0x100000
cmp ebp, 0x100000
jge 0x180002b40
test ebp, ebp
jle 0x180002be6
nop dword [rax + rax]
mov rcx, qword [r14 + 0x168]
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov ecx, socket
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jg 0x180002bde
inc edi
cmp edi, 0xf
jl 0x180002bb0
cmp edi, 0xf
je 0x180002c0d
add r12d, ebx
or eax, 0xffffffff
cmp r12d, r15d
cmove eax, r12d
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
or eax, 0xffffffff
jmp 0x180002bf0

Function at 0x180002c80
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
xor r8d, r8d
mov byte [rsp + 0x40], 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x48], rax
xor eax, eax
lea r8, [0x180002c20]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x48]
or edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x180002cf0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x18003a020]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r12, rcx
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
mov qword [rsp + 0x30], rax
lea rdx, str.GetThreadDesktop
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.GetUserObjectInformationA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
lea rdx, str.SetThreadDesktop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.CloseDesktop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov qword [rsp + 0x40], rax
lea rdx, [0x1800324a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov ecx, eax
call rbx
mov r14, rax
mov ebx, 1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rsp + 0x50]
lea edx, [rbx + 1]
mov rcx, r12
call qword [rsp + 0x48]
test eax, eax
jne 0x180002ddc
xor ebx, ebx
jmp 0x180002df1
mov rcx, r12
call r15
test eax, eax
jne 0x180002dea
xor ebx, ebx
jmp 0x180002df1
mov rcx, r14
call r13
nop
test rdi, rdi
je 0x180002dff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rsi, rsi
je 0x180002e0d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180010fa0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180002f00
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x18003a020]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, ecx
lea rcx, str.ADVAPI32.dll
mov r14b, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.OpenProcessToken
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.AdjustTokenPrivileges
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LookupPrivilegeValueA
mov rcx, rsi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.kernel32.dll
mov r13, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x180032528]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call rbx
test eax, eax
je 0x180003041
neg ebp
lea r8, [rsp + 0x3c]
lea rdx, str.SeShutdownPrivilege
sbb eax, eax
xor ecx, ecx
mov dword [rsp + 0x38], 1
and eax, 2
mov dword [rsp + 0x44], eax
call r13
mov rcx, qword [rsp + 0x30]
xor ebp, ebp
lea r8, [rsp + 0x38]
xor edx, edx
lea r9d, [rbp + 0x10]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call r12
lea rcx, [0x180032540]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x180032550]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov rcx, qword [rsp + 0x30]
movzx ebx, r14b
test eax, eax
cmovne ebx, ebp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x180003030
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rdi, rdi
je 0x18000303e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180010fa0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180003070
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1800031b0
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1800031b0
test rsi, rsi
je 0x1800031b0
mov qword [rsp + 0x70], r12
lea rdx, [rsp + 0x60]
xor r12d, r12d
mov rcx, rbx
mov dword [rsp + 0x60], r12d
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x60], eax
jne 0x1800030d1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x1800030f0
mov r8d, 0x104
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r12, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov edi, 0x104
mov eax, 2
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x78], r13
mov r13, 0xffffffffffffffff
mul rdi
cmovo rax, r13
mov rcx, rax
call fcn.180011430
mov r8d, edi
mov rcx, rbx
mov rdx, rax
mov rbp, rax
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov r9d, r13d
mov r8, rbp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, edi
jg 0x18000319f
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov r9d, r13d
mov r8, rbp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test rbp, rbp
je 0x180003186
mov rcx, rbp
call fcn.180011438
mov eax, ebx
mov rbp, qword [rsp + 0x68]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
test rbp, rbp
je 0x1800031ac
mov rcx, rbp
call fcn.180011438
xor eax, eax
jmp 0x180003188
mov r8d, 0x104
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextA]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800031d0
Capabilities:
Enumerate processes

Disassembly:
push r12
push r13
push r14
sub rsp, 0x30
mov r13, rdx
mov r14, rcx
mov rdx, r8
mov rcx, r13
mov r12, r8
mov dword [r8], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180003291
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
lea r15, [0x18003d3b8]
nop
mov rbx, r15
mov esi, select
nop dword [rax + rax]
mov rdx, qword [rbx - 8]
lea rcx, [r12 + 0x2c]
call fcn.18001169c
test eax, eax
jne 0x18000325f
mov rdx, qword [rbx]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r14
call fcn.180004590
add rbx, 0x10
dec rsi
jne 0x180003230
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180003220
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
add rsp, 0x30
pop r14
pop r13
pop r12
jmp fcn.180010fc0
Function at 0x1800032b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x18003a020]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp - 1]
mov dword [rbp - 1], 0x61766441
mov dword [rbp + 3], 0x32336970
mov dword [rbp + 7], 0x6c6c642e
mov byte [rbp + 0xb], 0
mov dword [rbp + 0x2f], 0x6f6c6c41
mov dword [rbp + 0x33], 0x65746163
mov dword [rbp + 0x37], 0x49646e41
mov dword [rbp + 0x3b], 0x6974696e
mov dword [rbp + 0x3f], 0x7a696c61
mov dword [rbp + 0x43], 0x64695365
mov byte [rbp + 0x47], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0x2f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 1]
mov dword [rbp + 0x17], 0x63656843
mov dword [rbp + 0x1b], 0x6b6f546b
mov dword [rbp + 0x1f], 0x654d6e65
mov dword [rbp + 0x23], 0x7265626d
mov rbx, rax
mov dword [rbp + 0x27], 0x70696873
mov byte [rbp + 0x2b], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0x17]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 1]
mov dword [rbp + 0xf], 0x65657246
mov rsi, rax
mov dword [rbp + 0x13], 0x646953
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
lea rcx, [rbp - 9]
mov r12, rax
lea rax, [rbp - 0x11]
lea r8d, [rdi + 0x20]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], edi
mov dword [rbp - 9], 0
mov dword [rsp + 0x20], edi
mov word [rbp - 5], 0x500
call rbx
mov dword [rbp - 0x19], eax
test eax, eax
je 0x180003408
mov rdx, qword [rbp - 0x11]
lea r8, [rbp - 0x19]
xor ecx, ecx
call rsi
mov rcx, qword [rbp - 0x11]
call r12
mov eax, dword [rbp - 0x19]
cmp eax, 1
sete al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.180010fa0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180003440
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x18003a020]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r12, rcx
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x19], 0x6e72654b
mov dword [rbp - 0x15], 0x32336c65
mov dword [rbp - 0x11], 0x6c6c642e
mov byte [rbp - 0xd], 0
mov dword [rbp + 0xf], 0x53746547
mov dword [rbp + 0x13], 0x65747379
mov dword [rbp + 0x17], 0x6d69546d
mov dword [rbp + 0x1b], 0x46734165
mov dword [rbp + 0x1f], 0x54656c69
mov dword [rbp + 0x23], 0x656d69
mov dword [rbp + 0x27], 0x656c6946
mov dword [rbp + 0x2b], 0x656d6954
mov dword [rbp + 0x2f], 0x6f4c6f54
mov dword [rbp + 0x33], 0x466c6163
mov dword [rbp + 0x37], 0x54656c69
mov dword [rbp + 0x3b], 0x656d69
mov dword [rbp - 9], 0x656c6946
mov dword [rbp - 5], 0x656d6954
mov dword [rbp - 1], 0x79536f54
mov dword [rbp + 3], 0x6d657473
mov dword [rbp + 7], 0x656d6954
mov byte [rbp + 0xb], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0xf]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x27]
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 9]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x29]
mov rdi, rax
call rsi
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call rbx
test eax, eax
je 0x180003559
lea rcx, [rbp - 0x21]
mov rdx, r12
call rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180010fa0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret