Function at 0x4687df
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 0x46ff73
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.00403415
push str.mupdb
mov eax, edi
mov dword [esp + 0x4d0], ebx
call fcn.004034c4
call fcn.0040335a
mov dword [esp + 0x1c], eax
mov eax, edi
mov dword [esp], str.cache
call fcn.004034c4
call fcn.0040335a
mov dword [esp + 0x20], eax
mov dword [esp], 0x103
lea eax, [esp + 0x3bd]
push ebx
push eax
mov byte [esp + 0x3c4], bl
call fcn.0043cdc0
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.0043cdc0
add esp, 0xc
push 0x103
lea eax, [esp + 0x2b5]
push ebx
push eax
mov byte [esp + 0x2bc], bl
call fcn.0043cdc0
add esp, 0xc
lea eax, [esi + 0x208]
push eax
push 0x4785b0
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 0x468a14
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x1c]
call fcn.0040335a
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 0x4689e9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
cmp eax, ebx
jbe 0x4689e9
inc eax
push eax
call fcn.00438be5
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
pop ecx
inc eax
push eax
push ebx
push dword [esp + 0x14]
call fcn.0043cdc0
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.0046e0f8
push ebx
push ebx
mov byte [esp + 0x4d4], 1
mov dword [esp + 0x14], ebx
push 1
jmp 0x4689c9
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 0x4689b9
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x4d0], bl
call fcn.0046d9f5
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x2c]
call fcn.00437ff5
pop ecx
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x46890d
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 0x468c36
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x1c]
call fcn.0040335a
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 0x468bf7
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
cmp eax, ebx
jbe 0x468bf7
inc eax
push eax
call fcn.00438be5
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
pop ecx
inc eax
push eax
push ebx
push dword [esp + 0x14]
call fcn.0043cdc0
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.0046e0f8
push ebx
push ebx
mov byte [esp + 0x4d4], 2
mov dword [esp + 0x14], ebx
push 1
jmp 0x468bc7
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 0x468bbb
push 0x103
lea eax, [esp + 0x1ad]
push ebx
push eax
mov byte [esp + 0x1b4], bl
call fcn.0043cdc0
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.00438bf0
pop ecx
pop ecx
test eax, eax
je 0x468b64
push 0x5c
push dword [esp + 0x14]
call fcn.00437970
pop ecx
inc eax
pop ecx
mov dword [esp + 0x10], eax
push dword [esp + 0x10]
lea eax, [esp + 0x1ac]
push 0x4785b0
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.0045cdec
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 0x468aed
mov eax, dword [esp + 0xc]
add dword [esp + 0x30], eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x4d0], bl
call fcn.0046d9f5
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.0045cdec
pop ecx
push dword [esp + 0x14]
call fcn.00437ff5
pop ecx
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x468a3e
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.0045c987
push ebx
push dword [esp + 0x28]
call fcn.0045c987
push dword [esp + 0x28]
call fcn.00437ff5
add esp, 0x14
push dword [esp + 0x1c]
call fcn.00437ff5
pop ecx
call fcn.00466bab
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x468c9b
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x468c8a
sub eax, edx
je 0x468c9b
push dword [esp + 0x1c]
call edi
push dword [esp + 0x1c]
call fcn.00437ff5
lea eax, [esp + 0x38]
mov dword [esp], str.systemcomponents
call fcn.004034c4
call fcn.0040335a
mov edi, eax
pop ecx
lea eax, [esp + 0x34]
call fcn.004034de
push 1
push edi
mov ebx, eax
call fcn.0045c987
push 1
push ebx
call fcn.0045c987
push ebx
call fcn.00437ff5
add esp, 0x14
push edi
call fcn.00437ff5
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.00403469
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