Function at 0x4d75b0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x50ec08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0x34]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.00406d70
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x34]
push ebp
call fcn.004d78a0
cmp eax, ebx
jne 0x4d783f
mov ecx, dword [esp + 0x34]
push ebx
push ecx
call fcn.004efd72
add esp, 8
test eax, eax
jne 0x4d7847
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.00404fe0
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.00415820
mov edx, dword [0x546fac]
mov eax, dword [edx + 0xc]
mov ecx, 0x546fac
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x2c], 2
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x105
or eax, ecx
jge 0x4d767a
mov ecx, 0x105
lea eax, [esp + 0x14]
call fcn.00407670
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edi
push ebx
push 0x517270
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, eax
mov eax, dword [edi - 8]
push eax
push edi
call fcn.004ec7bd
add esp, 8
cmp eax, ebx
jl 0x4d7889
cmp eax, dword [edi - 8]
jg 0x4d7889
xor edx, edx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], dx
cmp esi, ebx
jne 0x4d76d5
mov eax, dword [esp + 0x34]
push eax
push 0x517274
lea edi, [esp + 0x1c]
call fcn.004190d0
mov edi, dword [esp + 0x1c]
add esp, 8
jmp 0x4d76dc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x34]
push edi
push ecx
call fcn.004ec7dc
add esp, 8
test eax, eax
je 0x4d7777
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x517284
mov ecx, 0x548980
call fcn.004dfa90
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x2c]
push eax
mov ebx, str.0000.
call fcn.00418040
add esp, 0x10
mov byte [esp + 0x2c], 3
mov eax, dword [eax]
push ebp
mov esi, eax
call fcn.004d78a0
mov esi, eax
mov byte [esp + 0x2c], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d7755
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4d7760
mov ebx, 0x5172b0
jmp 0x4d77ce
lea ecx, [esp + 0x14]
call fcn.00406e40
lea ecx, [esp + 0x18]
call fcn.00406e40
jmp 0x4d7847
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, dword [esp + 0x34]
push ebp
call fcn.004d78a0
cmp eax, ebx
jne 0x4d77f9
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, 0x5172b4
call fcn.00418040
add esp, 8
mov byte [esp + 0x2c], 4
mov eax, dword [eax]
push ebp
mov esi, eax
call fcn.004d78a0
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x2c], 2
call fcn.00406e40
test esi, esi
je 0x4d7760
mov ebx, 0x5172b8
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00418040
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
add esp, 8
push 5
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0x20]
call fcn.00406e40
add edi, 0xfffffff0
mov byte [esp + 0x2c], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4d781a
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d783f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d786f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
push 0x80070057
call fcn.00402a90
int3