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

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov rsi, r8
mov rdi, rcx
mov rax, qword [rbp + 0x90]
test rax, rax
je 0x14001d14c
cmp rax, 1
jne 0x14001d184
test rsi, rsi
js 0x14001d35a
je 0x14001d1ca
mov r15, rdx
movzx r14d, byte [r9]
movzx eax, byte [0x14021b6c1]
mov ebx, 1
mov edx, 1
mov rcx, rsi
call fcn.140021330
test rax, rax
je 0x14001d35c
mov r12, rax
cmp rsi, 8
mov rax, r15
jae 0x14001d1eb
xor ecx, ecx
jmp 0x14001d2a0
test rsi, rsi
js 0x14001d35a
je 0x14001d1d5
mov r14, rdx
movzx eax, byte [0x14021b6c1]
mov ebx, 1
mov edx, 1
mov rcx, rsi
call fcn.140021330
test rax, rax
je 0x14001d35c
mov r12, rax
mov rdx, r14
jmp 0x14001d1db
add rsi, rdx
pxor xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], 0
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0
lea rcx, [rbp + 0x10]
lea rdx, [rbp - 0x30]
call fcn.140018e60
mov r12, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
jmp 0x14001d2bf
mov r12d, 1
jmp 0x14001d2b3
mov r12d, 1
mov rcx, r12
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14001d2b3
movzx edx, r14b
cmp rsi, 0x20
jae 0x14001d1f9
xor ecx, ecx
jmp 0x14001d256
movabs rcx, 0x7fffffffffffffe0
and rcx, rsi
movd xmm0, edx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
xor r8d, r8d
nop dword [rax + rax]
movdqu xmm1, xmmword [rax + r8]
movdqu xmm2, xmmword [rax + r8 + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [r12 + r8], xmm1
movdqu xmmword [r12 + r8 + 0x10], xmm2
add r8, 0x20
cmp rcx, r8
jne 0x14001d220
cmp rcx, rsi
je 0x14001d2b3
test sil, 0x18
je 0x14001d2a0
mov r8, rcx
movabs rcx, 0x7ffffffffffffff8
and rcx, rsi
movd xmm0, edx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
nop word cs:[rax + rax]
movq xmm1, qword [rax + r8]
pxor xmm1, xmm0
movq qword [r12 + r8], xmm1
add r8, 8
cmp rcx, r8
jne 0x14001d280
cmp rcx, rsi
je 0x14001d2b3
nop
movzx edx, byte [rax + rcx]
xor dl, r14b
mov byte [r12 + rcx], dl
inc rcx
cmp rsi, rcx
jne 0x14001d2a0
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], rsi
mov qword [rbp - 0x38], r12
lea rcx, [rbp - 0x30]
mov rdx, r12
mov r8, rsi
call fcn.1401035a0
test byte [rbp - 0x30], 1
je 0x14001d332
lea rax, [rbp + 0x18]
movups xmm0, xmmword [rbp - 0x28]
mov rsi, qword [rbp - 0x28]
mov rcx, qword [rbp + 0x10]
movdqu xmm1, xmmword [rax]
movdqa xmmword [rbp - 0x50], xmm1
mov rdx, rcx
neg rdx
jo 0x14001d33a
mov qword [rbp - 0x30], rcx
movups xmm1, xmmword [rax]
movups xmmword [rbp - 0x28], xmm1
movups xmmword [rbp - 0x18], xmm0
lea rax, str.src_main.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x140183728]
lea r9, [0x140183708]
lea r8, [rbp - 0x30]
mov edx, 0x2b
call fcn.1401802c0
ud2
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov rax, rdi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
xor ebx, ebx
mov rcx, rbx
mov rdx, rsi
call fcn.14017fcd0
int3
Function at 0x14003b720
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14003b762
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14003b76a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14003b77b
jmp 0x14003b792
xor r10d, r10d
jmp 0x14003b81d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14003b792
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14003b7a9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14003b7c9
add r11, r8
jmp 0x14003b8f9
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14003b892
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14003b840
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14003b8af
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x14003b8c0
jmp 0x14003b8db
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x14003b8db
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x14003b8f5
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003ca30
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 0x14003cac6
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 [0x1401846c0]
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.14003b720
test rdi, rdi
je 0x14003cb55
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14003cb6e
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 0x14003cc66
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14003cce8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14003cc73
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 0x14003cb30
cmp r9, 8
jae 0x14003cc7c
jmp 0x14003cce8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14003b720
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14003cce8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14003cce8
mov r8, rcx
cmp r9, 8
jb 0x14003cce8
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 0x14003cc80
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140059520
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rdx
movzx r8d, word [rcx]
mov rdi, qword [rcx + 8]
cmp r8w, 3
jne 0x140059570
mov edx, 1
mov rcx, rsi
mov r8, rdi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
jmp fcn.1400f1560
movzx edx, word [rcx + 6]
mov word [rbp - 0x1c], dx
mov edx, dword [rcx + 2]
mov dword [rbp - 0x20], edx
movups xmm0, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x40], xmm0
lea r14, [rbp - 0x5e]
xor r15d, r15d
lea rbx, [rbp - 0x60]
jmp 0x1400595c0
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x28]
call fcn.140021340
mov rax, qword [rbp - 0x18]
mov r8w, 2
mov r15, rax
cmp r8w, 2
je 0x14005965a
mov word [rbp - 0x60], r8w
movzx eax, word [rbp - 0x1c]
mov word [r14 + 4], ax
mov eax, dword [rbp - 0x20]
mov dword [r14], eax
mov qword [rbp - 0x58], rdi
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [r14 + 0xe], xmm0
mov qword [rbp - 0x30], r15
mov rcx, rsi
xor edx, edx
mov r8, rbx
call fcn.1400f1560
test rax, rax
je 0x14005966a
mov ecx, r15d
and ecx, 3
cmp ecx, 1
jne 0x1400595b8
mov qword [rbp - 0x18], rax
lea rax, [r15 - 1]
mov qword [rbp - 0x28], rax
mov rax, qword [r15 - 1]
mov qword [rbp - 0x10], rax
mov rax, qword [r15 + 7]
mov qword [rbp - 8], rax
mov rax, qword [rax]
test rax, rax
je 0x140059637
mov rcx, qword [rbp - 0x10]
call rax
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400595a0
mov r8, qword [rax + 0x10]
call fcn.140021340
jmp 0x1400595a0
test r15, r15
lea rax, [0x14018bfb0]
cmovne rax, r15
jmp 0x1400596cb
mov eax, r15d
and eax, 3
cmp eax, 1
jne 0x1400596c9
lea rax, [r15 - 1]
mov qword [rbp - 0x18], rax
mov rax, qword [r15 - 1]
mov qword [rbp - 0x10], rax
mov rax, qword [r15 + 7]
mov qword [rbp - 8], rax
mov rax, qword [rax]
test rax, rax
je 0x14005969b
mov rcx, qword [rbp - 0x10]
call rax
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400596b5
mov r8, qword [rax + 0x10]
call fcn.140021340
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.140021340
xor eax, eax
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
Function at 0x1400b51c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xf0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov rax, qword [rcx]
nop dword [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400b51e0
test al, 1
je 0x1400b52a9
test al, 2
jne 0x1400b52c1
test al, 8
mov qword [rbp + 0x40], rcx
jne 0x1400b521c
add rcx, 0x20
mov dword [rbp - 0x58], 2
lea rdx, [rbp - 0x58]
call fcn.1400af5c0
jmp 0x1400b5238
test al, 0x10
je 0x1400b5238
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx + 0x68]
test rax, rax
je 0x1400b5337
mov rcx, qword [rcx + 0x70]
call qword [rax + reloc.WS2_32.dll_recv]
mov r9, qword [rbp + 0x40]
mov rax, qword [r9 + 0x78]
test rax, rax
je 0x1400b5272
mov r8, qword [r9 + 0x80]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
mov rax, qword [r9 + 0x30]
mov qword [rbp + 0x30], rax
lea rdx, [rbp + 0x30]
call qword [r8 + 0x28]
mov r9, qword [rbp + 0x40]
mov qword [rbp + 0x38], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [r9], rax
shr rax, 6
cmp rax, qword [rbp + 0x38]
jb 0x1400b52d9
jne 0x1400b529f
mov qword [rbp - 8], r9
lea rcx, [rbp - 8]
call fcn.1400b4810
nop
add rsp, 0xf0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401b0330]
mov edx, 0x23
call fcn.14017ff70
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401b0370]
mov edx, 0x25
call fcn.14017ff70
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x28], rax
lea rax, [fcn.1401074e0]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x38]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
lea rax, str.current:___sub:
mov qword [rbp - 8], rax
mov qword [rbp], 2
mov qword [rbp + 0x18], 0
lea rax, [rbp - 0x28]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 2
lea rdx, [0x1401b03b8]
lea rcx, [rbp - 8]
call fcn.14017fed0
lea rax, str.waker_missing
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x48], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
lea rdx, [0x1401b2ca8]
lea rcx, [rbp - 0x58]
call fcn.14017fed0
ud2
Function at 0x1400e1c90
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [rbp - 0x10]
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, 0x50
pop rbp
ret

Function at 0x1400e2be0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400e2c80
jmp 0x1400e2c6f
jae 0x1400e2d4e
cmp r8, 0x201
jae 0x1400e2c80
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1400e2ce6
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1400e2cbe
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14017f230
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
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 0x1400e2d0f
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400e2dba
mov r8d, r13d
cmp r12, r8
jne 0x1400e2c60
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400e2dee
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400e2c6f
jmp 0x1400e2c80
cmp r14, r8
jb 0x1400e2e08
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1400e6ef0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1400e2da3
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140021340
mov rax, rsi
add rsp, 0x478
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 + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1400e2d8e
jmp 0x1400e2da3
lea rcx, str.internal_error:_entered_unreachable_code_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_alloc_src_vecmod.rs
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14017ff70
jmp 0x1400e2e1d
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140180400
ud2
Function at 0x1400e4390
Capabilities:
Create directory

Disassembly:
push rbp
mov rbp, rsp
cmp byte [rcx], 0
je 0x1400e43a5
mov rcx, rdx
mov rdx, r8
pop rbp
jmp fcn.1400e43c0
mov rcx, rdx
mov rdx, r8
pop rbp
jmp fcn.1400ed890

Function at 0x1400e6e10
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
lea r8, [rbp - 4]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1400e6e3f
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 0x1400e6e90
Capabilities:
Send data
Send data on socket

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

Function at 0x1400ed890
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x18]
call fcn.1400ef5e0
mov rax, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
mov rcx, rax
neg rcx
jo 0x1400ed8eb
mov rcx, qword [rbp - 8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x30]
mov r8b, 1
call fcn.1400f06d0
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov rax, rdi
neg rax
jno 0x1400ed8f6
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x1400ed922
test rdi, rdi
je 0x1400ed94e
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.140021340
xor eax, eax
jmp 0x1400ed8ee
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x1400ed8ee
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.140021340
jmp 0x1400ed8eb
xor eax, eax
jmp 0x1400ed8ee
Function at 0x1400eddf0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x1401d7910]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400ede86
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x1400edeb3
test eax, eax
js 0x1400ede92
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x1400edea9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.1400e63f0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.1400df860
mov ecx, 7
int 0x29
ud2

Function at 0x1400edf10
Capabilities:
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov edi, edx
cmp byte [rcx], 0
mov eax, reloc.WS2_32.dll_socket
mov r14d, 2
cmovne r14d, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov ecx, r14d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400edff0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1400edf77
mov esi, eax
cmp eax, 0x2726
jne 0x1400edfe3
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, r14d
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400edfdb
mov rsi, rax
xor ebx, ebx
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x1400edff0
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, 1
mov rsi, rdi
jmp 0x1400edff0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov ebx, 1
mov rax, rbx
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400ee010
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov r10, r8
mov rsi, rcx
mov eax, dword [rbp + 0x80]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp + 0x3c], 0x80
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
lea rcx, [rbp + 0x3c]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, rdx
mov rdx, r10
mov r9d, eax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
je 0x1400ee0c5
mov ecx, dword [rbp + 0x3c]
movzx edx, word [rbp - 0x50]
cmp edx, 0x17
je 0x1400ee11a
cmp edx, 2
jne 0x1400ee111
cmp ecx, 0xf
jbe 0x1400ee1e0
mov ecx, dword [rbp - 0x4c]
movzx edx, word [rbp - 0x4e]
rol dx, 8
movzx edx, dx
shl rdx, 0x20
or rdx, rcx
xor edi, edi
jmp 0x1400ee146
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x1400ee170
mov eax, dword [rbp + 0x3c]
movzx ecx, word [rbp - 0x50]
cmp ecx, 0x17
je 0x1400ee183
cmp ecx, 2
jne 0x1400ee111
cmp eax, 0xf
jbe 0x1400ee1e0
mov eax, dword [rbp - 0x4c]
movzx ecx, word [rbp - 0x4e]
rol cx, 8
movzx ecx, cx
shl rcx, 0x20
or rcx, rax
xor r11d, r11d
jmp 0x1400ee1ab
lea rax, str.invalid_argument8
jmp 0x1400ee178
cmp ecx, 0x1b
jbe 0x1400ee1f8
movzx ecx, word [rbp - 0x4e]
rol cx, 8
mov r9d, dword [rbp - 0x4c]
mov r8d, dword [rbp - 0x38]
mov edx, dword [rbp - 0x48]
shl rdx, 0x10
mov r11, qword [rbp - 0x44]
mov di, 1
mov r10d, dword [rbp - 0x3c]
cdqe
mov qword [rsi], rax
mov word [rsi + 8], di
mov dword [rsi + 0xa], edx
shr rdx, 0x20
mov word [rsi + 0xe], dx
mov qword [rsi + 0x10], r11
mov dword [rsi + 0x18], r10d
mov dword [rsi + 0x1c], r9d
mov dword [rsi + 0x20], r8d
mov word [rsi + 0x24], cx
jmp 0x1400ee1d5
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov word [rsi + 8], 2
jmp 0x1400ee1d5
cmp eax, 0x1b
jbe 0x1400ee1f8
movzx eax, word [rbp - 0x4e]
rol ax, 8
mov r8d, dword [rbp - 0x4c]
mov edx, dword [rbp - 0x38]
mov ecx, dword [rbp - 0x48]
shl rcx, 0x10
mov r10, qword [rbp - 0x44]
mov r11w, 1
mov r9d, dword [rbp - 0x3c]
mov qword [rsi], 0
mov word [rsi + 8], r11w
mov dword [rsi + 0xa], ecx
shr rcx, 0x20
mov word [rsi + 0xe], cx
mov qword [rsi + 0x10], r10
mov dword [rsi + 0x18], r9d
mov dword [rsi + 0x1c], r8d
mov dword [rsi + 0x20], edx
mov word [rsi + 0x24], ax
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___std_src_sys_common_net.rs
lea r8, [0x1401d82c8]
mov edx, 0x39
call fcn.14017ff70
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, [0x1401d8320]
mov edx, 0x3a
call fcn.14017ff70
int3