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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x444433
js 0x44446e
mov eax, dword [0x4dacf8]
movzx eax, byte [eax]
push 1
push ebx
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x444477
mov esi, eax
mov edi, eax
push ebx
push dword [ebp + 0xc]
push esi
call sym._memcpy
add esp, 0xc
cmp ebx, 8
mov ecx, esi
jb 0x44443e
xor eax, eax
cmp ebx, 0x20
jb 0x4443d2
movdqa xmm0, xmmword [0x4be8e0]
movdqa xmm1, xmmword [0x4be8f0]
movdqa xmm2, xmmword [0x4be900]
mov eax, ebx
xor ecx, ecx
and eax, 0x7fffffe0
nop word [eax + eax]
movdqu xmm4, xmmword [edi + ecx]
movdqu xmm3, xmmword [edi + ecx + 0x10]
movdqa xmm5, xmm4
movdqa xmm6, xmm3
paddb xmm5, xmm0
paddb xmm6, xmm0
movdqa xmm7, xmm5
pminub xmm7, xmm1
pcmpeqb xmm7, xmm5
movdqa xmm5, xmm6
pminub xmm5, xmm1
pand xmm7, xmm2
pcmpeqb xmm5, xmm6
pxor xmm7, xmm4
pand xmm5, xmm2
movdqu xmmword [edi + ecx], xmm7
pxor xmm5, xmm3
movdqu xmmword [edi + ecx + 0x10], xmm5
add ecx, 0x20
cmp eax, ecx
jne 0x444370
cmp eax, ebx
je 0x44445a
test bl, 0x18
je 0x44443a
movdqa xmm0, xmmword [0x4be910]
movdqa xmm1, xmmword [0x4be920]
movdqa xmm2, xmmword [0x4be930]
mov edx, ebx
and edx, 0x7ffffff8
lea ecx, [esi + edx]
nop word cs:[eax + eax]
nop
movq xmm3, qword [edi + eax]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
pandn xmm5, xmm2
pxor xmm5, xmm3
movq qword [edi + eax], xmm5
add eax, 8
cmp edx, eax
jne 0x444400
cmp edx, ebx
jne 0x44443e
jmp 0x44445a
mov edi, 1
jmp 0x44445a
add eax, esi
mov ecx, eax
add esi, ebx
movzx eax, byte [ecx]
mov edx, eax
add dl, 0x9f
cmp dl, 0x1a
setb dl
shl dl, 5
xor dl, al
mov byte [ecx], dl
inc ecx
cmp ecx, esi
jne 0x444440
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 0
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push ebx
push eax
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
mov eax, 1
push ebx
push eax
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
nop word cs:[eax + eax]
nop dword [eax]
Function at 0x44df70
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
xor esi, esi
mov edi, dword [eax]
cmp ecx, 0x3b9aca00
je 0x44dfd2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 0x10]
mov ebx, 0x3e8
mul ebx
mov esi, eax
mov eax, edi
seto byte [ebp - 0xd]
mul ebx
mov ebx, edx
mov edi, eax
add ebx, esi
mov esi, 0xffffffff
setb al
or al, byte [ebp - 0xd]
jne 0x44dfcf
mov edx, 0x431bde83
mov eax, ecx
mul edx
mov eax, edi
shr edx, 0x12
add eax, edx
mov eax, ebx
adc eax, 0
jae 0x44e015
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push 4
push eax
push 0x1006
push 0xffff
push edi
call sub.ws2_32.dll_setsockopt
mov esi, dword [ebp + 8]
mov cl, 4
cmp eax, 0xffffffff
jne 0x44e009
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
imul eax, edx, 0xf4240
sub ecx, eax
add edi, edx
adc ebx, 0
xor eax, eax
test ecx, ecx
mov edx, edi
setne al
add eax, edi
mov edi, dword [ebp - 0x14]
mov eax, ebx
adc eax, 0
jb 0x44dfd2
xor eax, eax
test ecx, ecx
setne al
add edx, eax
adc ebx, 0
xor esi, esi
neg ebx
sbb esi, esi
or esi, edx
jne 0x44dfd2
mov esi, dword [ebp + 8]
mov eax, dword [0x4c2118]
mov ecx, dword [0x4c211c]
mov dword [esi + 4], ecx
mov dword [esi], eax
jmp 0x44e00b

Function at 0x44e070
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
xor esi, esi
mov edi, dword [eax]
cmp ecx, 0x3b9aca00
je 0x44e0d2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 0x10]
mov ebx, 0x3e8
mul ebx
mov esi, eax
mov eax, edi
seto byte [ebp - 0xd]
mul ebx
mov ebx, edx
mov edi, eax
add ebx, esi
mov esi, 0xffffffff
setb al
or al, byte [ebp - 0xd]
jne 0x44e0cf
mov edx, 0x431bde83
mov eax, ecx
mul edx
mov eax, edi
shr edx, 0x12
add eax, edx
mov eax, ebx
adc eax, 0
jae 0x44e115
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
push 4
push eax
push 0x1005
push 0xffff
push edi
call sub.ws2_32.dll_setsockopt
mov esi, dword [ebp + 8]
mov cl, 4
cmp eax, 0xffffffff
jne 0x44e109
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
imul eax, edx, 0xf4240
sub ecx, eax
add edi, edx
adc ebx, 0
xor eax, eax
test ecx, ecx
mov edx, edi
setne al
add eax, edi
mov edi, dword [ebp - 0x14]
mov eax, ebx
adc eax, 0
jb 0x44e0d2
xor eax, eax
test ecx, ecx
setne al
add edx, eax
adc ebx, 0
xor esi, esi
neg ebx
sbb esi, esi
or esi, edx
jne 0x44e0d2
mov esi, dword [ebp + 8]
mov eax, dword [0x4c2118]
mov ecx, dword [0x4c211c]
mov dword [esi + 4], ecx
mov dword [esi], eax
jmp 0x44e10b
Function at 0x44e2b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, 0x7fffffff
cmp eax, 0x7fffffff
cmovb edx, eax
push 2
push edx
push dword [ebp + 0x10]
push dword [ecx]
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x44e2ed
call sub.ws2_32.dll_WSAGetLastError
mov ecx, eax
xor eax, eax
cmp ecx, 0x274a
jne 0x44e2f8
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
pop esi
pop ebp
ret
mov dword [esi + 4], ecx
mov dword [esi], 0
mov eax, esi
pop esi
pop ebp
ret

Function at 0x44e310
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
xor edx, edx
cmp dword [ebp + 0x18], 0x3b9aca00
mov esi, dword [ebp + 8]
mov eax, dword [eax]
setne bl
je 0x44e331
mov ecx, dword [ebp + 0x10]
mov dl, bl
mov word [ebp - 0xc], dx
mov word [ebp - 0xa], cx
lea ecx, [ebp - 0xc]
push 4
push ecx
push pe_nt_image_headers32
push 0xffff
push eax
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44e36c
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
pop ebx
pop ebp
ret

Function at 0x44e400
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push 4
push ecx
push 1
push 6
push eax
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44e43f
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x10]
mov ecx, 0x7fffffff
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov ebx, dword [edi + 8]
sub eax, ebx
cmp eax, 0x7fffffff
cmovb ecx, eax
mov eax, dword [edi]
add eax, ebx
push 0
push ecx
push eax
push dword [edx]
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x44e4fa
add eax, ebx
mov dword [edi + 8], eax
mov ecx, dword [edi + 0xc]
cmp ecx, eax
cmova eax, ecx
mov dword [edi + 0xc], eax
jmp 0x44e506
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x44e510
mov byte [esi], 4
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x44e509
Function at 0x44e520
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea edi, [ebp - 0x14]
lea ebx, [ebp - 0x10]
mov edx, dword [edx]
push 0
push 0
push edi
push ebx
push ecx
push eax
push edx
call sub.ws2_32.dll_WSARecv
test eax, eax
je 0x44e572
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x44e57d
mov dword [esi + 4], 0
jmp 0x44e578
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x44e583
mov byte [esi], 0
mov dword [esi + 4], eax
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push eax
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], 0
lea edi, [ebp - 0xc]
mov edx, dword [edx]
push 0
push 0
push 0
push edi
push ecx
push eax
push edx
call sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
je 0x44e5cd
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x44e5db
call sub.ws2_32.dll_WSAGetLastError
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, 0x7fffffff
mov esi, dword [ebp + 8]
mov ecx, dword [edi + 4]
mov ebx, dword [edi + 8]
mov eax, dword [eax]
sub ecx, ebx
cmp ecx, 0x7fffffff
cmovb edx, ecx
mov ecx, dword [edi]
add ecx, ebx
push 0
push edx
push ecx
push dword [eax]
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x44e69d
add eax, ebx
mov dword [edi + 8], eax
mov ecx, dword [edi + 0xc]
cmp ecx, eax
cmova eax, ecx
mov dword [edi + 0xc], eax
jmp 0x44e6a9
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x44e6b3
mov byte [esi], 4
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x44e6ac

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea edi, [ebp - 0x14]
lea ebx, [ebp - 0x10]
mov edx, dword [edx]
mov edx, dword [edx]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
push 0
push edi
push ebx
push ecx
push eax
push edx
call sub.ws2_32.dll_WSARecv
test eax, eax
je 0x44e714
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x44e71f
mov dword [esi + 4], 0
jmp 0x44e71a
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x44e725
mov byte [esi], 0
mov dword [esi + 4], eax
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44e780
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push eax
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea edi, [ebp - 0xc]
mov edx, dword [edx]
mov edx, dword [edx]
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push edi
push ecx
push eax
push edx
call sub.ws2_32.dll_WSASend
cmp eax, 0xffffffff
je 0x44e7bf
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x44e7cd
call sub.ws2_32.dll_WSAGetLastError
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebp
ret

Function at 0x44ea40
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [ecx]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
push 4
push 0
push ecx
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44ea7e
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x44eaf0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push 4
push ecx
push 0x1b
push 0x29
push eax
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44eb2f
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x44ec20
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 0x8004667e
push eax
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x44ec4d
mov byte [esi], 4
jmp 0x44ec5b
call sub.ws2_32.dll_WSAGetLastError
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x44ef00
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push 4
push ecx
push 0x20
push 0xffff
push eax
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44ef42
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
pop ebp
ret
Function at 0x44efc0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push 4
push ecx
push 0xb
push 0
push eax
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44efff
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x44f070
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [ecx]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 4
push eax
push 0xa
push 0
push ecx
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44f0ae
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x44f120
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push 4
push ecx
push 0xb
push 0x29
push eax
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44f15f
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
pop ebp
ret

Function at 0x44f1d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov edx, dword [edx]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 8
push eax
push 0xc
push 0
push edx
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44f21a
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 8
pop esi
pop ebp
ret

Function at 0x44f230
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x14
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, dword [edx]
movsd qword [ebp - 0x10], xmm1
movsd qword [ebp - 0x18], xmm0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push 0x14
push eax
push 0xc
push 0x29
push edx
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44f286
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 0x14
pop esi
pop ebp
ret
Function at 0x44f290
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov edx, dword [edx]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 8
push eax
push 0xd
push 0
push edx
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44f2da
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 8
pop esi
pop ebp
ret

Function at 0x44f2f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x14
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, dword [edx]
movsd qword [ebp - 0x10], xmm1
movsd qword [ebp - 0x18], xmm0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push 0x14
push eax
push 0xd
push 0x29
push edx
call sub.ws2_32.dll_setsockopt
mov cl, 4
cmp eax, 0xffffffff
jne 0x44f346
call sub.ws2_32.dll_WSAGetLastError
xor ecx, ecx
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 0x14
pop esi
pop ebp
ret
Function at 0x450480
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov dword [ebp - 0x14], ecx
mov ecx, edx
mov edi, edx
call sym.std::path::Components::len_before_body::hba0b98184b6e16ba
mov ecx, dword [edi + 4]
cmp eax, ecx
ja 0x45059b
mov edx, dword [edi]
mov ebx, edx
lea esi, [edx + eax]
movzx edx, byte [edi + 8]
mov edi, eax
sub edi, ecx
mov byte [ebp - 0xd], dl
jne 0x4504c7
mov ebx, dword [ebp - 0x14]
xor edi, edi
movzx edx, byte [ebp - 0xd]
sub ecx, eax
jne 0x450543
jmp 0x450521
cmp dl, 3
mov dword [ebp - 0x18], esi
jae 0x4504ef
mov edx, ebx
lea esi, [ecx + ebx - 1]
mov ebx, dword [ebp - 0x14]
mov edi, eax
sub edi, ecx
nop dword [eax]
cmp byte [esi], 0x5c
je 0x450585
dec esi
inc edi
jne 0x4504e0
jmp 0x450514
mov edx, ebx
lea esi, [ecx + ebx - 1]
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
cmp ebx, 0x2f
je 0x450525
cmp ebx, 0x5c
je 0x450525
dec esi
inc edi
jne 0x450500
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
xor edi, edi
movzx edx, byte [ebp - 0xd]
sub ecx, eax
jne 0x450543
mov al, 0xa
jmp 0x450570
mov ebx, dword [ebp - 0x14]
not edi
lea eax, [eax + edi + 1]
cmp eax, ecx
ja 0x45058f
add edx, eax
mov edi, 1
mov esi, edx
movzx edx, byte [ebp - 0xd]
sub ecx, eax
je 0x450521
mov al, 9
cmp ecx, 2
je 0x450562
cmp ecx, 1
jne 0x450570
cmp byte [esi], 0x2e
jne 0x450570
xor eax, eax
cmp dl, 3
setae al
lea eax, [eax + eax*2 + 7]
jmp 0x450570
cmp byte [esi], 0x2e
jne 0x450570
cmp byte [esi + 1], 0x2e
sete al
xor al, 9
add edi, ecx
mov dword [ebx], edi
mov byte [ebx + 4], al
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
not edi
lea eax, [eax + edi + 1]
cmp eax, ecx
jbe 0x450532
push 0x4c0c18
push ecx
push eax
call sym.core::slice::index::slice_start_index_len_fail::h7e8587be95abf61b
push 0x4c0c08
push ecx
push eax
call sym.core::slice::index::slice_start_index_len_fail::h7e8587be95abf61b
nop word [eax + eax]

Function at 0x453ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x20
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
xorps xmm0, xmm0
lea edi, [ebp - 0x14]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edi
lea edi, [ebp - 0x28]
mov edx, dword [edx]
push sym.__ZN3std3sys3pal7windows4pipe8AnonPipe21alertable_io_internal8callback17hdaf1fc9f919f56e3E_12
push edi
push ecx
push eax
push edx
call sub.kernel32.dll_WriteFileEx
test eax, eax
je 0x453b16
nop
push 1
push 0xffffffffffffffff
call sub.kernel32.dll_SleepEx
cmp dword [ebp - 0x14], 0
je 0x453af0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
sete al
jne 0x453b0c
mov ecx, dword [ebp - 0xc]
shl al, 2
mov dword [esi + 4], ecx
mov byte [esi], al
jmp 0x453b21
call sub.kernel32.dll_GetLastError
mov byte [esi], 0
mov dword [esi + 4], eax
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebp
ret
Function at 0x453b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x20
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
xorps xmm0, xmm0
lea edi, [ebp - 0x14]
mov edx, dword [edx]
mov edx, dword [edx]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0
lea edi, [ebp - 0x28]
push sym.__ZN3std3sys3pal7windows4pipe8AnonPipe21alertable_io_internal8callback17hdaf1fc9f919f56e3E_12
push edi
push ecx
push eax
push edx
call sub.kernel32.dll_WriteFileEx
test eax, eax
je 0x453ba6
nop word cs:[eax + eax]
nop dword [eax + eax]
push 1
push 0xffffffffffffffff
call sub.kernel32.dll_SleepEx
cmp dword [ebp - 0x14], 0
je 0x453b80
mov ecx, dword [ebp - 0x10]
test ecx, ecx
sete al
jne 0x453b9c
mov ecx, dword [ebp - 0xc]
shl al, 2
mov dword [esi + 4], ecx
mov byte [esi], al
jmp 0x453bb1
call sub.kernel32.dll_GetLastError
mov byte [esi], 0
mov dword [esi + 4], eax
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebp
ret

Function at 0x453c20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x20
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
xorps xmm0, xmm0
lea edi, [ebp - 0x14]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edi
lea edi, [ebp - 0x28]
mov edx, dword [edx]
push sym.__ZN3std3sys3pal7windows4pipe8AnonPipe21alertable_io_internal8callback17hdaf1fc9f919f56e3E_12
push edi
push ecx
push eax
push edx
call sub.kernel32.dll_ReadFileEx
test eax, eax
je 0x453c8d
nop
push 1
push 0xffffffffffffffff
call sub.kernel32.dll_SleepEx
cmp dword [ebp - 0x14], 0
je 0x453c60
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x453ca3
mov ecx, edi
call sym.std::sys::pal::windows::decode_error_kind::h7329ed9b84dd3c75
cmp al, 0xb
jne 0x453c9f
mov dword [esi + 4], 0
mov byte [esi], 4
jmp 0x453cb0
call sub.kernel32.dll_GetLastError
mov edi, eax
mov ecx, edi
call sym.std::sys::pal::windows::decode_error_kind::h7329ed9b84dd3c75
cmp al, 0xb
je 0x453c81
xor eax, eax
jmp 0x453ca8
mov edi, dword [ebp - 0xc]
mov al, 4
movzx eax, al
mov dword [esi + 4], edi
mov dword [esi], eax
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebp
ret

Function at 0x454520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [eax + 0x18]
push 1
push edi
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x454541
mov byte [esi], 4
jmp 0x454584
call sub.kernel32.dll_GetLastError
cmp eax, 5
jne 0x45457e
mov ebx, eax
push 0
push edi
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x454562
cmp eax, 0x102
je 0x45453c
jmp 0x454577
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push edi
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x45453c
call sub.kernel32.dll_GetLastError
mov eax, ebx
mov byte [esi], 0
mov dword [esi + 4], eax
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret