Function at 0x436c38
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.00405250
xor eax, eax
push ebp
push 0x436ed2
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x436cae
mov eax, dword [ebp - 4]
call fcn.00409c28
mov byte [ebp - 5], al
jmp 0x436cb2
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x436ea2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409af4
test al, al
jne 0x436cd9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x436eac
mov eax, dword [0x46b504]
cmp dword [eax], 2
jne 0x436cfa
push 5
push 0
mov eax, dword [ebp - 4]
call fcn.00405260
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x436e98
mov dl, 1
mov eax, dword [0x41a700]
call fcn.00403e6c
mov dword [ebp - 0xc], eax
push 0xff
lea eax, [ebp - 0x10c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
xor eax, eax
push ebp
push 0x436dbd
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.00405010
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0040dde4
lea eax, [ebp - 0x110]
mov edx, 0x436eec
call fcn.00405068
mov eax, dword [ebp - 0x110]
call fcn.00409af4
test al, al
je 0x436db3
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00405010
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
call fcn.0040dde4
lea eax, [ebp - 0x118]
mov edx, 0x436eec
call fcn.00405068
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 0x436dcf
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.00409150
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x436f00
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x436e19
mov edx, 0x436f00
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 4]
call fcn.00409eec
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
mov edx, 0x436f14
call fcn.004050ac
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.00405010
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040dde4
lea eax, [ebp - 0x130]
mov edx, 0x436eec
call fcn.00405068
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.00403e9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x436eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436ed9
lea eax, [ebp - 0x134]
mov edx, 0xa
call fcn.00404dc4
lea eax, [ebp - 4]
call fcn.00404da0
ret