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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f5be
mov eax, dword fs:[0]
push eax
mov eax, 0x1894
call fcn.00537800
mov eax, dword [0x68e4d8]
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.00424d40
cmp dword [ebp + 8], 0
je 0x4231e9
cmp dword [ebp + 0xc], 0
jne 0x4231f0
xor eax, eax
jmp 0x4236db
push 3
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005c6a42
add esp, 0xc
test eax, eax
je 0x423222
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.00423730
jmp 0x4236db
mov dword [ebp - 0x1864], 0
mov dword [ebp - 0x1860], 0
push 1
lea ecx, [ebp - 0x810]
call fcn.00416310
lea ecx, [ebp - 0x810]
call fcn.004162c0
push eax
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x810]
call fcn.004162d0
push eax
call fcn.005b0f17
add esp, 0xc
lea ecx, [ebp - 0x810]
call fcn.004162d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x810]
call fcn.004162f0
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 0x4232b9
mov eax, dword [ebp - 0x181c]
jmp 0x4236db
push 0x6609dc
lea ecx, [ebp - 0x1820]
call fcn.0040ab00
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.00420b50
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.00424dc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1870]
call fcn.00423700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1820]
call fcn.0040aae0
mov dword [ebp - 0x1814], 0
push 1
lea ecx, [ebp - 0x1010]
call fcn.00416310
lea ecx, [ebp - 0x1010]
call fcn.004162d0
push eax
push 0
push 0x660a30
lea ecx, [ebp - 0x810]
call fcn.004162f0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [ebp - 0x183c], eax
cmp dword [ebp - 0x183c], 0
jne 0x4233f5
push 0x660a1c
lea ecx, [ebp - 0x1824]
call fcn.0040ab00
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.00420b50
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.00424dc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x187c]
call fcn.00423700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1824]
call fcn.0040aae0
jmp 0x423572
push 3
lea ecx, [ebp - 0x1010]
call fcn.004162f0
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4234fc
lea ecx, [ebp - 0x1010]
call fcn.004162f0
push eax
call fcn.0051a890
add esp, 4
test eax, eax
jne 0x423465
push 4
push 0
lea ecx, [ebp - 0x1010]
call fcn.004162f0
push eax
mov ecx, dword [ebp - 0x1818]
call fcn.00421790
lea ecx, [ebp - 0x1010]
call fcn.00416620
push eax
mov eax, dword [ebp + 0xc]
push eax
push str.move_exist_file__s_to__s__delete_it_by_pending
call fcn.005198c0
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 0x4234fa
push 0x660a50
lea ecx, [ebp - 0x1828]
call fcn.0040ab00
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.00420b50
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.00424dc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1888]
call fcn.00423700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1828]
call fcn.0040aae0
jmp 0x423572
push str.T_rT
lea ecx, [ebp - 0x182c]
call fcn.0040ab00
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.00420b50
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.00424dc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1894]
call fcn.00423700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x182c]
call fcn.0040aae0
cmp dword [ebp - 0x1814], 0
jne 0x4236d5
push 1
lea ecx, [ebp - 0x1810]
call fcn.00416310
lea ecx, [ebp - 0x1810]
call fcn.004162d0
push eax
push 0
push str.geeksuninstpro
lea ecx, [ebp - 0x810]
call fcn.004162f0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 3
lea ecx, [ebp - 0x1810]
call fcn.004162f0
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.004162f0
push eax
mov ecx, dword [ebp - 0x1818]
call fcn.00421790
mov dword [ebp - 0x1814], eax
lea ecx, [ebp - 0x1810]
call fcn.00416620
push eax
mov edx, dword [ebp + 8]
push edx
push 0x660b40
call fcn.005198c0
add esp, 0xc
cmp dword [ebp - 0x1814], 0
jne 0x42368e
push 0x660b28
lea ecx, [ebp - 0x1830]
call fcn.0040ab00
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.00420b50
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.00424dc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18a0]
call fcn.00423700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1830]
call fcn.0040aae0
mov dword [ebp - 0x1860], 1
mov eax, dword [ebp - 0x1818]
cmp dword [eax + 0x70], 0
jne 0x4236d5
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1818]
call fcn.00423ee0
test eax, eax
je 0x4236d5
mov edx, dword [ebp + 0xc]
push edx
push 0x660bb0
call fcn.005198c0
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.005367cc
mov esp, ebp
pop ebp
ret 0x14