Function at 0x42b380
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 0x4eec2c
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5441b4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x5441b4]
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 0x42b733
push 0x251
call fcn.0046fc33
push 0x251
mov esi, eax
xor edi, edi
push edi
push esi
mov dword [esp + 0x28], esi
call fcn.004be120
lea eax, [ebx + 0x18]
push eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x98]
add ebx, 0x34
push eax
call fcn.0042cb30
push eax
mov eax, str..log
lea ecx, [esp + 0x84]
mov dword [esp + 0xcc], edi
call fcn.004044b0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x42b42a
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 0x42b44c
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004b6106
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 0x42b484
mov eax, dword [esp + 0x84]
push eax
call fcn.004b6106
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 0x42b72a
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 [0x543f28]
mov edx, dword [eax + 0xc]
mov ecx, 0x543f28
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.00406b50
add esp, 0x10
add esi, 0x2c
mov eax, dword [0x543f28]
mov edx, dword [eax + 0xc]
mov ecx, 0x543f28
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xb0], 3
test esi, esi
je 0x42b557
test esi, 0xffff0000
jne 0x42b55b
movzx edi, si
call fcn.00412cf0
test eax, eax
je 0x42b580
push eax
mov eax, edi
lea edi, [esp + 0x14]
call fcn.0042d100
jmp 0x42b57c
xor eax, eax
jmp 0x42b56f
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b560
sub eax, edx
sar eax, 1
push esi
lea ecx, [esp + 0x14]
push ecx
mov ebx, eax
call fcn.0042d2b0
mov ebx, dword [esp + 0x10]
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42b5ad
cmp dword [ebx - 0xc], 0
jl 0x42b5ad
push eax
push ebx
call fcn.004b90cf
add esp, 8
test eax, eax
je 0x42b5ad
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42b613
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 0x42b5d0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.004073c0
lea ecx, [esp + 0x3c]
lea edi, [esp + 0x24]
mov byte [esp + 0xb0], 5
call fcn.0040c0d0
cmp dword [esp + 0x50], 8
jb 0x42b613
mov eax, dword [esp + 0x3c]
push eax
call fcn.004b6106
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.004be120
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 0x42b652
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 0x42b513
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 0x42b6df
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 0x42b6df
mov esi, eax
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0042cb30
mov edi, 8
add esp, 8
cmp dword [eax + 0x14], edi
jb 0x42b6bf
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x50], edi
jb 0x42b6d9
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004b6106
add esp, 4
add ebx, 0x1c
dec esi
jne 0x42b6a1
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 0x42b707
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], 0
je 0x42b726
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, esi
call fcn.0040bd20
push esi
call fcn.004b6106
add esp, 4
mov esi, dword [esp + 0x18]
push esi
call fcn.004b77c3
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.004b6111
mov esp, ebp
pop ebp
ret