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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, qword [rcx + 0x150]
mov ebp, 1
mov eax, ebp
mov rdi, rcx
xchg dword [rsi + 0x20], eax
nop
xor eax, eax
lock cmpxchg dword [rcx + 0x120], ebp
jne 0x14000c210
lea r14, [rcx + 0x110]
mov rax, qword [r14]
mov rbx, qword [rax]
cmp rax, r14
je 0x14000c244
nop
lea rcx, [rax + 0x60]
call sym.Launcher.exe_com_thread_exit
mov rax, rbx
mov rbx, qword [rbx]
cmp rax, r14
jne 0x14000c230
xor eax, eax
lea rbx, [rdi + 0x40]
xchg dword [rdi + 0x120], eax
test rbx, rbx
je 0x14000c2b3
mov eax, dword [rbx + 8]
cmp eax, ebp
je 0x14000c2b3
mov eax, dword [rbx + 0xc]
cmp eax, ebp
je 0x14000c2b3
mov rax, qword [rbx]
xor ecx, ecx
dec rax
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, ebp
jne 0x14000c2b3
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
lea rax, [rdi + 0x98]
xor r9d, r9d
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rdx, str.exit
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 4]
call qword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x14000c2af
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lock dec dword [rbx + 0x14]
cmp dword [rsi + 0x24], 0
jne 0x14000c2d1
nop dword [rax]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsi + 0x24], 0
je 0x14000c2c0
test rbx, rbx
je 0x14000c31e
mov eax, dword [rbx + 8]
cmp eax, ebp
je 0x14000c31e
mov eax, dword [rbx + 0xc]
cmp eax, ebp
je 0x14000c31e
mov rax, qword [rbx]
xor ecx, ecx
dec rax
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, ebp
jne 0x14000c31e
mov rcx, qword [rbx]
mov dword [rbx + 8], ebp
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x14000c30d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x10], 0
mov dword [rbx + 0xc], ebp
lea rcx, [rdi + 0xa8]
call sym.Launcher.exe_com_thread_exit
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14000d690
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x140042010]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x140043f5c], 0
jne 0x14000d6e4
mov ecx, 0x202
mov dword [0x140043f5c], 1
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140012f80
add rsp, 0x1d8
ret
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140012f80
add rsp, 0x1d8
ret

Function at 0x14000db80
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
movzx ebp, r8w
mov r8, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000dc8a
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x14000dc8a
mov eax, dword [rcx + 0xc]
cmp eax, 1
je 0x14000dc8a
mov rax, qword [rcx]
xor edi, edi
dec rax
mov ecx, edi
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000dc8a
xorps xmm0, xmm0
mov qword [rsp + 0x38], rsi
mov eax, 2
lea rdx, [rbx + 0x2c]
movups xmmword [rbx + 0x28], xmm0
mov rcx, r8
mov word [rbx + 0x28], ax
call sym.Launcher.exe_ip4_str2num
movzx ecx, bp
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 0x2a], ax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x30], edi
cmp eax, 1
je 0x14000dc44
mov eax, dword [rbx + 0xc]
cmp eax, 1
je 0x14000dc44
mov rax, qword [rbx]
dec rax
cmp rax, 0xfffffffffffffffd
setbe dil
cmp edi, 1
jne 0x14000dc44
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
lock dec dword [rbx + 0x14]
mov rcx, qword [rbx]
lea rdx, [rbx + 0x28]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
mov rsi, qword [rsp + 0x38]
test eax, eax
je 0x14000dc78
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14000e060
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000e195
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x14000e195
mov eax, dword [rcx + 0xc]
cmp eax, 1
je 0x14000e195
mov rax, qword [rcx]
xor esi, esi
dec rax
mov ecx, esi
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000e195
test rdx, rdx
je 0x14000e195
xorps xmm0, xmm0
mov eax, esi
movups xmmword [rdx + 8], xmm0
movups xmmword [rdx + 0x18], xmm0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x38], xmm0
movups xmmword [rdx + 0x48], xmm0
mov qword [rdx], 0xffffffffffffffff
mov dword [rdx + 8], esi
mov dword [rdx + 0xc], esi
mov dword [rdx + 0x10], esi
xchg dword [rdx + 0x14], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x30], ecx
cmp eax, ecx
je 0x14000e126
mov eax, dword [rbx + 0xc]
cmp eax, ecx
je 0x14000e126
mov rax, qword [rbx]
mov ecx, esi
dec rax
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000e126
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
lock dec dword [rbx + 0x14]
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rdi], rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov dword [rsp + 0x40], esi
mov eax, dword [rbx + 8]
neg edi
cmp eax, 1
je 0x14000e183
mov eax, dword [rbx + 0xc]
cmp eax, 1
je 0x14000e183
mov rax, qword [rbx]
dec rax
cmp rax, 0xfffffffffffffffd
setbe sil
cmp esi, 1
jne 0x14000e183
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
lea r8, [rsp + 0x40]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
lock dec dword [rbx + 0x14]
mov eax, edi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14000e210
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r14
push r15
sub rsp, 0x30
mov ebp, r9d
mov r14d, r8d
mov r15, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000e36b
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x14000e36b
mov eax, dword [rcx + 0xc]
cmp eax, 1
je 0x14000e36b
mov rax, qword [rcx]
xor edi, edi
dec rax
mov ecx, edi
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000e36b
mov eax, dword [rbx + 0x10]
cmp eax, ecx
je 0x14000e343
mov eax, dword [rbx + 8]
cmp eax, ecx
je 0x14000e343
mov eax, dword [rbx + 0xc]
cmp eax, ecx
je 0x14000e343
mov rax, qword [rbx]
mov ecx, edi
dec rax
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000e343
mov qword [rsp + 0x58], rsi
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
lea r8, [rsp + 0x50]
lea rdx, [rbx + 0x48]
mov dword [rsp + 0x50], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x14000e2da
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lock dec dword [rbx + 0x14]
neg eax
jne 0x14000e33e
jmp 0x14000e2de
lock dec dword [rbx + 0x14]
mov eax, dword [rbx + 8]
cmp eax, 1
je 0x14000e33e
mov eax, dword [rbx + 0xc]
cmp eax, 1
je 0x14000e33e
mov rax, qword [rbx]
dec rax
cmp rax, 0xfffffffffffffffd
setbe dil
cmp edi, 1
jne 0x14000e33e
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
lea r8, [rsp + 0x20]
lea rdx, [rbx + 0x48]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x14000e333
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lock dec dword [rbx + 0x14]
neg eax
jne 0x14000e33e
jmp 0x14000e337
lock dec dword [rbx + 0x14]
mov dword [rbx + 0x10], 1
mov rsi, qword [rsp + 0x58]
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
mov r9d, ebp
mov r8d, r14d
mov rdx, r15
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x14000e365
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
lock dec dword [rbx + 0x14]
jmp 0x14000e370
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14000e390
Capabilities:
Get local ipv4 addresses
Get socket information
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov ebp, r9d
mov edi, r8d
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000e4e4
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x14000e4e4
mov eax, dword [rcx + 0xc]
cmp eax, 1
je 0x14000e4e4
mov rax, qword [rcx]
xor esi, esi
dec rax
mov ecx, esi
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000e4e4
mov eax, dword [rbx + 0x10]
cmp eax, ecx
je 0x14000e4b8
mov eax, dword [rbx + 8]
cmp eax, ecx
je 0x14000e4b8
mov eax, dword [rbx + 0xc]
cmp eax, ecx
je 0x14000e4b8
mov rax, qword [rbx]
mov ecx, esi
dec rax
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000e4b8
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
lea rdx, [rbx + 0x38]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14000e454
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lock dec dword [rbx + 0x14]
neg eax
jne 0x14000e4b8
jmp 0x14000e458
lock dec dword [rbx + 0x14]
mov eax, dword [rbx + 8]
cmp eax, 1
je 0x14000e4b8
mov eax, dword [rbx + 0xc]
cmp eax, 1
je 0x14000e4b8
mov rax, qword [rbx]
dec rax
cmp rax, 0xfffffffffffffffd
setbe sil
cmp esi, 1
jne 0x14000e4b8
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
lea rdx, [rbx + 0x48]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x14000e4ad
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lock dec dword [rbx + 0x14]
neg eax
jne 0x14000e4b8
jmp 0x14000e4b1
lock dec dword [rbx + 0x14]
mov dword [rbx + 0x10], 1
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
mov r9d, ebp
mov r8d, edi
mov rdx, r14
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14000e4dc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
neg edi
lock dec dword [rbx + 0x14]
mov eax, edi
jmp 0x14000e4e9
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

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

Disassembly:
push rbx
sub rsp, 0x30
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
mov rbx, rcx
test rcx, rcx
je 0x14000e571
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x14000e571
mov eax, dword [rcx + 0xc]
cmp eax, 1
je 0x14000e571
mov rax, qword [rcx]
xor ecx, ecx
dec rax
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000e571
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x14000e567
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
lock dec dword [rbx + 0x14]
add rsp, 0x30
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x30
pop rbx
ret
Function at 0x14000e580
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, r8d
mov rbx, rcx
test rcx, rcx
je 0x14000e5f7
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x14000e5f7
mov eax, dword [rcx + 0xc]
cmp eax, 1
je 0x14000e5f7
mov rax, qword [rcx]
xor ecx, ecx
dec rax
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000e5f7
lock inc dword [rbx + 0x14]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rbx]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x14000e5e6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
neg edi
lock dec dword [rbx + 0x14]
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
add rsp, 0x30
pop rdi
ret

Function at 0x14000e610
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000e6a8
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x14000e6a8
mov eax, dword [rcx + 0xc]
cmp eax, 1
je 0x14000e6a8
mov rax, qword [rcx]
xor edi, edi
dec rax
mov ecx, edi
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000e6a8
mov qword [rsp + 0x38], rbp
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
lea r8, [rsp + 0x30]
lea rdx, [rbx + 0x38]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14000e681
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
neg edi
test rsi, rsi
je 0x14000e68d
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rsi], xmm0
lock dec dword [rbx + 0x14]
mov eax, edi
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e770
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
test rcx, rcx
je 0x14000e7e5
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x14000e7e5
mov eax, dword [rcx + 0xc]
cmp eax, 1
je 0x14000e7e5
mov rax, qword [rcx]
xor edi, edi
dec rax
mov ecx, edi
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000e7e5
test r9, r9
je 0x14000e7e5
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14000e7e5
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14000e7d4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
neg edi
lock dec dword [rbx + 0x14]
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
add rsp, 0x30
pop rdi
ret
Function at 0x14000e890
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 r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbp, qword [rsp + 0x88]
mov r14, r9
movsxd rbx, dword [rsp + 0x80]
mov r12d, r8d
mov dword [rax + 0x28], ebx
mov r13d, edx
mov rdi, rcx
test rbp, rbp
je 0x14000ea11
mov r8, rbx
xor edx, edx
mov rcx, rbp
call fcn.140013cf0
test rdi, rdi
je 0x14000ea11
mov eax, dword [rdi + 8]
cmp eax, 1
je 0x14000ea11
mov eax, dword [rdi + 0xc]
cmp eax, 1
je 0x14000ea11
mov rax, qword [rdi]
xor esi, esi
dec rax
mov ecx, esi
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000ea11
test r14, r14
je 0x14000ea11
test ebx, ebx
je 0x14000ea11
lock inc dword [rdi + 0x14]
mov rcx, qword [rdi]
mov r9, r14
mov r8d, r12d
mov dword [rsp + 0x20], ebx
mov edx, r13d
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14000e955
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
jmp 0x14000e957
mov eax, esi
lock dec dword [rdi + 0x14]
test eax, eax
jne 0x14000ea16
mov eax, dword [rdi + 8]
cmp eax, 1
je 0x14000ea08
mov eax, dword [rdi + 0xc]
cmp eax, 1
je 0x14000ea08
mov rax, qword [rdi]
mov ecx, esi
dec rax
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000ea08
cmp dword [rsp + 0x80], esi
je 0x14000ea08
lock inc dword [rdi + 0x14]
mov rcx, qword [rdi]
lea rax, [rsp + 0x80]
mov r9, rbp
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov edx, r13d
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x14000e9c9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
neg esi
lock dec dword [rdi + 0x14]
test esi, esi
jne 0x14000ea0d
cmp ebx, dword [rsp + 0x80]
jne 0x14000ea0d
lea rcx, [rbx + rbp]
sub r14, rbp
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r14 + rcx - 1]
lea rcx, [rcx - 1]
dec ebx
cmp byte [rcx], al
jne 0x14000ea11
test ebx, ebx
jne 0x14000e9f0
xor eax, eax
jmp 0x14000ea16
mov esi, 0xffffffff
mov eax, esi
jmp 0x14000ea16
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14000ea40
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000ea89
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x14000ea89
mov eax, dword [rcx + 0xc]
cmp eax, 1
je 0x14000ea89
mov rax, qword [rcx]
xor ecx, ecx
dec rax
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000ea89
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
lock dec dword [rbx + 0x14]
add rsp, 0x20
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
Function at 0x14000eaa0
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000eaf6
mov eax, dword [rcx + 8]
cmp eax, 1
je 0x14000eaf6
mov eax, dword [rcx + 0xc]
cmp eax, 1
je 0x14000eaf6
mov rax, qword [rcx]
xor ecx, ecx
dec rax
cmp rax, 0xfffffffffffffffd
setbe cl
cmp ecx, 1
jne 0x14000eaf6
lock inc dword [rbx + 0x14]
mov rcx, qword [rbx]
lea r8, [rsp + 0x38]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
lock dec dword [rbx + 0x14]
add rsp, 0x20
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
Function at 0x14000f2a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push r15
sub rsp, 0x70
xor r15d, r15d
mov rsi, rdx
mov dword [rsp + 0x40], r15d
mov rbx, rcx
test rcx, rcx
jne 0x14000f317
lea rax, str._thread__create_failed__null_handle_n
mov dword [0x140152d8c], r15d
mov qword [rsp + 0x30], rax
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmod_threadcomthread.c
lea rax, str.com_thread_create
mov dword [rsp + 0x28], 0x25
lea r8, [0x140152d80]
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [0x140152d90], 1
call sym.Launcher.exe_elog_fmt
lea eax, [rbx - 2]
add rsp, 0x70
pop r15
pop rsi
pop rbx
ret
mov qword [rcx], rbx
xor r8d, r8d
mov qword [rcx + 8], rbx
xor edx, edx
mov dword [rcx + 0x10], r15d
xor ecx, ecx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x18], rax
xor r9d, r9d
mov eax, r15d
xor edx, edx
xchg dword [rbx + 0x20], eax
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rbx + 0x30], rax
lea rdi, [rbx + 0x3c]
mov eax, 0xa
xchg dword [rbx + 0x38], eax
mov rbp, qword [rsp + 0xa0]
test rbp, rbp
je 0x14000f3b0
mov qword [rsp + 0x58], r14
lea r14, [rsp + 0xa8]
call fcn.140001790
mov r9d, sendto
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r15
mov rdx, rdi
mov qword [rsp + 0x20], rbp
mov rcx, qword [rax]
lea r8d, [r9 + 1]
call fcn.1400173c4
mov r14, qword [rsp + 0x58]
jmp 0x14000f3cb
lea r9, str.thread_unknown
mov edx, reloc.WS2_32.dll_recv
lea r8, [0x14003b754]
mov rcx, rdi
call fcn.14000f240
lea rax, [rsp + 0x40]
mov byte [rbx + 0x4b], r15b
mov qword [rsp + 0x28], rax
mov r9, rbx
mov r8, rsi
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, qword [rsp + 0x68]
lea r9, str.E:02_Sourcelm.signal.soft.git01_ProjectPE0000workcomplat_srcmod_threadcomthread.c
xor edx, edx
mov qword [rbx + 0x28], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
test rax, rax
jne 0x14000f45c
lea rax, str._thread___s_create_failed__get_null_task_n
mov dword [0x140152e2c], r15d
mov qword [rsp + 0x30], rax
lea r8, [0x140152e20]
lea rax, str.com_thread_create
mov dword [rsp + 0x28], 0x53
mov qword [rsp + 0x20], rax
mov dword [0x140152e30], 1
call sym.Launcher.exe_elog_fmt
mov rdi, qword [rsp + 0x60]
mov eax, 0xffffffff
add rsp, 0x70
pop r15
pop rsi
pop rbx
ret
lea rax, str._thread___s_create_success_n
mov dword [0x140152ddc], r15d
mov qword [rsp + 0x30], rax
lea r8, [0x140152dd0]
lea rax, str.com_thread_create
mov dword [rsp + 0x28], 0x58
mov qword [rsp + 0x20], rax
mov dword [0x140152de0], 1
call sym.Launcher.exe_elog_fmt
mov rdi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x70
pop r15
pop rsi
pop rbx
ret
Function at 0x14000f8f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov ebx, ecx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000f96d
mov ecx, ebx
movabs rax, 0x431bde82d7b634db
imul rcx, qword [rsp + 0x40]
imul rcx
lea rcx, [rsp + 0x38]
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
test rbx, rbx
jle 0x14000f96d
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x48]
sub rax, qword [rsp + 0x38]
cmp rax, rbx
jl 0x14000f953
add rsp, 0x20
pop rbx
ret

Function at 0x14000f9f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov edi, edx
mov rsi, rcx
test edx, edx
je 0x14000fab3
xor ebp, ebp
movabs r14, 0x20c49ba5e353f7cf
nop dword [rax + rax]
cmp dword [rsi], ebp
jne 0x14000facb
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000faaa
mov rax, r14
lea rcx, [rsp + 0x68]
imul qword [rsp + 0x20]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, r14
imul rdx
mov rbx, rdx
sar rbx, 7
mov rax, rbx
shr rax, 0x3f
add rbx, rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x60], rax
test rbx, rbx
jle 0x14000faaa
nop dword [rax]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x60]
sub rax, qword [rsp + 0x68]
cmp rax, rbx
jl 0x14000fa90
sub edi, 1
jne 0x14000fa20
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14000fab8
Function at 0x140013450
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001349a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001349a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001349a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001349a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001349a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001349c
xor al, al
add rsp, 0x28
ret

Function at 0x1400214d8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140021304

Function at 0x140027964
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140027941
call fcn.14001eaa8
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1400220f0
or eax, 0xffffffff
jmp 0x14002795e
sub dword [rcx + 0x10], 1
jns 0x140027950
add rsp, 0x28
jmp fcn.140027690
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140027920
Function at 0x140031510
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140031538
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140031538
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret