joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140187ef0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x140187f04
add rsp, 0x28
jmp 0x1401afe90
lea rcx, str.called__Option::unwrap____on_a__None__valueC:UsersAdministrator.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.27.0_srciopoll_evented.rs
lea r8, [0x14026a7d8]
mov edx, 0x2b
call fcn.140217b70
ud2
add rcx, 8
jmp 0x1401dea50
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 0x1401dea88
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 0x14018e6c0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401abfe0
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1401dec00
mov rcx, rax
call fcn.1401dec00
mov rcx, rax
call fcn.1401e8230
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401ac030
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 0x14018e6d0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401ac050
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1401dec00
mov rcx, rax
call fcn.1401dec00
mov rcx, rax
call fcn.1401e8230
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1001
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401ac09e
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 0x14018e6e0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401abf70
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1401dec00
mov rcx, rax
call fcn.1401dec00
mov rcx, rax
call fcn.1401e8230
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1002
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401abfbe
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 0x140196260
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 0x140196270
test al, 1
je 0x14019628f
test al, 2
jne 0x1401962a9
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140268fb0]
mov edx, 0x23
call fcn.140217b70
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140268ff0]
mov edx, 0x25
call fcn.140217b70
ud2
Function at 0x1401aad80
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rax, qword [rcx]
nop dword [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1401aada0
test al, 1
je 0x1401aae18
test al, 2
jne 0x1401aae32
test al, 8
mov qword [rbp + 0x38], rcx
jne 0x1401aadc9
add rcx, 0x20
call fcn.14019af10
jmp 0x1401aade5
test al, 0x10
je 0x1401aade5
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx + 0x60]
test rax, rax
je 0x1401aaeac
mov rcx, qword [rcx + 0x58]
call qword [rax + 0x10]
mov qword [rbp + 0x30], 1
mov rax, 0xffffffffffffffc0
mov rcx, qword [rbp + 0x38]
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 0x30]
jb 0x1401aae4c
jne 0x1401aae0e
call fcn.1401aa930
nop
add rsp, 0xe0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140268fb0]
mov edx, 0x23
call fcn.140217b70
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140268ff0]
mov edx, 0x25
call fcn.140217b70
ud2
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rbp + 8], rax
lea rax, [fcn.1402097d0]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x30]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], rax
lea rax, str.current:___sub:__b
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 2
mov qword [rbp - 0x28], 0
lea rax, [rbp + 8]
mov qword [rbp - 8], rax
mov qword [rbp], 2
lea rdx, [0x140269038]
lea rcx, [rbp - 0x28]
call fcn.140217ad0
ud2
lea rax, str.waker_missing
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x58], 0
lea rax, fcn.140008810
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 0
lea rdx, str.C:UsersAdministrator.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.27.0_src_runtime_taskcore.rs
lea rcx, [rbp - 0x58]
call fcn.140217ad0
ud2

Function at 0x1401abc50
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 0x1401abec0
Capabilities:
Connect socket

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.1401dec00
mov rcx, rax
call fcn.1401dec00
mov rcx, rax
call fcn.1401e8230
mov r8d, dword [rsi + 0x80]
mov rcx, rax
mov rdx, rsi
call sub.ws2_32.dll_connect
test eax, eax
je 0x1401abf06
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 0x1401abf10
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1401dec00
mov rcx, rax
call fcn.1401dec00
mov rcx, rax
call fcn.1401e8230
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 0x1401abf52
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 0x1401abf70
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401abf70
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1401dec00
mov rcx, rax
call fcn.1401dec00
mov rcx, rax
call fcn.1401e8230
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1002
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401abfbe
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 0x1401abfe0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401abfe0
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1401dec00
mov rcx, rax
call fcn.1401dec00
mov rcx, rax
call fcn.1401e8230
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 sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401ac030
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 0x1401ac050
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401ac050
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1401dec00
mov rcx, rax
call fcn.1401dec00
mov rcx, rax
call fcn.1401e8230
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1001
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401ac09e
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 0x1401ac0c0
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
call fcn.1401dec00
mov rcx, rax
call fcn.1401dec00
mov rcx, rax
call fcn.1401e8230
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov rcx, rax
mov edx, 0xffff
mov r8d, 8
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401ac20a
mov rcx, rdi
call fcn.1401dec00
mov rcx, rax
call fcn.1401dec00
mov rcx, rax
call fcn.1401e8230
mov r9, rax
mov esi, dword [rbx + 8]
xor edi, edi
mov ecx, 0
cmp esi, 0x3b9aca00
je 0x1401ac171
mov eax, 0x3e8
mul qword [rbx]
mov ecx, esi
imul rsi, rcx, 0x431bde83
shr rsi, 0x32
add rsi, rax
adc rdx, 0
mov eax, 0xffffffff
cmp rsi, rax
cmovae rsi, rax
xor ecx, ecx
neg rdx
sbb ecx, ecx
or ecx, esi
mov esi, dword [rbx + 0x18]
cmp esi, 0x3b9aca00
je 0x1401ac1ae
mov eax, 0x3e8
mul qword [rbx + 0x10]
mov ebx, esi
imul rbx, rbx, 0x431bde83
shr rbx, 0x32
add rbx, rax
adc rdx, 0
mov eax, 0xffffffff
cmp rbx, rax
cmovae rbx, rax
xor edi, edi
neg rdx
sbb edi, edi
or edi, ebx
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], ecx
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x5c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x50]
mov rcx, r9
mov edx, 0x98000004
mov r9d, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x1401ac20a
xor eax, eax
jmp 0x1401ac217
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401daa40
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x1401daa61
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov qword [rcx], 0
cmp r8, 1
je 0x1401daa97
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1401daa92
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1401daa97
call fcn.1401ef730
mov r8d, dword [0x140321158]
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx + r8*8]
mov qword [rcx + 0x168], 1
mov qword [rcx + 0x170], rax
mov qword [rcx + 0x178], rdx
add rsp, 0x38
ret

Function at 0x1401daf40
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], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor r12d, r12d
xor r13d, r13d
xor edi, edi
cmp r8, 0x201
jae 0x1401dafe0
jmp 0x1401dafcf
jae 0x1401db09e
cmp r8, 0x201
jae 0x1401dafe0
lea rbx, [rbp - 0x58]
mov r14d, 0x200
mov rsi, r8
jmp 0x1401db037
sub r8, rdi
sub r13, rdi
cmp r13, r8
jae 0x1401db00f
lea rcx, [rbp + 0x3c8]
mov rdx, rdi
call fcn.1402167d0
mov r12, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp r12, rax
mov edi, 0xffffffff
cmovb rdi, r12
mov qword [rbp + 0x3d8], rdi
mov r13, r12
mov rbx, qword [rbp + 0x3e8]
mov r14, rdi
mov rsi, rdi
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, esi
mov rdx, rbx
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r15d, eax
test eax, eax
jne 0x1401db05f
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1401db106
mov r8d, r15d
cmp rsi, r8
jne 0x1401dafc0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401db129
add rsi, rsi
mov eax, 0xffffffff
cmp rsi, rax
cmovae rsi, rax
mov r8, rsi
cmp r8, 0x201
jb 0x1401dafcf
jmp 0x1401dafe0
cmp r14, r8
jb 0x1401db143
lea rcx, [rbp + 0x3a8]
mov rdx, rbx
call fcn.1401ded30
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 r12, r12
je 0x1401db0ef
add r12, r12
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, r12
call fcn.14001c240
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 r12, r12
jne 0x1401db0d7
jmp 0x1401db0ef
lea rcx, str.internal_error:_entered_unreachable_codeX7_
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140217b70
jmp 0x1401db158
lea rax, str.Me_
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140218040
ud2
Function at 0x1401dea50
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x140187f04
add rsp, 0x28
jmp 0x1401afe90
lea rcx, str.called__Option::unwrap____on_a__None__valueC:UsersAdministrator.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.27.0_srciopoll_evented.rs
lea r8, [0x14026a7d8]
mov edx, 0x2b
call fcn.140217b70
ud2
add rcx, 8
jmp 0x1401dea50
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 0x1401dea88
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 0x1401deaa0
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 0x1401deae2
cdqe
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1401deb0a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x1401deaf7
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x1401deb0a
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x1401deb20
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 0x1401deb5d
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1401deb74
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
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 0x1401deb80
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x40
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
mov rcx, qword [rcx]
mov r8d, 0xffffffff
cmp r9, r8
cmovb r8, r9
mov dword [rsp + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rdx, rax
call qword [sym.imp.ws2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x1401debd5
mov eax, dword [rsp + 0x3c]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1401debec
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x40
pop rsi
ret
Function at 0x1401dec10
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
mov rcx, qword [rdx]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], 0x80
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1401dec83
movsxd r8, dword [rsp + 0x2c]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401f2050
jmp 0x1401dec9a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov word [rsi], 2
mov rax, rsi
add rsp, 0xb0
pop rsi
ret
Function at 0x1401df620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
movzx ebx, byte [rdx + 0x38]
xor r15d, r15d
cmp bl, 1
setne dl
mov eax, 0
sbb eax, eax
mov r14, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x1401df653
test ecx, ecx
jne 0x1401df6a2
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x1401df660
test ecx, ecx
jne 0x1401df6a2
mov rcx, rdi
call fcn.1401df500
movzx r10d, al
test bl, bl
jne 0x1401df6a9
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x1401df696.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x1401df81c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x1401df696.2
xor r10d, r10d
test bl, bl
je 0x1401df670
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1401df7fe
mov r11, qword [rdi]
lea r9, [r11 + rcx]
cmp rdx, rcx
jne 0x1401df6db
movzx r8d, byte [rdi + 0x10]
xor edi, edi
jmp 0x1401df758
movzx r8d, byte [rdi + 0x10]
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x1401df720
nop dword [rax + rax]
cmp byte [rax], 0x5c
je 0x1401df73b
inc rsi
dec rax
cmp rsi, 1
jne 0x1401df700
jmp 0x1401df758
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x1401df73b
cmp ebx, 0x5c
je 0x1401df73b
inc rsi
dec rax
cmp rsi, 1
jne 0x1401df720
jmp 0x1401df758
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x1401df80c
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x1401df782
mov al, 9
cmp rdx, 2
je 0x1401df786
cmp rdx, 1
jne 0x1401df796
cmp byte [r9], 0x2e
jne 0x1401df796
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1401df796
mov al, 0xa
jmp 0x1401df796
cmp byte [r9], 0x2e
jne 0x1401df796
cmp byte [r9 + 1], 0x2e
sete al
xor al, 9
add rdi, rdx
mov qword [r14], rdi
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], rdx
mov byte [r14 + 0x18], al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 8
jmp case.0x1401df696.2
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 2
jmp case.0x1401df696.2
mov esi, 2
jmp case.0x1401df696.2
lea r8, str.library_std_srcpath.rs
call fcn.140218030
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140218030
ud2
Function at 0x1401e3230
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10a8
call fcn.14020a550
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1010], xmm6
mov qword [rbp + 0x1008], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
mov qword [rbp + 0xfc0], rcx
mov qword [rbp + 0xfc8], rdx
lea rdi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xff8], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfd0], xmm6
mov qword [rbp + 0xfe0], 0
lea rax, [rbp + 0xff8]
mov qword [rbp + 0xfe8], rax
lea r14, [0x1401ea9f0]
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0xfd0]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x1000
call qword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x1401e3455
mov r15, qword [sym.imp.kernel32.dll_SleepEx]
mov r13d, 0xffffffff
lea r12, [rbp + 0xfd0]
mov qword [rbp + 0xff0], rbx
mov ecx, 0xffffffff
mov edx, 1
call r15
cmp dword [rbp + 0xff8], 1
jne 0x1401e3300
cmp dword [rbp + 0xffc], 0
jne 0x1401e346a
mov edi, dword [rbp + 0x1000]
mov qword [rbp + 0xfb0], 0
mov qword [rbp + 0xfb8], rdi
test rdi, rdi
je 0x1401e346a
cmp edi, 0x1000
ja 0x1401e34aa
xor ebx, ebx
nop word cs:[rax + rax]
cmp rbx, rdi
ja 0x1401e3496
lea rdx, [rbx + rbp]
add rdx, 0xffffffffffffffb0
mov r8, rdi
sub r8, rbx
cmp r8, r13
cmovae r8, r13
mov dword [rbp + 0xff8], 0
movaps xmmword [rbp + 0xfd0], xmm6
mov qword [rbp + 0xfe0], 0
lea rax, [rbp + 0xff8]
mov qword [rbp + 0xfe8], rax
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r9, r12
call qword [sym.imp.kernel32.dll_WriteFileEx]
test eax, eax
je 0x1401e345d
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r15
cmp dword [rbp + 0xff8], 1
jne 0x1401e33d0
cmp dword [rbp + 0xffc], 0
jne 0x1401e3463
mov eax, dword [rbp + 0x1000]
add rbx, rax
cmp rbx, rdi
jne 0x1401e3360
mov dword [rbp + 0xff8], 0
movaps xmmword [rbp + 0xfd0], xmm6
mov qword [rbp + 0xfe0], 0
lea rax, [rbp + 0xff8]
mov qword [rbp + 0xfe8], rax
mov qword [rsp + 0x20], r14
mov rbx, qword [rbp + 0xff0]
mov rcx, rbx
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, r12
call qword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
jne 0x1401e3300
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1401e346a
call qword [sym.imp.kernel32.dll_GetLastError]
mov rbx, qword [rbp + 0xff0]
mov rdi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, rbx
call rdi
mov rcx, rsi
call rdi
movaps xmm6, xmmword [rbp + 0x1010]
add rsp, 0x10a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, rbx
mov rdx, rdi
call fcn.140218050
jmp 0x1401e34bd
mov ecx, edi
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
call fcn.140218040
ud2
Function at 0x1401e7a00
Capabilities:
Delete file

Disassembly:
jmp 0x1401e7a00
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1401e9a70
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1401e7a3c
mov rcx, rdi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x1401e7a41
xor ebx, ebx
test rsi, rsi
jne 0x1401e7a56
jmp 0x1401e7a6a
mov rbx, rsi
jmp 0x1401e7a6a
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x1401e7a6a
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.14001c240
mov rax, rbx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401e8130
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1401e8185
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1401e8221
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x1401e8199
cmp eax, 0x2739
jne 0x1401e81ea
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1401e81e4
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x1401e81ff
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x1401e8221
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1401e8221
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401e8cf0
Capabilities:
Set current directory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
add rdx, rcx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rcx
mov word [rbp - 0x28], 0
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x38]
call fcn.1401d9e60
mov rdx, qword [rbp - 0x10]
cmp rdx, qword [rbp - 0x20]
jne 0x1401e8d39
lea rcx, [rbp - 0x20]
call fcn.1401d9670
mov rdx, qword [rbp - 0x10]
mov rsi, qword [rbp - 0x18]
mov word [rsi + rdx*2], 0
mov rcx, rsi
call qword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x1401e8d77
xor edi, edi
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1401e8d6c
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.14001c240
mov rax, rdi
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x1401e8d5b
jmp 0x1401e8d6c