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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c376
mov eax, dword fs:[0]
push eax
sub esp, 0x884
mov eax, dword [0x55f3a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004efd80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x56d578]
cmp eax, dword [ecx + 4]
jle 0x42fa87
push 0x56d578
call fcn.004af7b6
add esp, 4
cmp dword [0x56d578], 0xffffffff
jne 0x42fa87
push 0x56d578
mov dword [0x56d57c], 0
call fcn.004af76c
add esp, 4
xorps xmm0, xmm0
mov byte [ebp - 0x889], 0
movlpd qword [ebp - 0x630], xmm0
lea eax, [ebp - 0x630]
mov dword [ebp - 4], 0
push eax
call fcn.00432a45
add esp, 4
mov dword [ebp - 4], 1
lea eax, [ebp - 0x630]
mov dword [ebp - 0x638], eax
lea eax, [ebp - 0x889]
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x638]
push eax
push 0x4314d0
push 0x56d57c
call fcn.00432c10
add esp, 0xc
test eax, eax
je 0x42fdcd
lea eax, [ebp - 0x630]
mov dword [ebp - 4], 2
push eax
call fcn.00432a7f
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x218]
push 0x56cd04
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004efd80
lea ecx, [ebp - 0x420]
add esp, 0xc
lea esi, [ebp - 0x218]
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x42fb6e
movzx eax, word [esi + ecx]
test ax, ax
je 0x42fb6e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x42fb50
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x104
lea eax, [ebp - 0x420]
cmp word [eax], 0
je 0x42fb94
add eax, 2
sub ecx, 1
jne 0x42fb86
mov edx, 0x104
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x42fbe8
lea ecx, [ebp - 0x420]
lea ecx, [ecx + esi*2]
sub edx, esi
je 0x42fbdb
mov edi, 0x5481f4
mov eax, SysReAllocString
sub edi, ecx
test eax, eax
je 0x42fbdb
movzx esi, word [edi + ecx]
test si, si
je 0x42fbdb
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x42fbc2
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x888]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42fc28
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af60c
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x888]
push eax
push edi
call ebx
test eax, eax
je 0x42fd23
mov esi, dword [ebp - 0x888]
and esi, 0x10
je 0x42fcc3
mov ecx, 0x5481fc
lea eax, [ebp - 0x85c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42fc7c
test dx, dx
je 0x42fc78
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42fc7c
add eax, 4
add ecx, 4
test dx, dx
jne 0x42fc56
xor eax, eax
jmp 0x42fc81
sbb eax, eax
or eax, 1
test eax, eax
je 0x42fd11
mov ecx, 0x548200
lea eax, [ebp - 0x85c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42fcba
test dx, dx
je 0x42fcb6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42fcba
add eax, 4
add ecx, 4
test dx, dx
jne 0x42fc94
xor eax, eax
jmp 0x42fcbf
sbb eax, eax
or eax, 1
test eax, eax
je 0x42fd11
test esi, esi
jne 0x42fd11
push 0x208
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.004efd80
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x888]
push eax
push edi
call ebx
test eax, eax
jne 0x42fc40
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.00405ae0
mov ecx, eax
test ecx, ecx
je 0x42fded
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x890], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0x890]
call fcn.00405cf0
test al, al
jne 0x42fd92
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fd70
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x890]
call fcn.00406110
lea eax, [ebp - 0x890]
push eax
call fcn.0042fe10
mov edx, dword [ebp - 0x890]
add edx, 0xfffffff0
mov dword [ebp - 4], 6
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42fdc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x42fc0c
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 3
push eax
call fcn.00432aa0
add esp, 4
mov byte [ebp - 4], 1
test al, al
jne 0x42fdf7
call fcn.00432c28
push 0x80004005
call fcn.004060f0
sub esp, 8
lea eax, [ebp - 0x630]
mov ecx, esp
push eax
call fcn.00404e30
call fcn.00404e90
int3