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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1890
call fcn.0040aeb0
mov eax, dword [0x4372c4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1878], 0
mov dword [ebp - 0x1874], 0
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x459], 0
mov eax, dword [0x44f178]
add eax, 0x300000
mov dword [ebp - 0x464], eax
push 0x44fc68
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 0x4501b8
call fcn.00401a70
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 0x417dce
mov dword [ebp - 0x1878], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1874], eax
jmp 0x41836b
mov eax, dword [ebp - 0x258]
and eax, 0x10
jne 0x417f55
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x668]
push edx
push 0x42e4bc
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x1874]
push ecx
lea edx, [ebp - 0x458]
push edx
call section..text
add esp, 8
test eax, eax
jl 0x417f55
cmp dword [ebp + 8], 0
je 0x417f1a
movzx eax, byte [ebp - 0x459]
cmp eax, 1
jne 0x417f1a
mov ecx, dword [ebp - 0x464]
push ecx
push 0x500000
lea edx, [ebp - 0x458]
push edx
call fcn.004010e0
add esp, 0xc
mov dword [ebp - 0x187c], eax
cmp dword [ebp - 0x187c], 0
jle 0x417f1a
mov dword [ebp - 0x166c], 0
jmp 0x417e81
mov eax, dword [ebp - 0x166c]
add eax, 1
mov dword [ebp - 0x166c], eax
mov ecx, dword [ebp - 0x166c]
cmp ecx, dword [ebp - 0x187c]
jge 0x417ed8
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x166c]
movsx eax, byte [edx]
test eax, eax
jne 0x417eb3
mov ecx, dword [ebp - 0x464]
add ecx, dword [ebp - 0x166c]
mov byte [ecx], 0x20
jmp 0x417ed6
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x166c]
movsx eax, byte [edx]
cmp eax, 0x1f
jne 0x417ed6
mov ecx, dword [ebp - 0x464]
add ecx, dword [ebp - 0x166c]
mov byte [ecx], 0x20
jmp 0x417e72
cmp dword [0x438788], 3
jg 0x417ef3
cmp dword [0x4387a0], 1
jge 0x417ef3
mov byte [ebp - 0x459], 9
jmp 0x417f1a
mov byte [ebp - 0x459], 9
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x187c]
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]
lea edx, [ebp - 0x458]
push edx
mov eax, dword [ebp - 0x460]
shl eax, 9
lea ecx, [ebp + eax - 0x1668]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x460]
add edx, 1
mov dword [ebp - 0x460], edx
mov al, byte [ebp - 0x459]
add al, 1
mov byte [ebp - 0x459], al
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417f6c
jmp 0x417f71
jmp 0x417dce
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x418302
movzx ecx, byte [ebp - 0x459]
cmp ecx, 9
jge 0x417fe2
mov edx, dword [ebp - 0x464]
push edx
push 0x500000
lea eax, [ebp - 0x1668]
push eax
call fcn.004010e0
add esp, 0xc
mov dword [ebp - 0x187c], eax
cmp dword [ebp - 0x187c], 0
jle 0x417fe2
mov byte [ebp - 0x459], 9
mov ecx, dword [ebp - 0x464]
add ecx, dword [ebp - 0x187c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x464]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
movzx ecx, byte [ebp - 0x459]
cmp ecx, 9
jl 0x418302
mov dword [ebp - 0x1888], 0xa
lea ecx, [ebp - 0x1889]
call fcn.00401520
mov edx, dword [ebp - 0x187c]
push edx
mov eax, dword [ebp - 0x464]
push eax
call fcn.00412ad0
cmp dword [ebp - 0x187c], 0x8000
jge 0x41804a
push str.Varnish_cache
mov ecx, dword [ebp - 0x187c]
push ecx
mov edx, dword [ebp - 0x464]
push edx
lea ecx, [ebp - 0x1889]
call fcn.00401610
mov dword [ebp - 0x1880], eax
push str._address_
mov eax, dword [ebp - 0x187c]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x1889]
call fcn.00401610
mov dword [ebp - 0x1880], eax
push str._meta_name_author_
mov edx, dword [ebp - 0x187c]
push edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x1889]
call fcn.00401610
mov dword [ebp - 0x1880], eax
push str.powered_by
mov ecx, dword [ebp - 0x187c]
push ecx
mov edx, dword [ebp - 0x464]
push edx
lea ecx, [ebp - 0x1889]
call fcn.00401610
mov dword [ebp - 0x1880], eax
cmp dword [ebp - 0x1880], 0
je 0x4182af
mov eax, dword [ebp - 0x1880]
add eax, dword [ebp - 0x1888]
movzx ecx, byte [eax]
cmp ecx, 0x3a
jne 0x4180e6
mov edx, dword [ebp - 0x1888]
add edx, 1
mov dword [ebp - 0x1888], edx
mov eax, dword [ebp - 0x1880]
add eax, dword [ebp - 0x1888]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x418109
mov edx, dword [ebp - 0x1888]
add edx, 1
mov dword [ebp - 0x1888], edx
mov eax, dword [ebp - 0x1880]
add eax, dword [ebp - 0x1888]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x41812c
mov edx, dword [ebp - 0x1888]
add edx, 1
mov dword [ebp - 0x1888], edx
mov eax, dword [ebp - 0x1880]
add eax, dword [ebp - 0x1888]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x41814f
mov edx, dword [ebp - 0x1888]
add edx, 1
mov dword [ebp - 0x1888], edx
mov eax, dword [ebp - 0x1880]
add eax, dword [ebp - 0x1888]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x418172
mov edx, dword [ebp - 0x1888]
add edx, 1
mov dword [ebp - 0x1888], edx
mov eax, dword [ebp - 0x1880]
add eax, dword [ebp - 0x1888]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x418195
mov edx, dword [ebp - 0x1888]
add edx, 1
mov dword [ebp - 0x1888], edx
jmp 0x4181a6
mov ecx, dword [ebp - 0x1888]
cmp ecx, dword [ebp - 0x187c]
jge 0x4182af
mov edx, dword [ebp - 0x1880]
add edx, dword [ebp - 0x1888]
movsx eax, byte [edx]
cmp eax, 0x3c
jne 0x418221
mov ecx, dword [ebp - 0x1888]
add ecx, 1
mov dword [ebp - 0x1888], ecx
jmp 0x4181ec
mov edx, dword [ebp - 0x1888]
add edx, 1
mov dword [ebp - 0x1888], edx
mov eax, dword [ebp - 0x1888]
cmp eax, dword [ebp - 0x187c]
jge 0x418221
mov ecx, dword [ebp - 0x1880]
add ecx, dword [ebp - 0x1888]
movsx edx, byte [ecx]
cmp edx, 0x3e
jne 0x41821f
mov eax, dword [ebp - 0x1888]
add eax, 1
mov dword [ebp - 0x1888], eax
jmp 0x418221
jmp 0x4181dd
mov dword [ebp - 0x1884], 0
jmp 0x41824b
mov ecx, dword [ebp - 0x1888]
add ecx, 1
mov dword [ebp - 0x1888], ecx
mov edx, dword [ebp - 0x1884]
add edx, 1
mov dword [ebp - 0x1884], edx
cmp dword [ebp - 0x1884], 0x60
jge 0x4182a8
mov eax, dword [ebp - 0x1888]
cmp eax, dword [ebp - 0x187c]
jge 0x4182a8
mov ecx, dword [ebp - 0x1880]
add ecx, dword [ebp - 0x1888]
movsx edx, byte [ecx]
cmp edx, 0x20
jl 0x41828a
mov eax, dword [ebp - 0x1880]
add eax, dword [ebp - 0x1888]
movsx ecx, byte [eax]
cmp ecx, 0x3c
jne 0x41828c
jmp 0x4182a8
mov edx, dword [ebp - 0x1880]
add edx, dword [ebp - 0x1888]
mov eax, dword [ebp - 0x1884]
mov cl, byte [edx]
mov byte [eax + 0x4501b8], cl
jmp 0x41822d
jmp 0x4182af
push str._title_
mov edx, dword [ebp - 0x187c]
push edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x1889]
call fcn.00401610
mov dword [ebp - 0x1880], eax
push str._center_
mov ecx, dword [ebp - 0x187c]
push ecx
mov edx, dword [ebp - 0x464]
push edx
lea ecx, [ebp - 0x1889]
call fcn.00401610
mov dword [ebp - 0x1880], eax
lea ecx, [ebp - 0x1889]
call fcn.00401a20
push 0x44fc68
push str._sEntryInfo.txt
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x1874]
push ecx
lea edx, [ebp - 0x668]
push edx
call section..text
add esp, 8
test eax, eax
jl 0x418357
mov eax, dword [ebp - 0x464]
push eax
push 0x500000
lea ecx, [ebp - 0x668]
push ecx
call fcn.004010e0
add esp, 0xc
mov dword [ebp - 0x187c], eax
lea edx, [ebp - 0x668]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41836b
cmp dword [ebp + 8], 0
je 0x41837d
movzx eax, byte [ebp - 0x459]
cmp eax, 9
jl 0x4183bf
mov dword [ebp - 0x1890], 0
jmp 0x418398
mov ecx, dword [ebp - 0x1890]
add ecx, 1
mov dword [ebp - 0x1890], ecx
mov edx, dword [ebp - 0x1890]
cmp edx, dword [ebp - 0x460]
jge 0x4183bf
mov eax, dword [ebp - 0x1890]
shl eax, 9
lea ecx, [ebp + eax - 0x1668]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x418389
movsx edx, byte [0x4501b8]
test edx, edx
je 0x4183e2
push 0
push 0x463
push 0x111
mov eax, dword [0x44f9f8]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00401a54
mov esp, ebp
pop ebp
ret 4