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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4f9e3e
push eax
mov eax, 0x12dc
mov dword fs:[0], esp
call fcn.004e2130
mov eax, dword [0x532ae0]
xor eax, dword [ebp + 4]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x47167e
mov eax, dword [eax + 4]
jmp 0x471681
add eax, 4
push ebx
push 1
push 1
push eax
lea ecx, [ebp - 0x108]
call fcn.00470db0
mov eax, dword [ebp - 0xa0]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
jne 0x4716cf
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0xffffffff
call fcn.0046ed00
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.004d2219
xor al, al
jmp 0x471a78
push esi
push edi
lea eax, [ebp - 0x2e8]
push eax
push str.temp_tpl.html
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, eax
cmp esi, ebx
je 0x4717a5
lea ecx, [ecx]
mov edi, 0xf
mov eax, str.temp_
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x471706
sub eax, edx
push eax
push str.temp_
lea ecx, [ebp - 0x48]
call fcn.00408ff0
lea ecx, [ebp - 0x2bc]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.00409e60
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp eax, 0x10
mov byte [ebp - 4], bl
jb 0x47174f
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
jae 0x471764
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
cmp dword [ebp - 0x14], 0x10
jb 0x47177d
mov edx, dword [ebp - 0x28]
push edx
call fcn.004e11d0
add esp, 4
lea eax, [ebp - 0x2e8]
push eax
push esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4716f0
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x4717aa
mov edi, 0xf
push str.temp
call fcn.004f4efa
call fcn.004e1e23
cdq
mov ecx, 0x2710
idiv ecx
push edx
lea edx, [ebp - 0x64]
push str.temp_tpl_04d.html
push edx
call fcn.004895b0
add esp, 0x10
mov eax, dword [ebp - 0x4c]
mov esi, 0x10
cmp eax, esi
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 2
jae 0x4717e9
lea eax, [ebp - 0x60]
push 1
push 2
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00470db0
cmp dword [ebp - 0x140], ebx
mov byte [ebp - 4], 3
jne 0x47186f
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 2
call fcn.0046ed00
mov esi, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], esi
call fcn.004d2219
cmp dword [ebp - 0x4c], 0x10
jb 0x47183c
mov eax, dword [ebp - 0x60]
push eax
call fcn.004e11d0
add esp, 4
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x60], bl
mov dword [ebp - 4], 0xffffffff
call fcn.0046ed00
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
call fcn.004d2219
xor al, al
jmp 0x471a76
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
mov ecx, dword [ebp + ecx - 0x104]
add eax, 4
test cl, 1
jne 0x4719d5
jmp 0x471890
mov ecx, dword [eax]
push 0xa
lea ecx, [ebp + ecx - 0x108]
call fcn.004662c0
lea edx, [ebp - 0x12e8]
lea ecx, [ebp - 0x108]
push eax
push 0x1000
push edx
call fcn.00467160
lea eax, [ebp - 0x12e8]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4718d0
sub eax, edx
push eax
lea eax, [ebp - 0x12e8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00408ff0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.0048e4d0
add esp, 0xc
cmp dword [ebp - 0x30], esi
mov byte [ebp - 4], 6
jb 0x471916
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
jae 0x47192a
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x1a0]
push edx
call fcn.004673d0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00467bd0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
mov cl, byte [eax + 4]
xor edi, edi
test cl, 6
jne 0x47196b
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x47196b
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
cmp edi, ebx
je 0x47198c
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x28]
or eax, edi
cmp edx, ebx
jne 0x471985
or eax, 4
push ebx
push eax
call fcn.004d2301
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x4719a2
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004e11d0
add esp, 4
mov eax, dword [ebp - 0x108]
mov edx, dword [eax + 4]
mov cl, byte [ebp + edx - 0x104]
add eax, 4
test cl, 1
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
mov esi, 0x10
mov edi, 0xf
je 0x471890
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0048c7d0
add esp, 8
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
push ebx
push eax
mov byte [ebp - 4], 7
call dword [edx + 0x64]
mov byte [ebp + 0xb], al
cmp dword [ebp - 0x14], esi
jb 0x471a07
mov eax, dword [ebp - 0x28]
push eax
call fcn.004e11d0
add esp, 4
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
mov byte [ebp - 4], 2
call fcn.0046ed00
mov esi, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], esi
call fcn.004d2219
cmp dword [ebp - 0x4c], 0x10
jb 0x471a47
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004e11d0
add esp, 4
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x60], bl
mov dword [ebp - 4], 0xffffffff
call fcn.0046ed00
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
call fcn.004d2219
mov al, byte [ebp + 0xb]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop ebx
call fcn.004e19df
mov esp, ebp
pop ebp
ret 8