Function at 0x42c6f0
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 0x4ea1bc
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x53f1e4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x53f1e4]
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 0x42caa3
push 0x251
call fcn.0046b32d
push 0x251
mov esi, eax
xor edi, edi
push edi
push esi
mov dword [esp + 0x28], esi
call fcn.004b96b0
lea eax, [ebx + 0x18]
push eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x98]
add ebx, 0x34
push eax
call fcn.0042dc30
push eax
mov eax, str..log
lea ecx, [esp + 0x84]
mov dword [esp + 0xcc], edi
call fcn.004039a0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x42c79a
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 0x42c7bc
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004b1676
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 0x42c7f4
mov eax, dword [esp + 0x84]
push eax
call fcn.004b1676
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 0x42ca9a
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 [0x53ef48]
mov edx, dword [eax + 0xc]
mov ecx, 0x53ef48
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.00408a70
add esp, 0x10
add esi, 0x2c
mov eax, dword [0x53ef48]
mov edx, dword [eax + 0xc]
mov ecx, 0x53ef48
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xb0], 3
test esi, esi
je 0x42c8c7
test esi, 0xffff0000
jne 0x42c8cb
movzx edi, si
call fcn.00407f40
test eax, eax
je 0x42c8f0
push eax
mov eax, edi
lea edi, [esp + 0x14]
call fcn.004082c0
jmp 0x42c8ec
xor eax, eax
jmp 0x42c8df
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c8d0
sub eax, edx
sar eax, 1
push esi
lea ecx, [esp + 0x14]
push ecx
mov ebx, eax
call fcn.00408480
mov ebx, dword [esp + 0x10]
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42c91d
cmp dword [ebx - 0xc], 0
jl 0x42c91d
push eax
push ebx
call fcn.004b4689
add esp, 8
test eax, eax
je 0x42c91d
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42c983
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 0x42c940
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00404960
lea ecx, [esp + 0x3c]
lea edi, [esp + 0x24]
mov byte [esp + 0xb0], 5
call fcn.0040d670
cmp dword [esp + 0x50], 8
jb 0x42c983
mov eax, dword [esp + 0x3c]
push eax
call fcn.004b1676
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.004b96b0
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 0x42c9c2
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 0x42c883
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 0x42ca4f
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 0x42ca4f
mov esi, eax
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0042dc30
mov edi, 8
add esp, 8
cmp dword [eax + 0x14], edi
jb 0x42ca2f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x50], edi
jb 0x42ca49
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004b1676
add esp, 4
add ebx, 0x1c
dec esi
jne 0x42ca11
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 0x42ca77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], 0
je 0x42ca96
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, esi
call fcn.0040d2c0
push esi
call fcn.004b1676
add esp, 4
mov esi, dword [esp + 0x18]
push esi
call fcn.004b1e05
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.004b1681
mov esp, ebp
pop ebp
ret