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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47634c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5a4
mov eax, dword [0x4994a0]
xor eax, dword [ebp + 4]
push esi
push edi
mov dword [esp + 0x5a4], eax
xor eax, eax
mov ecx, 0x104
lea edi, [esp + 0x188]
rep stosd dword es:[edi], eax
push 0x410
lea eax, [esp + 0x18c]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x188]
push ecx
lea ecx, [esp + 0x10]
call fcn.00405920
mov edx, dword [esp + 0xc]
push 0x5c
push edx
mov dword [esp + 0x5bc], esi
call fcn.004577cd
add esp, 8
cmp eax, esi
jne 0x408cef
or eax, 0xffffffff
jmp 0x408cf3
sub eax, dword [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00408600
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x5b8], 1
call fcn.00402990
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x5b4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.Log.eklog
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00405860
add esp, 0xc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
push eax
mov byte [esp + 0x5bc], 2
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x408ea0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x408d80
xor esi, esi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x408d9e
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jmp 0x408ddc
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x408dbc
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jmp 0x408ddc
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
call fcn.00406200
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x18]
push edx
call fcn.004575cd
push eax
call fcn.00457b61
push 0
mov esi, eax
call fcn.00457967
sub eax, esi
add esp, 0xc
cmp eax, 0x8ca0
jle 0x408e7c
push str.Log_
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00405860
lea edx, [esp + 0x80]
push edx
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x5cc], 3
call fcn.00405860
mov eax, dword [eax]
add esp, 0x18
push eax
call edi
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x5b4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408d7e
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x5b4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408ecd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x5b4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ef6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x5ac]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x5a4]
xor ecx, dword [ebp + 4]
call fcn.00456aa7
pop edi
pop esi
mov esp, ebp
pop ebp
ret