Function at 0x40c1b0
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46836e
push eax
mov dword fs:[0], esp
sub esp, 0x520
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0xb8]
test byte [eax + 0x48], 0x80
je 0x40c556
push ebx
push esi
push edi
call fcn.004318b0
test eax, eax
je 0x40c27b
push 0
lea ecx, [esp + 0x30]
push str.CUninstall_::_SaveFileForRestore_n
push ecx
call fcn.0044cb10
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.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x22c]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov eax, dword [0x4855a4]
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.00448e20
add esp, 0xc
lea ecx, [esp + 0x24]
push str.PREV
call fcn.0045ce46
mov esi, eax
lea edx, [esp + 0x42c]
lea ecx, [esp + 0x20]
push edx
mov byte [esp + 0x53c], 4
call fcn.0045ce46
push esi
push eax
lea eax, [esp + 0x30]
mov bl, 5
push eax
mov byte [esp + 0x544], bl
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x53c], 6
call fcn.0045cec5
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], bl
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 4
call fcn.0045cdd8
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], 3
call fcn.0045cdd8
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 0x40c46c
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.0045cec5
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.0045cec5
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0045bd8e
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call fcn.0045b9bb
push 0x47d160
lea ecx, [esp + 0x2c]
call fcn.0045ce46
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x544], 7
call fcn.0045cfbb
lea edx, [esp + 0x10]
mov byte [esp + 0x538], bl
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x53c], 9
call fcn.0045cec5
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], bl
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 7
call fcn.0045cdd8
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], 3
call fcn.0045cdd8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
mov ecx, edi
call fcn.00411a60
test eax, eax
jne 0x40c464
call fcn.004318b0
test eax, eax
je 0x40c464
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.0044cb10
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
test esi, esi
jne 0x40c35f
call fcn.004318b0
test eax, eax
je 0x40c50c
push 0
lea ecx, [esp + 0x330]
push str.CUninstall_::_SaveFileForRestore_n
push ecx
call fcn.0044cb10
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.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 2
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 1
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x538], 0
call fcn.0045cdd8
lea ecx, [esp + 0x10]
mov dword [esp + 0x538], 0xffffffff
call fcn.0045cdd8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x524]
pop ebp
mov dword fs:[0], ecx
add esp, 0x52c
ret