Function at 0x40f2b0
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48200e
push eax
mov dword fs:[0], esp
sub esp, 0x520
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0xb8]
test byte [eax + 0x58], 0x80
je 0x40f656
push ebx
push esi
push edi
call fcn.00441cf0
test eax, eax
je 0x40f37b
push 0
lea ecx, [esp + 0x30]
push str.CUninstall_::_SaveFileForRestore_n
push ecx
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x22c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x22c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x22c]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov eax, dword [0x4a6844]
mov dword [esp + 0x10], eax
mov dword [esp + 0x538], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x42c]
push 1
push ecx
push 0x104
mov byte [esp + 0x544], 3
call fcn.00460650
add esp, 0xc
lea ecx, [esp + 0x24]
push str.PREV
call fcn.00475f16
mov esi, eax
lea edx, [esp + 0x42c]
lea ecx, [esp + 0x20]
push edx
mov byte [esp + 0x53c], 4
call fcn.00475f16
push esi
push eax
lea eax, [esp + 0x30]
mov bl, 5
push eax
mov byte [esp + 0x544], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x53c], 6
call fcn.00475f95
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], bl
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 4
call fcn.00475ea8
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], 3
call fcn.00475ea8
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, dword [ebp + 0x14b0]
test esi, esi
je 0x40f56c
lea edi, [ebp + 0xb4]
mov bl, 8
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x14]
push eax
call fcn.00475f95
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.00475f95
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00474e5e
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call fcn.00474a8b
push 0x49b19c
lea ecx, [esp + 0x2c]
call fcn.00475f16
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x544], 7
call fcn.0047608b
lea edx, [esp + 0x10]
mov byte [esp + 0x538], bl
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0047608b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x53c], 9
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], bl
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 7
call fcn.00475ea8
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], 3
call fcn.00475ea8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
mov ecx, edi
call fcn.00418dc0
test eax, eax
jne 0x40f564
call fcn.00441cf0
test eax, eax
je 0x40f564
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x34]
push str.FAILED_CopyAFile_:_Source___s__Destination___s_n
push edx
call fcn.00465850
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
test esi, esi
jne 0x40f45f
call fcn.00441cf0
test eax, eax
je 0x40f60c
push 0
lea ecx, [esp + 0x330]
push str.CUninstall_::_SaveFileForRestore_n
push ecx
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x12c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x12c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x32c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x12c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 2
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 1
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x538], 0
call fcn.00475ea8
lea ecx, [esp + 0x10]
mov dword [esp + 0x538], 0xffffffff
call fcn.00475ea8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x524]
pop ebp
mov dword fs:[0], ecx
add esp, 0x52c
ret