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

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x1402705a6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x1403569f0]
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.14003e500
test rdi, rdi
je 0x140270635
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14027064e
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 0x140270746
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1402707c8
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140270753
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 0x140270610
cmp r9, 8
jae 0x14027075c
jmp 0x1402707c8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14003e500
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 0x1402707c8
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x1402707c8
mov r8, rcx
cmp r9, 8
jb 0x1402707c8
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 0x140270760
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140274af0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.140313c30
movzx ecx, bl
mov dword [rsp + 0x2c], ecx
lea r8, [rsp + 0x2c]
mov rcx, rax
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x140274b22
xor eax, eax
add rsp, 0x30
pop rbx
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret

Function at 0x140274b40
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
call fcn.140313c30
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
mov rcx, rax
mov edx, 0xffff
mov r8d, 8
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140274c76
mov rcx, rdi
call fcn.140313c30
mov rcx, rax
mov r10d, dword [rsi + 8]
xor r8d, r8d
mov r9d, 0
cmp r10d, 0x3b9aca00
je 0x140274bd8
mov eax, 0x3e8
mul qword [rsi]
mov r9d, r10d
imul r10, r9, 0x431bde83
shr r10, 0x32
add r10, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r10, rax
cmovae r10, rax
xor r9d, r9d
neg rdx
sbb r9d, r9d
or r9d, r10d
mov r10d, dword [rsi + 0x18]
cmp r10d, 0x3b9aca00
je 0x140274c1b
mov eax, 0x3e8
mul qword [rsi + 0x10]
mov r8d, r10d
imul r10, r8, 0x431bde83
shr r10, 0x32
add r10, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r10, rax
cmovae r10, rax
xor r8d, r8d
neg rdx
sbb r8d, r8d
or r8d, r10d
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], r9d
mov dword [rsp + 0x50], r8d
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 edx, 0x98000004
mov r9d, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x140274c76
xor eax, eax
jmp 0x140274c83
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1402b3a10
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 0x1402b3a20
test al, 1
je 0x1402b3a3f
test al, 2
jne 0x1402b3a59
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1403fb210]
mov edx, 0x23
call fcn.14034ff10
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1403fb250]
mov edx, 0x25
call fcn.14034ff10
ud2

Function at 0x1402c0b30
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x1402c0b48
add rcx, 0x18
add rsp, 0x28
jmp 0x1402d7830
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Users_antoi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.34.0_srciopoll_evented.rs
lea r8, [0x1403fbce0]
mov edx, 0x2b
call fcn.14034ff10
ud2
jmp 0x14030cfb0
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 0x14030cfe8
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 0x1402cc120
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rbp + 0x20], rcx
mov rax, qword [rcx]
nop
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1402cc140
test al, 1
je 0x1402cc1d1
test al, 2
jne 0x1402cc1eb
xor rax, 3
mov qword [rbp], rax
mov rcx, rbp
lea rdx, [rbp + 0x20]
call fcn.1402c8670
test rax, rax
je 0x1402cc19a
mov qword [rbp + 0x10], rax
mov rcx, rax
mov qword [rbp + 0x18], rdx
call qword [rdx]
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rcx, qword [rbp + 0x10]
je 0x1402cc19a
mov r8, qword [rax + 0x10]
call fcn.140089ca0
mov rcx, qword [rbp + 0x20]
mov qword [rbp + 8], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 8]
jb 0x1402cc205
jne 0x1402cc1c7
mov rcx, qword [rbp + 0x20]
call fcn.1402cbaf0
nop
add rsp, 0xb0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1403fb210]
mov edx, 0x23
call fcn.14034ff10
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1403fb250]
mov edx, 0x25
call fcn.14034ff10
ud2
mov qword [rbp - 8], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x28], rax
lea rax, [fcn.1403307e0]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 8]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
lea rax, str.current:___sub:_h
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 2
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
lea rdx, [0x1403fb298]
lea rcx, [rbp - 0x58]
call fcn.14034fe60
ud2
Function at 0x1402cc2a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rbp + 8], rcx
mov rax, qword [rcx]
nop
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1402cc2c0
test al, 1
je 0x1402cc322
test al, 2
jne 0x1402cc33c
xor rax, 3
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
lea rdx, [rbp + 8]
call fcn.1402b0c30
mov rcx, qword [rbp + 8]
mov qword [rbp], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp]
jb 0x1402cc356
jne 0x1402cc318
mov rcx, qword [rbp + 8]
call fcn.1402cba00
nop
add rsp, 0xb0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1403fb210]
mov edx, 0x23
call fcn.14034ff10
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1403fb250]
mov edx, 0x25
call fcn.14034ff10
ud2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.1403307e0]
mov qword [rbp - 0x28], rax
mov rcx, rbp
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
lea rax, str.current:___sub:_h
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, [0x1403fb298]
lea rcx, [rbp - 0x60]
call fcn.14034fe60
ud2

Function at 0x1402d4620
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1402d5ca0
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.140313c30
movzx ecx, bl
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1402d5ce1
xor eax, eax
add rsp, 0x30
pop rbx
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret

Function at 0x1402d4630
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1402d5d00
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.140313c30
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1402d5d3f
xor eax, eax
add rsp, 0x30
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rsi
ret

Function at 0x1402d4640
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1402d5c40
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.140313c30
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1402d5c7f
xor eax, eax
add rsp, 0x30
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rsi
ret

Function at 0x1402d59f0
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 0x1402d5bb0
Capabilities:
Connect socket

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.140313c30
mov r8d, dword [rsi + 0x80]
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1402d5be7
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x20
pop rsi
ret
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1402d5bf0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.140313c30
movzx ecx, bl
mov dword [rsp + 0x2c], ecx
lea r8, [rsp + 0x2c]
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1402d5c23
xor eax, eax
add rsp, 0x30
pop rbx
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret

Function at 0x1402d5c40
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1402d5c40
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.140313c30
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1402d5c7f
xor eax, eax
add rsp, 0x30
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rsi
ret

Function at 0x1402d5ca0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1402d5ca0
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.140313c30
movzx ecx, bl
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1402d5ce1
xor eax, eax
add rsp, 0x30
pop rbx
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret

Function at 0x1402d5d00
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1402d5d00
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.140313c30
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1402d5d3f
xor eax, eax
add rsp, 0x30
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rsi
ret
Function at 0x1402d75a0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov rax, qword [0x1404ed040]
cmp rax, 3
jne 0x1402d765d
mov ecx, ebx
mov edx, edi
xor r8d, r8d
call qword [sym.imp.ws2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x1402d7630
mov rdi, rax
mov dword [rbp - 8], 1
lea r8, [rbp - 8]
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
test eax, eax
je 0x1402d7648
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rax, qword [rbp - 0x10]
jmp 0x1402d763d
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1402d764e
mov qword [rsi + 8], rdi
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov byte [rbp - 1], 1
lea rax, [rbp - 1]
mov qword [rbp - 0x18], rax
lea rax, str.C:Users_antoi.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.9_src_syswindows_net.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1404ed040]
lea r9, fcn.140003b60
lea r8, [rbp - 0x18]
xor edx, edx
call fcn.14034eff0
jmp 0x1402d75dd

Function at 0x1402da610
Capabilities:
Connect socket

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
cmp word [rdx], 0
je 0x1402da649
movups xmm0, xmmword [rdx + 4]
movzx eax, word [rdx + 0x1c]
rol ax, 8
mov r8d, dword [rdx + 0x18]
add rdx, 0x14
mov esi, 0x1c
mov r9w, 0x17
jmp 0x1402da662
movzx eax, word [rdx + 6]
rol ax, 8
add rdx, 2
mov esi, 0x10
mov r9w, 2
xorps xmm0, xmm0
mov edx, dword [rdx]
mov word [rbp - 0x24], r9w
mov word [rbp - 0x22], ax
mov dword [rbp - 0x20], edx
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0xc], r8d
call fcn.140313c30
lea rdx, [rbp - 0x24]
mov rcx, rax
mov r8d, esi
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1402da696
xor eax, eax
jmp 0x1402da6bd
call sub.kernel32.dll_GetLastError
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rbp - 8], rcx
mov ecx, eax
call fcn.140317570
xor ecx, ecx
cmp al, 0xd
mov rax, qword [rbp - 8]
cmove rax, rcx
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140308690
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 + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140308720
jmp 0x14030870f
jae 0x1403087e0
cmp r8, 0x201
jae 0x140308720
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140308778
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14030874f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14034e8e0
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1403087a1
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140308848
mov r8d, r14d
cmp r15, r8
jne 0x140308700
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14030886b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14030870f
jmp 0x140308720
cmp rsi, r8
jb 0x140308885
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14030d200
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140308831
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140089ca0
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 + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140308819
jmp 0x140308831
lea rcx, str.internal_error:_entered_unreachable_code_rustc_79e9716c980570bfd1f666e3b16ac583f0168962library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14034ff10
jmp 0x14030889a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1403503e0
ud2
Function at 0x1403092e0
Capabilities:
Create directory

Disassembly:
cmp byte [rcx], 0
je 0x1403092f0
mov rcx, rdx
mov rdx, r8
jmp fcn.140309300
mov rcx, rdx
mov rdx, r8
jmp fcn.140313d60

Function at 0x14030cfb0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x1402c0b48
add rcx, 0x18
add rsp, 0x28
jmp 0x1402d7830
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Users_antoi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.34.0_srciopoll_evented.rs
lea r8, [0x1403fbce0]
mov edx, 0x2b
call fcn.14034ff10
ud2
jmp 0x14030cfb0
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 0x14030cfe8
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 0x14030d000
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov rcx, qword [rcx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x14030d037
cdqe
jmp 0x14030d046
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x14030d04e
xor eax, eax
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14030d05f
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret

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

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov rcx, qword [rcx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x14030d0ad
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14030d0c4
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add cl, byte [rax - 0x77]
or byte [rax + 1], r15b

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

Disassembly:
push rsi
sub rsp, 0x40
mov rax, r8
mov eax, eax
Function at 0x140313d60
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140317730
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x140313e17
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call fcn.140315f00
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x140313e17
mov rcx, rdi
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x140313deb
test rsi, rsi
je 0x140313de7
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.140089ca0
xor esi, esi
jmp 0x140313e17
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x140313e14
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.140089ca0
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x140313e30
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140317730
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x140313ee5
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call fcn.140315f00
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x140313ee5
mov rcx, rdi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x140313eb9
test rsi, rsi
je 0x140313eb5
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.140089ca0
xor esi, esi
jmp 0x140313ee5
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x140313ee2
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.140089ca0
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x140313ef0
Capabilities:
Move file

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r9
mov rbx, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x18]
call fcn.140317730
mov rax, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
test rax, rax
je 0x14031402a
mov rcx, qword [rbp - 8]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x18]
mov r8b, 1
call fcn.140315f00
mov rax, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
test rax, rax
je 0x14031402a
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], rsi
lea rcx, [rbp - 0x18]
mov rdx, rbx
mov r8, rdi
call fcn.140317730
mov rax, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
test rax, rax
je 0x140314009
mov rcx, qword [rbp - 8]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x18]
mov r8b, 1
call fcn.140315f00
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
test rdi, rdi
je 0x140314009
mov r15, qword [rbp - 0x20]
mov rcx, r15
mov rdx, rdi
mov r8d, 1
call qword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
mov r14, qword [rbp - 0x28]
je 0x14031403a
test rsi, rsi
je 0x140313fec
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.140089ca0
test r14, r14
je 0x140314005
add r14, r14
mov r8d, 2
mov rcx, r15
mov rdx, r14
call fcn.140089ca0
xor esi, esi
jmp 0x14031402a
mov r14, qword [rbp - 0x28]
mov r15, qword [rbp - 0x20]
test r14, r14
je 0x14031402a
add r14, r14
mov r8d, 2
mov rcx, r15
mov rdx, r14
call fcn.140089ca0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x140314063
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.140089ca0
mov rsi, rbx
test r14, r14
jne 0x140314016
jmp 0x14031402a