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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b2fb
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
mov eax, dword [0x59a530]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8b0], ecx
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00526d90
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov byte [ebp - 0x879], al
lea ecx, [ebp - 0x879]
call fcn.0045c6b0
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x880], 0xffffffff
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.00526d90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
lea ecx, [ebp - 0x420]
push ecx
call fcn.0040bb10
push 0x55cc0c
push 0x104
lea edx, [ebp - 0x420]
push edx
call fcn.0045e660
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x880], eax
cmp dword [ebp - 0x880], 0xffffffff
jne 0x45dd53
mov edx, dword [ebp - 0x880]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x45df69
lea eax, [ebp - 0x878]
push eax
mov ecx, dword [ebp - 0x880]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x45df1a
mov edx, dword [ebp - 0x878]
and edx, 0x10
je 0x45debf
mov dword [ebp - 0x888], 0x55cc14
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x884], eax
mov ecx, dword [ebp - 0x884]
mov dx, word [ecx]
mov word [ebp - 0x892], dx
mov eax, dword [ebp - 0x888]
cmp dx, word [eax]
jne 0x45ddfa
cmp word [ebp - 0x892], 0
je 0x45ddee
mov ecx, dword [ebp - 0x884]
mov dx, word [ecx + 2]
mov word [ebp - 0x894], dx
mov eax, dword [ebp - 0x888]
cmp dx, word [eax + 2]
jne 0x45ddfa
add dword [ebp - 0x884], 4
add dword [ebp - 0x888], 4
cmp word [ebp - 0x894], 0
jne 0x45dd94
mov dword [ebp - 0x89c], 0
jmp 0x45de05
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x89c], ecx
mov edx, dword [ebp - 0x89c]
mov dword [ebp - 0x8a8], edx
cmp dword [ebp - 0x8a8], 0
je 0x45deba
mov dword [ebp - 0x890], 0x55cc18
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x88c], eax
mov ecx, dword [ebp - 0x88c]
mov dx, word [ecx]
mov word [ebp - 0x896], dx
mov eax, dword [ebp - 0x890]
cmp dx, word [eax]
jne 0x45de9a
cmp word [ebp - 0x896], 0
je 0x45de8e
mov ecx, dword [ebp - 0x88c]
mov dx, word [ecx + 2]
mov word [ebp - 0x898], dx
mov eax, dword [ebp - 0x890]
cmp dx, word [eax + 2]
jne 0x45de9a
add dword [ebp - 0x88c], 4
add dword [ebp - 0x890], 4
cmp word [ebp - 0x898], 0
jne 0x45de34
mov dword [ebp - 0x8a0], 0
jmp 0x45dea5
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x8a0], ecx
mov edx, dword [ebp - 0x8a0]
mov dword [ebp - 0x8ac], edx
cmp dword [ebp - 0x8ac], 0
jne 0x45debf
jmp 0x45dd53
mov ecx, dword [ebp - 0x878]
and ecx, 0x10
jne 0x45df15
push 0x208
push 0
lea edx, [ebp - 0x628]
push edx
call fcn.00526d90
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea edx, [ebp - 0x84c]
push edx
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x45dd53
mov edx, dword [ebp - 0x880]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x8a4]
call fcn.00407fa0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8a4]
push ecx
mov ecx, dword [ebp - 0x8b0]
call fcn.0045e040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8a4]
call fcn.004083d0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6500
mov esp, ebp
pop ebp
ret