Function at 0x4152c0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x388
mov qword [rsp + 0x380], rbx
mov qword [rsp + 0x378], rdi
mov rbx, rcx
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [rcx + 0x168]
test byte [rax + 0xb8], 0x80
je 0x4155da
call fcn.004545a0
test eax, eax
je 0x41536e
xor r8d, r8d
lea rdx, str.CUninstall_::_SaveFileForRestore_n
lea rcx, [rsp + 0x160]
call fcn.00486850
movabs rdx, 0x203a5952544e45
mov qword [rsp + 0x60], rdx
lea rdi, [rsp + 0x60]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x160]
xor ecx, ecx
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x415340
call fcn.004546e0
mov rcx, rax
call fcn.004545b0
call fcn.004546e0
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.004548a0
mov rax, qword [0x004dfd00]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov r8d, 1
lea rdx, [rsp + 0x260]
mov ecx, 0x104
call fcn.0047fd20
lea rdx, str.PREV
lea rcx, [rsp + 0x50]
call fcn.0049b290
mov rdi, rax
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x40]
call fcn.0049b290
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.0049b804
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.0049b31c
nop
lea rcx, [rsp + 0x48]
call fcn.0049b1dc
nop
lea rcx, [rsp + 0x40]
call fcn.0049b1dc
nop
lea rcx, [rsp + 0x50]
call fcn.0049b1dc
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdi, qword [rbx + 0x2568]
test rdi, rdi
je 0x415535
mov rdx, rdi
test rdi, rdi
je 0x415530
mov rdi, qword [rdi]
add rdx, 0x10
lea rcx, [rsp + 0x28]
call fcn.0049b31c
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.0049b31c
mov dl, 0x5c
lea rcx, [rsp + 0x20]
call fcn.00499914
lea r8d, [rax + 1]
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.0049993c
lea rdx, [0x004a9dfc]
lea rcx, [rsp + 0x48]
call fcn.0049b290
nop
mov r8, rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.0049b804
nop
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.0049b804
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.0049b31c
nop
lea rcx, [rsp + 0x50]
call fcn.0049b1dc
nop
lea rcx, [rsp + 0x40]
call fcn.0049b1dc
nop
lea rcx, [rsp + 0x48]
call fcn.0049b1dc
lea rcx, [rbx + 0x160]
xor r9d, r9d
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
call fcn.004232e0
test eax, eax
jne 0x415525
call fcn.004545a0
test eax, eax
je 0x415525
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
lea rdx, str.FAILED_CopyAFile_:_Source___s__Destination___s_n
lea rcx, [rsp + 0x60]
call fcn.00486850
call fcn.004546e0
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.004548a0
test rdi, rdi
jne 0x415424
jmp 0x415535
call fcn.004998f0
call fcn.004545a0
test eax, eax
je 0x4155af
xor r8d, r8d
lea rdx, str.CUninstall_::_SaveFileForRestore_n
lea rcx, [rsp + 0x160]
call fcn.00486850
movabs rdx, 0x20203a54495845
mov qword [rsp + 0x60], rdx
lea rdi, [rsp + 0x60]
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x160]
xor ecx, ecx
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x415580
call fcn.004546e0
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.004548a0
call fcn.004546e0
mov rcx, rax
call fcn.004545c0
nop
lea rcx, [rsp + 0x30]
call fcn.0049b1dc
nop
lea rcx, [rsp + 0x38]
call fcn.0049b1dc
nop
lea rcx, [rsp + 0x28]
call fcn.0049b1dc
nop
lea rcx, [rsp + 0x20]
call fcn.0049b1dc
mov rbx, qword [rsp + 0x380]
mov rdi, qword [rsp + 0x378]
add rsp, 0x388
ret