Function at 0x42ce90
Capabilities:
Delete file
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f39cc
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x54b1b4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x54b1b4]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 4], 2
mov dword [esp + 0x34], ebx
je 0x42d243
push 0x251
call fcn.00473ed3
push 0x251
mov esi, eax
xor edi, edi
push edi
push esi
mov dword [esp + 0x28], esi
call fcn.004c24e0
lea eax, [ebx + 0x18]
push eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x98]
add ebx, 0x34
push eax
call fcn.0042e640
push eax
mov eax, str..log
lea ecx, [esp + 0x84]
mov dword [esp + 0xcc], edi
call fcn.00406d60
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x42cf3a
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [esp + 0x7c], 8
mov ebx, eax
mov dword [esp + 0x20], ebx
jb 0x42cf5c
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004ba3a4
add esp, 4
xor edx, edx
mov dword [esp + 0xb0], 0xffffffff
cmp dword [esp + 0x98], 8
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], edi
mov word [esp + 0x68], dx
jb 0x42cf94
mov eax, dword [esp + 0x84]
push eax
call fcn.004ba3a4
add esp, 4
xor ecx, ecx
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], edi
mov word [esp + 0x84], cx
cmp ebx, 0xffffffff
je 0x42d23a
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0xb4], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x54af28]
mov edx, dword [eax + 0xc]
mov ecx, 0x54af28
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xb0], 2
movzx eax, word [esp + 0x5e]
movzx ecx, word [esp + 0x5a]
movzx edx, word [esp + 0x58]
push eax
push ecx
push edx
push str._02d__02d__02d
lea edi, [esp + 0x24]
call fcn.00407bd0
add esp, 0x10
add esi, 0x2c
mov eax, dword [0x54af28]
mov edx, dword [eax + 0xc]
mov ecx, 0x54af28
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xb0], 3
test esi, esi
je 0x42d067
test esi, 0xffff0000
jne 0x42d06b
movzx edi, si
call fcn.00414770
test eax, eax
je 0x42d090
push eax
mov eax, edi
lea edi, [esp + 0x14]
call fcn.0042ec10
jmp 0x42d08c
xor eax, eax
jmp 0x42d07f
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d070
sub eax, edx
sar eax, 1
push esi
lea ecx, [esp + 0x14]
push ecx
mov ebx, eax
call fcn.0042edc0
mov ebx, dword [esp + 0x10]
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42d0bd
cmp dword [ebx - 0xc], 0
jl 0x42d0bd
push eax
push ebx
call fcn.004bd48d
add esp, 8
test eax, eax
je 0x42d0bd
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42d123
xor edx, edx
mov eax, esi
mov word [esp + 0x3c], dx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d0e0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00408440
lea ecx, [esp + 0x3c]
lea edi, [esp + 0x24]
mov byte [esp + 0xb0], 5
call fcn.0040d320
cmp dword [esp + 0x50], 8
jb 0x42d123
mov eax, dword [esp + 0x3c]
push eax
call fcn.004ba3a4
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x20]
add dword [esp + 0x1c], ecx
push 0x251
push 0
push edi
call fcn.004c24e0
lea eax, [ebx - 0x10]
add esp, 0xc
mov byte [esp + 0xb0], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d162
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42d023
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
cmp eax, dword [ecx + 0x10]
jbe 0x42d1ef
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x42d1ef
mov esi, eax
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0042e640
mov edi, 8
add esp, 8
cmp dword [eax + 0x14], edi
jb 0x42d1cf
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x50], edi
jb 0x42d1e9
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004ba3a4
add esp, 4
add ebx, 0x1c
dec esi
jne 0x42d1b1
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d217
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], 0
je 0x42d236
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, esi
call fcn.0040cf70
push esi
call fcn.004ba3a4
add esp, 4
mov esi, dword [esp + 0x18]
push esi
call fcn.004bba63
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004ba3af
mov esp, ebp
pop ebp
ret