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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x4b3630]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0044a6c0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.update_temp
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0044a6c0
lea ecx, [ebp - 0x20c]
add esp, 0xc
lea esi, [ebp - 0x414]
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4280de
movzx eax, word [esi + ecx]
test ax, ax
je 0x4280de
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4280c0
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x104
lea eax, [ebp - 0x20c]
cmp word [eax], 0
je 0x428104
add eax, 2
sub ecx, 1
jne 0x4280f6
mov edx, 0x104
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x428158
lea ecx, [ebp - 0x20c]
lea ecx, [ecx + esi*2]
sub edx, esi
je 0x42814b
mov edi, 0x490b6c
mov eax, SysReAllocString
sub edi, ecx
test eax, eax
je 0x42814b
movzx esi, word [edi + ecx]
test si, si
je 0x42814b
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x428132
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42818c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442126
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x86c]
push eax
push edi
call ebx
test eax, eax
je 0x42828f
mov esi, dword [ebp - 0x86c]
and esi, 0x10
je 0x4281f3
mov ecx, 0x48f7c0
lea eax, [ebp - 0x840]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4281e6
test dx, dx
je 0x4281e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4281e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4281c0
xor eax, eax
jmp 0x4281eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x42827d
mov ecx, 0x48f7c4
lea eax, [ebp - 0x840]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428226
test dx, dx
je 0x428222
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428226
add eax, 4
add ecx, 4
test dx, dx
jne 0x428200
xor eax, eax
jmp 0x42822b
sbb eax, eax
or eax, 1
test eax, eax
je 0x42827d
test esi, esi
jne 0x42827d
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0044a6c0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x86c]
push eax
push edi
call ebx
test eax, eax
jne 0x4281a5
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00442126
mov esp, ebp
pop ebp
ret