joyce8/EMBER2024-capa huggingface dataset:
Function at 0x203a9c50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x203a9c6d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x203a9cc8
test al, 7
jne 0x203a9c60
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x203a9c81
mov rdx, qword [rax - 8]
test dl, dl
je 0x203a9cf2
test dh, dh
je 0x203a9cec
shr rdx, 0x10
test dl, dl
je 0x203a9ce6
test dh, dh
je 0x203a9ce0
shr rdx, 0x10
test dl, dl
je 0x203a9cda
test dh, dh
je 0x203a9cd4
shr edx, 0x10
test dl, dl
je 0x203a9cce
test dh, dh
jne 0x203a9c81
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x18000ed40
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rsp + 0x30], rax
call qword [sym.imp.kernel32.dll_TlsAlloc]
mov edi, eax
cmp eax, 0xffffffff
jne 0x18000ed8e
mov qword [rsp + 0x50], rbx
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 0
call fcn.18000eba0
test ebx, ebx
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x50]
jne 0x18000eda3
mov eax, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180313c00
add rsp, 0x40
pop rdi
ret
lea rdx, [0x1804c3180]
lea rcx, [rsp + 0x20]
call fcn.18000eb50
int3

Function at 0x18000ee50
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x180519194]
call qword [sym.imp.kernel32.dll_TlsGetValue]
test rax, rax
je 0x18000ee89
mov rdx, qword [rax + 8]
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.18003d850
xor edx, edx
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.18003d850

Function at 0x18000eea0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x28
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x180519194]
call qword [sym.imp.kernel32.dll_TlsGetValue]
xor r8d, r8d
test rax, rax
je 0x18000eed0
mov r9, qword [rax + 8]
jmp 0x18000eed3
mov r9, r8
cmp rdi, 0x3fc
ja 0x18000eef7
test r9, r9
je 0x18000eef7
mov rax, r8
cmp qword [r9 + rax*8], 0
je 0x18000ef05
inc r8d
inc rax
cmp rax, 2
jl 0x18000eee4
mov rcx, rbx
add rsp, 0x28
pop rdi
pop rbx
jmp fcn.1803141cc
movzx eax, byte [rbx + rdi]
mov byte [rbx], al
movsxd rax, r8d
mov qword [r9 + rax*8], rbx
add rsp, 0x28
pop rdi
pop rbx
ret
Function at 0x18000f200
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov r9d, eax
mov qword [rsp + 0x20], rbx
lea r8, [0x1804c3200]
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.18000b5e0
lea r8, [rsp + 0x40]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateMutexW]
mov rdi, rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.kernel32.dll_GetLastError]
test rdi, rdi
jne 0x18000f273
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x18000f2f2
cmp eax, 0xb7
jne 0x18000f288
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp byte [rbx], 0
jne 0x18000f2c1
lea rcx, [rbx + 8]
mov edx, 0x80000000
call qword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x18000f2be
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.kernel32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, ebx
jmp 0x18000f2f2
mov byte [rbx], 1
mov rcx, rdi
call qword [sym.imp.kernel32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
jmp 0x18000f2f2
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180313c00
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret

Function at 0x18000f370
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
mov r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.kernel32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x180518e50], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x18000f3e9
xor edx, edx
call qword [sym.imp.kernel32.dll_TerminateThread]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180313c00
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.18000f110]
call qword [sym.imp.kernel32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180313c00
add rsp, 0x40
pop rbx
ret
Function at 0x18000fc90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov eax, ebx
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x18000fce6
call fcn.18000fe50
mov dword [rbp - 0x59], ebx
lea rax, [0x18050ca68]
mov qword [rbp - 0x51], rax
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rsi], xmm0
xor eax, eax
jmp 0x18000fdd3
mov dword [rbp + 0x17], ebx
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], rbx
lea rcx, [rbp + 0x1f]
call fcn.180310614
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
xor eax, eax
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rax
lea rax, [rdi + 0x28]
test rdi, rdi
cmove rax, rbx
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x51], rax
mov ecx, dword [0x180519194]
call qword [sym.imp.kernel32.dll_TlsGetValue]
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x59]
mov ecx, dword [0x180519194]
call qword [sym.imp.kernel32.dll_TlsSetValue]
nop
mov r9, rsi
lea r8, [rbp - 0x39]
mov rcx, rdi
call fcn.1800101d0
test rax, rax
je 0x18000fd93
nop word [rax + rax]
lea rax, [rbx + 1]
cmp rbx, 0xffffffffffffffff
cmove rax, rbx
mov rbx, rax
mov r9, rsi
lea r8, [rbp - 0x39]
mov rcx, rdi
call fcn.1800101d0
test rax, rax
jne 0x18000fd70
mov rdx, qword [rbp - 0x49]
mov ecx, dword [0x180519194]
call qword [sym.imp.kernel32.dll_TlsSetValue]
nop
lea rdi, [rbp - 0x39]
mov esi, 0xa
nop dword [rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x18000fdbd
call fcn.1803141cc
add rdi, 8
sub rsi, 1
jne 0x18000fdb0
lea rcx, [rbp + 0x1f]
call fcn.1803106a0
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180313c00
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000fee0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x70
xor eax, eax
lea rbx, [rcx + 0x28]
test rcx, rcx
mov ecx, dword [0x180519194]
cmove rbx, rax
call qword [sym.imp.kernel32.dll_TlsGetValue]
test rax, rax
je 0x180010015
cmp qword [rax], rbx
je 0x18000ff1c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18000ff08
add rsp, 0x70
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x180010015
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x18000ffd9
cmp ecx, 1
jne 0x180010015
xorps xmm0, xmm0
mov dword [rbx + 0x50], 2
lea rdx, [rbx + 0x58]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
call fcn.1803105c0
xorps xmm0, xmm0
lea rax, [0x1804be450]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm0
call fcn.1803105c0
lea rcx, [rsp + 0x30]
call fcn.1803106a0
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call fcn.180310614
lea r8, [0x180504400]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1803105e8
lea rcx, [rsp + 0x58]
call fcn.1803106a0
lea rax, [0x1803cb130]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call fcn.180315da0
jmp 0x18000fffd
xorps xmm0, xmm0
mov dword [rbx + 0x50], 1
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call fcn.180310614
lea rcx, [rsp + 0x20]
call fcn.180310620
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x58]
call fcn.1803105b8
lea rcx, [rsp + 0x20]
call fcn.1803106a0
add rsp, 0x70
pop rbx
ret
Function at 0x180010720
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
mov ecx, 0x38
call fcn.180313d50
mov rbx, rax
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], rax
mov rcx, rbx
call fcn.18000efb0
mov qword [rbx + 0x28], r14
xor edi, edi
mov qword [rbx + 0x30], rdi
mov qword [r14], rbx
mov eax, 1
lock xadd dword [0x180518e58], eax
inc eax
cmp eax, 1
jne 0x1800107bb
lea ecx, [rdi + 2]
lea rdx, [rsp + 0x90]
call qword [sym.imp.ws2_32.dll_WSAStartup]
xchg dword [0x180518e5c], eax
mov ebx, edi
lock xadd dword [0x180518e5c], ebx
test ebx, ebx
jne 0x18001090f
mov ecx, 0xb0
call fcn.180313d50
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call fcn.1803bc5c0
xor r9d, r9d
mov rdx, r14
mov rcx, rbx
call fcn.18000f6b0
mov r15, rax
mov qword [rsp + 0x80], rax
mov rbp, qword [r14]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1800549b0
mov rax, qword [r15 + 0x18]
cmp qword [rbp + 0x28], rax
jne 0x1800108e7
mov qword [rsp + 0x30], rbp
mov rcx, rbp
call qword [sym.imp.kernel32.dll_EnterCriticalSection]
mov byte [rsp + 0x38], 1
mov rbx, qword [rbp + 0x30]
test rbx, rbx
je 0x180010893
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x18001086b
test rdi, rdi
je 0x18001086b
cmp rax, rdi
je 0x1800108fb
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18001088a
test rsi, rsi
je 0x18001088a
lea rdx, [rsi + 8]
add rcx, 8
call fcn.180315dc8
test eax, eax
je 0x1800108fb
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x180010854
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [r15 + 8], xmm0
mov rdx, qword [rbp + 0x30]
mov qword [r15 + 0x20], rdx
mov qword [rbp + 0x30], r15
mov rcx, rbp
call qword [sym.imp.kernel32.dll_LeaveCriticalSection]
nop
mov qword [r14 + 0x10], r15
mov rax, r14
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180313c00
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, [rsp + 0x40]
call fcn.18000f190
nop
mov rcx, rax
call fcn.18003d950
nop
lea rcx, [rsp + 0x58]
call fcn.18000f120
nop
mov rcx, rax
call fcn.18003d980
nop
mov dword [rsp + 0x74], edi
call fcn.18000eba0
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x78], rax
lea rdx, [0x1804c3298]
lea rcx, [rsp + 0x70]
call fcn.18000eb50
int3
Function at 0x1800109a0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rdi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rdi, r9
mov r14, rdx
mov rbp, rcx
cmp rcx, 0xffffffffffffffff
je 0x180010b01
mov qword [rsp + 0x50], rsi
test r8b, r8b
je 0x180010a17
movzx eax, byte [rdx]
test al, 8
je 0x180010a17
or al, 8
mov dword [rsp + 0x40], r15d
mov byte [rdx], al
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.ws2_32.dll_setsockopt]
test eax, eax
je 0x180010a17
call fcn.18000eba0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_closesocket]
mov esi, eax
test eax, eax
jne 0x180010a2e
mov dword [rdi], r15d
jmp 0x180010ac1
mov qword [rsp + 0x90], rbx
call fcn.18000eba0
mov rbx, rax
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
call fcn.18000eba0
mov rcx, qword [rdi + 8]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x180010a70
cmp dword [rdi], 0x2733
je 0x180010a8b
call fcn.18000eba0
mov rdx, qword [rdi + 8]
mov rax, qword [rax + 8]
cmp qword [rdx + 8], rax
jne 0x180010afd
cmp dword [rdi], 0x4d5
jne 0x180010afd
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_ioctlsocket]
and byte [r14], 0xfc
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_closesocket]
mov esi, eax
test eax, eax
jne 0x180010ade
mov dword [rdi], r15d
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180313c00
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rbp
ret
call fcn.18000eba0
mov rbx, rax
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov eax, esi
jmp 0x180010ab9
mov eax, r15d
jmp 0x180010ac6
Function at 0x180010b10
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push rbx
push r13
push r15
sub rsp, 0x2d0
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, qword [rsp + 0x320]
mov rax, r8
mov qword [rsp + 0x60], rax
mov r10, r9
mov qword [rsp + 0x50], r9
movzx r13d, dl
mov r15, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180010b75
mov dword [rsp + 0x50], 0x2719
call fcn.18000eba0
mov qword [rsp + 0x58], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
jmp 0x180010d37
cmp byte [rsp + 0x318], 0
mov qword [rsp + 0x2c8], rsi
je 0x180010b98
test r13b, 0x10
je 0x180010b98
xor esi, esi
mov dword [rbx], esi
xor eax, eax
jmp 0x180010d2f
mov qword [rsp + 0x2f8], rbp
xor esi, esi
mov qword [rsp + 0x2c0], rdi
mov qword [rsp + 0x2b8], r12
mov qword [rsp + 0x2b0], r14
lea r14, [rbx + 8]
nop
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x88]
mov qword [rsp + 0x28], rsi
mov r8d, r10d
mov rdx, rax
mov dword [rsp + 0x20], esi
mov rcx, r15
mov dword [rsp + 0x88], esi
call qword [sym.imp.ws2_32.dll_WSASend]
mov ebp, eax
call fcn.18000eba0
mov rdi, rax
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], rdi
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
mov ecx, dword [rbx]
cmp ecx, 0x40
jne 0x180010c30
mov dword [rsp + 0x78], 0x2746
call fcn.18000eba0
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rsp + 0x78]
jmp 0x180010c4f
cmp ecx, 0x4d2
jne 0x180010c56
mov dword [rsp + 0x40], 0x274d
call fcn.18000eba0
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
lea r14, [rbx + 8]
movups xmmword [rbx], xmm0
test ebp, ebp
jne 0x180010c6c
movsxd rax, dword [rsp + 0x88]
mov dword [rbx], esi
test eax, eax
jns 0x180010d0f
test r13b, 1
jne 0x180010d0d
call fcn.18000eba0
mov rcx, qword [r14]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x180010c90
cmp dword [rbx], 0x2733
je 0x180010caa
call fcn.18000eba0
mov rcx, qword [r14]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x180010d0d
cmp dword [rbx], 0x4d5
jne 0x180010d0d
lea ecx, [r15 + 1]
mov qword [rsp + 0x98], r15
xor r9d, r9d
mov dword [rsp + 0x90], 1
lea r8, [rsp + 0x90]
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.ws2_32.dll_select]
test eax, eax
js 0x180010cee
mov rax, qword [rsp + 0x60]
mov r10, qword [rsp + 0x50]
mov dword [rbx], esi
jmp 0x180010bc0
call fcn.18000eba0
mov rdi, rax
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
xor eax, eax
mov r12, qword [rsp + 0x2b8]
mov rdi, qword [rsp + 0x2c0]
mov rbp, qword [rsp + 0x2f8]
mov r14, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2c8]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.180313c00
add rsp, 0x2d0
pop r15
pop r13
pop rbx
ret
Function at 0x180010d60
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r9
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov esi, ecx
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180010dd3
mov dword [rdi], 0
cmp esi, 0x17
jne 0x180010dce
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
lea edx, [rsi + 0x12]
mov dword [rsp + 0x20], 4
lea r8d, [rsi + 4]
mov rcx, rax
call qword [sym.imp.ws2_32.dll_setsockopt]
mov rax, rbx
jmp 0x180010df9
call fcn.18000eba0
mov rbx, rax
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x38], rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180313c00
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x18001a3e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x140
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x28], rcx
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18001a408
mov rdx, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x18001a443
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18001a430
mov r8, rbx
lea rdx, [rsp + 0x28]
lea rcx, [0x180518ee0]
call fcn.18004a700
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x18001a47a
cmp rdx, qword [0x180518ee8]
je 0x18001a47a
add rdx, 0x30
mov rcx, rbp
call fcn.18002ff50
jmp 0x18001a5e9
mov rcx, rbx
call fcn.18001a190
test al, al
je 0x18001a496
mov rdx, rbx
mov rcx, rbp
call fcn.18002ff50
jmp 0x18001a5e9
cmp dword [0x18050ca40], 2
jg 0x18001a5bd
lea rcx, [rsp + 0x48]
call fcn.18002e7b0
mov dword [rsp + 0x130], 2
mov eax, dword [0x18050ca40]
cmp eax, 2
jg 0x18001a4da
lea rdx, [0x1804c3ee0]
lea rcx, [rsp + 0x48]
call fcn.18003d490
mov eax, dword [0x18050ca40]
cmp dword [rsp + 0x130], eax
jl 0x18001a524
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x18001a4f1
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.18004a450
mov eax, dword [0x18050ca40]
cmp dword [rsp + 0x130], eax
jl 0x18001a524
lea rdx, [0x1804c3f18]
lea rcx, [rsp + 0x48]
call fcn.18003d490
mov eax, dword [0x18050ca40]
cmp dword [rsp + 0x130], eax
jl 0x18001a5b2
mov ecx, dword [0x180517dc0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180518e4c], ecx
jle 0x18001a581
lea rcx, [0x180518e4c]
call fcn.180313cd8
cmp dword [0x180518e4c], 0xffffffff
jne 0x18001a581
lea rcx, [0x1803c91b0]
call fcn.1803141b4
lea rcx, [0x180518e4c]
call fcn.180313c6c
mov rsi, qword [0x18050ca38]
mov rax, qword [rsi]
mov rdi, qword [rax + 8]
mov ebx, dword [rsp + 0x130]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.180034990
mov r8d, ebx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call rdi
lea rcx, [rsp + 0x48]
call fcn.180012640
nop
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0
mov r8d, 0xa
lea rdx, [0x1804c2758]
mov rcx, rbp
call fcn.180015d20
mov rax, rbp
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800202f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rdx + 0x18], 0xf
mov rbx, rcx
mov r10, qword [rdx + 0x10]
mov r8, rdx
jbe 0x18002030a
mov r8, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x180020344
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor r9, rax
imul r9, r11
cmp rcx, r10
jb 0x180020330
mov r8, rdx
mov rcx, rbx
lea rdx, [rsp + 0x20]
call fcn.18004a700
mov rax, qword [rax + 8]
test rax, rax
je 0x18002036d
cmp rax, qword [rbx + 8]
je 0x18002036d
mov rax, qword [rax + 0x30]
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x180020380
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 0xf
mov rsi, rcx
mov r9, qword [rdx + 0x10]
mov r8, rdx
jbe 0x1800203a3
mov r8, qword [rdx]
xor ecx, ecx
movabs rbx, 0xcbf29ce484222325
test r9, r9
je 0x1800203d4
movabs r10, 0x100000001b3
nop
movzx eax, byte [r8 + rcx]
inc rcx
xor rbx, rax
imul rbx, r10
cmp rcx, r9
jb 0x1800203c0
mov r8, rdx
mov r9, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18004a700
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x180020464
mov rdx, qword [rsi + 0x30]
and rdx, rbx
shl rdx, 4
add rdx, qword [rsi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x180020424
cmp rax, rdi
jne 0x18002041a
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x18002042f
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x18002042f
cmp rax, rdi
jne 0x18002042f
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
lea rcx, [rdi + 0x30]
dec qword [rsi + 0x10]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
call fcn.18002b110
lea rcx, [rdi + 0x10]
call fcn.180034e00
mov edx, 0x38
mov rcx, rdi
call fcn.180313c20
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180020700
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
lea r8, [rsp + 0x30]
mov rsi, rcx
mov qword [rsp + 0x20], rbp
mov rdx, rcx
mov rcx, qword [0x180518e98]
lea r9d, [rbp + 8]
call qword [sym.imp.kernel32.dll_ReadProcessMemory]
mov rcx, qword [0x180518e98]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov r8d, 0xa8
call qword [sym.imp.kernel32.dll_VirtualAllocEx]
mov ecx, 0xa8
mov rbx, rax
call fcn.1803141d4
mov rdx, qword [rsp + 0x30]
mov r9d, 0xa8
mov rcx, qword [0x180518e98]
mov r8, rax
mov rdi, rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.kernel32.dll_ReadProcessMemory]
mov rcx, qword [0x180518e98]
mov r9d, 0xa8
mov r8, rdi
mov qword [rsp + 0x20], rbp
mov rdx, rbx
call qword [sym.imp.kernel32.dll_WriteProcessMemory]
mov rcx, qword [0x180518e98]
lea r9d, [rbp + 8]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.kernel32.dll_WriteProcessMemory]
mov rcx, qword [0x180518e98]
lea r9d, [rbp + 8]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov rdx, rsi
call qword [sym.imp.kernel32.dll_ReadProcessMemory]
mov rcx, rdi
call fcn.180313c20
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180313c00
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret