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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52defb
mov eax, dword fs:[0]
push eax
mov eax, 0x1abc
call fcn.004bde30
mov eax, dword [0x57d718]
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
mov dword [ebp - 0x1ac8], ecx
push 0x1450
lea eax, [ebp - 0x1870]
push 0
push eax
call fcn.00501330
add esp, 0xc
lea eax, [ebp - 0x1870]
push 0xa28
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1870]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.update_temp
lea eax, [ebp - 0x1870]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00501330
lea ecx, [ebp - 0x218]
add esp, 0xc
lea esi, [ebp - 0x1870]
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4276ae
movzx eax, word [esi + ecx]
test ax, ax
je 0x4276ae
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x427690
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x104
lea eax, [ebp - 0x218]
cmp word [eax], 0
je 0x4276d4
add eax, 2
sub ecx, 1
jne 0x4276c6
mov edx, 0x104
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x427728
lea ecx, [ebp - 0x218]
lea ecx, [ecx + esi*2]
sub edx, esi
je 0x42771b
mov edi, 0x53c73c
mov eax, SysReAllocString
sub edi, ecx
test eax, eax
je 0x42771b
movzx esi, word [edi + ecx]
test si, si
je 0x42771b
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x427702
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x1ac0]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x427751
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4278fe
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x1ac0]
push eax
push edi
call ebx
test eax, eax
je 0x427853
nop dword [eax]
mov esi, dword [ebp - 0x1ac0]
and esi, 0x10
je 0x4277f3
mov ecx, 0x53c744
lea eax, [ebp - 0x1a94]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4277ac
test dx, dx
je 0x4277a8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4277ac
add eax, 4
add ecx, 4
test dx, dx
jne 0x427786
xor eax, eax
jmp 0x4277b1
sbb eax, eax
or eax, 1
test eax, eax
je 0x427841
mov ecx, 0x53c748
lea eax, [ebp - 0x1a94]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4277ea
test dx, dx
je 0x4277e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4277ea
add eax, 4
add ecx, 4
test dx, dx
jne 0x4277c4
xor eax, eax
jmp 0x4277ef
sbb eax, eax
or eax, 1
test eax, eax
je 0x427841
test esi, esi
jne 0x427841
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.00501330
add esp, 0xc
lea eax, [ebp - 0x1870]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x1a94]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x1ac0]
push eax
push edi
call ebx
test eax, eax
jne 0x427770
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.004066f0
mov ecx, eax
test ecx, ecx
je 0x42791a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1ac4], eax
lea eax, [ebp - 0x1870]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x1ac4]
call fcn.00406300
test al, al
jne 0x4278c2
lea ecx, [ebp - 0x1870]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4278a0
sub ecx, edx
lea eax, [ebp - 0x1870]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1ac4]
call fcn.0040f1d0
mov ecx, dword [ebp - 0x1ac8]
lea eax, [ebp - 0x1ac4]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004279d0
mov edx, dword [ebp - 0x1ac4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4278f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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.004bddc0
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004062e0
int3