Function at 0x42d940
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 0x4f4b6c
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x54c1b4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x54c1b4]
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 0x42dcf3
push 0x251
call fcn.00475003
push 0x251
mov esi, eax
xor edi, edi
push edi
push esi
mov dword [esp + 0x28], esi
call fcn.004c3610
lea eax, [ebx + 0x18]
push eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x98]
add ebx, 0x34
push eax
call fcn.0042f0f0
push eax
mov eax, str..log
lea ecx, [esp + 0x84]
mov dword [esp + 0xcc], edi
call fcn.004070c0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x42d9ea
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 0x42da0c
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004bb4d8
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 0x42da44
mov eax, dword [esp + 0x84]
push eax
call fcn.004bb4d8
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 0x42dcea
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 [0x54bf28]
mov edx, dword [eax + 0xc]
mov ecx, 0x54bf28
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.00407fa0
add esp, 0x10
add esi, 0x2c
mov eax, dword [0x54bf28]
mov edx, dword [eax + 0xc]
mov ecx, 0x54bf28
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xb0], 3
test esi, esi
je 0x42db17
test esi, 0xffff0000
jne 0x42db1b
movzx edi, si
call fcn.00414b50
test eax, eax
je 0x42db40
push eax
mov eax, edi
lea edi, [esp + 0x14]
call fcn.0042f6c0
jmp 0x42db3c
xor eax, eax
jmp 0x42db2f
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42db20
sub eax, edx
sar eax, 1
push esi
lea ecx, [esp + 0x14]
push ecx
mov ebx, eax
call fcn.0042f870
mov ebx, dword [esp + 0x10]
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42db6d
cmp dword [ebx - 0xc], 0
jl 0x42db6d
push eax
push ebx
call fcn.004be5bd
add esp, 8
test eax, eax
je 0x42db6d
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42dbd3
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 0x42db90
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00408810
lea ecx, [esp + 0x3c]
lea edi, [esp + 0x24]
mov byte [esp + 0xb0], 5
call fcn.0040d700
cmp dword [esp + 0x50], 8
jb 0x42dbd3
mov eax, dword [esp + 0x3c]
push eax
call fcn.004bb4d8
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.004c3610
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 0x42dc12
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 0x42dad3
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 0x42dc9f
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 0x42dc9f
mov esi, eax
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0042f0f0
mov edi, 8
add esp, 8
cmp dword [eax + 0x14], edi
jb 0x42dc7f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x50], edi
jb 0x42dc99
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004bb4d8
add esp, 4
add ebx, 0x1c
dec esi
jne 0x42dc61
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 0x42dcc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], 0
je 0x42dce6
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, esi
call fcn.0040d350
push esi
call fcn.004bb4d8
add esp, 4
mov esi, dword [esp + 0x18]
push esi
call fcn.004bcb93
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.004bb4e3
mov esp, ebp
pop ebp
ret