Function at 0x40c570
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1894
call fcn.00408920
mov eax, dword [0x41b2a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1870], 0
mov dword [ebp - 0x186c], 0
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x459], 0
mov eax, dword [0x434a60]
add eax, 0x300000
mov dword [ebp - 0x464], eax
push 0x4351f0
push str._sGetFile
lea ecx, [ebp - 0x668]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x668]
push edx
push str._s
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x80
push 0
push 0x434c00
call fcn.00402490
add esp, 0xc
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x458]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40c63e
mov dword [ebp - 0x1870], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x186c], eax
jmp 0x40ccbf
lea ecx, [ebp - 0x187d]
call fcn.00401000
mov eax, dword [ebp - 0x258]
and eax, 0x10
jne 0x40c87e
lea ecx, [ebp - 0x187d]
push ecx
call fcn.004100c0
mov dword [ebp - 0x187c], eax
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x668]
push eax
push 0x416360
lea ecx, [ebp - 0x458]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x186c]
push edx
lea eax, [ebp - 0x458]
push eax
call fcn.004010d0
add esp, 8
test eax, eax
jl 0x40c87e
cmp dword [ebp + 8], 0
je 0x40c842
movzx ecx, byte [ebp - 0x459]
cmp ecx, 1
jne 0x40c842
mov edx, dword [ebp - 0x464]
push edx
push 0x600000
lea eax, [ebp - 0x458]
push eax
call fcn.004012d0
add esp, 0xc
mov dword [ebp - 0x1874], eax
cmp dword [ebp - 0x1874], 0
jle 0x40c842
mov dword [ebp - 0x1878], 0
jmp 0x40c70e
mov ecx, dword [ebp - 0x1878]
add ecx, 1
mov dword [ebp - 0x1878], ecx
mov edx, dword [ebp - 0x1878]
cmp edx, dword [ebp - 0x1874]
jge 0x40c765
mov eax, dword [ebp - 0x464]
add eax, dword [ebp - 0x1878]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x40c740
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x1878]
mov byte [edx], 0x20
jmp 0x40c763
mov eax, dword [ebp - 0x464]
add eax, dword [ebp - 0x1878]
movsx ecx, byte [eax]
cmp ecx, 0x1f
jne 0x40c763
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x1878]
mov byte [edx], 0x20
jmp 0x40c6ff
mov byte [ebp - 0x459], 9
mov eax, dword [ebp - 0x464]
add eax, dword [ebp - 0x1874]
mov byte [eax], 0
mov ecx, dword [ebp - 0x464]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push 0
push 0xe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1878], eax
mov ecx, dword [ebp - 0x1878]
push ecx
mov edx, dword [ebp - 0x1874]
push edx
push str._HTMLtextView_______________FileReadLength_________________d_:__d_
call fcn.0040f660
add esp, 0xc
mov eax, dword [ebp - 0x1878]
add eax, 0x200
cmp eax, dword [ebp - 0x1874]
jge 0x40c842
mov ecx, dword [ebp - 0x464]
add ecx, dword [ebp - 0x1878]
movsx edx, byte [ecx + 3]
push edx
mov eax, dword [ebp - 0x464]
add eax, dword [ebp - 0x1878]
movsx ecx, byte [eax + 2]
push ecx
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x1878]
movsx eax, byte [edx + 1]
push eax
mov ecx, dword [ebp - 0x464]
add ecx, dword [ebp - 0x1878]
movsx edx, byte [ecx]
push edx
mov eax, dword [ebp - 0x464]
add eax, dword [ebp - 0x1878]
movsx ecx, byte [eax - 1]
push ecx
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x1878]
movsx eax, byte [edx - 2]
push eax
push str._HTMLtextView_______________TextViewLength_________________02X:_02X:_02X:_02X:_02X:_02X_
call fcn.0040f660
add esp, 0x1c
lea ecx, [ebp - 0x458]
push ecx
mov edx, dword [ebp - 0x460]
shl edx, 9
lea eax, [ebp + edx - 0x1668]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x460]
add ecx, 1
mov dword [ebp - 0x460], ecx
mov dl, byte [ebp - 0x459]
add dl, 1
mov byte [ebp - 0x459], dl
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40c8a0
lea ecx, [ebp - 0x187d]
call fcn.00401010
jmp 0x40c8b0
lea ecx, [ebp - 0x187d]
call fcn.00401010
jmp 0x40c63e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x40cc56
movzx eax, byte [ebp - 0x459]
cmp eax, 9
jge 0x40c921
mov ecx, dword [ebp - 0x464]
push ecx
push 0x600000
lea edx, [ebp - 0x1668]
push edx
call fcn.004012d0
add esp, 0xc
mov dword [ebp - 0x1874], eax
cmp dword [ebp - 0x1874], 0
jle 0x40c921
mov byte [ebp - 0x459], 9
mov eax, dword [ebp - 0x464]
add eax, dword [ebp - 0x1874]
mov byte [eax], 0
mov ecx, dword [ebp - 0x464]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
movzx eax, byte [ebp - 0x459]
cmp eax, 9
jl 0x40cc56
mov dword [ebp - 0x188c], 0xa
lea ecx, [ebp - 0x188d]
call fcn.00401000
movzx ecx, byte [ebp - 0x459]
push ecx
push str._HTMLtextView_______________bViewFlags_____________________d_
call fcn.0040f660
add esp, 8
mov edx, dword [ebp - 0x1874]
push edx
mov eax, dword [ebp - 0x464]
push eax
call fcn.0040b970
cmp dword [ebp - 0x1874], 0x8000
jge 0x40c99e
push str.Varnish_cache
mov ecx, dword [ebp - 0x1874]
push ecx
mov edx, dword [ebp - 0x464]
push edx
lea ecx, [ebp - 0x188d]
call fcn.004017e0
mov dword [ebp - 0x1884], eax
push str._address_
mov eax, dword [ebp - 0x1874]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x188d]
call fcn.004017e0
mov dword [ebp - 0x1884], eax
push str._meta_name_author_
mov edx, dword [ebp - 0x1874]
push edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x188d]
call fcn.004017e0
mov dword [ebp - 0x1884], eax
push str.powered_by
mov ecx, dword [ebp - 0x1874]
push ecx
mov edx, dword [ebp - 0x464]
push edx
lea ecx, [ebp - 0x188d]
call fcn.004017e0
mov dword [ebp - 0x1884], eax
cmp dword [ebp - 0x1884], 0
je 0x40cc03
mov eax, dword [ebp - 0x1884]
add eax, dword [ebp - 0x188c]
movzx ecx, byte [eax]
cmp ecx, 0x3a
jne 0x40ca3a
mov edx, dword [ebp - 0x188c]
add edx, 1
mov dword [ebp - 0x188c], edx
mov eax, dword [ebp - 0x1884]
add eax, dword [ebp - 0x188c]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x40ca5d
mov edx, dword [ebp - 0x188c]
add edx, 1
mov dword [ebp - 0x188c], edx
mov eax, dword [ebp - 0x1884]
add eax, dword [ebp - 0x188c]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x40ca80
mov edx, dword [ebp - 0x188c]
add edx, 1
mov dword [ebp - 0x188c], edx
mov eax, dword [ebp - 0x1884]
add eax, dword [ebp - 0x188c]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x40caa3
mov edx, dword [ebp - 0x188c]
add edx, 1
mov dword [ebp - 0x188c], edx
mov eax, dword [ebp - 0x1884]
add eax, dword [ebp - 0x188c]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x40cac6
mov edx, dword [ebp - 0x188c]
add edx, 1
mov dword [ebp - 0x188c], edx
mov eax, dword [ebp - 0x1884]
add eax, dword [ebp - 0x188c]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x40cae9
mov edx, dword [ebp - 0x188c]
add edx, 1
mov dword [ebp - 0x188c], edx
jmp 0x40cafa
mov ecx, dword [ebp - 0x188c]
cmp ecx, dword [ebp - 0x1874]
jge 0x40cc03
mov edx, dword [ebp - 0x1884]
add edx, dword [ebp - 0x188c]
movsx eax, byte [edx]
cmp eax, 0x3c
jne 0x40cb75
mov ecx, dword [ebp - 0x188c]
add ecx, 1
mov dword [ebp - 0x188c], ecx
jmp 0x40cb40
mov edx, dword [ebp - 0x188c]
add edx, 1
mov dword [ebp - 0x188c], edx
mov eax, dword [ebp - 0x188c]
cmp eax, dword [ebp - 0x1874]
jge 0x40cb75
mov ecx, dword [ebp - 0x1884]
add ecx, dword [ebp - 0x188c]
movsx edx, byte [ecx]
cmp edx, 0x3e
jne 0x40cb73
mov eax, dword [ebp - 0x188c]
add eax, 1
mov dword [ebp - 0x188c], eax
jmp 0x40cb75
jmp 0x40cb31
mov dword [ebp - 0x1888], 0
jmp 0x40cb9f
mov ecx, dword [ebp - 0x188c]
add ecx, 1
mov dword [ebp - 0x188c], ecx
mov edx, dword [ebp - 0x1888]
add edx, 1
mov dword [ebp - 0x1888], edx
cmp dword [ebp - 0x1888], 0x60
jge 0x40cbfc
mov eax, dword [ebp - 0x188c]
cmp eax, dword [ebp - 0x1874]
jge 0x40cbfc
mov ecx, dword [ebp - 0x1884]
add ecx, dword [ebp - 0x188c]
movsx edx, byte [ecx]
cmp edx, 0x20
jl 0x40cbde
mov eax, dword [ebp - 0x1884]
add eax, dword [ebp - 0x188c]
movsx ecx, byte [eax]
cmp ecx, 0x3c
jne 0x40cbe0
jmp 0x40cbfc
mov edx, dword [ebp - 0x1884]
add edx, dword [ebp - 0x188c]
mov eax, dword [ebp - 0x1888]
mov cl, byte [edx]
mov byte [eax + 0x434c00], cl
jmp 0x40cb81
jmp 0x40cc03
push str._title_
mov edx, dword [ebp - 0x1874]
push edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x188d]
call fcn.004017e0
mov dword [ebp - 0x1884], eax
push str._center_
mov ecx, dword [ebp - 0x1874]
push ecx
mov edx, dword [ebp - 0x464]
push edx
lea ecx, [ebp - 0x188d]
call fcn.004017e0
mov dword [ebp - 0x1884], eax
lea ecx, [ebp - 0x188d]
call fcn.00401010
push 0x4351f0
push str._sEntryInfo.txt
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x186c]
push ecx
lea edx, [ebp - 0x668]
push edx
call fcn.004010d0
add esp, 8
test eax, eax
jl 0x40ccab
mov eax, dword [ebp - 0x464]
push eax
push 0x600000
lea ecx, [ebp - 0x668]
push ecx
call fcn.004012d0
add esp, 0xc
mov dword [ebp - 0x1874], eax
lea edx, [ebp - 0x668]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40ccbf
cmp dword [ebp + 8], 0
jne 0x40cd07
mov dword [ebp - 0x1894], 0
jmp 0x40cce0
mov eax, dword [ebp - 0x1894]
add eax, 1
mov dword [ebp - 0x1894], eax
mov ecx, dword [ebp - 0x1894]
cmp ecx, dword [ebp - 0x460]
jge 0x40cd07
mov edx, dword [ebp - 0x1894]
shl edx, 9
lea eax, [ebp + edx - 0x1668]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40ccd1
movsx ecx, byte [0x434c00]
test ecx, ecx
je 0x40cd2b
push 0
push 0x463
push 0x111
mov edx, dword [0x434a64]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00402474
mov esp, ebp
pop ebp
ret 4