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

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
test r8d, r8d
jne 0x18001437a
lea eax, [rbx + 1]
jmp 0x18001438b
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18001455c
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
mov ecx, 0x494
call fcn.180014720
mov edx, 0x94
mov rcx, rax
mov rbp, rax
call fcn.18001487c
mov r13d, 0x100
mov rcx, rbp
mov edx, r13d
mov r14, rax
call fcn.18001487c
mov edx, r13d
mov rcx, rbp
mov rsi, rax
call fcn.18001487c
mov edx, r13d
mov rcx, rbp
mov r15, rax
call fcn.18001487c
mov edx, r13d
mov rcx, rbp
mov r12, rax
call fcn.18001487c
lea rdx, [rsp + 0x70]
mov rcx, r12
mov dword [rsp + 0x70], r13d
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rdx, [rsp + 0x70]
mov rcx, r15
mov dword [rsp + 0x70], r13d
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
call fcn.18000ec3c
mov r8d, 0x100
mov rdx, rbx
xor ecx, ecx
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x180014633
mov edx, 0x5c
mov rcx, rbx
call fcn.18001d370
mov rbx, rax
test rax, rax
je 0x180014633
inc rbx
jne 0x18001463a
lea rbx, [0x18002e892]
mov rcx, r14
mov dword [r14], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [r14 + 4]
mov rcx, rdi
mov dword [0x18004b760], eax
mov dl, byte [r14 + 4]
call fcn.18000def4
mov dl, byte [r14 + 8]
mov rcx, rdi
call fcn.18000def4
movzx edx, word [r14 + 0xc]
mov rcx, rdi
call fcn.18000df8c
mov rdx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
sar rdx, 0x20
call fcn.18000df5c
mov edx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rdi
call fcn.18000df5c
mov edx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call fcn.18000df5c
mov edx, r13d
mov rcx, rdi
call fcn.18000df5c
lea r8, str._s_t_s_t_s
mov r9, r15
mov edx, 0x100
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
call fcn.18001b5dc
or rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax], 0
jne 0x1800146d8
mov ecx, 0x3a
mov rdx, rsi
cmp eax, ecx
cmovg eax, ecx
mov rcx, rdi
mov r8d, eax
call fcn.18000df14
mov rcx, rbp
call fcn.180014814
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1800150e0
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov ebx, 1
mov edi, r8d
mov esi, edx
mov dword [rax + 0x20], ebx
mov ebp, ecx
call fcn.18000ed34
lea r15d, [rbx + 1]
xor r8d, r8d
mov edx, ebx
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_socket]
or r14, 0xffffffffffffffff
mov rbx, rax
cmp rax, r14
jne 0x18001512f
mov rax, r14
jmp 0x180015198
movzx ecx, si
mov word [rsp + 0x20], r15w
call qword [sym.imp.WS2_32.dll_ntohs_1]
lea r8, [rsp + 0x68]
mov edx, 0x8004667e
mov rcx, rbx
mov dword [rsp + 0x24], ebp
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, rbx
cmp eax, r14d
jne 0x18001516a
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x18001512a
lea rdx, [rsp + 0x20]
mov r8d, 0x10
call qword [sym.imp.WS2_32.dll_bind]
mov rcx, rbx
cmp eax, r14d
je 0x180015162
mov edx, edi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, r14d
jne 0x180015195
mov rcx, rbx
jmp 0x180015162
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x180015200
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.180015248
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [rax + 0xdac]
mov rcx, rbx
call fcn.180015594
test eax, eax
jle 0x180015234
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jb 0x18001521e
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180015720
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [0x180043420]
xor edi, edi
test rbx, rbx
je 0x1800157d6
mov eax, dword [rbx + 4]
test eax, eax
jne 0x180015751
cmp dword [rbx + 0xc], eax
jne 0x18001575a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0xc], eax
mov rdi, rbx
mov rbx, qword [rbx + 0x28]
jmp 0x180015733
test eax, eax
jne 0x180015751
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0xc]
cmp eax, 0x3e8
jbe 0x180015751
cmp dword [rbx + 0x10], 0
jne 0x180015783
mov rcx, qword [rbx + 0x20]
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
cmp dword [rbx + 0x10], 4
jne 0x180015798
mov rcx, qword [rbx + 0x20]
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x1800157ac
cmp dword [rbx + 0x10], 2
je 0x180015751
mov rax, qword [rbx + 0x28]
mov rcx, rbx
test rdi, rdi
je 0x1800157ca
mov qword [rdi + 0x28], rax
call fcn.18001b1e8
mov rbx, qword [rdi + 0x28]
jmp 0x180015733
mov qword [0x180043420], rax
call fcn.18001b1e8
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180015594
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r13
push r14
sub rsp, 0x40
and dword [rsp + 0x68], 0
mov rbx, qword [0x180043420]
xor edi, edi
cmp qword [0x180043428], rdi
mov rsi, rcx
jne 0x1800155d2
mov ecx, 0x100000
call fcn.18001b228
mov qword [0x180043428], rax
test rbx, rbx
je 0x180015709
mov r14d, 4
mov r13d, 0xffffc
cmp dword [rbx + 4], 1
jne 0x1800156fc
mov ecx, dword [rbx]
cmp dword [rbx + 0x10], r14d
jne 0x180015673
call qword [sym.imp.WS2_32.dll_ntohl_1]
mov rdx, qword [0x180043428]
xor r9d, r9d
mov dword [rdx], eax
xor eax, eax
mov dword [rsp + 0x70], 0x10
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov rcx, qword [rbx + 0x20]
lea rax, [rsp + 0x70]
add rdx, r14
mov r8d, r13d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
mov edx, eax
cmp eax, 0xffffffff
jne 0x18001565d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1800156fc
jmp 0x1800156cb
test eax, eax
je 0x1800156fc
mov rcx, qword [0x180043428]
mov byte [rdx + rcx + 4], 0
jmp 0x1800156ef
call qword [sym.imp.WS2_32.dll_ntohl_1]
lea r8, [rsp + 0x68]
mov edx, 0x4004667f
mov ecx, eax
mov rax, qword [0x180043428]
mov dword [rax], ecx
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov r8d, dword [rsp + 0x68]
cmp r8d, r13d
cmova r8d, r13d
mov dword [rsp + 0x68], r8d
cmp eax, 0xffffffff
je 0x1800156cb
test r8d, r8d
je 0x1800156fc
mov rdx, qword [0x180043428]
mov rcx, qword [rbx + 0x20]
add rdx, r14
call fcn.1800157e4
cmp eax, 0xffffffff
jne 0x1800156e0
mov rcx, qword [0x180043428]
and dword [rbx + 4], 0
mov r8d, r14d
mov edx, r14d
call rsi
jmp 0x1800156fc
mov edx, dword [rsp + 0x68]
cmp eax, edx
jne 0x1800156fc
mov rcx, qword [0x180043428]
mov r8d, 5
add edx, r14d
call rsi
inc edi
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800155e7
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
mov eax, edi
add rsp, 0x40
pop r14
pop r13
pop rdi
ret
Function at 0x180015864
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [rsp + 0x478], 0
mov dword [rsp + 0x47c], 0x64
lea ebx, [rax + 0x7530]
jmp 0x180015947
mov rax, qword [rdi + 0x20]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x240]
mov qword [rsp + 0x248], rax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x478]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x240], 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 1
call qword [sym.imp.WS2_32.dll_select]
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x30]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x180015955
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x240]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x180015947
mov rcx, qword [rdi + 0x20]
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x180015955
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x180015955
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jb 0x1800158a8
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x180015970
Capabilities:
Get socket status
Resolve dns
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x388]
sub rsp, 0x470
mov esi, r9d
mov r14d, r8d
mov r15, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [rsp + 0x30], 0
lea ebx, [rax + 0x7530]
mov dword [rsp + 0x34], 0x64
jmp 0x180015a25
mov rax, qword [rdi + 0x20]
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x160]
mov qword [rbp + 0x168], rax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x30]
xor edx, edx
xor ecx, ecx
mov dword [rbp + 0x160], 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], 1
call qword [sym.imp.WS2_32.dll_select]
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x50]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x180015a91
mov rcx, qword [rdi + 0x20]
lea rdx, [rbp + 0x160]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x180015a31
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jb 0x1800159b9
jmp 0x180015a91
mov rcx, qword [rbp + 0x3b0]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x180015a91
mov eax, 2
movzx ecx, si
mov word [rsp + 0x38], ax
call qword [sym.imp.WS2_32.dll_ntohs_1]
mov rcx, qword [rbp + 0x3b0]
mov word [rsp + 0x3a], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, qword [rdi + 0x20]
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x38]
xor r9d, r9d
mov r8d, r14d
mov rdx, r15
mov dword [rsp + 0x28], 0x10
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1800181bc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov byte [rsp + 0x28], 0x6b
mov byte [rsp + 0x29], 0x65
mov byte [rsp + 0x2a], 0x72
mov byte [rsp + 0x2b], 0x6e
mov byte [rsp + 0x2c], 0x65
mov byte [rsp + 0x2d], 0x6c
mov byte [rsp + 0x2e], 0x33
mov byte [rsp + 0x2f], 0x32
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x38], 0x4c
mov byte [rsp + 0x39], 0x6f
mov byte [rsp + 0x3a], 0x61
mov byte [rsp + 0x3b], 0x64
mov byte [rsp + 0x3c], 0x4c
mov byte [rsp + 0x3d], 0x69
mov byte [rsp + 0x3e], 0x62
mov byte [rsp + 0x3f], 0x72
mov byte [rsp + 0x40], 0x61
mov byte [rsp + 0x41], 0x72
mov byte [rsp + 0x42], 0x79
mov byte [rsp + 0x43], 0x41
mov byte [rsp + 0x44], 0
mov byte [rsp + 0x58], 0x4c
mov byte [rsp + 0x59], 0x6f
mov byte [rsp + 0x5a], 0x61
mov byte [rsp + 0x5b], 0x64
mov byte [rsp + 0x5c], 0x4c
mov byte [rsp + 0x5d], 0x69
mov byte [rsp + 0x5e], 0x62
mov byte [rsp + 0x5f], 0x72
mov byte [rsp + 0x60], 0x61
mov byte [rsp + 0x61], 0x72
mov byte [rsp + 0x62], 0x79
mov byte [rsp + 0x63], 0x45
mov byte [rsp + 0x64], 0x78
mov byte [rsp + 0x65], 0x41
mov byte [rsp + 0x66], 0
mov byte [rsp + 0x48], 0x56
mov byte [rsp + 0x49], 0x69
mov byte [rsp + 0x4a], 0x72
mov byte [rsp + 0x4b], 0x74
mov byte [rsp + 0x4c], 0x75
mov byte [rsp + 0x4d], 0x61
mov byte [rsp + 0x4e], 0x6c
mov byte [rsp + 0x4f], 0x41
mov byte [rsp + 0x50], 0x6c
mov byte [rsp + 0x51], 0x6c
mov byte [rsp + 0x52], 0x6f
mov byte [rsp + 0x53], 0x63
mov byte [rsp + 0x54], 0
mov byte [rsp + 0x68], 0x56
mov byte [rsp + 0x69], 0x69
mov byte [rsp + 0x6a], 0x72
mov byte [rsp + 0x6b], 0x74
mov byte [rsp + 0x6c], 0x75
mov byte [rsp + 0x6d], 0x61
mov byte [rsp + 0x6e], 0x6c
mov byte [rsp + 0x6f], 0x50
mov byte [rsp + 0x70], 0x72
mov byte [rsp + 0x71], 0x6f
mov byte [rsp + 0x72], 0x74
mov byte [rsp + 0x73], 0x65
mov byte [rsp + 0x74], 0x63
mov byte [rsp + 0x75], 0x74
mov byte [rsp + 0x76], 0
lea rcx, [rsp + 0x28]
mov rax, qword [rsp + 0x90]
call qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x90]
call qword [rax + 8]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x90]
call qword [rax + 8]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x18], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x90]
call qword [rax + 8]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x20], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x90]
call qword [rax + 8]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x28], rax
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 9
rep stosb byte [rdi], al
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0xd
rep stosb byte [rdi], al
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 0xf
rep stosb byte [rdi], al
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0xd
rep stosb byte [rdi], al
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xf
rep stosb byte [rdi], al
add rsp, 0x80
pop rdi
ret
Function at 0x1800197cc
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov qword [0x18004b750], rcx
mov ebx, 0x800
mov ecx, ebx
call fcn.18001b228
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov qword [0x18004b758], rax
call fcn.18001b4d0
mov rcx, qword [0x18004b758]
xor r14d, r14d
lea r9d, [r14 + 1]
mov edx, ebx
mov qword [rsp + 0x20], r14
mov r8d, r9d
call fcn.18001ac00
mov eax, r14d
lea rbp, [0x180040030]
xor byte [rax + rbp], 0x2e
inc rax
cmp rax, 0x1000
jl 0x180019833
lea rcx, [rsp + 0x30]
mov r8d, 0x1000
mov rdx, rbp
call fcn.180014838
jmp 0x18001992a
lea rcx, [rsp + 0x30]
call fcn.1800148e0
lea rcx, [rsp + 0x30]
movsx ebx, ax
call fcn.1800148e0
mov rcx, qword [0x18004b758]
movsx rdi, di
mov edx, ebx
movzx esi, ax
shl rdi, 4
mov word [rdi + rcx], bx
dec edx
je 0x180019914
dec edx
je 0x1800198fd
dec edx
jne 0x18001992a
movsx rbx, ax
mov rcx, rbx
call fcn.18001b228
mov r8, qword [0x18004b758]
lea rcx, [rsp + 0x30]
movsx edx, si
mov qword [rdi + r8 + 8], rax
call fcn.18001487c
mov rcx, qword [0x18004b758]
mov r8, rbx
mov rcx, qword [rdi + rcx + 8]
mov rdx, rax
call fcn.18001b8c0
mov rcx, qword [0x18004b758]
mov r9d, 1
mov rcx, qword [rdi + rcx + 8]
mov r8d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], r14
call fcn.18001ac00
jmp 0x18001992a
lea rcx, [rsp + 0x30]
call fcn.180014848
mov rcx, qword [0x18004b758]
mov dword [rdi + rcx + 8], eax
jmp 0x18001992a
lea rcx, [rsp + 0x30]
call fcn.1800148e0
mov rdx, qword [0x18004b758]
mov word [rdi + rdx + 8], ax
lea rcx, [rsp + 0x30]
call fcn.1800148e0
movzx edi, ax
test ax, ax
jg 0x18001985a
xor edx, edx
mov r8d, 0x1000
mov rcx, rbp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
jmp fcn.18001b4d0

Function at 0x18001a22c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
or rsi, 0xffffffffffffffff
mov rdi, rdx
mov rbx, rcx
lea edx, [rsi + 0x19]
lea r9d, [rsi + 5]
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [r14 + 0x10], rax
call fcn.18001a3bc
mov r8, qword [0x180047468]
test r8, r8
je 0x18001a2a1
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
ret
Function at 0x18001a2bc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, 1
mov rdi, rcx
mov rbx, rdx
add dword [0x180047460], esi
lea ecx, [rsi + 0x26]
call fcn.18001979c
cmp ax, si
jne 0x18001a2f6
mov rdx, rbx
mov rcx, rdi
call fcn.18001a22c
jmp 0x18001a311
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, rbx
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x18001a324
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ecx, 0x37
call fcn.18001979c
mov ecx, 0x27
movzx ebx, ax
call fcn.18001979c
mov edx, 1
xor ecx, ecx
movzx edi, ax
call fcn.18000d0d8
call fcn.18001acf8
cmp ebx, 1
jne 0x18001a378
cmp edi, ebx
jne 0x18001a36f
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18001a362
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]
cmp edi, 1
jne 0x18001a3b3
mov r8, qword [sym.imp.KERNEL32.dll_FatalExit]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FatalExit]

Function at 0x18001a754
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rax, [rbp + 0x20]
lea rcx, [rbp + 0x18]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
and dword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r8d, 0x20
mov dl, 2
mov dword [rbp + 0x18], 0
mov word [rbp + 0x1c], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp + 0x10], eax
test eax, eax
je 0x18001a7d4
mov rdx, qword [rbp + 0x20]
lea r8, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp + 0x10], ecx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp + 0x10]
add rsp, 0x60
pop rbp
ret
Function at 0x18001a7dc
Capabilities:
Impersonate user

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call fcn.18001a564
lea rax, [0x180047470]
mov qword [rsp + 0x28], rax
mov r9d, 9
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x20], 3
call qword [sym.imp.ADVAPI32.dll_LogonUserA]
test eax, eax
jne 0x18001a845
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x18
mov edx, eax
call fcn.18000e2a4
jmp 0x18001a932
mov rcx, qword [0x180047470]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x18001a863
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x19
jmp 0x18001a839
mov ecx, 0x800
call fcn.180014720
mov edx, 0x200
mov rcx, rax
mov qword [0x180047490], rax
call fcn.18001487c
mov rcx, qword [0x180047490]
mov edx, 0x200
mov qword [0x180047478], rax
call fcn.18001487c
mov rcx, qword [0x180047490]
mov edx, 0x400
mov qword [0x180047480], rax
call fcn.18001487c
mov rdx, qword [0x180047480]
mov r8d, 0x100
mov rcx, rbx
mov qword [0x180047488], rax
call fcn.18000f9f4
mov rdx, qword [0x180047478]
mov r8d, 0x100
mov rcx, rsi
call fcn.18000f9f4
mov rdx, qword [0x180047488]
mov r8d, 0x200
mov rcx, rdi
call fcn.18000f9f4
mov rcx, qword [0x180047470]
mov r8d, 0x400
mov rdx, rbx
mov dword [0x180047498], 1
call fcn.18001aa24
test eax, eax
je 0x18001a932
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rbx + rdx], 0
jne 0x18001a91e
mov r8d, 0xf
mov rcx, rbx
call rbp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18001af04
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov esi, r8d
mov rdi, rdx
mov rbp, rcx
test r8d, r8d
je 0x18001af5e
xor r9d, r9d
mov edx, ebx
mov rcx, rbp
lea r8d, [r9 + 1]
add rdx, rdi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x18001af5e
add ebx, eax
cmp ebx, 2
jb 0x18001af5a
lea eax, [rbx - 1]
cmp byte [rax + rdi], 0xa
jne 0x18001af5a
lea eax, [rbx - 2]
cmp byte [rax + rdi], 0xd
je 0x18001af76
cmp ebx, esi
jb 0x18001af28
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea ecx, [rbx - 2]
mov eax, ebx
mov byte [rcx + rdi], 0
jmp 0x18001af61

Function at 0x180023f80
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180023f96
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180023f98
xor eax, eax
test eax, eax
je 0x180023fa8
mov ecx, eax
call fcn.18001d9c0
or eax, 0xffffffff
jmp 0x180023faa
xor eax, eax
add rsp, 0x28
ret

Function at 0x180023fb0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180023fc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180023fca
xor eax, eax
test eax, eax
je 0x180023fda
mov ecx, eax
call fcn.18001d9c0
or eax, 0xffffffff
jmp 0x180023fdc
xor eax, eax
add rsp, 0x28
ret
Function at 0x180023fe4
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x180023ffa
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180023ffc
xor eax, eax
test eax, eax
je 0x18002400c
mov ecx, eax
call fcn.18001d9c0
or eax, 0xffffffff
jmp 0x18002400e
xor eax, eax
add rsp, 0x28
ret
Function at 0x95e0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0095e237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x95e0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x95e0c7
add dl, dl
jne 0x95e0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x95e14e
xor eax, eax
add dl, dl
jne 0x95e0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x95e205
add dl, dl
jne 0x95e10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95e11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95e128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95e135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x95e142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x95e0d6
mov eax, 1
add dl, dl
jne 0x95e15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95e16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x95e153
sub eax, ebx
mov ebx, 1
jne 0x95e1a4
mov ecx, 1
add dl, dl
jne 0x95e186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x95e193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x95e17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x95e0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x95e1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x95e1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x95e1b5
cmp eax, 0x7d00
jae 0x95e1f3
cmp eax, 0x500
jb 0x95e1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x95e0d6
cmp eax, 0x7f
ja 0x95e1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x95e0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x95e22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x95e0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20