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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rbp, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov ecx, dword [0x140146128]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r12d, r12d
test rax, rax
je 0x140088e04
mov rdx, qword [rax + 8]
jmp 0x140088e07
mov rdx, r12
mov r9d, 8
mov r8d, 0x200
movzx ecx, byte [rsp + 0xa0]
call fcn.140088b70
mov rdi, rax
movzx edx, byte [r14 + 8]
shr dl, 2
and dl, 1
mov rcx, qword [r14]
mov qword [rax + 0x20], r12
lea rax, [0x1400aa580]
mov qword [rdi + 0x28], rax
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov dword [rdi + 0x30], r12d
lea rax, [rsi + 0x28]
mov qword [rdi + 0x38], rax
mov qword [rdi + 0x40], rcx
mov qword [rdi + 0x48], 0xffffffffffffffff
mov qword [rdi + 0x50], rbx
mov eax, dword [r14 + 0x38]
mov dword [rdi + 0x58], eax
mov qword [rdi + 0x60], rbp
mov byte [rdi + 0x188], dl
mov qword [rdi + 0x190], r12
mov qword [rdi + 0x198], r12
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx]
mov qword [rdi + 0x1a0], rax
mov qword [rdi + 0x1a8], r12
mov qword [rdi + 0x1b0], r12
mov rax, qword [rcx + 8]
mov qword [rdi + 0x1a8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdi + 0x1b0], rax
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov rax, qword [rcx + 0x18]
mov qword [rdi + 0x1b8], rax
movzx eax, word [rcx + 0x20]
mov word [rdi + 0x1c0], ax
lea rcx, [rdi + 0x1c8]
mov r9, qword [rsp + 0xa8]
xor r8d, r8d
xor edx, edx
call fcn.140093d10
mov qword [rsp + 0x50], rdi
mov r10d, dword [r14 + 0x38]
mov rcx, qword [rbx + 8]
mov rax, qword [rsi + 0x30]
lock inc dword [rax + 0x30]
cmp qword [r14], 0xffffffffffffffff
jne 0x140088f2c
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400b6e10
jmp 0x14008900e
cmp rcx, 0xffffffffffffffff
je 0x140088f4c
xor r9d, r9d
mov r8d, 1
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400b6e10
jmp 0x14008900e
mov dword [rsp + 0x40], r12d
lea rax, [0x1401405e8]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x40]
mov edx, 1
mov r8d, 6
mov ecx, r10d
call fcn.1400c0ee0
mov rbx, rax
lea rcx, [rdi + 0x48]
call fcn.1400bc4f0
mov qword [rdi + 0x48], rbx
xor r9d, r9d
cmp rbx, 0xffffffffffffffff
jne 0x140088fa1
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400b6d70
jmp 0x14008900e
mov dword [rsp + 0xa0], r12d
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x90
mov dword [rsp + 0x20], 0x90
lea r8, [rdi + 0x68]
mov rdx, rbx
mov rcx, qword [r14]
call sub.WSOCK32.dll_AcceptEx
mov ebx, eax
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
test ebx, ebx
jne 0x140089001
cmp eax, 0x3e5
je 0x140089001
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400b6e10
jmp 0x14008900e
mov rdx, rdi
mov rcx, qword [rsi + 0x30]
call fcn.1400b7110
nop
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140089600
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 [0x140146128]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r15d, r15d
test rax, rax
je 0x140089645
mov rdx, qword [rax + 8]
jmp 0x140089648
mov rdx, r15
mov r9d, 8
mov r8d, 0xa0
movzx ecx, byte [rsp + 0x70]
call fcn.140088b70
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x20], r15
lea rax, [0x1400aa3d0]
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, [0x1401405e8]
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.140093d10
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.140090fa0
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 0x14008ae80
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 0x14008b008
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14008aeec
lea rcx, [0x140089a10]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rdx
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
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 [0x140146128]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008af48
mov rdx, qword [rax + 8]
jmp 0x14008af4b
mov rdx, rbx
mov r9d, 8
mov r8d, 0x48
movzx ecx, byte [rbp + 0x20]
call fcn.140088c90
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, [0x140089a30]
mov qword [rdx], rax
mov qword [rbp + 0x20], rdx
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x14008afe7
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14008afe7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14008afe7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_htonl]
nop
lea rdx, [rbp + 0x20]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14008b003
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x14008aed4
lea rcx, [rbp - 0x60]
call fcn.140094ba0
nop
lea rcx, [rbp - 0x60]
call fcn.140091180
int3
Function at 0x140094240
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x140140940]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x140146130], eax
inc eax
cmp eax, 1
jne 0x14009428f
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
xchg dword [0x140146134], eax
test dil, dil
je 0x1400942a2
xor eax, eax
lock xadd dword [0x140146134], eax
test eax, eax
jne 0x1400942c6
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140105b50
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
mov dword [rsp + 0x20], eax
call fcn.1400b0800
lea rdx, str.winsock
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
call fcn.1400ab890
int3
Function at 0x1400a12b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140140940]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400a1383
cmp byte [rcx + 0x71], 0
je 0x1400a1383
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400a137f
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 0x1400a1344
sub eax, 1
je 0x1400a1348
cmp eax, 2
jne 0x1400a137f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140105b50
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400a1376
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400a137f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400a132c
xor al, al
jmp 0x1400a132c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140105b50
add rsp, 0x60
pop rbx
ret
Function at 0x1400a6240
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], reloc.WSOCK32.dll_ntohs
mov byte [rcx], r14b
mov dword [rsp + 0x20], 1
mov r13d, 0xfffffffa
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1400a6299
mov rcx, qword [rdx]
mov r8, rcx
jmp 0x1400a629c
mov r8, rdx
mov r15, rcx
mov rax, qword [rdx + 0x10]
add rax, r8
mov qword [rsp + 0x78], rax
cmp rcx, rax
je 0x1400a63b9
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movzx ebx, byte [rsp + 0x70]
shl r14d, 8
movzx eax, byte [r15]
add r14d, eax
add r13d, 8
js 0x1400a6350
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
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 0x1400a632e
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400a6323
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400a6346
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140087170
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub rsi, 6
sub rbp, 1
jne 0x1400a62f1
inc r15
cmp r15, qword [rsp + 0x78]
jne 0x1400a62c0
cmp r13d, 0xfffffffa
jle 0x1400a63b9
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 0x1400a63a6
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400a639b
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400a63b9
movzx r8d, byte [rsp + 0x70]
mov edx, 1
mov rcx, rdi
call fcn.140087170
mov rcx, qword [rdi + 0x10]
test cl, 3
je 0x1400a6409
movzx ebx, byte [rsp + 0x70]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400a63ec
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400a63e4
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x1400a6400
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140087170
mov rcx, qword [rdi + 0x10]
test cl, 3
jne 0x1400a63c7
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 0x1400a6ae0
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 [0x140146128]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400a6c15
cmp qword [rax], rbx
je 0x1400a6b1c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400a6b08
add rsp, 0x70
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400a6c15
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x1400a6bd9
cmp ecx, 1
jne 0x1400a6c15
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, vtable.asio::multiple_exceptions.0
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, [0x14013b338]
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, vtable.std::exception.0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call sub.VCRUNTIME140.dll___std_exception_destroy
jmp 0x1400a6bfd
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 0x1400a71e0
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 0x1400a732c
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x28], r14
test r8b, r8b
je 0x1400a724b
movzx eax, byte [rdx]
test al, 8
je 0x1400a724b
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 0x1400a724b
call fcn.1400b0800
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov rcx, rbp
call qword [sym.imp.WSOCK32.dll_closesocket]
lea r14, [rdi + 8]
mov esi, eax
test eax, eax
jne 0x1400a7266
mov dword [rdi], r12d
jmp 0x1400a72f1
mov qword [rsp + 0x78], rbx
call fcn.1400b0800
mov rbx, rax
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
call fcn.1400b0800
mov rcx, qword [r14]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x1400a72a4
cmp dword [rdi], 0x2733
je 0x1400a72be
call fcn.1400b0800
mov rcx, qword [r14]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x1400a7328
cmp dword [rdi], 0x4d5
jne 0x1400a7328
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], r12d
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WSOCK32.dll_ioctlsocket]
and byte [r15], 0xfc
mov rcx, rbp
call qword [sym.imp.WSOCK32.dll_closesocket]
mov esi, eax
test eax, eax
jne 0x1400a7309
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.1400b0800
mov rbx, rax
call qword [sym.imp.WSOCK32.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 0x1400a72ec
mov eax, r12d
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rbp
ret
Function at 0x1400ab150
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140140940]
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, str.asio_58CCDC44_6264_4842_90C2_F3C545CB8AA7__u__p
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.1400c41a0
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 0x1400ab1c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400ab242
cmp eax, 0xb7
jne 0x1400ab1d8
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rbx], 0
jne 0x1400ab211
lea rcx, [rbx + 8]
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1400ab20e
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 0x1400ab242
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 0x1400ab242
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140105b50
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x1400b0160
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 0x1400b0195
mov r8, qword [rdx]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test rbp, rbp
je 0x1400b01c4
movabs r9, 0x100000001b3
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rbp
jb 0x1400b01b0
mov rcx, qword [0x1401460f0]
and rcx, rdx
add rcx, rcx
mov rax, qword [0x1401460d8]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x1401460c8]
je 0x1400b022a
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 0x1400b0202
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x1400b020e
mov rcx, qword [rdi]
cmp rbp, rax
jne 0x1400b021f
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400b022c
cmp rbx, r14
je 0x1400b022a
mov rbx, qword [rbx + 8]
jmp 0x1400b01f0
xor ebx, ebx
mov rdx, qword [0x1401460c8]
test rbx, rbx
cmovne rdx, rbx
cmp rdx, qword [0x1401460c8]
je 0x1400b0254
add rdx, 0x30
mov rcx, rsi
call fcn.140093310
jmp 0x1400b034d
mov rcx, rdi
call fcn.1400c38e0
test al, al
je 0x1400b0270
mov rdx, rdi
mov rcx, rsi
call fcn.140093310
jmp 0x1400b034d
cmp dword [0x140140580], 2
jg 0x1400b030c
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140093260
mov eax, 2
mov dword [rsp + 0x110], eax
mov ecx, dword [0x140140580]
cmp ecx, eax
jg 0x1400b02c0
lea rdx, str.Unable_to_interpret_mime_type_for_content_type_
lea rcx, [rsp + 0x28]
call fcn.14007b3b0
mov eax, dword [rsp + 0x110]
mov ecx, dword [0x140140580]
cmp eax, ecx
jl 0x1400b0302
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400b02d2
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140086420
mov eax, dword [rsp + 0x110]
mov ecx, dword [0x140140580]
cmp eax, ecx
jl 0x1400b0302
lea rdx, str.._Defaulting_to_text_plain.
lea rcx, [rsp + 0x28]
call fcn.14007b3b0
nop
lea rcx, [rsp + 0x28]
call fcn.1400993e0
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], reloc.WSOCK32.dll_ntohs
movsd xmm0, qword [str.text_plain]
movsd qword [rsi], xmm0
movzx eax, word [0x14010f688]
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 0x1400b5470
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 r8d, 1
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x68], eax
call qword [sym.imp.WS2_32.dll_WSASend]
call fcn.1400b0800
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x1400b54d0
cmp eax, 0x4d2
jne 0x1400b54d5
call fcn.1400b0800
add rsp, 0x58
ret

Function at 0x1400b5750
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rbx, rcx
mov rax, qword [rcx + 8]
mov r9d, 0xffffffff
mov ecx, 2
mov qword [rsp + 0x28], rax
xor r8d, r8d
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 [0x140146110], eax
test eax, eax
mov rax, qword [rbx + 8]
je 0x1400b57b1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rsp, 0x30
pop rbx
ret
xor r8d, r8d
lea rcx, [fcn.14008a560]
mov rdx, rax
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 0x1400b5910
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 [0x140140940]
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 0x1400b5969
mov esi, 0x2719
mov dword [rsp + 0x20], esi
call fcn.1400b0800
mov qword [rsp + 0x28], rax
jmp 0x1400b5a0b
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x38]
call qword [sym.imp.WSOCK32.dll_getsockname]
movsxd rcx, dword [rsp + 0x30]
test eax, eax
jne 0x1400b59e2
mov dword [rsp + 0x20], ebp
lea rax, [0x1401405e8]
mov qword [rsp + 0x28], rax
cmp rcx, 0x80
ja 0x1400b5a2e
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.140105b50
mov rbp, qword [rsp + 0x98]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x90], rbx
call fcn.1400b0800
mov rbx, rax
call qword [sym.imp.WSOCK32.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 0x1400b5a56
jmp 0x1400b59c1
mov dword [rsp + 0x20], 0x2726
call fcn.1400b0800
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1400ab860
int3
lea rdx, str.local_endpoint
lea rcx, [rsp + 0x20]
call fcn.1400ab890
int3