Function at 0x4307c0
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.00404bd0
xor eax, eax
push ebp
push 0x430a5a
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x430836
mov eax, dword [ebp - 4]
call fcn.004096dc
mov byte [ebp - 5], al
jmp 0x43083a
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x430a2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409490
test al, al
jne 0x430861
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x430a34
mov eax, dword [0x4a48a4]
cmp dword [eax], 2
jne 0x430882
push 5
push 0
mov eax, dword [ebp - 4]
call fcn.00404be0
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x430a20
mov dl, 1
mov eax, dword [0x416998]
call fcn.00403840
mov dword [ebp - 0xc], eax
push 0xff
lea eax, [ebp - 0x10c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
xor eax, eax
push ebp
push 0x430945
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.00404990
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0040dae0
lea eax, [ebp - 0x110]
mov edx, 0x430a74
call fcn.004049e8
mov eax, dword [ebp - 0x110]
call fcn.00409490
test al, al
je 0x43093b
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404990
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
call fcn.0040dae0
lea eax, [ebp - 0x118]
mov edx, 0x430a74
call fcn.004049e8
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 0x430957
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.00408b24
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x430a88
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4309a1
mov edx, 0x430a88
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 4]
call fcn.004099e0
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
mov edx, 0x430a9c
call fcn.00404a2c
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.00404990
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040dae0
lea eax, [ebp - 0x130]
mov edx, 0x430a74
call fcn.004049e8
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.00403870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x430a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430a61
lea eax, [ebp - 0x134]
mov edx, 0xa
call fcn.00404734
lea eax, [ebp - 4]
call fcn.00404710
ret