Function at 0x410400
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48e44e
push eax
mov dword fs:[0], esp
sub esp, 0x520
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0xb8]
test byte [eax + 0xb8c], 0x80
je 0x4107a9
push ebx
push esi
push edi
call fcn.0044bde0
test eax, eax
je 0x4104ce
push 0
lea ecx, [esp + 0x30]
push str.CUninstall_::_SaveFileForRestore_n
push ecx
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x22c]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [0x4b538c]
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.0046c860
add esp, 0xc
lea ecx, [esp + 0x24]
push str.PREV
call fcn.004822f6
mov esi, eax
lea edx, [esp + 0x42c]
lea ecx, [esp + 0x20]
push edx
mov byte [esp + 0x53c], 4
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x30]
mov bl, 5
push eax
mov byte [esp + 0x544], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x53c], 6
call fcn.00482375
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], bl
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 4
call fcn.00482288
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], 3
call fcn.00482288
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 0x4106bf
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.00482375
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.00482375
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0048123e
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call fcn.00480e6b
push 0x4a919c
lea ecx, [esp + 0x2c]
call fcn.004822f6
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x544], 7
call fcn.0048246b
lea edx, [esp + 0x10]
mov byte [esp + 0x538], bl
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0048246b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x53c], 9
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], bl
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 7
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], 3
call fcn.00482288
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
mov ecx, edi
call fcn.0041b5a0
test eax, eax
jne 0x4106b7
call fcn.0044bde0
test eax, eax
je 0x4106b7
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.00471c30
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
test esi, esi
jne 0x4105b2
call fcn.0044bde0
test eax, eax
je 0x41075f
push 0
lea ecx, [esp + 0x330]
push str.CUninstall_::_SaveFileForRestore_n
push ecx
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 2
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 1
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x538], 0
call fcn.00482288
lea ecx, [esp + 0x10]
mov dword [esp + 0x538], 0xffffffff
call fcn.00482288
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x524]
pop ebp
mov dword fs:[0], ecx
add esp, 0x52c
ret