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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6025de
mov eax, dword fs:[0]
push eax
mov eax, 0x1894
call fcn.005373d0
mov eax, dword [0x67e4d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1818], ecx
mov ecx, dword [ebp + 0x18]
call fcn.004244c0
cmp dword [ebp + 8], 0
je 0x422969
cmp dword [ebp + 0xc], 0
jne 0x422970
xor eax, eax
jmp 0x422e5b
push 3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005b7aa8
add esp, 0xc
test eax, eax
je 0x4229a2
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1818]
call fcn.00422eb0
jmp 0x422e5b
mov dword [ebp - 0x1864], 0
mov dword [ebp - 0x1860], 0
push 1
lea ecx, [ebp - 0x810]
call fcn.004164b0
lea ecx, [ebp - 0x810]
call fcn.00416460
push eax
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x810]
call fcn.00416470
push eax
call fcn.005a8679
add esp, 0xc
lea ecx, [ebp - 0x810]
call fcn.00416470
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x810]
call fcn.00416490
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x181c], eax
cmp dword [ebp - 0x181c], 0
je 0x422a39
mov eax, dword [ebp - 0x181c]
jmp 0x422e5b
push 0x6511e4
lea ecx, [ebp - 0x1820]
call fcn.0040aca0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x1820]
push edx
lea ecx, [ebp - 0x1870]
call fcn.00420c70
mov dword [ebp - 0x1834], eax
mov eax, dword [ebp - 0x1834]
mov dword [ebp - 0x1838], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1838]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.00424540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1870]
call fcn.00422e80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1820]
call fcn.0040ac80
mov dword [ebp - 0x1814], 0
push 1
lea ecx, [ebp - 0x1010]
call fcn.004164b0
lea ecx, [ebp - 0x1010]
call fcn.00416470
push eax
push 0
push 0x6511c4
lea ecx, [ebp - 0x810]
call fcn.00416490
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x183c], eax
cmp dword [ebp - 0x183c], 0
jne 0x422b75
push 0x6511f4
lea ecx, [ebp - 0x1824]
call fcn.0040aca0
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x1824]
push edx
lea ecx, [ebp - 0x187c]
call fcn.00420c70
mov dword [ebp - 0x1840], eax
mov eax, dword [ebp - 0x1840]
mov dword [ebp - 0x1844], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1844]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.00424540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x187c]
call fcn.00422e80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1824]
call fcn.0040ac80
jmp 0x422cf2
push 3
lea ecx, [ebp - 0x1010]
call fcn.00416490
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x422c7c
lea ecx, [ebp - 0x1010]
call fcn.00416490
push eax
call fcn.0043e3e0
add esp, 4
test eax, eax
jne 0x422be5
push 4
push 0
lea ecx, [ebp - 0x1010]
call fcn.00416490
push eax
mov ecx, dword [ebp - 0x1818]
call fcn.00421890
lea ecx, [ebp - 0x1010]
call fcn.004167c0
push eax
mov eax, dword [ebp + 0xc]
push eax
push str.move_exist_file__s_to__s__delete_it_by_pending
call fcn.0043d410
add esp, 0xc
push 3
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x1814], eax
cmp dword [ebp - 0x1814], 0
jne 0x422c7a
push 0x651278
lea ecx, [ebp - 0x1828]
call fcn.0040aca0
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1828]
push eax
lea ecx, [ebp - 0x1888]
call fcn.00420c70
mov dword [ebp - 0x1848], eax
mov ecx, dword [ebp - 0x1848]
mov dword [ebp - 0x184c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x184c]
push edx
mov ecx, dword [ebp + 0x18]
call fcn.00424540
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1888]
call fcn.00422e80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1828]
call fcn.0040ac80
jmp 0x422cf2
push str.T_rT
lea ecx, [ebp - 0x182c]
call fcn.0040aca0
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x182c]
push eax
lea ecx, [ebp - 0x1894]
call fcn.00420c70
mov dword [ebp - 0x1850], eax
mov ecx, dword [ebp - 0x1850]
mov dword [ebp - 0x1854], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x1854]
push edx
mov ecx, dword [ebp + 0x18]
call fcn.00424540
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1894]
call fcn.00422e80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x182c]
call fcn.0040ac80
cmp dword [ebp - 0x1814], 0
jne 0x422e55
push 1
lea ecx, [ebp - 0x1810]
call fcn.004164b0
lea ecx, [ebp - 0x1810]
call fcn.00416470
push eax
push 0
push str.geeksuninstpro
lea ecx, [ebp - 0x810]
call fcn.00416490
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 3
lea ecx, [ebp - 0x1810]
call fcn.00416490
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x1814], eax
push 5
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1810]
call fcn.00416490
push eax
mov ecx, dword [ebp - 0x1818]
call fcn.00421890
mov dword [ebp - 0x1814], eax
lea ecx, [ebp - 0x1810]
call fcn.004167c0
push eax
mov edx, dword [ebp + 8]
push edx
push 0x6512f0
call fcn.0043d410
add esp, 0xc
cmp dword [ebp - 0x1814], 0
jne 0x422e0e
push 0x651398
lea ecx, [ebp - 0x1830]
call fcn.0040aca0
mov dword [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1830]
push eax
lea ecx, [ebp - 0x18a0]
call fcn.00420c70
mov dword [ebp - 0x1858], eax
mov ecx, dword [ebp - 0x1858]
mov dword [ebp - 0x185c], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x185c]
push edx
mov ecx, dword [ebp + 0x18]
call fcn.00424540
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18a0]
call fcn.00422e80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1830]
call fcn.0040ac80
mov dword [ebp - 0x1860], 1
mov eax, dword [ebp - 0x1818]
cmp dword [eax + 0x70], 0
jne 0x422e55
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1818]
call fcn.00423660
test eax, eax
je 0x422e55
mov edx, dword [ebp + 0xc]
push edx
push 0x651358
call fcn.0043d410
add esp, 8
mov eax, dword [ebp - 0x1818]
mov dword [eax + 0x70], 1
mov eax, dword [ebp - 0x1814]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536569
mov esp, ebp
pop ebp
ret 0x14