Function at 0x461027
Capabilities:
Delete file
Enumerate files on windows
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x468176
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4bc
push ebx
push edi
xor ebx, ebx
push esi
lea edi, [esp + 0x38]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], 0xa
mov dword [esp + 0x34], ebx
call fcn.0040179d
push str.mupdb
mov eax, edi
mov dword [esp + 0x4d0], ebx
call fcn.0040184c
call fcn.00401966
mov dword [esp + 0x1c], eax
mov eax, edi
mov dword [esp], str.cache
call fcn.0040184c
call fcn.00401966
mov dword [esp + 0x20], eax
mov dword [esp], 0x103
lea eax, [esp + 0x3bd]
push ebx
push eax
mov byte [esp + 0x3c4], bl
call fcn.0043b5d0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esi + 0x30c]
push ecx
lea eax, [esi + 0x208]
push eax
push esi
lea eax, [esp + 0x3c4]
push str._Smupdb_s__S
push eax
call edi
add esp, 0x14
push 0x13c
lea eax, [esp + 0x70]
push ebx
push eax
mov dword [esp + 0x74], ebx
call fcn.0043b5d0
add esp, 0xc
push 0x103
lea eax, [esp + 0x2b5]
push ebx
push eax
mov byte [esp + 0x2bc], bl
call fcn.0043b5d0
add esp, 0xc
lea eax, [esi + 0x208]
push eax
push 0x46f8d0
push dword [esp + 0x20]
lea eax, [esp + 0x2bc]
push str._s_s_s_
push eax
call edi
add esp, 0x14
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x46125c
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x1c]
call fcn.00401966
pop ecx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x461231
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
cmp eax, ebx
jbe 0x461231
inc eax
push eax
call fcn.00437405
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
pop ecx
inc eax
push eax
push ebx
push dword [esp + 0x14]
call fcn.0043b5d0
add esp, 0xc
push ebx
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x30], ebx
push dword [esp + 0x18]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push ebx
push 5
push dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push dword [esp + 0x1c]
call fcn.00466d09
push ebx
push ebx
mov byte [esp + 0x4d4], 1
mov dword [esp + 0x14], ebx
push 1
jmp 0x461211
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
inc dword [esp + 0x28]
push ebx
push ebx
inc eax
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call dword [eax + 0x18]
test eax, eax
jne 0x461201
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x4d0], bl
call fcn.00466606
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x2c]
call fcn.0043756e
pop ecx
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x461155
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x2b4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x46147e
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x1c]
call fcn.00401966
pop ecx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x46143f
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
cmp eax, ebx
jbe 0x46143f
inc eax
push eax
call fcn.00437405
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
pop ecx
inc eax
push eax
push ebx
push dword [esp + 0x14]
call fcn.0043b5d0
add esp, 0xc
push ebx
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x38], ebx
push dword [esp + 0x18]
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push ebx
push 5
push dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push dword [esp + 0x1c]
call fcn.00466d09
push ebx
push ebx
mov byte [esp + 0x4d4], 2
mov dword [esp + 0x14], ebx
push 1
jmp 0x46140f
mov eax, dword [esp + 0x3c]
push 1
push str.shared
push dword [esp + 0x18]
lea ecx, [esp + 0x48]
call dword [eax + 0x14]
test eax, eax
jne 0x461403
push 0x103
lea eax, [esp + 0x1ad]
push ebx
push eax
mov byte [esp + 0x1b4], bl
call fcn.0043b5d0
mov eax, dword [esp + 0x48]
add esp, 0xc
push ebx
push str.location
push dword [esp + 0x18]
lea ecx, [esp + 0x48]
call dword [eax + 0x18]
push str.systemcomponents
push eax
mov dword [esp + 0x18], eax
call fcn.00437410
pop ecx
pop ecx
test eax, eax
je 0x4613ac
push 0x5c
push dword [esp + 0x14]
call fcn.00436990
pop ecx
inc eax
pop ecx
mov dword [esp + 0x10], eax
push dword [esp + 0x10]
lea eax, [esp + 0x1ac]
push 0x46f8d0
push esi
push str._S_s_s
push eax
call edi
add esp, 0x14
lea eax, [esp + 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x1a8]
push eax
call fcn.00456485
mov eax, dword [esi + 0x324]
pop ecx
push dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x10]
push ecx
push 0x404
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
push ebx
push ebx
inc eax
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call dword [eax + 0x18]
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x461335
mov eax, dword [esp + 0xc]
add dword [esp + 0x30], eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x4d0], bl
call fcn.00466606
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [esp + 0x14]
call fcn.00456485
pop ecx
push dword [esp + 0x14]
call fcn.0043756e
pop ecx
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x461286
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x3b8]
push eax
call edi
push ebx
push dword [esp + 0x1c]
call fcn.00456020
push ebx
push dword [esp + 0x28]
call fcn.00456020
push dword [esp + 0x28]
call fcn.0043756e
add esp, 0x14
push dword [esp + 0x1c]
call fcn.0043756e
pop ecx
call fcn.0045f054
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x4614e3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4614d2
sub eax, edx
je 0x4614e3
push dword [esp + 0x1c]
call edi
push dword [esp + 0x1c]
call fcn.0043756e
lea eax, [esp + 0x38]
mov dword [esp], str.systemcomponents
call fcn.0040184c
call fcn.00401966
mov edi, eax
pop ecx
lea eax, [esp + 0x34]
call fcn.00401866
push 1
push edi
mov ebx, eax
call fcn.00456020
push 1
push ebx
call fcn.00456020
push ebx
call fcn.0043756e
add esp, 0x14
push edi
call fcn.0043756e
pop ecx
push dword [esp + 0x28]
push dword [esp + 0x10]
push 0x405
push dword [esi + 0x324]
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [esp + 0x34]
call fcn.004017f1
mov ecx, dword [esp + 0x4c4]
xor eax, eax
pop edi
inc eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret