joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b0b20
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov byte [0x140123b31], 1
mov ecx, 1
call fcn.1400cd110
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c59e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400b0bc1
cmp dword [rsp + 0x38], 0
jne 0x1400b0b8c
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400b0baf
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400cd0f0
add rsp, 0x68
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400b0be0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov byte [0x140123b34], 1
mov ecx, 1
call fcn.1400cd110
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c5a90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400b0c81
cmp dword [rsp + 0x38], 0
jne 0x1400b0c4c
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400b0c6f
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400cd0f0
add rsp, 0x68
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400b0ca0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov byte [0x140123b30], 1
mov ecx, 1
call fcn.1400cd110
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c5b60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400b0d41
cmp dword [rsp + 0x38], 0
jne 0x1400b0d0c
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400b0d2f
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400cd0f0
add rsp, 0x68
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400b2120
Capabilities:
Create thread

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [0x14011a070]
mov ecx, 0xc8
cmp eax, ecx
cmovle eax, ecx
mov dword [0x14011a070], eax
mov byte [0x140123b26], 1
cmp byte [0x1401239ea], 0
je 0x1400b2243
mov rax, qword [0x140124ae0]
cmp byte [rax + 0x1d0], 0
je 0x1400b223c
lea rcx, [rax + 0x140]
cmp qword [rax + 0x158], 0x10
jb 0x1400b2189
mov rcx, qword [rax + 0x140]
mov r8, qword [rax + 0x150]
cmp r8, 4
jne 0x1400b21aa
lea rdx, str.EXIT
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400b2243
mov ecx, 1
call fcn.1400cd110
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c5b90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400b2228
cmp dword [rsp + 0x38], 0
jne 0x1400b21fb
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400b221d
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
jmp 0x1400b2243
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov byte [0x140123b26], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400cd0f0
add rsp, 0x78
ret
Function at 0x1400b44e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400b4577
mov byte [reloc.WS2_32.dll_accept], 0
mov ecx, 1
call fcn.1400cd110
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c5d00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400b4589
cmp dword [rsp + 0x38], 0
jne 0x1400b4554
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400b4577
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400cd0f0
add rsp, 0x68
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400bad10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x56], 0
je 0x1400bad33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x3e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x55
jb 0x1400bad20
mov byte [rcx + 0x56], 0
mov rax, rcx
ret
Function at 0x1400bc220
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400bc2b7
mov byte [reloc.WS2_32.dll_accept], 0
mov ecx, 1
call fcn.1400cd110
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c6020]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400bc2c9
cmp dword [rsp + 0x38], 0
jne 0x1400bc294
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400bc2b7
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400cd0f0
add rsp, 0x68
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400bec70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x39], 0
je 0x1400bec93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x3e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x38
jb 0x1400bec80
mov byte [rcx + 0x39], 0
ret

Function at 0x1400beca0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x45], 0
je 0x1400becc3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x3e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x44
jb 0x1400becb0
mov byte [rcx + 0x45], 0
ret

Function at 0x1400becd0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa1], 0
je 0x1400becf8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x3e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa0
jb 0x1400bece0
mov byte [rcx + 0xa1], 0
ret

Function at 0x1400bed00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x81], 0
je 0x1400bed28
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x3e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x80
jb 0x1400bed10
mov byte [rcx + 0x81], 0
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x20], rdx
mov rcx, rdx
call fcn.1400aa510
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x1400bee4b
mov rsi, qword [rdi]
lea rbp, [rcx + rsi]
mov rbx, rsi
jmp 0x1400bee55
mov rsi, rdi
lea rbp, [rcx + rdi]
mov rbx, rdi
cmp rbx, rbp
je 0x1400bee78
sub rsi, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, rbp
jne 0x1400bee60
mov rcx, qword [rdi + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400bee85
mov r8, qword [rdi]
xor edx, edx
movabs r9, 0xcbf29ce484222325
test rcx, rcx
je 0x1400beeb4
movabs r10, 0x100000001b3
movzx eax, byte [rdx + r8]
xor r9, rax
imul r9, r10
inc rdx
cmp rdx, rcx
jb 0x1400beea0
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1400c3730
cmp qword [rax + 8], 0
setne bl
mov rcx, rdi
call fcn.1400245d0
movzx eax, bl
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400cd0f0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400bef00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x50], rdx
mov rcx, rdx
call fcn.1400aa510
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x1400bef50
mov rsi, qword [rdi]
lea rbp, [rdx + rsi]
mov rbx, rsi
jmp 0x1400bef5a
mov rsi, rdi
lea rbp, [rdx + rdi]
mov rbx, rdi
cmp rbx, rbp
je 0x1400bef7a
sub rsi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + rsi], al
inc rbx
cmp rbx, rbp
jne 0x1400bef62
mov rdx, qword [rdi + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400bef87
mov r8, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x1400befc4
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x1400befb0
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400c3730
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400beff0
cmp rbx, qword [r14 + 8]
je 0x1400beff0
mov rbx, qword [rbx + 0x30]
lea rsi, [r14 + 0x40]
jmp 0x1400bf097
lea rsi, [r14 + 0x40]
mov rbx, qword [rsi + 8]
sub rbx, qword [rsi]
sar rbx, 6
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400c1650
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm6, xmmword [0x1400f6700]
movdqu xmmword [rsp + 0x30], xmm6
mov byte [rsp + 0x20], 0
mov rbp, qword [rsi + 8]
cmp rbp, qword [rsi + 0x10]
je 0x1400bf079
mov rdx, rdi
mov rcx, rbp
call fcn.1400239f0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm6
movdqa xmm0, xmm6
movdqu xmmword [rsp + 0x30], xmm6
mov byte [rsp + 0x20], 0
add qword [rsi + 8], 0x40
jmp 0x1400bf08d
lea r9, [rsp + 0x20]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.1400c43b0
nop
lea rcx, [rsp + 0x20]
call fcn.1400245d0
shl rbx, 6
add rbx, qword [rsi]
mov rcx, rdi
call fcn.1400245d0
lea rax, [rbx + 0x20]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400cd0f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400bf0e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x98], rdx
mov rcx, rdx
call fcn.1400aa510
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x1400bf134
mov rsi, qword [rdi]
lea rbp, [rdx + rsi]
mov rbx, rsi
jmp 0x1400bf13e
mov rsi, rdi
lea rbp, [rdx + rdi]
mov rbx, rdi
cmp rbx, rbp
je 0x1400bf15e
sub rsi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, rbp
jne 0x1400bf146
mov rdx, qword [rdi + 0x10]
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400bf16b
mov r8, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x1400bf1a4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x1400bf190
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1400c3730
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400bf1d0
cmp rcx, qword [r14 + 8]
je 0x1400bf1d0
mov rbp, qword [rcx + 0x30]
lea rbx, [r14 + 0x40]
jmp 0x1400bf28c
lea rbx, [r14 + 0x40]
mov r8, qword [rbx + 8]
sub r8, qword [rbx]
movabs rax, 0x8888888888888889
imul r8
lea rbp, [r8 + rdx]
sar rbp, 6
mov rax, rbp
shr rax, 0x3f
add rbp, rax
mov r8, rdi
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.1400c1650
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.1400bfae0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov rsi, qword [rbx + 8]
cmp rsi, qword [rbx + 0x10]
je 0x1400bf264
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov rcx, rsi
call fcn.1400239f0
nop
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x30]
call fcn.1400c6bc0
nop
add qword [rbx + 8], 0x78
jmp 0x1400bf278
lea r9, [rsp + 0x30]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400c44f0
nop
lea rcx, [rsp + 0x70]
call fcn.1400bfde0
lea rcx, [rsp + 0x30]
call fcn.1400ac9c0
imul rax, rbp, 0x78
add rax, qword [rbx]
lea rbx, [rax + 0x20]
mov rcx, rdi
call fcn.1400245d0
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400cd0f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400c0b30
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, qword [rbp + 0x77]
mov qword [rbp - 0x49], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov qword [rbp - 9], 1
xor r15d, r15d
mov dword [rbp - 0xd], r9d
mov dword [rbp - 0x11], r15d
mov edx, 0x1bb
lea rcx, [rbp - 0x31]
call fcn.1400030e0
nop
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
lea r9, [rbp - 0x41]
lea r8, [rbp - 0x11]
lea rcx, str.127.0.0.1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x1400c0cd8
mov rbx, qword [rbp - 0x41]
test rbx, rbx
je 0x1400c0cce
movzx r14d, byte [rbp + 0x6f]
nop word [rax + rax]
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c0c26
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400c0cbd
test r14b, r14b
je 0x1400c0c50
mov dword [rbp - 0x39], 1
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x39]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400c0c67
mov qword [rbp - 0x39], rdi
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
call qword [rax + reloc.WS2_32.dll_recv]
cmp dword [rbx + 4], 0x17
jne 0x1400c0c8f
mov dword [rbp - 0x39], r15d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x39]
mov edx, 0x29
lea r8d, [rdx - 0xe]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x1400c0cb4
lea edx, [rax + 5]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x1400c0d2b
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1400c0be0
mov rbx, qword [rbp - 0x41]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
lea rcx, [rbp - 0x31]
call fcn.1400245d0
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400c0cfb
cmp rcx, rsi
mov rax, qword [rcx]
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], r15
mov rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400cd0f0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
lea rcx, [rbp - 0x31]
call fcn.1400245d0
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400c0d59
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], r15
mov rax, rdi
jmp 0x1400c0d02
Function at 0x1400c1dd0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400c1e01
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1401250c8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1401250d8]
lea rdx, [rdi + rdi]
call fcn.140026250
mov rax, qword [0x1401250c8]
lea r9, [rdi - 1]
mov qword [0x1401250f0], r9
mov qword [0x1401250f8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400c1f74
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1401250d8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400c1ec0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400c1f35
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400c1efd
mov r10, qword [rdx]
cmp r10, rax
je 0x1400c1ef7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400c1f35
cmp r9, rdx
je 0x1400c1f11
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400c1f49
cmp r9, rdx
jne 0x1400c1f02
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400c1f6f
mov r9, qword [0x1401250f0]
jmp 0x1400c1e71
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400c1f35
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c4fb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14011a028]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov ecx, 0xd0
call fcn.1400cd110
mov r14, rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov r8d, 0xd0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
test eax, eax
je 0x1400a3550
call qword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
lea ecx, [rax - 1]
jmp 0x1400a3552
mov ecx, ebp
mov esi, 8
cmp ecx, esi
cmova esi, ecx
lea rax, vtable.httplib::ThreadPool.0
mov qword [r14], rax
mov qword [r14 + 8], rbp
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], rbp
mov qword [r14 + 0x20], rbp
mov qword [r14 + 0x28], rbp
mov ecx, 0x50
call fcn.1400cd110
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r14 + 0x20], rax
mov byte [r14 + 0x30], 0
lea rcx, [r14 + 0x38]
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
nop
lea rcx, [r14 + 0x80]
mov edx, 2
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
test rsi, rsi
je 0x1400a3623
mov qword [rsp + 0x30], r14
nop dword [rax]
mov rdi, qword [r14 + 0x10]
cmp rdi, qword [r14 + 0x18]
je 0x1400a360c
mov ecx, 8
call fcn.1400cd110
mov qword [rax], r14
mov qword [rsp + 0x40], rax
lea r15, [rdi + 8]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x1400c74e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x1400a364f
add qword [r14 + 0x10], 0x10
jmp 0x1400a361d
lea r8, [rsp + 0x30]
mov rdx, rdi
lea rcx, [r14 + 8]
call fcn.1400c1f80
sub rsi, 1
jne 0x1400a35c0
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400cd0f0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
mov dword [r15], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
jmp 0x1400a34f0