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

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x1401065d6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x1401ae790]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rsi, qword [rdx]
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140001bd0
test rdi, rdi
je 0x140106665
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14010667e
mov rcx, qword [rdx]
mov r8, qword [rcx]
xor edx, edx
test r8, r8
setne dl
movabs rax, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x1efac7090aef4a21
imul rax, rdx
test r8, r8
je 0x140106776
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1401067f8
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140106783
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140106640
cmp r9, 8
jae 0x14010678c
jmp 0x1401067f8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140001bd0
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1401067f8
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x1401067f8
mov r8, rcx
cmp r9, 8
jb 0x1401067f8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x140106790
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14010c6e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov ebp, dword [rdx + 0x54]
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov edx, ebp
call fcn.14010bf90
test eax, eax
jne 0x14010c8b9
add ebp, dword [rsp + 0x2c]
jo 0x14010c71e
mov dword [rsp + 0x2c], ebp
mov rax, qword [0x1402920f8]
mov rax, qword [rax]
test rax, rax
je 0x14010c78a
mov rax, qword [rdi + 0x38]
mov dword [rsi + 0x10], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x14], xmm0
mov dword [rsi + 0x24], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x28], xmm0
mov dword [rsi + 0x38], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x3c], xmm0
mov rcx, qword [rsp + 0x28]
mov qword [rsi], rcx
mov dword [rsi + 0x58], 0
mov dword [rsi + 0x4c], 0
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
ret
movzx edx, byte [0x140290618]
test dl, dl
je 0x14010c72d
movzx eax, dl
cmp eax, 1
je 0x14010c7a8
cmp eax, 2
jne 0x14010c89e
mov dl, 2
mov rcx, qword [0x140290608]
call fcn.140143b30
test al, al
je 0x14010c72d
mov rcx, qword [0x140290608]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x14010c8ea
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xb8], rax
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0x30], rbx
lea rax, [0x1401108b0]
mov qword [rsp + 0x38], rax
lea rax, str.Prioritize::new__flow
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [0x1401cc490]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], rdx
lea rdx, [rsp + 0x98]
call fcn.140144cc0
jmp 0x14010c72d
lea rcx, [0x140290608]
call fcn.1401aa5c0
mov edx, eax
test al, al
jne 0x14010c7a8
jmp 0x14010c72d
mov dword [rsp + 0x68], 3
lea rax, [0x1401cc6f8]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_initial_window_sizeC:UsersZeyn.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.4.5_srcproto_streamsprioritize.rs
lea r9, [0x1401cc378]
lea r8, [rsp + 0x68]
mov edx, 0x1b
call fcn.1401ad8c0
lea rcx, str.FieldSet_corrupted__this_is_a_bug_C:UsersZeyn.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.4.5_srcproto_streams_flow_control.rs
lea r8, [0x1401cc710]
mov edx, 0x22
call fcn.1401ad460
int3
Function at 0x140123440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
test edx, edx
je 0x140123478
mov byte [rcx + 4], send
bt rdx, 0x20
jb 0x1401235f3
movabs rax, 0xaaaaaaaaaaaaaaab
imul rax, r9
ror rax, 1
movabs rdx, 0x2aaaaaaaaaaaaaab
cmp rax, rdx
jb 0x140123605
mov rax, qword [0x1402920f8]
mov rax, qword [rax]
cmp rax, 1
ja 0x1401238ad
movzx edx, byte [0x140291210]
test dl, dl
je 0x1401238ad
movzx eax, dl
cmp eax, 1
mov rsi, rcx
je 0x1401234e0
cmp eax, 2
jne 0x14012388e
mov dl, 2
mov rcx, qword [0x140291200]
mov rdi, r9
call fcn.140143b30
mov rcx, rsi
test al, al
je 0x1401238ad
mov rcx, qword [0x140291200]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140123924
lea r8, [rcx + 0x30]
mov r9, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x98], rax
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rax, [0x140022ad0]
mov qword [rsp + 0x58], rax
lea rax, str.invalid_settings_payload_length__len
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 1
mov qword [rsp + 0xd8], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 1
lea rax, [rsp + 0x90]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x68], rax
lea rax, [0x1401d5970]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
mov qword [rsp + 0x88], r8
lea rdx, [rsp + 0x78]
call fcn.140144cc0
mov rcx, rsi
mov byte [rsi + 4], send
jmp fcn.14012345b
test r9, r9
je 0x1401237cd
mov byte [rcx + 4], reloc.WS2_32.dll_recv
jmp fcn.14012345b
test r9, r9
je 0x140123806
xor eax, eax
lea r15, [0x1401d7648]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x24], 0
xor r10d, r10d
mov dword [rsp + 0x2c], 0
add byte [rax], al
add byte [rax], al
mov dword [rcx], 0
mov dword [rcx + 8], 0
mov dword [rcx + 0x10], 0
mov dword [rcx + 0x18], 0
mov dword [rcx + 0x20], 0
mov dword [rcx + 0x28], 0
mov dword [rcx + 0x30], 0
mov byte [rcx + 0x38], 1
jmp fcn.140123461
mov dword [rsp + 0x28], 0
xor edi, edi
mov dword [rsp + 0x2c], 0
xor r10d, r10d
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x30], 0
xor eax, eax
lea rcx, [0x140291200]
mov rdi, r9
call fcn.1401aa5c0
mov r9, rdi
mov rcx, rsi
mov edx, eax
test al, al
jne 0x1401234e0
mov byte [rcx + 4], send
jmp fcn.14012345b
Function at 0x1401483b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1401483c0
test al, 1
je 0x1401483df
test al, 2
jne 0x1401483f7
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401f6cb8]
mov edx, 0x23
call fcn.1401ad550
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401f6cf8]
mov edx, 0x25
call fcn.1401ad550
int3

Function at 0x1401524d0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14015e150
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14015e188
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401524e0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14015e1a0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14015e1d5
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401524f0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14015e100
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14015e135
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x140153590
Capabilities:
Get number of processors

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r9
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x38], rdx
mov rsi, rcx
mov eax, dword [0x1402924d8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xd0]
cmp eax, 1
je 0x14015361d
test eax, eax
jne 0x14015377f
mov byte [rbp - 9], 1
mov eax, dword [0x1402924d8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x88]
lea rdx, [0x14014a490]
call fcn.14018d140
mov eax, dword [0x1402924d8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0xd0], 1
mov eax, dword [0x1402924d8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0xa0]
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140153739
lea rcx, [rax + 1]
mov edx, dword [0x1402924d8]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0xa0], rcx
mov rcx, qword [rdx + 0xa8]
test rcx, rcx
je 0x14015374b
lock inc qword [rcx]
jle 0x140153794
mov eax, dword [0x1402924d8]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
dec qword [rax + 0xa0]
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
cmp qword [rcx + 0xb8], 0
je 0x140153769
add rcx, 0xb8
lea rdx, [rbp - 0x28]
mov r8d, 3
call fcn.14014b3e0
test rax, rax
je 0x14015371e
mov rax, qword [rbp - 0x18]
lock dec qword [rax]
jne 0x1401536f2
lea rcx, [rbp - 0x18]
mov rdi, rdx
call fcn.140151950
mov rdx, rdi
mov qword [rsi + 8], rdx
mov qword [rsi], 0
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp - 0x20]
call fcn.140153420
mov byte [rbp - 9], 0
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140153731
mov rax, qword [rbp - 0x18]
movups xmm0, xmmword [rbp - 0x28]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
movups xmmword [rsi + 0x10], xmm0
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
mov byte [rbp - 9], 1
lea rcx, str.C:UsersZeyn.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_src_runtimecontextcurrent.rs
call fcn.1401ad3e0
jmp 0x140153794
mov ecx, dword [0x1402924d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov qword [rcx + 0xa0], rax
xor eax, eax
jmp 0x140153781
lea rcx, str.A_Tokio_1.x_context_was_found__but_IO_is_disabled._Call__enable_io__on_the_runtime_builder_to_enable_IO.A_Tokio_1.x_context_was_found__but_timers_are_disabled._Call__enable_time__on_the_runtime_builder_to_enable_timers.C:UsersZeyn.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_src_runtime_schedulercurrent_threadmod.rs
mov edx, 0x68
mov r8, rdi
call fcn.1401ad460
jmp 0x140153794
mov al, 1
mov byte [rbp - 0x28], al
mov byte [rbp - 9], 1
lea rcx, [rbp - 0x28]
mov rdx, rdi
call fcn.1401ab4b0
ud2
Function at 0x140153910
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x10], 0xffffffffffffffff
je 0x140153928
add rcx, 0x10
add rsp, 0x28
jmp 0x14015f010
lea rcx, str.C:UsersZeyn.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_srciopoll_evented.rs
call fcn.1401ad440
int3
jmp 0x1401862e0
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 6
mov r8d, 1
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140186318
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14015e080
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14015e0aa
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x14015e0c0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x14015e0ea
xor eax, eax
add rsp, 0x28
invalid
sub bl, al
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

Function at 0x14015e100
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14015e100
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14015e135
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14015e150
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14015e150
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14015e188
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14015e1a0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14015e1a0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14015e1d5
xor eax, eax
add rsp, 0x38
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x14015e1f0
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x58
in al, dx
pop rax
mov rdi, rdx
mov rsi, qword [rcx]
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 8
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14015e317
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x14015e278
mov eax, 0x3e8
mul qword [rdi]
mov r8d, r9d
imul r9, r8, 0x431bde83
shr r9, 0x32
shr ecx, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
cmovae ecx, eax
xor r8d, r8d
neg rdx
sbb r8d, r8d
or r8d, r9d
mov r9d, dword [rdi + 0x18]
cmp r9d, 0x3b9aca00
je 0x14015e2b9
mov eax, 0x3e8
mul qword [rdi + 0x10]
mov ecx, r9d
imul r9, rcx, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor ecx, ecx
neg rdx
sbb ecx, ecx
or ecx, r9d
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], r8d
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x48]
mov rcx, rsi
mov edx, 0x98000004
mov r9d, recv
call qword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x14015e317
xor eax, eax
jmp 0x14015e324
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x140183380
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x58
ret

Function at 0x1401833c0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x410], 0xfffffffffffffffe
mov qword [rbp + 0x3f0], rcx
mov qword [rbp + 0x3f8], 0
mov qword [rbp + 0x400], 2
mov qword [rbp + 0x408], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140183460
jmp 0x14018344f
jae 0x14018351f
cmp r8, 0x201
jae 0x140183460
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x1401834b7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14018348f
lea rcx, [rbp + 0x3f8]
mov rdx, rbx
call fcn.1401abe60
mov rsi, qword [rbp + 0x3f8]
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x408], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3e8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1401834e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140183599
mov r8d, r13d
cmp r12, r8
jne 0x140183440
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401835cd
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14018344f
jmp 0x140183460
cmp r14, r8
jb 0x1401835e7
lea rcx, [rbp + 0x3c8]
mov rdx, r15
call fcn.140186500
movups xmm0, xmmword [rbp + 0x3c8]
movups xmm1, xmmword [rbp + 0x3d8]
movaps xmmword [rbp + 0x3b0], xmm1
movaps xmmword [rbp + 0x3a0], xmm0
mov rsi, qword [rbp + 0x3f0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
je 0x140183582
mov rcx, qword [rbp + 0x400]
add rdx, rdx
mov r8d, 2
call fcn.140008560
mov rax, rsi
add rsp, 0x498
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3f0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
jne 0x14018356d
jmp 0x140183582
lea rcx, str.internal_error:_entered_unreachable_code_rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6library_alloc_src_vecmod.rs
lea r8, str.uf_
mov edx, 0x28
call fcn.1401ad550
jmp 0x1401835fc
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1401ad970
ud2
Function at 0x1401862e0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x10], 0xffffffffffffffff
je 0x140153928
add rcx, 0x10
add rsp, 0x28
jmp 0x14015f010
lea rcx, str.C:UsersZeyn.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_srciopoll_evented.rs
call fcn.1401ad440
int3
jmp 0x1401862e0
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 6
mov r8d, 1
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140186318
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140186330
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x140186365
movsxd rdx, eax
xor ecx, ecx
mov rax, rcx
add rsp, 0x28
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x14018635d
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x28
ret

Function at 0x1401863a0
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1401863d2
movsxd rdx, eax
xor eax, eax
add rsp, 0x28
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x28
ret

Function at 0x1401863f0
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [rcx]
mov rcx, qword [rax]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rsp + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
call qword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
cmp esi, 0xffffffff
jne 0x14018643f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
xor ecx, ecx
cmp esi, 0xffffffff
sete cl
mov edx, dword [rsp + 0x3c]
cmove rdx, rax
mov rax, rcx
add rsp, 0x40
pop rsi
ret