joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400eeba0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov qword [rbp - 0x30], rcx
add r9, r8
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], r9
mov word [rbp - 0x18], 0
mov dword [rbp - 0x10], 1
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x28]
call fcn.140093560
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x1402f0f41]
mov ecx, 0x800
mov edx, 1
call fcn.14001b9c0
test rax, rax
je 0x1400eed30
mov rbx, rax
mov qword [rbp - 0x28], 0x800
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0
mov rdi, qword [rbp - 0x40]
lea r12, [rbp - 4]
lea r15, [rbp - 8]
mov rsi, qword [rbp - 0x28]
mov r13, qword [rbp - 0x18]
sub rsi, r13
nop word [rax + rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400eec8d
mov r8d, dword [rbp - 4]
cmp rsi, r8
jae 0x1400eec50
lea rcx, [rbp - 0x28]
mov rdx, r13
call fcn.1401decf0
mov rbx, qword [rbp - 0x20]
jmp 0x1400eec3f
test eax, eax
jne 0x1400eecb0
mov eax, dword [rbp - 4]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
mov rdx, qword [rbp - 0x30]
jbe 0x1400eed13
movabs rax, 0xde00000002
jmp 0x1400eecbc
shl rax, 0x20
or rax, 2
mov rdx, qword [rbp - 0x30]
mov qword [rdx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdx], rax
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x1400eece4
mov r8d, 1
mov rcx, rbx
call fcn.14001b9d0
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1400eecfe
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.14001b9d0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x18]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rbp - 0x48]
test rdx, rdx
jne 0x1400eeced
jmp 0x1400eecfe
mov ecx, 1
mov edx, 0x800
call fcn.1401eddb0
ud2
Function at 0x1400f0ca0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
call fcn.1401aaee0
mov rsi, rax
cmp qword [rax], 0
je 0x1400f0cd7
mov rax, rsi
add rax, 8
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
jmp 0x1400f0d0b
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rax, rsi
add rax, 8
mov qword [rsi], 1
mov qword [rsi + 0x10], r14
lea rcx, [rbx + 1]
mov qword [rax], rcx
movabs r15, 0x736f6d6570736575
xor r15, rbx
movabs r12, 0x646f72616e646f6d
xor r12, r14
movabs r13, 0x6c7967656e657261
xor r13, rbx
movabs rbp, 0x7465646279746573
xor rbp, r14
mov esi, 1
lea rdi, [rsp + 0x50]
xorps xmm6, xmm6
nop word cs:[rax + rax]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
movups xmmword [rdi], xmm6
mov qword [rdi + 0x10], 0
mov qword [rsp + 0x68], rsi
mov r8d, 8
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x68]
call fcn.1400271b0
mov rcx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x50]
shl r9, 0x38
or r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x20]
add rax, rcx
rol rcx, 0xd
xor rdx, r9
xor rcx, rax
rol rax, 0x20
mov r8, qword [rsp + 0x28]
add r8, rdx
rol rdx, 0x10
xor rdx, r8
add rax, rdx
rol rdx, 0x15
add r8, rcx
rol rcx, 0x11
xor rdx, rax
xor rcx, r8
rol r8, 0x20
xor rax, r9
add rax, rcx
rol rcx, 0xd
xor rcx, rax
rol rax, 0x20
xor r8, 0xff
add r8, rdx
rol rdx, 0x10
xor rdx, r8
add rax, rdx
rol rdx, 0x15
add r8, rcx
rol rcx, 0x11
xor rcx, r8
rol r8, 0x20
xor rdx, rax
add rax, rcx
rol rcx, 0xd
xor rcx, rax
rol rax, 0x20
add r8, rdx
rol rdx, 0x10
xor rdx, r8
add rax, rdx
rol rdx, 0x15
add r8, rcx
rol rcx, 0x11
xor rcx, r8
rol r8, 0x20
xor rdx, rax
add rax, rcx
rol rcx, 0xd
add r8, rdx
rol rdx, 0x10
xor rdx, r8
rol rdx, 0x15
xor rcx, rax
add r8, rcx
rol rcx, 0x11
mov rax, r8
rol rax, 0x20
xor rax, rcx
xor rax, rdx
inc rsi
xor rax, r8
je 0x1400f0d60
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140106080
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1401060b4
mov rdx, qword [rsp + 0x20]
mov al, cl
add rsp, 0x28
ret
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140122610
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1401226a6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401f2370]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
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.1400271b0
test rdi, rdi
je 0x140122735
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14012274e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x140122846
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1401228c8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140122853
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 0x140122710
cmp r9, 8
jae 0x14012285c
jmp 0x1401228c8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400271b0
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 0x1401228c8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1401228c8
mov r8, rcx
cmp r9, 8
jb 0x1401228c8
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 0x140122860
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140122ca0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x140122d36
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x1401f2370]
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.1400271b0
test rdi, rdi
je 0x140122dc5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140122dde
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 0x140122ed6
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x140122f58
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140122ee3
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 0x140122da0
cmp r9, 8
jae 0x140122eec
jmp 0x140122f58
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400271b0
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 0x140122f58
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x140122f58
mov r8, rcx
cmp r9, 8
jb 0x140122f58
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 0x140122ef0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1401315c0
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, 0x108
test edx, edx
je 0x1401315f8
mov byte [rcx + 4], 0x12
bt rdx, 0x20
jb 0x14013168f
movabs rax, 0xaaaaaaaaaaaaaaab
imul rax, r9
ror rax, 1
movabs rdx, 0x2aaaaaaaaaaaaaab
cmp rax, rdx
jb 0x1401316a1
mov rax, qword [str.__r__]
mov rax, qword [rax]
cmp rax, 5
je 0x140131a9e
test byte [rdi + 4], ah
add byte [rax], al
test r9, r9
je 0x14013186d
mov byte [rcx + 4], 0x10
jmp fcn.1401315db
test r9, r9
je 0x1401318a6
xor eax, eax
lea r15, [0x14021bfe0]
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x2c], 0
xor r10d, r10d
mov dword [rsp + 0x34], 0
xor edi, edi
mov dword [rsp + 0x30], 0
jmp fcn.14013170c
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.1401315e1
mov dword [rsp + 0x30], 0
xor edi, edi
mov dword [rsp + 0x34], 0
xor r10d, r10d
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x38], 0
xor eax, eax
Function at 0x140139b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x30], 0
mov ebp, dword [rdx + 0x48]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, ebp
call fcn.14012cef0
test eax, eax
jne 0x140139d27
add dword [rsp + 0x34], ebp
mov rax, qword [str.__r__]
mov rax, qword [rax]
cmp rax, 5
je 0x140139b51
test rax, rax
je 0x140139bbb
mov rax, qword [rdi + 0x28]
mov dword [rsi + 0x10], 0
movups xmm0, xmmword [rsp + 0xa8]
movups xmmword [rsi + 0x14], xmm0
mov dword [rsi + 0x24], 0
movups xmm0, xmmword [rsp + 0xa8]
movups xmmword [rsi + 0x28], xmm0
mov dword [rsi + 0x38], 0
movups xmm0, xmmword [rsp + 0xa8]
movups xmmword [rsi + 0x3c], xmm0
mov rcx, qword [rsp + 0x30]
mov qword [rsi], rcx
mov dword [rsi + 0x58], 0
mov dword [rsi + 0x4c], 0
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movzx edx, byte [0x1402efeb0]
cmp dl, 2
je 0x140139bee
movzx eax, dl
cmp eax, 1
je 0x140139bf0
test eax, eax
je 0x140139b51
lea rcx, [0x1402efea0]
call fcn.1401e7f80
mov edx, eax
test al, al
jne 0x140139bf0
jmp 0x140139b51
mov dl, 2
mov rcx, qword [0x1402efea0]
call fcn.140161520
test al, al
je 0x140139b51
mov r15, qword [0x1402efea0]
mov rax, qword [r15 + 0x30]
mov rcx, qword [r15 + 0x38]
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rcx
movups xmm0, xmmword [r15 + 0x40]
movups xmmword [rsp + 0x78], xmm0
lea r14, [rsp + 0x38]
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.140162210
cmp qword [rsp + 0x38], 0
je 0x140139d54
add r15, 0x30
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0x98], rbx
lea rax, [0x14013dba0]
mov qword [rsp + 0xa0], rax
lea rax, str.Prioritize::new__flow
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], r14
lea rax, [0x140220758]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x78], r15
mov rcx, qword [0x1402efea0]
lea rdx, [rsp + 0x68]
call fcn.140162580
jmp 0x140139b51
mov dword [rsp + 0x38], edx
lea rax, [0x1402206d8]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_initial_window_sizeC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.18_srcproto_streamsprioritize.rsc
lea r9, [0x1402203f0]
lea r8, [rsp + 0x38]
mov edx, 0x1b
call fcn.1401ee410
lea rcx, [0x1402206f0]
lea r8, [0x140220718]
mov edx, 0x22
call fcn.1401edfc0
int3
Function at 0x14016a550
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 0x14016a560
test al, 1
je 0x14016a57f
test al, 2
jne 0x14016a597
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140242890]
mov edx, 0x23
call fcn.1401ee0e0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402428d0]
mov edx, 0x25
call fcn.1401ee0e0
int3

Function at 0x14016b510
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14016b528
add rcx, 0x18
add rsp, 0x28
jmp 0x14018a330
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.27.0_srciopoll_evented.rs
call fcn.1401edfa0
int3
jmp 0x1401b5040
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401b507d
xor eax, eax
add rsp, 0x30
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret
Function at 0x14017ec50
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401868f0
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140186927
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bd9b0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14017ec60
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140186940
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140186974
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bd9b0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14017ec70
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401868a0
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401868d4
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bd9b0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x1401835e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp + 8], rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x140183610
test al, 1
je 0x1401836ed
test al, 2
jne 0x140183705
xor rax, 3
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
lea rdx, [rbp + 8]
call fcn.14017aec0
mov qword [rbp + 0x18], rax
test rax, rax
je 0x140183678
mov qword [rbp + 0x10], rdx
mov rax, qword [rdx]
test rax, rax
je 0x14018365e
mov rcx, qword [rbp + 0x18]
call rax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140183678
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp + 0x18]
call fcn.14001b9d0
mov qword [rbp], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rbp]
jb 0x14018371d
jne 0x1401836e2
mov rax, qword [rbp + 8]
mov qword [rbp + 0x18], rax
lea rcx, [rax + 0x28]
call fcn.140180140
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x58]
test rax, rax
je 0x1401836c5
mov rcx, qword [rbp + 0x18]
mov rcx, qword [rcx + 0x60]
call qword [rax + 0x18]
mov edx, 0x68
mov r8d, 8
mov rcx, qword [rbp + 0x18]
add rsp, 0xa8
pop rsi
pop rbp
jmp fcn.14001b9d0
nop
add rsp, 0xa8
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140242890]
mov edx, 0x23
call fcn.1401ee0e0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402428d0]
mov edx, 0x25
call fcn.1401ee0e0
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.1401dd560]
mov qword [rbp - 0x28], rax
mov rcx, rbp
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
lea rax, str.current:___sub:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 2
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 2
lea rdx, [0x140242918]
lea rcx, [rbp - 0x60]
call fcn.1401ee020
int3

Function at 0x140186670
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 sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x140186830
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
mov r8d, dword [rdx + 0x80]
call sub.ws2_32.dll_connect
test eax, eax
je 0x140186859
call fcn.1401bd9b0
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140186860
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 sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x140186889
xor eax, eax
add rsp, 0x28
ret
call fcn.1401bd9b0
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
Function at 0x1401868a0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401868a0
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401868d4
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bd9b0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401868f0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401868f0
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140186927
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bd9b0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140186940
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140186940
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140186974
xor eax, eax
add rsp, 0x38
ret
call fcn.1401bd9b0
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140186990
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x58
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140186ab5
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x140186a17
mov eax, 0x3e8
mul qword [rdi]
mov r8d, r9d
imul r9, r8, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor r8d, r8d
neg rdx
sbb r8d, r8d
or r8d, r9d
mov r9d, dword [rdi + 0x18]
cmp r9d, 0x3b9aca00
je 0x140186a58
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, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x140186ab5
xor eax, eax
jmp 0x140186ac2
call fcn.1401bd9b0
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret