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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4db86e
push eax
mov eax, 0x12dc
mov dword fs:[0], esp
call fcn.004c3900
mov eax, dword [0x514eb8]
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 0x470c7e
mov eax, dword [eax + 4]
jmp 0x470c81
add eax, 4
push ebx
push 1
push 1
push eax
lea ecx, [ebp - 0x108]
call fcn.0042c260
mov eax, dword [ebp - 0xa0]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
jne 0x470ccf
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0xffffffff
call fcn.0042b150
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.004b21e9
xor al, al
jmp 0x471078
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 0x470da5
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 0x470d06
sub eax, edx
push eax
push str.temp_
lea ecx, [ebp - 0x48]
call fcn.004025c3
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.0040a10e
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp eax, 0x10
mov byte [ebp - 4], bl
jb 0x470d4f
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004c2b1b
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 0x470d64
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x14], 0x10
jb 0x470d7d
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c2b1b
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 0x470cf0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x470daa
mov edi, 0xf
push str.temp
call fcn.004d65a4
call fcn.004c384b
cdq
mov ecx, 0x2710
idiv ecx
push edx
lea edx, [ebp - 0x64]
push str.temp_tpl_04d.html
push edx
call fcn.004283b0
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 0x470de9
lea eax, [ebp - 0x60]
push 1
push 2
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0042c260
cmp dword [ebp - 0x140], ebx
mov byte [ebp - 4], 3
jne 0x470e6f
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 2
call fcn.0042b150
mov esi, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], esi
call fcn.004b21e9
cmp dword [ebp - 0x4c], 0x10
jb 0x470e3c
mov eax, dword [ebp - 0x60]
push eax
call fcn.004c2b1b
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.0042b150
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
call fcn.004b21e9
xor al, al
jmp 0x471076
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
mov ecx, dword [ebp + ecx - 0x104]
add eax, 4
test cl, 1
jne 0x470fd5
jmp 0x470e90
mov ecx, dword [eax]
push 0xa
lea ecx, [ebp + ecx - 0x108]
call fcn.0041fae0
lea edx, [ebp - 0x12e8]
lea ecx, [ebp - 0x108]
push eax
push 0x1000
push edx
call fcn.00421190
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 0x470ed0
sub eax, edx
push eax
lea eax, [ebp - 0x12e8]
push eax
lea ecx, [ebp - 0x48]
call fcn.004025c3
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.0042d280
add esp, 0xc
cmp dword [ebp - 0x30], esi
mov byte [ebp - 4], 6
jb 0x470f16
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004c2b1b
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 0x470f2a
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x1a0]
push edx
call fcn.00421a70
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00422330
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 0x470f6b
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x470f6b
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
cmp edi, ebx
je 0x470f8c
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x28]
or eax, edi
cmp edx, ebx
jne 0x470f85
or eax, 4
push ebx
push eax
call fcn.004b22d1
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x470fa2
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004c2b1b
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 0x470e90
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0042b060
add esp, 8
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
push ebx
push eax
mov byte [ebp - 4], 7
call dword [edx + 0x70]
mov byte [ebp + 0xb], al
cmp dword [ebp - 0x14], esi
jb 0x471007
mov eax, dword [ebp - 0x28]
push eax
call fcn.004c2b1b
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.0042b150
mov esi, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], esi
call fcn.004b21e9
cmp dword [ebp - 0x4c], 0x10
jb 0x471047
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004c2b1b
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.0042b150
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
call fcn.004b21e9
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.004c478a
mov esp, ebp
pop ebp
ret 8