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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427118
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x42e17c]
xor eax, ebp
mov dword [ebp - 0x30], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c0], ecx
mov eax, dword [ebp - 0x1c0]
movzx ecx, byte [eax + 0x237]
test ecx, ecx
je 0x407127
mov edx, dword [ebp - 0x1c0]
movzx eax, byte [edx + 0x237]
cmp eax, 0xff
jne 0x40712e
xor eax, eax
jmp 0x407440
mov ecx, dword [ebp - 0x1c0]
cmp dword [ecx + 0x26], 1
je 0x407141
xor eax, eax
jmp 0x407440
lea ecx, [ebp - 0x2c]
call fcn.00402be0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1b8], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.00402be0
mov byte [ebp - 4], 1
mov dword [ebp - 0x190], 0
lea edx, [ebp - 0x1b4]
push edx
call fcn.0040caf0
add esp, 4
mov eax, dword [ebp - 0x1c0]
add eax, 0x2a
push eax
push str._s.log
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00404920
add esp, 0xc
lea edx, [ebp - 0x174]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402fe0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0xffffffff
je 0x407403
lea eax, [ebp - 0x148]
push eax
call fcn.0040f7a0
add esp, 4
cmp eax, 0xc
jne 0x4073e4
mov dword [ebp - 0x178], 0
jmp 0x4071f9
mov ecx, dword [ebp - 0x178]
add ecx, 1
mov dword [ebp - 0x178], ecx
cmp dword [ebp - 0x178], 8
jge 0x407224
mov edx, dword [ebp - 0x178]
movsx eax, byte [ebp + edx - 0x148]
push eax
call fcn.00411205
add esp, 4
test eax, eax
jne 0x407222
jmp 0x4073e4
jmp 0x4071ea
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
lea ecx, [ebp - 0x1ac]
call fcn.00402b30
push 4
lea ecx, [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.00403780
lea ecx, [ebp - 0x1ac]
call fcn.00402fe0
push eax
call fcn.00411b10
add esp, 4
mov dword [ebp - 0x180], eax
lea ecx, [ebp - 0x1ac]
call fcn.00402b30
push 2
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x1ac]
call fcn.00403780
lea ecx, [ebp - 0x1ac]
call fcn.00402fe0
push eax
call fcn.00411b10
add esp, 4
mov dword [ebp - 0x17c], eax
lea ecx, [ebp - 0x1ac]
call fcn.00402b30
push 2
lea eax, [ebp - 0x142]
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00403780
lea ecx, [ebp - 0x1ac]
call fcn.00402fe0
push eax
call fcn.00411b10
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x180], 0x7cf
jle 0x40730a
cmp dword [ebp - 0x17c], 1
jl 0x40730a
cmp dword [ebp - 0x17c], 0xc
jg 0x40730a
cmp dword [ebp - 0x10], 1
jl 0x40730a
cmp dword [ebp - 0x10], 0x1f
jle 0x40730f
jmp 0x4073e4
mov cx, word [ebp - 0x180]
mov word [ebp - 0x186], cx
mov dl, byte [ebp - 0x17c]
mov byte [ebp - 0x187], dl
mov al, byte [ebp - 0x10]
mov byte [ebp - 0x188], al
lea ecx, [ebp - 0x18c]
push ecx
lea edx, [ebp - 0x1b4]
push edx
call fcn.0040d2c0
add esp, 8
push 0
push 0x15180
push edx
push eax
call fcn.00412070
mov ecx, eax
mov esi, edx
mov edx, dword [ebp - 0x1c0]
movzx eax, byte [edx + 0x237]
cdq
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1c4], esi
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], edx
mov eax, dword [ebp - 0x1c4]
cmp eax, dword [ebp - 0x1cc]
jl 0x4073e4
jg 0x40739e
mov ecx, dword [ebp - 0x1c8]
cmp ecx, dword [ebp - 0x1d0]
jbe 0x4073e4
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x1c0]
add eax, 0x2a
push eax
push 0x428d04
lea ecx, [ebp - 0x1ac]
push ecx
call fcn.00404920
add esp, 0x10
lea ecx, [ebp - 0x1ac]
call fcn.00402fe0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0x190]
add edx, 1
mov dword [ebp - 0x190], edx
lea eax, [ebp - 0x174]
push eax
mov ecx, dword [ebp - 0x1b8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4073fe
jmp 0x407403
jmp 0x4071b9
mov edx, dword [ebp - 0x1b8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call fcn.00402c40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402c40
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0040e39f
mov esp, ebp
pop ebp
ret