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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fcca8
mov eax, dword fs:[0]
push eax
mov eax, 0x1390
call fcn.005cca70
mov eax, dword [0x654c54]
xor eax, ebp
mov dword [ebp - 0xa0], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1378], ecx
mov dword [ebp - 0x1334], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x4f7fb9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x137c], edx
jmp 0x4f7fc5
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x137c], eax
push 1
push 0x40
push 1
mov ecx, dword [ebp - 0x137c]
push ecx
lea ecx, [ebp - 0x1294]
call fcn.004e6630
mov dword [ebp - 4], 0
xor edx, edx
cmp dword [ebp - 0x123c], 0
setne dl
movzx eax, dl
test eax, eax
jne 0x4f8026
mov byte [ebp - 0x12d1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1238]
call fcn.004e6c20
lea ecx, [ebp - 0x1238]
call fcn.004e67d0
mov al, byte [ebp - 0x12d1]
jmp 0x4f8416
lea ecx, [ebp - 0x1204]
push ecx
push str.temp_tpl.html
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x1298], eax
cmp dword [ebp - 0x1298], 0
je 0x4f810d
push str.temp_
lea ecx, [ebp - 0x12f0]
call fcn.0040dbc0
mov dword [ebp - 0x1380], eax
mov edx, dword [ebp - 0x1380]
mov dword [ebp - 0x1384], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x11d8]
push eax
mov ecx, dword [ebp - 0x1384]
push ecx
lea edx, [ebp - 0x12b4]
push edx
call fcn.0040f1e0
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x12f0]
call fcn.004079f0
cmp dword [ebp - 0x129c], 0x10
jb 0x4f80b8
mov eax, dword [ebp - 0x12b0]
mov dword [ebp - 0x1388], eax
jmp 0x4f80c4
lea ecx, [ebp - 0x12b0]
mov dword [ebp - 0x1388], ecx
mov edx, dword [ebp - 0x1388]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x12b4]
call fcn.004079f0
lea eax, [ebp - 0x1204]
push eax
mov ecx, dword [ebp - 0x1298]
push ecx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x4f804b
mov edx, dword [ebp - 0x1298]
push edx
call dword [sym.imp.kernel32.dll_FindClose]
push str.temp
call fcn.005d27b1
add esp, 4
call fcn.005cc915
cdq
mov ecx, 0x2710
idiv ecx
push edx
push str.temp_tpl_04d.html
lea edx, [ebp - 0x10c0]
push edx
call fcn.00528d70
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [ebp - 0x10a8], 0x10
jb 0x4f8157
mov eax, dword [ebp - 0x10bc]
mov dword [ebp - 0x138c], eax
jmp 0x4f8163
lea ecx, [ebp - 0x10bc]
mov dword [ebp - 0x138c], ecx
push 1
push 0x40
push 2
mov edx, dword [ebp - 0x138c]
push edx
lea ecx, [ebp - 0x9c]
call fcn.004e6630
mov byte [ebp - 4], 5
xor eax, eax
cmp dword [ebp - 0x44], 0
setne al
movzx ecx, al
test ecx, ecx
jne 0x4f81e5
mov byte [ebp - 0x12f1], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004e6c20
lea ecx, [ebp - 0x40]
call fcn.004e67d0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x10c0]
call fcn.004079f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1238]
call fcn.004e6c20
lea ecx, [ebp - 0x1238]
call fcn.004e67d0
mov al, byte [ebp - 0x12f1]
jmp 0x4f8416
mov edx, dword [ebp - 0x1294]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + eax - 0x128c]
mov dword [ebp - 0x1348], ecx
mov edx, dword [ebp - 0x1348]
and edx, 1
movzx eax, dl
test eax, eax
jne 0x4f8318
push 0xa
mov ecx, dword [ebp - 0x1294]
mov edx, dword [ecx + 4]
lea ecx, [ebp + edx - 0x1294]
call fcn.004f0c70
movzx eax, al
push eax
push 0x1000
lea ecx, [ebp - 0x10a4]
push ecx
lea ecx, [ebp - 0x1294]
call fcn.004facc0
lea edx, [ebp - 0x10a4]
push edx
lea ecx, [ebp - 0x1310]
call fcn.0040dbc0
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1310]
push ecx
lea edx, [ebp - 0x12d0]
push edx
call fcn.005290b0
add esp, 0xc
mov byte [ebp - 4], 8
push 0
push 1
lea ecx, [ebp - 0x1310]
call fcn.004079f0
lea eax, [ebp - 0x9c]
test eax, eax
je 0x4f829f
lea ecx, [ebp - 0x9c]
add ecx, 8
mov dword [ebp - 0x1390], ecx
jmp 0x4f82a9
mov dword [ebp - 0x1390], 0
cmp dword [ebp - 0x12b8], 0x10
jb 0x4f82c0
mov edx, dword [ebp - 0x12cc]
mov dword [ebp - 0x1394], edx
jmp 0x4f82cc
lea eax, [ebp - 0x12cc]
mov dword [ebp - 0x1394], eax
mov ecx, dword [ebp - 0x1394]
push ecx
mov edx, dword [ebp - 0x1390]
push edx
call fcn.004f1ad0
add esp, 8
mov dword [ebp - 0x135c], eax
push 0xa
mov ecx, dword [ebp - 0x135c]
call fcn.004e4700
mov ecx, dword [ebp - 0x135c]
call fcn.004e4900
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x12d0]
call fcn.004079f0
jmp 0x4f81e5
lea eax, [ebp - 0x10c0]
push eax
lea ecx, [ebp - 0x1330]
push ecx
call fcn.00528020
add esp, 8
mov dword [ebp - 0x1398], eax
mov edx, dword [ebp - 0x1398]
mov dword [ebp - 0x139c], edx
mov byte [ebp - 4], 9
push 0
mov eax, dword [ebp - 0x139c]
push eax
mov ecx, dword [ebp - 0x1378]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1378]
mov eax, dword [edx + 0x94]
call eax
mov byte [ebp - 0x1311], al
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x1330]
call fcn.004079f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004e6c20
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x1360], ecx
mov edx, dword [ebp - 0x1360]
mov dword [edx], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1360]
mov dword [eax], vtable.std::ios_base.0
mov ecx, dword [ebp - 0x1360]
push ecx
call fcn.005b994c
add esp, 4
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x10c0]
call fcn.004079f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1238]
call fcn.004e6c20
lea edx, [ebp - 0x1238]
mov dword [ebp - 0x1374], edx
mov eax, dword [ebp - 0x1374]
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov ecx, dword [ebp - 0x1374]
mov dword [ecx], vtable.std::ios_base.0
mov edx, dword [ebp - 0x1374]
push edx
call fcn.005b994c
add esp, 4
mov al, byte [ebp - 0x1311]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0xa0]
xor ecx, ebp
call fcn.005cbcb1
mov esp, ebp
pop ebp
ret 8