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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x168c
call fcn.00409cc0
mov eax, dword [0x43d040]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1674], 0
mov dword [ebp - 0x1670], 0
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x459], 0
mov eax, dword [0x456660]
add eax, 0x300000
mov dword [ebp - 0x464], eax
push 0x457150
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 0x4576a0
call fcn.00401b10
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 0x4100fe
mov dword [ebp - 0x1674], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1670], eax
jmp 0x410738
mov eax, dword [ebp - 0x258]
and eax, 0x10
jne 0x4102c8
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x668]
push edx
push 0x42fdb0
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x458]
push ecx
mov edx, dword [0x43dcb4]
push edx
mov eax, dword [0x43dcc8]
push eax
push str._HTMLtextView_______________View_HtmlFile_______11111______d_:__d___s_
call fcn.00425950
add esp, 0x10
lea ecx, [ebp - 0x1670]
push ecx
lea edx, [ebp - 0x458]
push edx
call fcn.004010b0
add esp, 8
test eax, eax
jl 0x4102c8
lea eax, [ebp - 0x458]
push eax
mov ecx, dword [0x43dcb4]
push ecx
mov edx, dword [0x43dcc8]
push edx
push str._HTMLtextView_______________View_HtmlFile_______22222______d_:__d___s_
call fcn.00425950
add esp, 0x10
cmp dword [ebp + 8], 0
je 0x41028d
movzx eax, byte [ebp - 0x459]
cmp eax, 1
jne 0x41028d
mov ecx, dword [ebp - 0x464]
push ecx
push 0x500000
lea edx, [ebp - 0x458]
push edx
call fcn.00401190
add esp, 0xc
mov dword [ebp - 0x1678], eax
cmp dword [ebp - 0x1678], 0
jle 0x41028d
mov dword [ebp - 0x166c], 0
jmp 0x4101f4
mov eax, dword [ebp - 0x166c]
add eax, 1
mov dword [ebp - 0x166c], eax
mov ecx, dword [ebp - 0x166c]
cmp ecx, dword [ebp - 0x1678]
jge 0x41024b
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x166c]
movsx eax, byte [edx]
test eax, eax
jne 0x410226
mov ecx, dword [ebp - 0x464]
add ecx, dword [ebp - 0x166c]
mov byte [ecx], 0x20
jmp 0x410249
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x166c]
movsx eax, byte [edx]
cmp eax, 0x1f
jne 0x410249
mov ecx, dword [ebp - 0x464]
add ecx, dword [ebp - 0x166c]
mov byte [ecx], 0x20
jmp 0x4101e5
cmp dword [0x43dcb4], 3
jg 0x410266
cmp dword [0x43dcc8], 1
jge 0x410266
mov byte [ebp - 0x459], 9
jmp 0x41028d
mov byte [ebp - 0x459], 9
mov edx, dword [ebp - 0x464]
add edx, dword [ebp - 0x1678]
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 0x4102df
jmp 0x4102e4
jmp 0x4100fe
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x4106cf
movzx ecx, byte [ebp - 0x459]
cmp ecx, 9
jge 0x410355
mov edx, dword [ebp - 0x464]
push edx
push 0x500000
lea eax, [ebp - 0x1668]
push eax
call fcn.00401190
add esp, 0xc
mov dword [ebp - 0x1678], eax
cmp dword [ebp - 0x1678], 0
jle 0x410355
mov byte [ebp - 0x459], 9
mov ecx, dword [ebp - 0x464]
add ecx, dword [ebp - 0x1678]
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 0x4106cf
mov dword [ebp - 0x1684], 0xa
lea ecx, [ebp - 0x1685]
call fcn.00401ac0
movzx edx, byte [ebp - 0x459]
push edx
push str._HTMLtextView_______________bViewFlags_____________________d_
call fcn.00425840
add esp, 8
mov eax, dword [ebp - 0x1678]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
call fcn.0040c0d0
cmp dword [ebp - 0x1678], 0x8000
jge 0x4103d2
push str.Varnish_cache
mov edx, dword [ebp - 0x1678]
push edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x1685]
call fcn.004016b0
mov dword [ebp - 0x167c], eax
push str._address_
mov ecx, dword [ebp - 0x1678]
push ecx
mov edx, dword [ebp - 0x464]
push edx
lea ecx, [ebp - 0x1685]
call fcn.004016b0
mov dword [ebp - 0x167c], eax
push str._meta_name_author_
mov eax, dword [ebp - 0x1678]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x1685]
call fcn.004016b0
mov dword [ebp - 0x167c], eax
cmp dword [ebp - 0x167c], 0
je 0x410437
mov edx, dword [ebp - 0x167c]
push edx
push str._HTMLtextView_______________author_________________________.28s_
call fcn.00425840
add esp, 8
push str.powered_by
mov eax, dword [ebp - 0x1678]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x1685]
call fcn.004016b0
mov dword [ebp - 0x167c], eax
cmp dword [ebp - 0x167c], 0
je 0x41067c
mov edx, dword [ebp - 0x167c]
push edx
push str._HTMLtextView_______________Powered_by______11111111_______.16s_
call fcn.00425840
add esp, 8
mov eax, dword [ebp - 0x167c]
add eax, dword [ebp - 0x1684]
movzx ecx, byte [eax]
cmp ecx, 0x3a
jne 0x41049f
mov edx, dword [ebp - 0x1684]
add edx, 1
mov dword [ebp - 0x1684], edx
mov eax, dword [ebp - 0x167c]
add eax, dword [ebp - 0x1684]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x4104c2
mov edx, dword [ebp - 0x1684]
add edx, 1
mov dword [ebp - 0x1684], edx
mov eax, dword [ebp - 0x167c]
add eax, dword [ebp - 0x1684]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x4104e5
mov edx, dword [ebp - 0x1684]
add edx, 1
mov dword [ebp - 0x1684], edx
mov eax, dword [ebp - 0x167c]
add eax, dword [ebp - 0x1684]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x410508
mov edx, dword [ebp - 0x1684]
add edx, 1
mov dword [ebp - 0x1684], edx
mov eax, dword [ebp - 0x167c]
add eax, dword [ebp - 0x1684]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x41052b
mov edx, dword [ebp - 0x1684]
add edx, 1
mov dword [ebp - 0x1684], edx
mov eax, dword [ebp - 0x167c]
add eax, dword [ebp - 0x1684]
movzx ecx, byte [eax]
cmp ecx, 0x20
jg 0x41054e
mov edx, dword [ebp - 0x1684]
add edx, 1
mov dword [ebp - 0x1684], edx
jmp 0x41055f
mov ecx, dword [ebp - 0x1684]
cmp ecx, dword [ebp - 0x1678]
jge 0x410668
mov edx, dword [ebp - 0x167c]
add edx, dword [ebp - 0x1684]
movsx eax, byte [edx]
cmp eax, 0x3c
jne 0x4105da
mov ecx, dword [ebp - 0x1684]
add ecx, 1
mov dword [ebp - 0x1684], ecx
jmp 0x4105a5
mov edx, dword [ebp - 0x1684]
add edx, 1
mov dword [ebp - 0x1684], edx
mov eax, dword [ebp - 0x1684]
cmp eax, dword [ebp - 0x1678]
jge 0x4105da
mov ecx, dword [ebp - 0x167c]
add ecx, dword [ebp - 0x1684]
movsx edx, byte [ecx]
cmp edx, 0x3e
jne 0x4105d8
mov eax, dword [ebp - 0x1684]
add eax, 1
mov dword [ebp - 0x1684], eax
jmp 0x4105da
jmp 0x410596
mov dword [ebp - 0x1680], 0
jmp 0x410604
mov ecx, dword [ebp - 0x1684]
add ecx, 1
mov dword [ebp - 0x1684], ecx
mov edx, dword [ebp - 0x1680]
add edx, 1
mov dword [ebp - 0x1680], edx
cmp dword [ebp - 0x1680], 0x60
jge 0x410661
mov eax, dword [ebp - 0x1684]
cmp eax, dword [ebp - 0x1678]
jge 0x410661
mov ecx, dword [ebp - 0x167c]
add ecx, dword [ebp - 0x1684]
movsx edx, byte [ecx]
cmp edx, 0x20
jl 0x410643
mov eax, dword [ebp - 0x167c]
add eax, dword [ebp - 0x1684]
movsx ecx, byte [eax]
cmp ecx, 0x3c
jne 0x410645
jmp 0x410661
mov edx, dword [ebp - 0x167c]
add edx, dword [ebp - 0x1684]
mov eax, dword [ebp - 0x1680]
mov cl, byte [edx]
mov byte [eax + 0x4576a0], cl
jmp 0x4105e6
jmp 0x410668
mov edx, dword [ebp - 0x167c]
push edx
push str._HTMLtextView_______________Powered_by______22222222_______.16s_
call fcn.00425840
add esp, 8
push str._title_
mov eax, dword [ebp - 0x1678]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x1685]
call fcn.004016b0
mov dword [ebp - 0x167c], eax
push str._center_
mov edx, dword [ebp - 0x1678]
push edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x1685]
call fcn.004016b0
mov dword [ebp - 0x167c], eax
lea ecx, [ebp - 0x1685]
call fcn.00401ad0
push 0x457150
push str._sEntryInfo.txt
lea ecx, [ebp - 0x668]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x1670]
push edx
lea eax, [ebp - 0x668]
push eax
call fcn.004010b0
add esp, 8
test eax, eax
jl 0x410724
mov ecx, dword [ebp - 0x464]
push ecx
push 0x500000
lea edx, [ebp - 0x668]
push edx
call fcn.00401190
add esp, 0xc
mov dword [ebp - 0x1678], eax
lea eax, [ebp - 0x668]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x410738
cmp dword [ebp + 8], 0
je 0x41074a
movzx ecx, byte [ebp - 0x459]
cmp ecx, 9
jl 0x41078c
mov dword [ebp - 0x168c], 0
jmp 0x410765
mov edx, dword [ebp - 0x168c]
add edx, 1
mov dword [ebp - 0x168c], edx
mov eax, dword [ebp - 0x168c]
cmp eax, dword [ebp - 0x460]
jge 0x41078c
mov ecx, dword [ebp - 0x168c]
shl ecx, 9
lea edx, [ebp + ecx - 0x1668]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x410756
movsx eax, byte [0x4576a0]
test eax, eax
je 0x4107b0
push 0
push 0x463
push 0x111
mov ecx, dword [0x456ee0]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x4576a0
push str._HTMLtextView_______________Powered_by______33333333_______.16s_
call fcn.00425840
add esp, 8
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00401af7
mov esp, ebp
pop ebp
ret 4