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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x30
mov r13, r8
mov rsi, rdx
movzx eax, byte [r8]
mov r12d, eax
movabs rcx, 0xcbf29ce484222325
xor r12, rcx
movabs rcx, 0x100000001b3
imul r12, rcx
mov rcx, qword [0x1403f4b60]
and rcx, r12
add rcx, rcx
mov rdx, qword [0x1403f4b48]
mov rbx, qword [rdx + rcx*8 + 8]
mov r15, qword [0x1403f4b38]
cmp rbx, r15
jne 0x14005b8e7
mov rbx, r15
mov rbp, r15
jmp 0x14005b922
mov rdx, qword [rdx + rcx*8]
jmp 0x14005b8f6
cmp rbx, rdx
je 0x14005b91c
mov rbx, qword [rbx + 8]
cmp al, byte [rbx + 0x10]
jne 0x14005b8ed
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x666666666666666
cmp qword [0x1403f4b40], rax
je 0x14005baa8
lea rax, [0x1403f4b38]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x28
call fcn.1400c8ac8
mov rdi, rax
mov qword [rsp + 0x28], rax
mov al, byte [r13]
mov byte [rdi + 0x10], al
and qword [rdi + 0x18], 0
and qword [rdi + 0x20], 0
mov r8, qword [0x1403f4b40]
lea rcx, [r8 + 1]
xorps xmm1, xmm1
test rcx, rcx
js 0x14005b988
cvtsi2ss xmm1, rcx
jmp 0x14005b99d
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mov rcx, qword [0x1403f4b68]
xorps xmm0, xmm0
test rcx, rcx
js 0x14005b9b3
cvtsi2ss xmm0, rcx
jmp 0x14005b9c8
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1403f4b30]
comiss xmm0, xmm1
jae 0x14005ba3b
lea rcx, [0x1403f4b30]
call fcn.14005144c
mov rcx, qword [0x1403f4b60]
and rcx, r12
add rcx, rcx
mov rdx, qword [0x1403f4b48]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x1403f4b38]
cmp rax, rbx
je 0x14005ba27
mov r8, qword [rdx + rcx*8]
mov cl, byte [rdi + 0x10]
jmp 0x14005ba1f
mov rbx, rax
cmp rax, r8
je 0x14005ba7e
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x14005ba13
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov r8, qword [0x1403f4b40]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x1403f4b40], r8
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x1403f4b60]
and rax, r12
add rax, rax
mov rcx, qword [0x1403f4b48]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x1403f4b38]
jne 0x14005ba85
mov qword [rcx + rax*8], rdi
jmp 0x14005ba97
mov qword [rsp + 0x20], rax
jmp 0x14005ba2c
cmp r8, rbp
jne 0x14005ba90
mov qword [rcx + rax*8], rdi
jmp 0x14005ba9c
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14005ba9c
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x14005b902
lea rcx, str.unordered_map_set_too_long
call fcn.1400c9af8
int3
Function at 0x14005d360
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov dword [rsp + 8], ecx
push rsi
sub rsp, 0x20
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
mov r9, rdx
mov r10d, r8d
movabs rsi, 0x100000001b3
movzx eax, byte [rsp + r10 + 0x30]
inc r10
xor r9, rax
imul r9, rsi
cmp r10, 4
jb 0x14005d386
mov r10, qword [0x140160ef0]
and r10, r9
mov r9, qword [0x140160ed8]
add r10, r10
mov rax, qword [r9 + r10*8 + 8]
cmp rax, qword [0x140160ec8]
je 0x14005d3d4
mov r11, qword [r9 + r10*8]
jmp 0x14005d3cd
cmp rax, r11
je 0x14005d3d4
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14005d3c4
jmp 0x14005d3d7
mov rax, r8
test rax, rax
jne 0x14005d3e2
add rsp, 0x20
pop rsi
ret
movzx eax, byte [rsp + r8 + 0x30]
inc r8
xor rdx, rax
imul rdx, rsi
cmp r8, 4
jb 0x14005d3e2
and rdx, qword [0x140160ef0]
add rdx, rdx
mov rax, qword [r9 + rdx*8 + 8]
cmp rax, qword [0x140160ec8]
je 0x14005d42a
mov r8, qword [r9 + rdx*8]
jmp 0x14005d41f
cmp rax, r8
je 0x14005d42a
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14005d416
mov rax, qword [rax + 0x18]
jmp 0x14005d3dc
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.1400c9b1c
int3

Function at 0x14005fcb0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140160140]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
and qword [rbp - 0x20], 0
mov qword [rbp - 0x18], send
mov byte [rbp - 0x30], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14005fdd7
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r14, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
jne 0x14005fd80
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
and qword [rdi + 0x10], rax
and qword [rdi + 0x18], rax
xor r8d, r8d
lea rdx, [0x14013e74f]
mov rcx, rdi
call fcn.14004cfdc
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14005fde6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fd79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fe0a
call fcn.1400c8ac0
jmp 0x14005fde6
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x14005fd84
cmp rsi, qword [rbp - 0x18]
ja 0x14005fdb9
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rbx, qword [rbp - 0x30]
mov qword [rbp - 0x20], rsi
mov r8, rsi
mov rdx, rax
mov rcx, rbx
call fcn.1400f9370
mov byte [rbx + rsi], 0
jmp 0x14005fdc8
mov r9, rax
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.14004d78c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rdi + 0x10], xmm1
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c86e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400dd534
int3
Function at 0x140070fbc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov r9, qword [rdx]
mov rbx, r8
or rdx, 0xffffffffffffffff
mov rdi, rcx
inc rdx
cmp byte [r9 + rdx], 0
jne 0x140070fd3
mov ecx, 0x4fa38bcd
add rdx, 1
je 0x140070ffd
movsx eax, byte [r9]
inc r9
xor eax, ecx
imul ecx, eax, 0xf1546419
sub rdx, 1
jne 0x140070fe8
lea r8, [rsp + 0x48]
mov dword [rsp + 0x48], ecx
lea rdx, [rsp + 0x20]
call fcn.140071038
mov r8d, dword [rbx + 8]
mov rcx, rdi
sub r8d, dword [rbx]
mov rdx, qword [rbx]
mov r9, qword [rax]
add r9, 0x18
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140071038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x140071060
mov rax, qword [0x140160ef0]
and rax, r15
add rax, rax
mov rcx, qword [0x140160ed8]
mov rbx, qword [rcx + rax*8 + 8]
mov r14, qword [0x140160ec8]
cmp rbx, r14
jne 0x1400710ac
mov rbx, r14
mov rbp, r14
jmp 0x1400710ea
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x1400710be
cmp rbx, rdx
je 0x1400710e4
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1400710b5
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [0x140160ed0], rax
je 0x140071264
lea rax, [0x140160ec8]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.1400c8ac8
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
and qword [rdi + 0x18], 0
mov r8, qword [0x140160ed0]
lea rcx, [r8 + 1]
xorps xmm1, xmm1
test rcx, rcx
js 0x14007114b
cvtsi2ss xmm1, rcx
jmp 0x140071160
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mov rcx, qword [0x140160ef8]
xorps xmm0, xmm0
test rcx, rcx
js 0x140071176
cvtsi2ss xmm0, rcx
jmp 0x14007118b
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x140160ec0]
comiss xmm0, xmm1
jae 0x1400711f7
call fcn.140071290
mov rcx, qword [0x140160ef0]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x140160ed8]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x140160ec8]
cmp rax, rbx
je 0x1400711e3
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x1400711db
mov rbx, rax
cmp rax, r8
je 0x14007123a
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400711cf
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r8, qword [0x140160ed0]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x140160ed0], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x140160ed8]
mov rax, qword [0x140160ef0]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x140160ec8]
jne 0x140071241
mov qword [rcx + rax*8], rdi
jmp 0x140071253
mov qword [rsp + 0x20], rax
jmp 0x1400711e8
cmp r8, rbp
jne 0x14007124c
mov qword [rcx + rax*8], rdi
jmp 0x140071258
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140071258
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x1400710ca
lea rcx, str.unordered_map_set_too_long
call fcn.1400c9af8
int3
Function at 0x140071290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rcx, qword [0x140160ed0]
mov esi, 1
add rcx, rsi
mov rdx, qword [0x140160ef8]
xorps xmm1, xmm1
js 0x1400712c1
cvtsi2ss xmm1, rcx
jmp 0x1400712d6
mov rax, rcx
and rcx, rsi
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm1, dword [0x140160ec0]
cvttss2si ecx, xmm1
cmp ecx, 0x80000000
je 0x140071309
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
je 0x140071309
unpcklps xmm1, xmm1
movmskps eax, xmm1
and eax, esi
xor eax, esi
add ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x14014a104]
xor ecx, ecx
comiss xmm1, xmm0
jb 0x14007132e
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x14007132e
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x14007135c
cmp rdx, 0x200
jae 0x140071359
shl rdx, 3
cmp rdx, rcx
jae 0x14007135c
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov rax, rsi
shl rax, cl
cmp rdx, rax
ja 0x1400714e4
mov rbx, qword [0x140160ec8]
lea rax, [rdx - 1]
or rax, rsi
mov rdi, rsi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140160ed8]
lea rdx, [rdi + rdi]
call fcn.14004b434
mov rax, qword [0x140160ec8]
lea r9, [rdi - 1]
mov qword [0x140160ef0], r9
mov qword [0x140160ef8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400714c4
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
add r8, rsi
imul r11, r10
cmp r8, 4
jb 0x1400713de
mov rdi, qword [0x140160ed8]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x14007141c
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x14007148a
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x14007145f
mov r10, qword [r10]
cmp r10, rax
je 0x140071415
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 0x140071415
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x14007149e
cmp qword [rdi + r11*8], r10
jne 0x140071455
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 [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400714c4
mov r9, qword [0x140160ef0]
jmp 0x1400713ce
mov r10, qword [r10]
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 0x14007148a
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.1400714f4
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400c9af8
int3
Function at 0x1400715b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov r13, rdx
mov r12, rcx
cmp rdx, r8
je 0x140071671
mov rax, qword [rcx + 8]
mov rdi, rdx
mov rbp, qword [rcx + 0x18]
movabs r15, 0xcbf29ce484222325
mov r14, qword [rdx + 8]
xor ecx, ecx
mov qword [rsp + 0x20], rax
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + r13 + 0x10]
inc rcx
xor r15, rax
imul r15, rdx
cmp rcx, 4
jb 0x140071608
and r15, qword [r12 + 0x30]
add r15, r15
mov rax, qword [rbp + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x20
call fcn.1400c8ac0
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x140071692
cmp rdi, rsi
jne 0x14007163a
cmp qword [rsp + 0x30], r13
jne 0x14007166a
mov qword [rbp + r15*8], rdi
mov qword [r14], rdi
mov qword [rdi + 8], r14
lea r11, [rsp + 0x40]
mov rax, rsi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [rsp + 0x30], r13
jne 0x1400716a8
mov r13, qword [rsp + 0x20]
mov qword [rbp + r15*8], r13
mov rax, r13
jmp 0x1400716ab
mov rax, r14
mov qword [rbp + r15*8 + 8], rax
jmp 0x14007172a
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movabs r13, 0x100000001b3
movzx eax, byte [rdi + rdx + 0x10]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, 4
jb 0x1400716c8
mov r15, qword [r12 + 0x30]
mov r13, qword [rsp + 0x20]
and r15, rcx
add r15, r15
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x20
call fcn.1400c8ac0
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x140071720
cmp rdi, rsi
jne 0x1400716f7
jmp 0x140071665
mov qword [rbp + r15*8], r13
mov qword [rbp + r15*8 + 8], r13
cmp rdi, rsi
jne 0x1400716b2
jmp 0x14007166a
Function at 0x140072f80
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x310
mov rax, qword [0x140160140]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rdi, r8
mov dword [rsp + 0x50], 1
mov rbx, rdx
lea r8, [rsp + 0x50]
mov rbp, rcx
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x140072fd8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140073360
jmp 0x1400731fc
lea rax, [rsp + 0x58]
mov qword [rsp + 0x300], r14
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], r14
mov edx, 0x48000022
mov qword [rsp + 0x30], rax
mov rcx, rdi
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAIoctl]
lea r8, [rbx + 0x20]
mov dword [rbx + 0x58], 8
lea rdx, [rbp + 0x10]
mov qword [rbx + 8], rbp
mov qword [r8], rdx
lea r9, [rsp + 0x70]
test eax, eax
mov dword [rbx + 0x10], 8
mov rax, qword [rdx + 8]
cmove rdi, qword [rsp + 0x60]
mov qword [r8 + 8], rax
mov rcx, rdi
mov qword [rax], r8
lea rax, [rsp + 0x54]
mov qword [rdx + 8], r8
mov edx, 0xffff
mov r8d, 0x2005
mov qword [rsp + 0x20], rax
mov dword [rbx + 0x30], 0xffffffff
mov qword [rbx + 0x68], rdi
mov byte [rbx + 0x19c], r14b
mov dword [rsp + 0x54], 0x274
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x1400730a4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140073360
jmp 0x1400731f4
mov r9, qword [rsp + 0x8c]
lea r11, [0x140100960]
mov r10, qword [rsp + 0x84]
mov r8d, 0xffffffff
mov edx, r14d
nop dword [rax]
nop dword [rax + rax]
movsxd rcx, edx
mov rax, r10
shl rcx, 4
sub rax, qword [rcx + r11]
jne 0x1400730e8
mov rax, r9
sub rax, qword [rcx + r11 + 8]
test rax, rax
cmove r8d, edx
inc edx
cmp edx, 4
jb 0x1400730d0
test r8d, r8d
js 0x1400731b3
mov qword [rsp + 0x308], rsi
movsxd rax, r8d
lea rsi, [rax*8]
add rsi, rbp
mov rdi, qword [rsi + 0x90]
test rdi, rdi
jne 0x14007319f
mov r8d, dword [rsp + 0xcc]
lea r9, [rsp + 0x70]
mov edx, dword [rsp + 0xc8]
mov ecx, dword [rsp + 0xbc]
mov rbp, qword [rbp + 0x38]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r14d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140073191
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x140073188
xor r9d, r9d
mov r8, rdi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x140073198
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdi, 0xffffffffffffffff
mov qword [rsi + 0x90], rdi
mov rsi, qword [rsp + 0x308]
cmp rdi, 0xffffffffffffffff
je 0x1400731b3
mov qword [rbx + 0x70], rdi
jmp 0x1400731ba
or dword [rbx + 0x58], 0x1000000
mov word [rbx + 0x198], r14w
xor eax, eax
mov dword [rbx + 0xc0], send
mov qword [rbx + 0xf8], r14
mov qword [rbx + 0xb8], rbx
mov dword [rbx + 0x130], send
mov qword [rbx + 0x168], r14
mov qword [rbx + 0x128], rbx
mov r14, qword [rsp + 0x300]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400c86e0
add rsp, 0x310
pop rdi
pop rbp
pop rbx
ret
Function at 0x140074940
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, rcx
mov rsi, r8
mov rcx, qword [r8 + 0x70]
mov rbx, rdx
cmp rcx, 0xffffffffffffffff
jne 0x1400749d0
lea rdi, [rdx + 0x58]
mov edx, dword [rdx + 0x58]
test dl, 0x40
je 0x140074a4f
and edx, 0xffffffbf
mov rcx, rdi
sub dword [rbx + 0x7c], 1
mov dword [rdi], edx
jne 0x1400749a2
mov eax, edx
and al, 5
cmp al, 4
jne 0x1400749a2
and edx, 0xfffffffb
mov dword [rdi], edx
test dl, 8
je 0x14007499e
mov rax, qword [rbx + 8]
dec dword [rax + 8]
lea rcx, [rbx + 0x58]
cmp qword [rbx + 0x100], 0
mov rdi, rcx
je 0x140074a4f
mov ecx, dword [r8 + 0x40]
call fcn.14007b050
mov ecx, eax
call fcn.140073360
mov edx, eax
mov rcx, rbx
call qword [rbx + 0x100]
jmp 0x140074a4f
cmp dword [r8 + 0x40], 0
jl 0x140074a29
lea r9, [rdx + 0x110]
mov dword [rsp + 0x20], 8
mov edx, 0xffff
mov r8d, 0x700b
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140074a29
mov rax, qword [rbx + 0x130]
mov qword [rsi + 0x1a8], rax
mov rax, qword [rbx + 0x100]
mov qword [rbx + 0x130], rsi
test rax, rax
je 0x140074a23
xor edx, edx
mov rcx, rbx
call rax
lea rdi, [rbx + 0x58]
jmp 0x140074a4f
mov rcx, qword [rsi + 0x70]
call qword [sym.imp.WS2_32.dll_closesocket]
lea rdi, [rbx + 0x58]
mov qword [rsi + 0x70], 0xffffffffffffffff
test byte [rdi], 0x40
je 0x140074a4f
mov rdx, rsi
mov rcx, rbx
call fcn.140075520
mov ecx, dword [rbx + 0x78]
mov eax, dword [rdi]
dec ecx
mov dword [rbx + 0x78], ecx
test al, 1
je 0x140074a76
test ecx, ecx
jne 0x140074a76
test al, 0x20
jne 0x140074a76
or eax, 0x20
mov dword [rdi], eax
mov rax, qword [rbp + 0x50]
mov qword [rbx + 0x50], rax
mov qword [rbp + 0x50], rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140074a90
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
sub dword [rdx + 0x7c], 1
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
jne 0x140074acf
mov eax, dword [rdx + 0x58]
test al, 1
jne 0x140074acf
test al, 4
je 0x140074acf
and eax, 0xfffffffb
mov dword [rdx + 0x58], eax
test al, 8
je 0x140074acf
mov rax, qword [rdx + 8]
dec dword [rax + 8]
dec dword [rcx + 0x20]
xor edx, edx
mov eax, dword [rbx + 0x118]
mov edi, edx
test eax, eax
je 0x140074ae8
mov dword [rbx + 0x118], edx
jmp 0x140074b36
mov ecx, dword [r8 + 0x40]
test ecx, ecx
js 0x140074b31
test byte [rbx + 0x58], 1
je 0x140074afd
mov edi, 0x3e3
jmp 0x140074b38
mov rcx, qword [rbx + 0x110]
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, 0x7010
mov edx, 0xffff
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140074b29
or dword [rbx + 0x58], 0xc080
jmp 0x140074b38
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x140074b36
call fcn.14007b050
mov edi, eax
mov ecx, edi
call fcn.140073360
mov edx, eax
mov rcx, rbp
call qword [rbp + reloc.WS2_32.dll_WSASetLastError]
mov ecx, dword [rbx + 0x78]
mov eax, dword [rbx + 0x58]
dec ecx
mov dword [rbx + 0x78], ecx
test al, 1
je 0x140074b70
test ecx, ecx
jne 0x140074b70
test al, 0x20
jne 0x140074b70
or eax, 0x20
mov dword [rbx + 0x58], eax
mov rax, qword [rsi + 0x50]
mov qword [rbx + 0x50], rax
mov qword [rsi + 0x50], rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400757f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xorps xmm0, xmm0
lea rbx, [rdx + 0x80]
movups xmmword [rbx + 0x40], xmm0
lea r14, [rbx + 0x40]
xor ebp, ebp
movups xmmword [r14 + 0x10], xmm0
or dword [rdx + 0x58], 0x40000
lea rax, [0x140162e04]
movups xmmword [r14], xmm0
mov rsi, rdx
mov rdi, rcx
movups xmmword [r14 + 0x10], xmm0
test dword [rdx + 0x58], 0x80000
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], ebp
je 0x140075856
mov rax, qword [rbx + 0x70]
or rax, 1
mov qword [rbx + 0x58], rax
mov rcx, qword [rsi + 0x110]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x80]
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x40]
mov r8d, 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x78], ebp
call qword [sym.imp.WS2_32.dll_WSARecv]
mov ecx, dword [rsi + 0x58]
inc dword [rsi + 0x78]
bts ecx, 0x10
mov dword [rsi + 0x58], ecx
test eax, eax
jne 0x1400758d6
bt ecx, 0x11
jae 0x14007590f
mov eax, dword [rsp + 0x80]
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x68], rbp
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14007597f
mov rax, qword [rax + 0x68]
mov qword [rbx + 0x68], rax
mov rax, qword [rdi + 0x48]
mov qword [rax + 0x68], rbx
jmp 0x140075983
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14007590f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jg 0x1400758fa
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cdqe
mov qword [r14], rax
jmp 0x1400758b0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [r14], rax
jmp 0x1400758b0
test dword [rsi + 0x58], 0x80000
je 0x140075987
cmp qword [rbx + 0x78], 0xffffffffffffffff
lea rcx, [rbx + 0x78]
jne 0x140075987
mov rdx, qword [rbx + 0x70]
lea r8, [0x1400748d0]
mov dword [rsp + 0x28], 4
mov r9, rbx
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x140075987
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x140075966
call qword [sym.imp.KERNEL32.dll_GetLastError]
cdqe
mov qword [rbx + 0x40], rax
jmp 0x1400758b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [rbx + 0x40], rax
jmp 0x1400758b0
mov qword [rbx + 0x68], rbx
mov qword [rdi + 0x48], rbx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret