joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140080160
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rdi, rdx
mov rbp, qword [rcx]
lea r14, [rcx + 0x40]
lea rsi, [rcx + 8]
mov qword [rsp + 0x30], rdx
mov ecx, dword [0x14013af08]
call qword [sym.imp.kernel32.dll_TlsGetValue]
xor r15d, r15d
test rax, rax
je 0x1400801a5
mov rdx, qword [rax + 8]
jmp 0x1400801a8
mov rdx, r15
mov r9d, 8
mov r8d, 0xa0
movzx ecx, byte [rsp + 0x70]
call fcn.14007f670
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x20], r15
lea rax, [0x1400a8a80]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
mov dword [rbx + 0x38], r15d
lea rax, [0x1401355e8]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], r15
mov rax, qword [rdi]
mov qword [rbx + 0x50], rax
movzx eax, byte [rdi + 8]
mov byte [rbx + 0x58], al
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x60], rax
lea rcx, [rbx + 0x68]
mov r9, r14
xor r8d, r8d
xor edx, edx
call fcn.14008a830
mov qword [rsp + 0x40], rbx
mov byte [rsi + 8], 1
lea r9, [rsi + 0x10]
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x20], rbx
mov r8, rsi
mov rcx, qword [rbp + 0x58]
call fcn.140087b50
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x30]
call fcn.1400ba990
nop
lea r11, [rsp + 0x50]
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
Function at 0x140081a20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rsi, rcx
cmp qword [rcx + 0x20], 0
je 0x140081b9d
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140081a83
lea rcx, [0x140080590]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x60]
mov rcx, rsi
call rax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov r14, qword [rcx + 0x10]
mov rax, qword [rdx]
mov qword [rbp - 0x40], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 0x38], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x30], rax
xor ebx, ebx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], rbx
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x28], rax
movzx eax, word [rdx + 0x20]
mov word [rbp - 0x20], ax
movups xmm0, xmmword [rdx + 0x28]
movups xmmword [rbp - 0x18], xmm0
lea rax, [rbp - 0x40]
mov qword [rbp + 0x30], rax
mov ecx, dword [0x14013af08]
call qword [sym.imp.kernel32.dll_TlsGetValue]
test rax, rax
je 0x140081adf
mov rdx, qword [rax + 8]
jmp 0x140081ae2
mov rdx, rbx
mov r9d, 8
lea r8d, [r9 + 0x40]
movzx ecx, byte [rbp + 0x20]
call fcn.14007f790
mov rdx, rax
mov rcx, qword [rbp - 0x40]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov rcx, qword [rbp - 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp - 0x30]
mov qword [rax + 0x18], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov rax, qword [rbp - 0x28]
mov qword [rdx + 0x20], rax
movzx eax, word [rbp - 0x20]
mov word [rdx + 0x28], ax
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rdx + 0x30], xmm0
lea rax, [0x1400805b0]
mov qword [rdx], rax
mov qword [rbp + 0x20], rdx
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x140081b7c
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140081b7c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140081b7c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rdx, [rbp + 0x20]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140081b98
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x140081a6b
lea rcx, [rbp - 0x60]
call fcn.14008b6d0
nop
lea rcx, [rbp - 0x60]
call fcn.140087d30
int3
Function at 0x14008ada0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x140135880]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x14013af18], eax
inc eax
cmp eax, 1
jne 0x14008adef
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.ws2_32.dll_WSAStartup]
xchg dword [0x14013af1c], eax
test dil, dil
je 0x14008ae02
xor eax, eax
lock xadd dword [0x14013af1c], eax
test eax, eax
jne 0x14008ae26
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400ff9a0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
mov dword [rsp + 0x20], eax
call fcn.1400aeee0
lea rdx, [0x14010adf0]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
call fcn.1400a9f80
int3

Function at 0x1400906d0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
cmp rbx, 0xffffffffffffffff
je 0x140090779
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_closesocket]
test eax, eax
je 0x140090779
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
call fcn.1400aeee0
mov rsi, rax
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
call fcn.1400aeee0
mov rcx, qword [rax + 8]
cmp qword [rsi + 8], rcx
jne 0x140090725
cmp edi, 0x2733
je 0x14009073c
call fcn.1400aeee0
mov rdx, qword [rax + 8]
cmp qword [rsi + 8], rdx
jne 0x14009076f
cmp edi, 0x4d5
jne 0x14009076f
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov edx, 0x8004667e
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_ioctlsocket]
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_closesocket]
test eax, eax
je 0x14009076f
call fcn.1400aeee0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
Function at 0x1400a0320
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140135880]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400a03f3
cmp byte [rcx + 0x71], 0
je 0x1400a03f3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400a03ef
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400a03b4
sub eax, 1
je 0x1400a03b8
cmp eax, 2
jne 0x1400a03ef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ff9a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400a03e6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x1400a03ef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400a039c
xor al, al
jmp 0x1400a039c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ff9a0
add rsp, 0x60
pop rbx
ret
Function at 0x1400a4bb0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r14b
mov dword [rsp + 0x20], 1
lea r13d, [r14 - 6]
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1400a4c07
mov rcx, qword [rdx]
mov r8, rcx
jmp 0x1400a4c0a
mov r8, rdx
mov r15, rcx
mov rax, qword [rdx + 0x10]
add rax, r8
mov qword [rsp + 0x78], rax
cmp rcx, rax
je 0x1400a4d28
lea r8, [0x14010bb20]
movzx ebx, byte [rsp + 0x70]
nop
shl r14d, 8
movzx eax, byte [r15]
add r14d, eax
add r13d, 8
js 0x1400a4cbf
movsxd r12, r14d
movsxd rsi, r13d
lea ecx, [r13 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov ebp, edx
imul eax, edx, 0xfffffffa
add r13d, eax
nop dword [rax]
mov rax, r12
mov rcx, rsi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400a4c9d
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400a4c92
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400a4cb5
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14007dc00
lea r8, [0x14010bb20]
sub rsi, 6
sub rbp, 1
jne 0x1400a4c60
inc r15
cmp r15, qword [rsp + 0x78]
jne 0x1400a4c30
cmp r13d, 0xfffffffa
jle 0x1400a4d28
lea ecx, [r13 + 8]
shl r14d, 8
movsxd rax, r14d
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400a4d15
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400a4d0a
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400a4d28
movzx r8d, byte [rsp + 0x70]
mov edx, 1
mov rcx, rdi
call fcn.14007dc00
mov rcx, qword [rdi + 0x10]
test cl, 3
je 0x1400a4d78
movzx ebx, byte [rsp + 0x70]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400a4d5b
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400a4d53
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x1400a4d6f
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14007dc00
mov rcx, qword [rdi + 0x10]
test cl, 3
jne 0x1400a4d36
mov rax, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a5410
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 [0x14013af08]
cmove rbx, rax
call qword [sym.imp.kernel32.dll_TlsGetValue]
test rax, rax
je 0x1400a5545
cmp qword [rax], rbx
je 0x1400a544c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400a5438
add rsp, 0x70
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400a5545
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x1400a5509
cmp ecx, 1
jne 0x1400a5545
xorps xmm0, xmm0
mov dword [rbx + 0x50], 2
lea rdx, [rbx + 0x58]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
call sub.msvcp140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_
xorps xmm0, xmm0
lea rax, [0x14010ac58]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm0
call sub.msvcp140.dll_void___cdecl___ExceptionPtrCopy_void____ptr64__void_const____ptr64_
lea rcx, [rsp + 0x30]
call sub.msvcp140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call sub.msvcp140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_
lea r8, [0x140130958]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call sub.msvcp140.dll_void___cdecl___ExceptionPtrCopyException_void____ptr64__void_const____ptr64__void_const____ptr64_
lea rcx, [rsp + 0x58]
call sub.msvcp140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
lea rax, [0x140109048]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call sub.VCRUNTIME140.dll___std_exception_destroy
jmp 0x1400a552d
xorps xmm0, xmm0
mov dword [rbx + 0x50], 1
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call sub.msvcp140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_
lea rcx, [rsp + 0x20]
call sub.msvcp140.dll_void___cdecl___ExceptionPtrCurrentException_void____ptr64_
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x58]
call sub.msvcp140.dll_void___cdecl___ExceptionPtrAssign_void____ptr64__void_const____ptr64_
lea rcx, [rsp + 0x20]
call sub.msvcp140.dll_void___cdecl___ExceptionPtrDestroy_void____ptr64_
add rsp, 0x70
pop rbx
ret
Function at 0x1400a5990
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov qword [rsp + 0x48], rbx
mov rbx, rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r14
xor r14d, r14d
cmp qword [rbx + 8], 0xffffffffffffffff
je 0x1400a5a69
xor eax, eax
lock cmpxchg qword [rcx + 0x38], r14
je 0x1400a59d2
mov rdx, qword [rbx + 8]
lea r8, [rbx + 0x28]
mov r9b, 1
mov rcx, rax
call fcn.1400a7c50
mov rdi, qword [rbx + 8]
cmp rdi, 0xffffffffffffffff
je 0x1400a5a69
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
test eax, eax
je 0x1400a5a69
mov qword [rsp + 0x50], rbp
call fcn.1400aeee0
mov rbp, rax
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.1400aeee0
mov rcx, qword [rax + 8]
cmp qword [rbp + 8], rcx
jne 0x1400a5a19
cmp esi, 0x2733
je 0x1400a5a30
call fcn.1400aeee0
mov rdx, qword [rax + 8]
cmp qword [rbp + 8], rdx
jne 0x1400a5a64
cmp esi, 0x4d5
jne 0x1400a5a64
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_ioctlsocket]
and byte [rbx + 0x10], 0xfc
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
test eax, eax
je 0x1400a5a64
call fcn.1400aeee0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rbp, qword [rsp + 0x50]
mov byte [rbx + 0x10], r14b
mov rsi, 0xffffffffffffffff
mov qword [rbx + 8], rsi
mov rdi, qword [rbx + 0x20]
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], r14
mov r14, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x48]
test rdi, rdi
je 0x1400a5ac1
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400a5ac1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400a5ac1
mov rax, qword [rdi]
mov rcx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp qword [rax + 8]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400a5ad0
Capabilities:
Set socket configuration

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r15
sub rsp, 0x48
xor r12d, r12d
mov rdi, r9
mov r15, rdx
mov rbp, rcx
cmp rcx, 0xffffffffffffffff
je 0x1400a5c1c
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x28], r14
test r8b, r8b
je 0x1400a5b3b
movzx eax, byte [rdx]
test al, 8
je 0x1400a5b3b
or al, 8
mov dword [r11 + 8], r12d
mov byte [rdx], al
lea r9, [r11 + 8]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.wsock32.dll_setsockopt]
test eax, eax
je 0x1400a5b3b
call fcn.1400aeee0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_closesocket]
lea r14, [rdi + 8]
mov esi, eax
test eax, eax
jne 0x1400a5b56
mov dword [rdi], r12d
jmp 0x1400a5be1
mov qword [rsp + 0x78], rbx
call fcn.1400aeee0
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.1400aeee0
mov rcx, qword [r14]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x1400a5b94
cmp dword [rdi], 0x2733
je 0x1400a5bae
call fcn.1400aeee0
mov rcx, qword [r14]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x1400a5c18
cmp dword [rdi], 0x4d5
jne 0x1400a5c18
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], r12d
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_ioctlsocket]
and byte [r15], 0xfc
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_closesocket]
mov esi, eax
test eax, eax
jne 0x1400a5bf9
mov dword [rdi], r12d
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rbp
ret
call fcn.1400aeee0
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 0x1400a5bdc
mov eax, r12d
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rbp
ret
Function at 0x1400a9830
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140135880]
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, [0x14010ad40]
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.1400c30d0
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 0x1400a98a3
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1400a9922
cmp eax, 0xb7
jne 0x1400a98b8
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp byte [rbx], 0
jne 0x1400a98f1
lea rcx, [rbx + 8]
mov edx, 0x80000000
call qword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1400a98ee
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 0x1400a9922
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 0x1400a9922
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400ff9a0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x1400ae860
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x120
mov rdi, rdx
mov rsi, rcx
mov rbp, qword [rdx + 0x10]
mov r8, rdx
mov r15, qword [rdx + 0x18]
cmp r15, 0xf
jbe 0x1400ae895
mov r8, qword [rdx]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test rbp, rbp
je 0x1400ae8c4
movabs r9, 0x100000001b3
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rbp
jb 0x1400ae8b0
mov rcx, qword [0x14013aee0]
and rcx, rdx
add rcx, rcx
mov rax, qword [0x14013aec8]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x14013aeb8]
je 0x1400ae92a
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400ae902
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x1400ae90e
mov rcx, qword [rdi]
cmp rbp, rax
jne 0x1400ae91f
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400ae92c
cmp rbx, r14
je 0x1400ae92a
mov rbx, qword [rbx + 8]
jmp 0x1400ae8f0
xor ebx, ebx
test rbx, rbx
je 0x1400ae94b
cmp rbx, qword [0x14013aeb8]
je 0x1400ae94b
lea rdx, [rbx + 0x30]
mov rcx, rsi
call fcn.140089e90
jmp 0x1400aea44
mov rcx, rdi
call fcn.1400c2850
test al, al
je 0x1400ae967
mov rdx, rdi
mov rcx, rsi
call fcn.140089e90
jmp 0x1400aea44
cmp dword [0x140135580], 2
jg 0x1400aea03
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140089de0
mov eax, 2
mov dword [rsp + 0x110], eax
mov ecx, dword [0x140135580]
cmp ecx, eax
jg 0x1400ae9b7
lea rdx, [0x14010b360]
lea rcx, [rsp + 0x28]
call fcn.140071fe0
mov eax, dword [rsp + 0x110]
mov ecx, dword [0x140135580]
cmp eax, ecx
jl 0x1400ae9f9
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400ae9c9
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.14007cee0
mov eax, dword [rsp + 0x110]
mov ecx, dword [0x140135580]
cmp eax, ecx
jl 0x1400ae9f9
lea rdx, [0x14010b398]
lea rcx, [rsp + 0x28]
call fcn.140071fe0
nop
lea rcx, [rsp + 0x28]
call fcn.14008ffb0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0
mov qword [rsi + 0x10], 0xa
mov qword [rsi + 0x18], 0xf
movsd xmm0, qword [0x140109570]
movsd qword [rsi], xmm0
movzx eax, word [0x140109578]
mov word [rsi + 8], ax
mov byte [rsi + 0xa], 0
mov rax, rsi
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x1400b3c10
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x58
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x68]
xor eax, eax
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x40], 1
lea r8d, [rax + 1]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.ws2_32.dll_WSASend]
call fcn.1400aeee0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x1400b3c6e
cmp eax, 0x4d2
jne 0x1400b3c73
call fcn.1400aeee0
add rsp, 0x58
ret
Function at 0x1400b3e90
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
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 [0x14013af0c], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x1400b3eed
xor edx, edx
call qword [sym.imp.kernel32.dll_TerminateThread]
add rsp, 0x30
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.140081100]
call qword [sym.imp.kernel32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140135880]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rcx + 8]
xor ebp, ebp
mov dword [rsp + 0x50], ebp
xorps xmm0, xmm0
mov qword [rsp + 0x38], 2
mov rdi, rdx
movdqu xmmword [rsp + 0x40], xmm0
cmp rcx, 0xffffffffffffffff
jne 0x1400b40b9
mov esi, 0x2719
mov dword [rsp + 0x20], esi
call fcn.1400aeee0
mov qword [rsp + 0x28], rax
jmp 0x1400b415b
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x38]
call qword [sym.imp.ws2_32.dll_getsockname]
movsxd rcx, dword [rsp + 0x30]
test eax, eax
jne 0x1400b4132
mov dword [rsp + 0x20], ebp
lea rax, [0x1401355e8]
mov qword [rsp + 0x28], rax
cmp rcx, 0x80
ja 0x1400b417e
movups xmm0, xmmword [rsp + 0x38]
mov eax, dword [rsp + 0x50]
movsd xmm1, qword [rsp + 0x48]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
mov dword [rdi + 0x18], eax
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ff9a0
mov rbp, qword [rsp + 0x98]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x90], rbx
call fcn.1400aeee0
mov rbx, rax
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov qword [rsp + 0x28], rbx
mov esi, eax
mov rbx, qword [rsp + 0x90]
mov dword [rsp + 0x20], eax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov dword [rdi + 0x18], ebp
mov qword [rdi], 2
test esi, esi
jne 0x1400b41a6
jmp 0x1400b4111
mov dword [rsp + 0x20], 0x2726
call fcn.1400aeee0
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1400a9f50
int3
lea rdx, [0x14010bf48]
lea rcx, [rsp + 0x20]
call fcn.1400a9f80
int3