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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1894
call fcn.0040b340
mov eax, dword [0x43e2c4]
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 [0x457a8c]
add eax, 0x300000
mov dword [ebp - 0x464], eax
push 0x458aa8
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 0x4584b8
call fcn.00401f00
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 0x4142de
mov dword [ebp - 0x1870], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x186c], eax
jmp 0x4148af
lea ecx, [ebp - 0x187d]
call fcn.00401aa0
mov eax, dword [ebp - 0x258]
and eax, 0x10
jne 0x414483
lea ecx, [ebp - 0x187d]
push ecx
call fcn.0042af10
mov dword [ebp - 0x187c], eax
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x668]
push eax
push 0x434618
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.004010b0
add esp, 8
test eax, eax
jl 0x414483
cmp dword [ebp + 8], 0
je 0x414447
movzx ecx, byte [ebp - 0x459]
cmp ecx, 1
jne 0x414447
mov edx, dword [ebp - 0x464]
push edx
push 0x500000
lea eax, [ebp - 0x458]
push eax
call fcn.004012f0
add esp, 0xc
mov dword [ebp - 0x1874], eax
cmp dword [ebp - 0x1874], 0
jle 0x414447
mov dword [ebp - 0x1878], 0
jmp 0x4143ae
mov ecx, dword [ebp - 0x1878]
add ecx, 1
mov dword [ebp - 0x1878], ecx
mov edx, dword [ebp - 0x1878]
cmp edx, dword [ebp - 0x1874]
jge 0x414405
mov eax, dword [ebp - 0x464]
add eax, dword [ebp - 0x1878]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4143e0
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x1878]
mov byte [edx], 0x20
jmp 0x414403
mov eax, dword [ebp - 0x464]
add eax, dword [ebp - 0x1878]
movsx ecx, byte [eax]
cmp ecx, 0x1f
jne 0x414403
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x1878]
mov byte [edx], 0x20
jmp 0x41439f
cmp dword [ebp - 0x187c], 2
jg 0x414420
cmp dword [0x43ef60], 1
jge 0x414420
mov byte [ebp - 0x459], 9
jmp 0x414447
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]
lea eax, [ebp - 0x458]
push eax
mov ecx, dword [ebp - 0x460]
shl ecx, 9
lea edx, [ebp + ecx - 0x1668]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x460]
add eax, 1
mov dword [ebp - 0x460], eax
mov cl, byte [ebp - 0x459]
add cl, 1
mov byte [ebp - 0x459], cl
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4144a5
lea ecx, [ebp - 0x187d]
call fcn.00401ab0
jmp 0x4144b5
lea ecx, [ebp - 0x187d]
call fcn.00401ab0
jmp 0x4142de
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x414846
movzx edx, byte [ebp - 0x459]
cmp edx, 9
jge 0x414526
mov eax, dword [ebp - 0x464]
push eax
push 0x500000
lea ecx, [ebp - 0x1668]
push ecx
call fcn.004012f0
add esp, 0xc
mov dword [ebp - 0x1874], eax
cmp dword [ebp - 0x1874], 0
jle 0x414526
mov byte [ebp - 0x459], 9
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x1874]
mov byte [edx], 0
mov eax, dword [ebp - 0x464]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
movzx edx, byte [ebp - 0x459]
cmp edx, 9
jl 0x414846
mov dword [ebp - 0x188c], 0xa
lea ecx, [ebp - 0x188d]
call fcn.00401aa0
mov eax, dword [ebp - 0x1874]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
call fcn.0040eaf0
cmp dword [ebp - 0x1874], 0x8000
jge 0x41458e
push str.Varnish_cache
mov edx, dword [ebp - 0x1874]
push edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x188d]
call fcn.00401ac0
mov dword [ebp - 0x1884], eax
push str._address_
mov ecx, dword [ebp - 0x1874]
push ecx
mov edx, dword [ebp - 0x464]
push edx
lea ecx, [ebp - 0x188d]
call fcn.00401ac0
mov dword [ebp - 0x1884], eax
push str._meta_name_author_
mov eax, dword [ebp - 0x1874]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x188d]
call fcn.00401ac0
mov dword [ebp - 0x1884], eax
push str.powered_by
mov edx, dword [ebp - 0x1874]
push edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x188d]
call fcn.00401ac0
mov dword [ebp - 0x1884], eax
cmp dword [ebp - 0x1884], 0
je 0x4147f3
mov ecx, dword [ebp - 0x1884]
add ecx, dword [ebp - 0x188c]
movzx edx, byte [ecx]
cmp edx, 0x3a
jne 0x41462a
mov eax, dword [ebp - 0x188c]
add eax, 1
mov dword [ebp - 0x188c], eax
mov ecx, dword [ebp - 0x1884]
add ecx, dword [ebp - 0x188c]
movzx edx, byte [ecx]
cmp edx, 0x20
jg 0x41464d
mov eax, dword [ebp - 0x188c]
add eax, 1
mov dword [ebp - 0x188c], eax
mov ecx, dword [ebp - 0x1884]
add ecx, dword [ebp - 0x188c]
movzx edx, byte [ecx]
cmp edx, 0x20
jg 0x414670
mov eax, dword [ebp - 0x188c]
add eax, 1
mov dword [ebp - 0x188c], eax
mov ecx, dword [ebp - 0x1884]
add ecx, dword [ebp - 0x188c]
movzx edx, byte [ecx]
cmp edx, 0x20
jg 0x414693
mov eax, dword [ebp - 0x188c]
add eax, 1
mov dword [ebp - 0x188c], eax
mov ecx, dword [ebp - 0x1884]
add ecx, dword [ebp - 0x188c]
movzx edx, byte [ecx]
cmp edx, 0x20
jg 0x4146b6
mov eax, dword [ebp - 0x188c]
add eax, 1
mov dword [ebp - 0x188c], eax
mov ecx, dword [ebp - 0x1884]
add ecx, dword [ebp - 0x188c]
movzx edx, byte [ecx]
cmp edx, 0x20
jg 0x4146d9
mov eax, dword [ebp - 0x188c]
add eax, 1
mov dword [ebp - 0x188c], eax
jmp 0x4146ea
mov edx, dword [ebp - 0x188c]
cmp edx, dword [ebp - 0x1874]
jge 0x4147f3
mov eax, dword [ebp - 0x1884]
add eax, dword [ebp - 0x188c]
movsx ecx, byte [eax]
cmp ecx, 0x3c
jne 0x414765
mov edx, dword [ebp - 0x188c]
add edx, 1
mov dword [ebp - 0x188c], edx
jmp 0x414730
mov eax, dword [ebp - 0x188c]
add eax, 1
mov dword [ebp - 0x188c], eax
mov ecx, dword [ebp - 0x188c]
cmp ecx, dword [ebp - 0x1874]
jge 0x414765
mov edx, dword [ebp - 0x1884]
add edx, dword [ebp - 0x188c]
movsx eax, byte [edx]
cmp eax, 0x3e
jne 0x414763
mov ecx, dword [ebp - 0x188c]
add ecx, 1
mov dword [ebp - 0x188c], ecx
jmp 0x414765
jmp 0x414721
mov dword [ebp - 0x1888], 0
jmp 0x41478f
mov edx, dword [ebp - 0x188c]
add edx, 1
mov dword [ebp - 0x188c], edx
mov eax, dword [ebp - 0x1888]
add eax, 1
mov dword [ebp - 0x1888], eax
cmp dword [ebp - 0x1888], 0x60
jge 0x4147ec
mov ecx, dword [ebp - 0x188c]
cmp ecx, dword [ebp - 0x1874]
jge 0x4147ec
mov edx, dword [ebp - 0x1884]
add edx, dword [ebp - 0x188c]
movsx eax, byte [edx]
cmp eax, 0x20
jl 0x4147ce
mov ecx, dword [ebp - 0x1884]
add ecx, dword [ebp - 0x188c]
movsx edx, byte [ecx]
cmp edx, 0x3c
jne 0x4147d0
jmp 0x4147ec
mov eax, dword [ebp - 0x1884]
add eax, dword [ebp - 0x188c]
mov ecx, dword [ebp - 0x1888]
mov dl, byte [eax]
mov byte [ecx + 0x4584b8], dl
jmp 0x414771
jmp 0x4147f3
push str._title_
mov eax, dword [ebp - 0x1874]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x188d]
call fcn.00401ac0
mov dword [ebp - 0x1884], eax
push str._center_
mov edx, dword [ebp - 0x1874]
push edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x188d]
call fcn.00401ac0
mov dword [ebp - 0x1884], eax
lea ecx, [ebp - 0x188d]
call fcn.00401ab0
push 0x458aa8
push str._sEntryInfo.txt
lea ecx, [ebp - 0x668]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x186c]
push edx
lea eax, [ebp - 0x668]
push eax
call fcn.004010b0
add esp, 8
test eax, eax
jl 0x41489b
mov ecx, dword [ebp - 0x464]
push ecx
push 0x500000
lea edx, [ebp - 0x668]
push edx
call fcn.004012f0
add esp, 0xc
mov dword [ebp - 0x1874], eax
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4148af
cmp dword [ebp + 8], 0
je 0x4148c1
movzx ecx, byte [ebp - 0x459]
cmp ecx, 9
jl 0x414903
mov dword [ebp - 0x1894], 0
jmp 0x4148dc
mov edx, dword [ebp - 0x1894]
add edx, 1
mov dword [ebp - 0x1894], edx
mov eax, dword [ebp - 0x1894]
cmp eax, dword [ebp - 0x460]
jge 0x414903
mov ecx, dword [ebp - 0x1894]
shl ecx, 9
lea edx, [ebp + ecx - 0x1668]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4148cd
movsx eax, byte [0x4584b8]
test eax, eax
je 0x414927
push 0
push 0x463
push 0x111
mov ecx, dword [0x457a94]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00401ee7
mov esp, ebp
pop ebp
ret 4