joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003ddb0
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 [0x1400de65c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor r15d, r15d
test rax, rax
je 0x14003ddf5
mov rdx, qword [rax + 8]
jmp 0x14003ddf8
mov rdx, r15
mov r9d, 8
mov r8d, 0xa0
movzx ecx, byte [rsp + 0x70]
call fcn.14003d370
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x20], r15
lea rax, [0x1400682e0]
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, [0x1400da5a0]
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.140044ec0
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.1400422a0
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 0x14003f140
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x1400da5c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov r8, rdx
mov rbx, rcx
cmp qword [rcx + 0x20], 0
je 0x14003f338
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14003f1c0
lea rcx, [0x14003e6a0]
mov qword [rbp + 0x17], rcx
mov qword [rbp + 0x1f], rdx
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp + 0x17], xmm0
lea rdx, [rbp + 0x17]
mov rcx, rbx
call rax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140088830
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdx + 8]
mov qword [rbp - 0x61], rax
mov rdx, qword [rdx + 0x20]
xor esi, esi
mov qword [r8 + 0x20], rsi
mov rcx, qword [r8 + 0x18]
mov qword [r8 + 0x18], rsi
mov rax, qword [r8 + 0x10]
mov qword [r8 + 0x10], rsi
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rcx
mov qword [rbp - 0x49], rdx
mov rax, qword [r8 + 0x28]
mov qword [rbp - 0x41], rax
mov rax, qword [r8 + 0x30]
mov qword [rbp - 0x39], rax
mov rax, qword [r8 + 0x38]
mov qword [rbp - 0x31], rax
mov rax, qword [r8 + 0x40]
mov qword [rbp - 0x29], rax
mov eax, dword [r8 + 0x48]
mov dword [rbp - 0x21], eax
mov rax, qword [r8 + 0x50]
mov qword [rbp - 0x19], rax
mov rax, qword [r8 + 0x58]
mov qword [rbp - 0x11], rax
mov qword [r8 + 0x50], rsi
mov qword [r8 + 0x58], rsi
movups xmm0, xmmword [r8 + 0x60]
movups xmmword [rbp - 9], xmm0
mov rax, qword [r8 + 0x70]
mov qword [rbp + 7], rax
lea rax, [rbp - 0x69]
mov qword [rbp + 0x17], rax
mov ecx, dword [0x1400de65c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14003f261
mov rdx, qword [rax + 8]
jmp 0x14003f264
mov rdx, rsi
mov r9d, 8
mov r8d, 0x88
movzx ecx, byte [rbp - 0x79]
call fcn.14003d440
mov r9, rax
mov rcx, qword [rbp - 0x61]
mov qword [rax + 0x10], rcx
mov r8, qword [rbp - 0x49]
mov qword [rbp - 0x49], rsi
mov rdx, qword [rbp - 0x51]
mov qword [rbp - 0x51], rsi
mov rcx, qword [rbp - 0x59]
mov qword [rbp - 0x59], rsi
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], r8
mov rcx, qword [rbp - 0x41]
mov qword [rax + 0x30], rcx
mov rax, qword [rbp - 0x39]
mov qword [r9 + 0x38], rax
mov rax, qword [rbp - 0x31]
mov qword [r9 + 0x40], rax
mov rax, qword [rbp - 0x29]
mov qword [r9 + 0x48], rax
mov eax, dword [rbp - 0x21]
mov dword [r9 + 0x50], eax
mov qword [r9 + 0x58], rsi
mov qword [r9 + 0x60], rsi
mov rax, qword [rbp - 0x19]
mov qword [r9 + 0x58], rax
mov rax, qword [rbp - 0x11]
mov qword [r9 + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [rbp - 9]
movups xmmword [r9 + 0x68], xmm0
mov rax, qword [rbp + 7]
mov qword [r9 + 0x78], rax
lea rax, [0x14003e6d0]
mov qword [r9], rax
mov qword [rbp - 0x71], r9
lea rcx, [rbp - 0x69]
call fcn.140048880
nop
lea rdx, [rbp - 0x71]
mov rcx, rbx
call rdi
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14003f333
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x14003f1a1
lea rcx, [rbp + 0x17]
call fcn.140045b30
nop
lea rcx, [rbp + 0x17]
call fcn.1400428b0
int3
Function at 0x1400423f0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x670
mov rax, qword [0x1400da5c0]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov rdi, qword [rsp + 0x6c0]
mov r14d, r9d
mov r9, qword [r8 + 0x100]
xor r15d, r15d
shl r9, 4
mov ebx, r15d
add r9, r8
mov qword [rsp + 0x440], rbx
mov ecx, r15d
mov qword [rsp + 0x448], rcx
cmp r8, r9
je 0x14004249a
nop dword [rax]
cmp rbx, 0x40
jae 0x14004249a
mov rax, qword [r8 + 8]
add rbx, rbx
movups xmm0, xmmword [r8]
add r8, 0x10
movq qword [rsp + rbx*8 + 0x48], xmm0
mov dword [rsp + rbx*8 + 0x40], eax
mov rcx, qword [rsp + 0x448]
mov rbx, qword [rsp + 0x440]
add rcx, rax
inc rbx
mov qword [rsp + 0x448], rcx
mov qword [rsp + 0x440], rbx
cmp r8, r9
jne 0x140042450
mov rsi, qword [rdx]
movzx ebp, byte [rdx + 8]
cmp rsi, 0xffffffffffffffff
jne 0x1400424c9
mov dword [rsp + 0x30], 0x2719
call fcn.14006d5d0
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov rax, r15
jmp 0x140042592
test rcx, rcx
jne 0x1400424df
test bpl, 0x10
je 0x1400424df
mov dword [rdi], r15d
mov rax, r15
jmp 0x140042592
mov r9d, r14d
mov qword [rsp + 0x20], rdi
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14007cb00
test eax, eax
jns 0x140042590
test bpl, 1
jne 0x1400424c1
call fcn.14006d5d0
mov rcx, qword [rdi + 8]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x140042520
cmp dword [rdi], 0x2733
je 0x14004253b
call fcn.14006d5d0
mov rcx, qword [rdi + 8]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x1400424c1
cmp dword [rdi], 0x4d5
jne 0x1400424c1
lea ecx, [rsi + 1]
mov qword [rsp + 0x458], rsi
xor r9d, r9d
mov dword [rsp + 0x450], 1
lea r8, [rsp + 0x450]
mov qword [rsp + 0x20], r15
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x1400425b9
mov r9d, r14d
mov dword [rdi], r15d
mov r8, rbx
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14007cb00
test eax, eax
js 0x140042505
mov eax, eax
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140088830
mov rbx, qword [rsp + 0x6a0]
add rsp, 0x670
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14006d5d0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov rax, r15
mov qword [rsp + 0x38], rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x140042592
Function at 0x1400452f0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x1400da5c0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x1400de668], eax
inc eax
cmp eax, 1
jne 0x14004533f
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1400de66c], eax
test dil, dil
je 0x140045352
xor eax, eax
lock xadd dword [0x1400de66c], eax
test eax, eax
jne 0x140045376
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140088830
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], eax
call fcn.14006d5d0
lea rdx, str.winsock
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
call fcn.1400696d0
int3
Function at 0x140058820
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Execute command
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov byte [rbp - 0x28], 0x44
xor r8d, r8d
mov byte [rbp - 0x27], 0x5f
mov r10d, reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x26], 0x47
movabs r9, 0x7411bbe0ccdf5a3c
mov byte [rbp - 0x25], 0x51
mov byte [rbp - 0x24], 0x24
mov byte [rbp - 0x23], 0x25
mov byte [rbp - 0x22], 0x22
mov byte [rbp - 0x21], 0x23
mov byte [rbp - 0x20], 0x64
mov byte [rbp - 0x1f], 0x64
mov byte [rbp - 0x1e], ntohl
mov byte [rbp - 0x1d], WSAGetLastError
mov byte [rbp - 0x1c], 0x66
mov byte [rbp - 0x1b], 1
mov byte [rbp - 0x1a], 3
mov byte [rbp - 0x19], WSAGetLastError
mov byte [rbp - 0x18], 6
mov byte [rbp - 0x17], reloc.WS2_32.dll_shutdown
mov byte [rbp - 0x16], 0x17
mov byte [rbp - 0x15], 9
mov byte [rbp - 0x14], select
mov byte [rbp - 0x13], 0xa
mov byte [rbp - 0x12], 0x1b
mov byte [rbp - 0x11], reloc.WS2_32.dll_listen
mov byte [rbp - 0x10], 0x7a
mov byte [rbp - 0xf], 0x3e
mov byte [rbp - 0xe], 0x25
mov byte [rbp - 0xd], 0x39
mov byte [rbp - 0xc], 0x59
movzx eax, byte [rbp - 0x28]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbp + r8 - 0x28]
mov rcx, r8
and ecx, r10d
mov rdx, r9
cmp rcx, r10
cmovae rcx, r10
shl cl, 2
shr rdx, cl
and dl, r10b
xor dl, al
lea eax, [r8 + 0x3c]
xor dl, al
mov byte [rbp + r8 - 0x28], dl
inc r8
cmp r8, 0x1d
jb 0x1400588c0
lea rcx, [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14005a8d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [0x1400da5c0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
cmp qword [rdx + 0x10], r14
je 0x14005aa72
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14005aa68
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x8c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14005a982
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x28]
call fcn.140037c80
mov rax, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14005a9ac
mov rax, qword [rsi]
lea r8, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 7
cmova r8, r9
mov rdx, qword [rsp + 0x38]
cmp rdx, qword [rsi + 0x10]
jne 0x14005a9ee
test rdx, rdx
je 0x14005a9ea
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14005a9ee
add rax, 2
sub rdx, 1
jne 0x14005a9d6
mov bl, 1
jmp 0x14005a9f0
xor bl, bl
cmp r10, 7
jbe 0x14005aa2b
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14005aa23
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005aaa5
mov rcx, r9
call fcn.14008888c
test bl, bl
je 0x14005aa53
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14005aa46
mov eax, dword [rsp + 0x68]
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x14005aa53
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.140038360
lea rdx, [rsp + 0x60]
mov rcx, rbp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14005a961
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rsi
call fcn.14005fcf0
mov rax, rdi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140088830
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3
Function at 0x14005d540
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400da5c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14005d613
cmp byte [rcx + 0x71], 0
je 0x14005d613
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14005d60f
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 0x14005d5d4
sub eax, 1
je 0x14005d5d8
cmp eax, 2
jne 0x14005d60f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140088830
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14005d606
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 0x14005d60f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005d5bc
xor al, al
jmp 0x14005d5bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140088830
add rsp, 0x60
pop rbx
ret
Function at 0x140061ce0
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 [0x1400de65c]
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140061e15
cmp qword [rax], rbx
je 0x140061d1c
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140061d08
add rsp, 0x70
pop rbx
ret
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140061e15
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x140061dd9
cmp ecx, 1
jne 0x140061e15
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, [0x1400abf20]
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 0x140061dfd
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 0x140064d10
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rdi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x1400da5c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rdi, r9
mov r14, rdx
mov rbp, rcx
cmp rcx, 0xffffffffffffffff
je 0x140064e71
mov qword [rsp + 0x50], rsi
test r8b, r8b
je 0x140064d87
movzx eax, byte [rdx]
test al, 8
je 0x140064d87
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 0x140064d87
call fcn.14006d5d0
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 0x140064d9e
mov dword [rdi], r15d
jmp 0x140064e31
mov qword [rsp + 0x90], rbx
call fcn.14006d5d0
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.14006d5d0
mov rcx, qword [rdi + 8]
mov rax, qword [rax + 8]
cmp qword [rcx + 8], rax
jne 0x140064de0
cmp dword [rdi], 0x2733
je 0x140064dfb
call fcn.14006d5d0
mov rdx, qword [rdi + 8]
mov rax, qword [rax + 8]
cmp qword [rdx + 8], rax
jne 0x140064e6d
cmp dword [rdi], 0x4d5
jne 0x140064e6d
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 0x140064e4e
mov dword [rdi], r15d
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140088830
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rbp
ret
call fcn.14006d5d0
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 0x140064e29
mov eax, r15d
jmp 0x140064e36
Function at 0x140064f50
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400de880]
test rax, rax
jne 0x140065135
xor r10d, r10d
mov dword [rsp + 0x28], r10d
mov eax, 0xfaba0065
mov dword [rsp + 0x24], eax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov r11, qword [rcx + 0x10]
mov qword [rsp + 0x48], r11
mov r15, r11
mov qword [rsp + 0x50], r11
mov rcx, r11
nop dword [rax + rax]
movups xmm0, xmmword [rcx + 0x58]
movups xmmword [rsp + 0x58], xmm0
movd ecx, xmm0
sub cx, 8
mov word [rsp + 0x58], cx
test r10d, r10d
je 0x140065006
mov rdx, qword [rsp + 0x60]
movzx ecx, cx
shr rcx, 1
lea r9, [rdx + rcx*2]
mov r8d, 0x811c9dc5
mov qword [rsp + 0x38], rdx
cmp rdx, r9
je 0x140064ffd
movsx ecx, byte [rdx]
xor ecx, r8d
imul r8d, ecx, 0x1000193
add rdx, 2
jmp 0x140064fe0
cmp r8d, r10d
jne 0x140065115
mov rbx, qword [r11 + 0x30]
mov qword [rsp + 0x68], rbx
movsxd rcx, dword [rbx + 0x3c]
mov r14, qword [rcx + rbx + 0x88]
mov qword [rsp + 0xa8], r14
mov r9d, r14d
add r9, rbx
mov qword [rsp + 0x70], r9
shr r14, 0x20
mov dword [rsp + 0x78], r14d
cmp r9, rbx
je 0x140065115
mov edi, dword [r9 + 0x18]
mov dword [rsp + 0x20], edi
nop dword [rax + rax]
mov ecx, edi
dec edi
mov dword [rsp + 0x20], edi
test ecx, ecx
je 0x140065115
mov edx, dword [r9 + 0x20]
add rdx, rbx
mov r8d, dword [rdx + rdi*4]
add r8, rbx
mov qword [rsp + 0x40], r8
mov edx, 0x811c9dc5
nop dword [rax + rax]
movsx ecx, byte [r8]
inc r8
mov qword [rsp + 0x40], r8
test cl, cl
jne 0x140065108
cmp edx, eax
jne 0x140065103
mov ecx, dword [r9 + 0x1c]
add rcx, rbx
mov eax, dword [r9 + 0x24]
add rax, rbx
movzx eax, word [rax + rdi*2]
mov edx, dword [rcx + rax*4]
add rdx, rbx
cmp rdx, r9
jbe 0x14006512b
lea rax, [r9 + r14]
cmp rdx, rax
jae 0x14006512b
mov r10d, 0x811c9dc5
mov dword [rsp + 0xa0], r10d
mov eax, r10d
mov dword [rsp + 0xa4], eax
mov qword [rsp + 0x30], rdx
cmp byte [rdx], 0x2e
je 0x1400650e1
inc rdx
jmp 0x1400650d2
inc rdx
mov qword [rsp + 0x30], rdx
cmp byte [rdx], 0
je 0x1400650f0
jmp 0x1400650e1
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], r10d
mov r11, r15
mov qword [rsp + 0x48], r15
jmp 0x140065115
jmp 0x140065050
xor ecx, edx
imul edx, ecx, 0x1000193
jmp 0x140065080
mov r11, qword [r11]
mov rcx, r11
mov qword [rsp + 0x48], r11
cmp r11, r15
jne 0x140064fb0
xor edx, edx
mov qword [0x1400de880], rdx
mov rax, rdx
mov ecx, 0x13333337
call rax
jmp 0x140065140
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140068f80
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x1400da5c0]
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.140088710
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 0x140068ff3
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140069072
cmp eax, 0xb7
jne 0x140069008
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rbx], 0
jne 0x140069041
lea rcx, [rbx + 8]
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x14006903e
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 0x140069072
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 0x140069072
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140088830
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret

Function at 0x14006af00
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140074420
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._i__Error_Code:
call fcn.140037180
mov rcx, rax
mov rdx, rbx
call fcn.140037180
lea rdx, [0x14003ee40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3