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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e40
xor eax, eax
push ebp
push 0x435742
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x43551e
mov eax, dword [ebp - 4]
call fcn.0040945c
mov byte [ebp - 5], al
jmp 0x435522
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x435712
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409210
test al, al
jne 0x435549
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43571c
mov eax, dword [0x47be2c]
cmp dword [eax], 2
jne 0x43556a
push 5
push 0
mov eax, dword [ebp - 4]
call fcn.00404e50
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x435708
mov dl, 1
mov eax, dword [0x41a48c]
call fcn.00403a6c
mov dword [ebp - 0xc], eax
push 0xff
lea eax, [ebp - 0x10c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
xor eax, eax
push ebp
push 0x43562d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404c00
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0040d638
lea eax, [ebp - 0x110]
mov edx, 0x43575c
call fcn.00404c58
mov eax, dword [ebp - 0x110]
call fcn.00409210
test al, al
je 0x435623
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404c00
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
call fcn.0040d638
lea eax, [ebp - 0x118]
mov edx, 0x43575c
call fcn.00404c58
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43563f
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.004088d8
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x435770
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x435689
mov edx, 0x435770
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 4]
call fcn.0040973c
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
mov edx, 0x435784
call fcn.00404c9c
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x134]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404c00
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040d638
lea eax, [ebp - 0x130]
mov edx, 0x43575c
call fcn.00404c58
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0xc]
call fcn.00403a9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43571c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435749
lea eax, [ebp - 0x134]
mov edx, 0xa
call fcn.004049a4
lea eax, [ebp - 4]
call fcn.00404980
ret