Function at 0x4018c0
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f280
push 0x408538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x368
mov eax, dword [0x412158]
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
mov esi, 1
mov dword [ebp - 0x374], 0
push 0x105
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.00407590
add esp, 0xc
lea edi, [ebp - 0x124]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401920
mov dx, word [0x40f27c]
mov word [edi], dx
mov al, byte [0x40f27e]
mov byte [edi + 2], al
lea ecx, [ebp - 0x36c]
push ecx
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0x370], ebx
cmp ebx, 0xffffffff
jne 0x40197a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004076bf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x105
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.00407590
add esp, 0xc
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
jmp 0x4019a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4019a0
sub eax, edx
xor edx, edx
cmp byte [ebp + eax - 0x125], 0x5c
sete dl
mov eax, edx
test eax, eax
je 0x4019e1
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4019c5
sub eax, edx
movzx eax, byte [ebp + eax - 0x126]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x4019fa
lea edi, [ebp - 0x124]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4019e8
mov cx, word [0x40f278]
mov word [edi], cx
mov dword [ebp - 4], 0
test esi, esi
je 0x401b20
test byte [ebp - 0x36c], 0x10
je 0x401aaa
push 0x40f1e8
lea edx, [ebp - 0x340]
push edx
call fcn.004082f5
add esp, 8
test eax, eax
je 0x401b05
push 0x40f274
lea eax, [ebp - 0x340]
push eax
call fcn.004082f5
add esp, 8
test eax, eax
je 0x401b05
push 0x105
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x22c]
push edx
call fcn.00407590
add esp, 0xc
lea eax, [ebp - 0x340]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401a71
sub eax, edx
lea edi, [ebp - 0x22c]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401a81
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x22c]
push eax
call fcn.004018c0
add esp, 4
jmp 0x401b05
push 0x105
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x22c]
push edx
call fcn.00407590
add esp, 0xc
lea eax, [ebp - 0x340]
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401ad0
sub eax, edx
lea edi, [ebp - 0x22c]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401ae0
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x36c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, eax
mov dword [ebp - 0x378], esi
jmp 0x401a01
mov dword [ebp - 4], 0xffffffff
call fcn.00401b37
jmp 0x401961