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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6569ed
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x12c4
call fcn.0063fe40
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x12c0], eax
push ebx
push esi
push edi
mov eax, dword [0x6a9fa4]
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 0x5d9f5e
mov eax, dword [eax + 4]
jmp 0x5d9f61
add eax, 4
push 1
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.0055d670
xor edi, edi
mov dword [esp + 0x12e0], edi
cmp dword [esp + 0x8c], edi
jne 0x5d9fb9
lea ecx, [esp + 0x90]
mov dword [esp + 0x12e0], 0xffffffff
call fcn.0055d750
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.00612eb6
add esp, 4
xor al, al
jmp 0x5da422
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 0x5da09d
jmp 0x5d9fe2
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.00405590
lea edx, [esp + 0x10]
push edx
lea edi, [esp + 0x1bc]
lea esi, [esp + 0x158]
mov byte [esp + 0x12e4], 1
call fcn.0041fc00
mov esi, 0x10
add esp, 4
mov byte [esp + 0x12e0], 0
cmp dword [esp + 0x28], esi
jb 0x5da046
mov eax, dword [esp + 0x14]
push eax
call fcn.0062414c
add esp, 4
cmp dword [esp + 0x16c], esi
mov eax, dword [esp + 0x158]
jae 0x5da05d
lea eax, [esp + 0x158]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
cmp dword [esp + 0x16c], esi
jb 0x5da07d
mov ecx, dword [esp + 0x158]
push ecx
call fcn.0062414c
add esp, 4
lea edx, [esp + 0x18c]
push edx
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x5d9fe0
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
xor edi, edi
push str.temp
call fcn.00629386
add esp, 4
call fcn.0062601d
cdq
mov ecx, 0x2710
idiv ecx
lea esi, [esp + 0x170]
push edx
push str.temp_tpl_04d.html
call fcn.005b73b0
add esp, 8
mov byte [esp + 0x12e0], 2
mov eax, dword [esp + 0x174]
mov ebx, 0x10
cmp dword [esp + 0x188], ebx
jae 0x5da0f0
lea eax, [esp + 0x174]
push 2
push eax
lea edx, [esp + 0xcc]
push edx
call fcn.0055d670
mov byte [esp + 0x12e0], 3
cmp dword [esp + 0x11c], edi
jne 0x5da1ad
lea ecx, [esp + 0x120]
mov byte [esp + 0x12e0], 2
call fcn.0055d750
lea eax, [esp + 0x120]
mov esi, vtable.std::ios_base.0
push eax
mov dword [esp + 0x124], esi
call fcn.00612eb6
add esp, 4
cmp dword [esp + 0x188], ebx
jb 0x5da15e
mov ecx, dword [esp + 0x174]
push ecx
call fcn.0062414c
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.0055d750
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x94], esi
call fcn.00612eb6
add esp, 4
xor al, al
jmp 0x5da422
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov ecx, dword [esp + ecx + 0x3c]
add eax, 4
test cl, 1
jne 0x5da31d
jmp 0x5da1cb
xor edi, edi
lea ebx, [edi + 0x10]
mov ecx, dword [eax]
push 0xa
lea ecx, [esp + ecx + 0x38]
call fcn.00565470
lea edx, [esp + 0x2cc]
push eax
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.005c4390
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 0x5da207
sub eax, edx
push eax
lea ecx, [esp + 0x2d0]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405590
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x158]
push eax
mov byte [esp + 0x12e8], 4
call fcn.005b7550
add esp, 8
mov byte [esp + 0x12e0], 6
cmp dword [esp + 0x28], ebx
jb 0x5da260
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0062414c
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 0x5da284
lea eax, [esp + 0x158]
push eax
lea edx, [esp + 0xd0]
push edx
call fcn.00565d10
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0055c0d0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test byte [ecx + esi + 8], 6
lea eax, [ecx + esi]
jne 0x5da2c5
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x5da2c5
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x5da2e6
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x5da2de
or eax, 4
push 0
push eax
call fcn.00549820
mov byte [esp + 0x12e0], 3
cmp dword [esp + 0x16c], 0x10
jb 0x5da308
mov edx, dword [esp + 0x158]
push edx
call fcn.0062414c
add esp, 4
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
add eax, 4
test byte [esp + ecx + 0x3c], 1
je 0x5da1c6
lea edx, [esp + 0x170]
push edx
lea edi, [esp + 0x158]
call fcn.005b69e0
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 0x5da36d
mov ecx, dword [esp + 0x158]
push ecx
call fcn.0062414c
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.0055d750
lea edx, [esp + 0x120]
mov esi, vtable.std::ios_base.0
push edx
mov dword [esp + 0x124], esi
call fcn.00612eb6
add esp, 4
cmp dword [esp + 0x188], edi
jb 0x5da3d4
mov eax, dword [esp + 0x174]
push eax
call fcn.0062414c
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.0055d750
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], esi
call fcn.00612eb6
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.00626d59
mov esp, ebp
pop ebp
ret 8