Function at 0x44a930
Capabilities:
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4c4aa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x774
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0xa
lea ecx, [esp + 0x68]
mov dword [esp + 0x1c], ebx
call fcn.004a7f83
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x78c], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x78c], 2
call fcn.004af28a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78c], 3
call fcn.004aad1d
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x3c], eax
mov ebp, vtable.CFileException.0
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x790], 5
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0xffffffff
call fcn.004a9d5c
mov ecx, dword [0x4f5b3c]
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x798]
mov esi, dword [esp + 0x794]
push edi
push esi
lea edx, [esp + 0x24]
push str.ReplaceFileOnReboot__s___s_
push edx
mov byte [esp + 0x79c], 7
call fcn.004a768f
lea eax, [esp + 0x2c]
push eax
call fcn.0045db50
mov al, byte [0x4feef8]
add esp, 0x14
test al, 0x80
je 0x44aaf9
cmp edi, ebx
je 0x44aaf9
cmp esi, ebx
je 0x44aaf9
push esi
lea ecx, [esp + 0x1c]
call fcn.004a9c8d
lea ecx, [esp + 0x18]
mov byte [esp + 0x78c], 8
call fcn.00436630
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push str.Delete_file_:
push edx
call fcn.004a9edc
push eax
mov byte [esp + 0x790], 9
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x78c], 8
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0x78c], 7
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78c], 6
call fcn.004a9c1f
mov dword [esp + 0x2c], ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78c], 0xa
call fcn.004a9c1f
lea ecx, [esp + 0x44]
mov byte [esp + 0x78c], 2
call fcn.004af2bc
lea ecx, [esp + 0x14]
mov byte [esp + 0x78c], 1
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov byte [esp + 0x78c], bl
call fcn.004a9c1f
lea ecx, [esp + 0x64]
mov dword [esp + 0x78c], 0xffffffff
call fcn.004a7ff7
mov eax, 1
jmp 0x44aea0
push esi
lea ecx, [esp + 0x2c]
call fcn.004a9c8d
lea ecx, [esp + 0x28]
mov byte [esp + 0x78c], 0xb
call fcn.00434be0
test eax, eax
je 0x44ab35
cmp edi, ebx
je 0x44ab20
cmp byte [edi], bl
jne 0x44ab35
mov eax, dword [0x4fefa4]
lea ecx, [esp + 0x28]
push ecx
push eax
mov ecx, 0x4fef9c
call fcn.004a858d
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x44ab87
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x44ab87
lea ecx, [esp + 0x28]
mov byte [esp + 0x78c], 7
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78c], 6
call fcn.004a9c1f
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x78c], 0xc
jmp 0x44ae4d
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
cmp esi, ebx
mov dword [esp + 0x20], ebx
je 0x44aba5
lea edx, [esp + 0x284]
push 0xff
push edx
push esi
call ebp
cmp edi, ebx
jne 0x44abb7
mov byte [esp + 0x184], bl
mov eax, 0x4f3228
jmp 0x44abce
lea eax, [esp + 0x184]
push 0xff
push eax
push edi
call ebp
lea eax, [esp + 0x184]
lea ecx, [esp + 0x284]
lea edx, [esp + 0x384]
push ecx
push eax
push str._hs_hs
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x384]
lea ecx, [esp + 0x14]
push eax
call fcn.004a9d5c
mov ecx, dword [str._rename_]
mov edx, dword [0x4f3218]
mov al, byte [0x4f321c]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x80]
push 0x104
push ecx
mov dword [esp + 0x64], edx
mov byte [esp + 0x68], al
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x80]
push str.WinInit.Ini
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x80]
push eax
push 0x40
push ecx
lea ecx, [esp + 0x50]
call fcn.004af2ff
test eax, eax
je 0x44ac98
lea edx, [esp + 0x10]
lea ecx, [esp + 0x44]
push edx
call fcn.004af4e2
test eax, eax
je 0x44ac8f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x64]
push eax
call fcn.004a812c
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x48]
call fcn.004af4e2
test eax, eax
jne 0x44ac6f
lea ecx, [esp + 0x44]
call fcn.004af62f
mov eax, dword [esp + 0x68]
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x44ad1b
lea edx, [esp + 0x24]
lea ecx, [esp + 0x64]
push edx
mov esi, eax
call fcn.00410c00
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.004a9994
lea ecx, [esp + 0x14]
call fcn.0040cea0
lea eax, [esp + 0x58]
lea ecx, [esp + 0x10]
push eax
call fcn.00438770
test eax, eax
jne 0x44ace6
mov dword [esp + 0x20], 1
jmp 0x44ad13
cmp dword [esp + 0x20], ebx
je 0x44ad13
push 0x5b
lea ecx, [esp + 0x14]
call fcn.004aa09a
test eax, eax
jne 0x44ad13
lea ecx, [esp + 0x14]
push ecx
push esi
lea ecx, [esp + 0x6c]
call fcn.004a81d4
lea ecx, [esp + 0x14]
call fcn.004a9baa
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x44aca4
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], ebx
je 0x44ad46
cmp dword [esp + 0x20], ebx
jne 0x44ad38
lea eax, [esp + 0x58]
lea ecx, [esp + 0x64]
push eax
call fcn.004a80e9
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x68]
call fcn.004a812c
lea edx, [esp + 0x2c]
lea eax, [esp + 0x80]
push edx
push 0x1001
push eax
lea ecx, [esp + 0x50]
call fcn.004af2ff
test eax, eax
jne 0x44ad9c
lea ecx, [esp + 0x28]
mov byte [esp + 0x78c], 7
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78c], 6
call fcn.004a9c1f
mov dword [esp + 0x2c], vtable.CFileException.0
mov byte [esp + 0x78c], 0xd
jmp 0x44ae4d
mov eax, dword [esp + 0x68]
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x44ae08
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x68]
call fcn.00410c00
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004a9994
lea ecx, [esp + 0x14]
call fcn.0040cea0
lea edx, [esp + 0x10]
push 0xa
lea eax, [esp + 0x44]
push edx
push eax
call fcn.004a6ee2
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x790], 0xe
call fcn.004af472
lea ecx, [esp + 0x40]
mov byte [esp + 0x78c], 0xb
call fcn.004a9c1f
cmp dword [esp + 0x24], ebx
jne 0x44ada8
lea ecx, [esp + 0x44]
call fcn.004af62f
lea ecx, [esp + 0x28]
mov dword [0x4ff150], 1
mov byte [esp + 0x78c], 7
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78c], 6
call fcn.004a9c1f
mov dword [esp + 0x2c], vtable.CFileException.0
mov byte [esp + 0x78c], 0xf
lea ecx, [esp + 0x3c]
call fcn.004a9c1f
lea ecx, [esp + 0x44]
mov byte [esp + 0x78c], 2
call fcn.004af2bc
lea ecx, [esp + 0x14]
mov byte [esp + 0x78c], 1
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov byte [esp + 0x78c], bl
call fcn.004a9c1f
lea ecx, [esp + 0x64]
mov dword [esp + 0x78c], 0xffffffff
call fcn.004a7ff7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x784]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x780
ret