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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64bbcd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x12c4
call fcn.00635b40
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x12c0], eax
push ebx
push esi
push edi
mov eax, dword [0x699fe8]
xor eax, esp
push eax
lea eax, [esp + 0x12d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], ecx
jb 0x5d2ace
mov eax, dword [eax + 4]
jmp 0x5d2ad1
add eax, 4
push 1
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.005571e0
xor edi, edi
mov dword [esp + 0x12e0], edi
cmp dword [esp + 0x8c], edi
jne 0x5d2b29
lea ecx, [esp + 0x90]
mov dword [esp + 0x12e0], 0xffffffff
call fcn.005572c0
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.0060b4e4
add esp, 4
xor al, al
jmp 0x5d2f92
lea ecx, [esp + 0x18c]
push ecx
push str.temp_tpl.html
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, edi
je 0x5d2c0d
jmp 0x5d2b52
xor edi, edi
push 5
push str.temp_
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
call fcn.00404330
lea edx, [esp + 0x10]
push edx
lea edi, [esp + 0x1bc]
lea esi, [esp + 0x158]
mov byte [esp + 0x12e4], 1
call fcn.0041e290
mov esi, 0x10
add esp, 4
mov byte [esp + 0x12e0], 0
cmp dword [esp + 0x28], esi
jb 0x5d2bb6
mov eax, dword [esp + 0x14]
push eax
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0x16c], esi
mov eax, dword [esp + 0x158]
jae 0x5d2bcd
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x16c], esi
jb 0x5d2bed
mov ecx, dword [esp + 0x158]
push ecx
call fcn.0061c19a
add esp, 4
lea edx, [esp + 0x18c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5d2b50
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
push str.temp
call fcn.00620b10
add esp, 4
call fcn.0061e087
cdq
mov ecx, 0x2710
idiv ecx
lea esi, [esp + 0x170]
push edx
push str.temp_tpl_04d.html
call fcn.005b0ca0
add esp, 8
mov byte [esp + 0x12e0], 2
mov eax, dword [esp + 0x174]
mov ebx, 0x10
cmp dword [esp + 0x188], ebx
jae 0x5d2c60
lea eax, [esp + 0x174]
push 2
push eax
lea edx, [esp + 0xcc]
push edx
call fcn.005571e0
mov byte [esp + 0x12e0], 3
cmp dword [esp + 0x11c], edi
jne 0x5d2d1d
lea ecx, [esp + 0x120]
mov byte [esp + 0x12e0], 2
call fcn.005572c0
lea eax, [esp + 0x120]
mov esi, vtable.std::ios_base.0
push eax
mov dword [esp + 0x124], esi
call fcn.0060b4e4
add esp, 4
cmp dword [esp + 0x188], ebx
jb 0x5d2cce
mov ecx, dword [esp + 0x174]
push ecx
call fcn.0061c19a
add esp, 4
lea ecx, [esp + 0x90]
mov dword [esp + 0x188], 0xf
mov dword [esp + 0x184], edi
mov byte [esp + 0x174], 0
mov dword [esp + 0x12e0], 0xffffffff
call fcn.005572c0
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x94], esi
call fcn.0060b4e4
add esp, 4
xor al, al
jmp 0x5d2f92
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov ecx, dword [esp + ecx + 0x3c]
add eax, 4
test cl, 1
jne 0x5d2e8d
jmp 0x5d2d3b
xor edi, edi
lea ebx, [edi + 0x10]
mov ecx, dword [eax]
push 0xa
lea ecx, [esp + ecx + 0x38]
call fcn.0055f4f0
lea edx, [esp + 0x2cc]
push eax
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.005bd650
mov esi, 0xf
lea eax, [esp + 0x2cc]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov byte [esp + 0x14], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5d2d77
sub eax, edx
push eax
lea ecx, [esp + 0x2d0]
push ecx
lea ecx, [esp + 0x18]
call fcn.00404330
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x158]
push eax
mov byte [esp + 0x12e8], 4
call fcn.005b0cc0
add esp, 8
mov byte [esp + 0x12e0], 6
cmp dword [esp + 0x28], ebx
jb 0x5d2dd0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0061c19a
add esp, 4
cmp dword [esp + 0x16c], ebx
mov eax, dword [esp + 0x158]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov byte [esp + 0x14], 0
jae 0x5d2df4
lea eax, [esp + 0x158]
push eax
lea edx, [esp + 0xd0]
push edx
call fcn.0055fda0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00555ae0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test byte [ecx + esi + 8], 6
lea eax, [ecx + esi]
jne 0x5d2e35
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x5d2e35
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x5d2e56
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x5d2e4e
or eax, 4
push 0
push eax
call fcn.005436a0
mov byte [esp + 0x12e0], 3
cmp dword [esp + 0x16c], 0x10
jb 0x5d2e78
mov edx, dword [esp + 0x158]
push edx
call fcn.0061c19a
add esp, 4
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
add eax, 4
test byte [esp + ecx + 0x3c], 1
je 0x5d2d36
lea edx, [esp + 0x170]
push edx
lea edi, [esp + 0x158]
call fcn.005b04b0
add esp, 4
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x12e0], 7
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx + 0x94]
call eax
mov edi, 0x10
cmp dword [esp + 0x16c], edi
mov bl, al
jb 0x5d2edd
mov ecx, dword [esp + 0x158]
push ecx
call fcn.0061c19a
add esp, 4
lea ecx, [esp + 0x120]
mov dword [esp + 0x16c], 0xf
mov dword [esp + 0x168], 0
mov byte [esp + 0x158], 0
mov byte [esp + 0x12e0], 2
call fcn.005572c0
lea edx, [esp + 0x120]
mov esi, vtable.std::ios_base.0
push edx
mov dword [esp + 0x124], esi
call fcn.0060b4e4
add esp, 4
cmp dword [esp + 0x188], edi
jb 0x5d2f44
mov eax, dword [esp + 0x174]
push eax
call fcn.0061c19a
add esp, 4
lea ecx, [esp + 0x90]
mov dword [esp + 0x188], 0xf
mov dword [esp + 0x184], 0
mov byte [esp + 0x174], 0
mov dword [esp + 0x12e0], 0xffffffff
call fcn.005572c0
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], esi
call fcn.0060b4e4
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x12d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x12c0]
xor ecx, esp
call fcn.0061efd1
mov esp, ebp
pop ebp
ret 8