joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006df20
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14006e0cd
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14006dcc0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14006e096
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006e010
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14006e085
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14006e04d
mov r10, qword [rdx]
cmp r10, rax
je 0x14006e047
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 0x14006e085
cmp r9, rdx
je 0x14006e061
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14006e0a7
cmp r9, rdx
jne 0x14006e052
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
jne 0x14006dfc0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
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 0x14006e085
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x140074450
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov rbp, rcx
sar rdi, 2
test rdi, rdi
je 0x14007462f
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x60], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x1400744a0
mov eax, ntohs
jmp 0x1400744ce
cmp rdi, 0x44
jb 0x1400744ad
mov eax, 7
jmp 0x1400744ce
cmp rdi, 0x27
jb 0x1400744ba
mov eax, 5
jmp 0x1400744ce
cmp rdi, 7
jb 0x1400744c7
mov eax, 3
jmp 0x1400744ce
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x1400744e7
mov r15, rdi
mov r8, rdi
mov edx, 0x8b8b8b8b
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x14007459f
mov qword [rsp + 0x58], r12
nop dword [rax + rax]
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea r12, [rsi + rdx*4]
mov r8d, r11d
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
xor r8d, dword [rsi + rdx*4]
xor r8d, dword [r12]
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x14007455d
mov rax, rbx
jmp 0x140074572
cmp rcx, rbx
ja 0x14007456f
mov rax, qword [rbp]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x140074572
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [r12], r8d
cmp rcx, r15
jb 0x140074510
mov r12, qword [rsp + 0x58]
add r15, rdi
cmp rcx, r15
jae 0x14007461b
inc r14
lea rbp, [rcx - 1]
inc r13
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [rsi + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x1400745b1
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400763d0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x140183fc0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rcx
mov r15, r9
mov rcx, r8
mov rsi, r8
mov rdi, rdx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14007655c
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x14007654c
mov rcx, rdi
call sub.libssl_3_x64.dll_SSL_new
mov rcx, rsi
mov rdi, rax
call sub.MSVCP140.dll__Mtx_unlock
test rdi, rdi
je 0x1400764de
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 1
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, ebp
call sub.libcrypto_3_x64.dll_BIO_new_socket
xor r9d, r9d
mov rcx, rax
mov r14, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call sub.libcrypto_3_x64.dll_BIO_ctrl
mov r8, r14
mov rdx, r14
mov rcx, rdi
call sub.libssl_3_x64.dll_SSL_set_bio
mov r9, qword [rsp + 0x80]
add r9, 8
cmp qword [r9 + 0x18], 0xf
jbe 0x140076493
mov r9, qword [r9]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x37]
call sub.libssl_3_x64.dll_SSL_ctrl
mov rdx, rdi
mov rcx, r15
call fcn.14007ee00
cmp al, 1
jne 0x1400764ff
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
lea edx, [r9 + 0x66]
call sub.libcrypto_3_x64.dll_BIO_ctrl
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, rdi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14011c640
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call sub.libssl_3_x64.dll_SSL_shutdown
mov rcx, rsi
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14007655c
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x14007654c
mov rcx, rdi
call sub.libssl_3_x64.dll_SSL_free
mov rcx, rsi
call sub.MSVCP140.dll__Mtx_unlock
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor eax, eax
jmp 0x1400764e1
dec eax
mov ecx, 6
mov dword [rsi + 0x4c], eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140079bf0
Capabilities:
Create thread

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 rax, qword [0x140183fc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rcx
xor r15d, r15d
lea rax, vtable.httplib::ThreadPool.0
mov qword [rcx], rax
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x20], r15
mov qword [rcx + 0x28], r15
lea ecx, [r15 + 0x50]
call fcn.14011c4e8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsi + 0x20], rax
mov byte [rsi + 0x30], r15b
lea rcx, [rsi + 0x38]
call sub.MSVCP140.dll__Cnd_init_in_situ
nop
lea rcx, [rsi + 0x80]
mov dword [rcx], r15d
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], r15
lea edx, [r15 + 2]
call sub.MSVCP140.dll__Mtx_init_in_situ
nop
test rbp, rbp
je 0x140079d13
nop dword [rax]
mov qword [rsp + 0x38], rsi
mov rdi, qword [rsi + 0x10]
cmp rdi, qword [rsi + 0x18]
je 0x140079cfc
mov ecx, 8
call fcn.14011c4e8
test rax, rax
je 0x140079cc3
mov qword [rax], rsi
jmp 0x140079cc6
mov rax, r15
mov qword [rsp + 0x38], rax
lea r14, [rdi + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140072360]
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 0x140079d3d
add qword [rsi + 0x10], 0x10
jmp 0x140079d0d
lea r8, [rsp + 0x38]
mov rdx, rdi
lea rcx, [rsi + 8]
call fcn.1400714f0
sub rbp, 1
jne 0x140079ca0
mov rax, rsi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14011c640
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
mov dword [r14], r15d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140086920
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400869ec
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400869ec
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140086a05
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x1400869dc
cmp byte [rax], 0x5c
jne 0x1400869d6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400869d6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400869c2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400869d3
test r8b, 0x10
jne 0x1400869d6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400869d6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14008ac80
test edi, edi
jne 0x140086940
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140089000
int3
Function at 0x14008bb60
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
lea rsi, [rdx + 0x10]
mov rdx, qword [rsi]
call fcn.1400a0060
lea r15d, [rbp - 6]
cmp qword [rdi + 0x18], 0xf
jbe 0x14008bbc4
mov r14, qword [rdi]
mov rcx, r14
mov rdi, r14
jmp 0x14008bbca
mov r14, rdi
mov rcx, rdi
mov r13, qword [rsi]
add r13, rcx
cmp rdi, r13
je 0x14008bccf
lea r8, [0x14014d280]
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x14008bc6d
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rax, rdx
jae 0x14008bc4d
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
mov rcx, rbx
cmp rdx, 0xf
jbe 0x14008bc42
mov rcx, qword [rbx]
mov byte [rcx + rax], r9b
mov byte [rcx + rax + 1], 0
jmp 0x14008bc63
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140016220
lea r8, [0x14014d280]
sub rdi, 6
sub rsi, 1
jne 0x14008bc10
inc r14
cmp r14, r13
jne 0x14008bbe0
cmp r15d, 0xfffffffa
jle 0x14008bccf
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rax, ebp
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14008bcc0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14008bcb5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14008bccf
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140016220
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x14008bd20
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14008bd05
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14008bcfd
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14008bd17
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140016220
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x14008bce0
mov rax, rbx
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 0x14008bd40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [0x140183fc0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov ebp, r9d
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
je 0x14008bea0
lea rax, [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x78], 0
mov rcx, qword [rbx + 0x3b8]
test rcx, rcx
je 0x14008bda9
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xc0], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.14008a4f0
movzx eax, byte [rbx + 0x37c]
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x28], al
mov dword [rsp + 0x20], ebp
mov r9d, dword [rbx + 0x378]
mov r8d, edi
lea rdx, [0x14013b470]
mov rcx, rsi
call fcn.140073cf0
mov rsi, rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14008be36
mov r8, qword [rcx]
lea rax, [rsp + 0x40]
cmp rcx, rax
setne dl
call qword [r8 + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rsp + 0x78], 0
xchg qword [rbx + 0x48], rsi
mov rax, qword [rbx + 0x48]
nop
cmp rax, 0xffffffffffffffff
je 0x14008bea0
test edi, edi
jne 0x14008be9b
mov dword [rsp + 0xc8], 0x80
mov rcx, qword [rbx + 0x48]
nop
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0xd0]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14008bea0
movzx eax, word [rsp + 0xd0]
cmp ax, 2
je 0x14008be88
cmp ax, 0x17
jne 0x14008bea0
movzx ecx, word [rsp + 0xd2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
test edi, edi
setns al
jmp 0x14008bea2
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14011c640
add rsp, 0x168
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14008dac0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14008daf4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14008dae0
ret
Function at 0x14008f310
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x140183fc0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbx, r8
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x34], 0x400
cmp qword [rdx + 0x18], 0xf
jbe 0x14008f34c
mov rdx, qword [rdx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14008f498
cmp qword [rbx + 0x18], 0xf
jbe 0x14008f37e
mov rbx, qword [rbx]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14008f498
mov eax, dword [rsp + 0x34]
cmp eax, 0x400
ja 0x14008f498
lea r8, [rax - 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400126b0
nop
mov rdx, qword [rsp + 0x50]
mov r8, rdx
mov rcx, qword [rsp + 0x58]
mov r9, qword [rsp + 0x40]
test rdx, rdx
je 0x14008f42b
nop word [rax + rax]
lea rax, [rsp + 0x40]
cmp rcx, 0xf
cmova rax, r9
cmp byte [rax + r8 - 1], 0
jne 0x14008f42b
sub r8, 1
jne 0x14008f410
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rsp + 0x40]
cmp rcx, 0xf
cmova rdx, r9
mov rcx, rdi
call fcn.1400126b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14008f4ad
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008f491
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008f491
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c524
jmp 0x14008f4ad
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], sil
mov rax, rdi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14011c640
add rsp, 0x470
pop rdi
pop rsi
pop rbx
ret
Function at 0x14008f650
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x140183fc0]
xor rax, rsp
mov qword [rsp + 0x450], rax
movzx eax, word [rcx]
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp ax, 2
je 0x14008f68c
cmp ax, 0x17
jne 0x14008f737
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsi], eax
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x40]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x14008f737
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14008f6e6
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x14008f720
mov rsi, rdi
cmp rax, 0xf
jbe 0x14008f704
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov al, 1
mov byte [rsi + rbx], 0
jmp 0x14008f739
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.1400160e0
mov al, 1
jmp 0x14008f739
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14011c640
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400930a0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x140183fc0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rcx
mov r14, rdx
lea rcx, [rsp + 0x30]
call fcn.14004e7a0
mov rbx, qword [rsp + 0x30]
xor r15d, r15d
movabs r13, 0x7ffffffffff0bdbf
mov qword [rsp + 0x2a0], rdi
movabs r12, 0x7fffffffffffffff
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], 0x2710
nop word [rax + rax]
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
lea ecx, [rbp + 1]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x140093154
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140093120
xor al, al
jmp 0x140093268
jne 0x140093266
call sub.MSVCP140.dll__Query_perf_frequency
mov rdi, rax
call sub.MSVCP140.dll__Query_perf_counter
mov rcx, rax
cmp rdi, 0x989680
jne 0x140093179
imul rdx, rcx, 0x64
jmp 0x1400931f6
cmp rdi, 0x16e3600
jne 0x1400931d5
movabs rdi, 0xb2f4fc0794908cf3
mov rax, rdi
imul rcx
lea r8, [rcx + rdx]
sar r8, 0x18
mov rax, r8
shr rax, 0x3f
add r8, rax
imul rax, r8, 0x16e3600
sub rcx, rax
mov rax, rdi
imul rcx, rcx, 0x3b9aca00
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, r8, 0x3b9aca00
jmp 0x1400931f3
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
mov rdx, rax
imul rax, rcx, 0x3b9aca00
add rdx, rax
sub rdx, rbx
movabs rax, 0x431bde82d7b634db
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, r14, 0x3e8
cmp rdx, rax
jg 0x14009314d
lea rcx, [rsp + 0x38]
call fcn.14004e7a0
mov rax, qword [rsp + 0x38]
cmp rax, r13
jge 0x140093252
add rax, 0xf4240
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.14001af80
jmp 0x140093100
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r12
call fcn.14001af80
jmp 0x140093100
mov al, 1
mov rdi, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14011c640
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x14009f3f0
Capabilities:
Receive data
Receive 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, 0x20
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov r14, rcx
nop word [rax + rax]
mov r9d, edi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x14009f444
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14009f420
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400a09f0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140183fc0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea edi, [rcx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x1400a0a5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400a0a30
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14011c640
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x1400a0a90
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140183fc0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea edi, [rcx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x1400a0afe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400a0ad0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14011c640
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret