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

Disassembly:
push 0xffffffffffffffff
push 0x50e378
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53a1a4]
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.00406c40
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x34]
push ebp
call fcn.004d70c0
cmp eax, ebx
jne 0x4d705f
mov ecx, dword [esp + 0x34]
push ebx
push ecx
call fcn.004ef642
add esp, 8
test eax, eax
jne 0x4d7067
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.00404eb0
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.004152c0
mov edx, dword [0x544fac]
mov eax, dword [edx + 0xc]
mov ecx, 0x544fac
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 0x4d6e9a
mov ecx, 0x105
lea eax, [esp + 0x14]
call fcn.00407610
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edi
push ebx
push 0x516270
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, eax
mov eax, dword [edi - 8]
push eax
push edi
call fcn.004ec08d
add esp, 8
cmp eax, ebx
jl 0x4d70a9
cmp eax, dword [edi - 8]
jg 0x4d70a9
xor edx, edx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], dx
cmp esi, ebx
jne 0x4d6ef5
mov eax, dword [esp + 0x34]
push eax
push 0x516274
lea edi, [esp + 0x1c]
call fcn.00418bf0
mov edi, dword [esp + 0x1c]
add esp, 8
jmp 0x4d6efc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x34]
push edi
push ecx
call fcn.004ec0ac
add esp, 8
test eax, eax
je 0x4d6f97
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x516284
mov ecx, 0x546980
call fcn.004df340
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x2c]
push eax
mov ebx, str.0000.
call fcn.00417ae0
add esp, 0x10
mov byte [esp + 0x2c], 3
mov eax, dword [eax]
push ebp
mov esi, eax
call fcn.004d70c0
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 0x4d6f75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4d6f80
mov ebx, 0x5162b0
jmp 0x4d6fee
lea ecx, [esp + 0x14]
call fcn.00406cf0
lea ecx, [esp + 0x18]
call fcn.00406cf0
jmp 0x4d7067
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, dword [esp + 0x34]
push ebp
call fcn.004d70c0
cmp eax, ebx
jne 0x4d7019
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x24]
push eax
mov ebx, 0x5162b4
call fcn.00417ae0
add esp, 8
mov byte [esp + 0x2c], 4
mov eax, dword [eax]
push ebp
mov esi, eax
call fcn.004d70c0
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x2c], 2
call fcn.00406cf0
test esi, esi
je 0x4d6f80
mov ebx, 0x5162b8
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00417ae0
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.00406cf0
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 0x4d703a
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 0x4d705f
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 0x4d708f
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.004029f0
int3