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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x5ad6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00513d10
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.00513d10
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 0x44323e
movzx eax, word [esi + ecx]
test ax, ax
je 0x44323e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x443220
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 0x443264
add eax, 2
sub ecx, 1
jne 0x443256
mov edx, 0x104
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x4432b8
lea ecx, [ebp - 0x20c]
lea ecx, [ecx + esi*2]
sub edx, esi
je 0x4432ab
mov edi, 0x56a4c4
mov eax, SysReAllocString
sub edi, ecx
test eax, eax
je 0x4432ab
movzx esi, word [edi + ecx]
test si, si
je 0x4432ab
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x443292
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 0x4432ec
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.004d684f
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 0x4433ef
mov esi, dword [ebp - 0x86c]
and esi, 0x10
je 0x443353
mov ecx, 0x566f38
lea eax, [ebp - 0x840]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x443346
test dx, dx
je 0x443342
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x443346
add eax, 4
add ecx, 4
test dx, dx
jne 0x443320
xor eax, eax
jmp 0x44334b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4433dd
mov ecx, 0x566f3c
lea eax, [ebp - 0x840]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x443386
test dx, dx
je 0x443382
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x443386
add eax, 4
add ecx, 4
test dx, dx
jne 0x443360
xor eax, eax
jmp 0x44338b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4433dd
test esi, esi
jne 0x4433dd
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00513d10
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 0x443305
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.004d684f
mov esp, ebp
pop ebp
ret