Function at 0x4143c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4520bd
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x468744]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x84]
push ecx
mov edx, 0x458828
mov ecx, ebx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xfc], ebx
call fcn.00410fc0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov edi, esi
cmp eax, 8
jae 0x41463b
lea edi, [ebp - 0x84]
mov ecx, edi
mov edx, dword [ebp - 0x74]
lea ecx, [ecx + edx*2]
mov dword [ebp - 0xe4], ecx
cmp eax, 8
jae 0x41444c
lea esi, [ebp - 0x84]
cmp esi, ecx
je 0x41446d
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.0043a470
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, dword [ebp - 0xe4]
jne 0x414452
lea ecx, [ebp - 0xbc]
push ecx
mov edx, str.source
mov ecx, ebx
call fcn.00410fc0
lea edx, [ebp - 0x68]
push edx
mov edx, str.destination
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00410fc0
lea eax, [ebp - 0xa0]
push eax
mov edx, 0x458864
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00410fc0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0xa0]
mov edi, esi
cmp eax, 8
jae 0x414642
lea edi, [ebp - 0xa0]
mov ecx, edi
mov edx, dword [ebp - 0x90]
lea ecx, [ecx + edx*2]
mov dword [ebp - 0xe4], ecx
cmp eax, 8
jae 0x4144e8
lea esi, [ebp - 0xa0]
cmp esi, ecx
je 0x41450b
sub edi, esi
mov edi, edi
movzx eax, word [esi]
push eax
call fcn.0043a470
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, dword [ebp - 0xe4]
jne 0x4144f0
mov eax, dword [ebp - 0x74]
push str.copy
mov edi, 4
lea ecx, [ebp - 0x84]
call fcn.00404ab0
lea esi, [edi + 4]
test eax, eax
je 0x41454a
mov eax, dword [ebp - 0x74]
push str.copyonly
mov edi, esi
lea ecx, [ebp - 0x84]
call fcn.00404ab0
mov byte [ebp - 0xda], 0
test eax, eax
jne 0x414551
mov byte [ebp - 0xda], 1
mov eax, dword [ebp - 0x74]
push str.deleteoninstall
mov edi, 0xf
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
mov eax, dword [ebp - 0x74]
push str.copy
mov edi, 4
lea ecx, [ebp - 0x84]
sete byte [ebp - 0xdb]
call fcn.00404ab0
test eax, eax
je 0x4145b1
mov eax, dword [ebp - 0x74]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x84]
call fcn.00404ab0
mov byte [ebp - 0xd9], 0
test eax, eax
jne 0x4145b8
mov byte [ebp - 0xd9], 1
mov eax, dword [ebp - 0x74]
push str.create
mov edi, 6
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
mov eax, dword [ebx + 4]
push eax
push str.Folder
sete byte [ebp - 0xdc]
push str.__s____d_
push 0x4699d4
xor eax, eax
call fcn.0042d020
inc dword [0x4699f4]
push 0
call fcn.00432290
add esp, 0x14
cmp byte [ebp - 0xda], 0
je 0x4147e1
mov eax, dword [ebp - 0x90]
push str.ifnewer
mov edi, 7
lea ecx, [ebp - 0xa0]
call fcn.00404ab0
test eax, eax
jne 0x414649
mov dword [ebp - 0xe4], 1
jmp 0x414674
mov ecx, esi
jmp 0x414435
mov ecx, esi
jmp 0x4144ce
mov eax, dword [ebp - 0x90]
push str.ifNotexists
mov edi, 0xb
lea ecx, [ebp - 0xa0]
call fcn.00404ab0
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xa8], esi
jae 0x414688
lea eax, [ebp - 0xbc]
push eax
push str.Source___s
push 0x4699d4
xor eax, eax
call fcn.0042d020
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x4146a8
lea eax, [ebp - 0x68]
push eax
push str.Destination___s
push 0x4699d4
xor eax, eax
call fcn.0042d020
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
mov edx, 0x458618
mov ecx, ebx
call fcn.00410fc0
mov esi, eax
lea edx, [ebp - 0x30]
push edx
mov edx, 0x458604
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00410fc0
mov ecx, 8
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], ecx
jb 0x4146f3
mov esi, dword [esi]
cmp dword [eax + 0x14], ecx
jb 0x4146fc
mov ebx, dword [eax]
jmp 0x4146fe
mov ebx, eax
mov eax, dword [ebp - 0x74]
push str.copy
mov edi, 4
lea ecx, [ebp - 0x84]
call fcn.00404ab0
mov edx, dword [ebp - 0x68]
test eax, eax
mov edi, 8
sete cl
cmp dword [ebp - 0x54], edi
jae 0x41472b
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xa8], edi
jae 0x41473f
lea eax, [ebp - 0xbc]
push esi
push ebx
movzx ecx, cl
push ecx
mov ecx, dword [ebp - 0xe4]
push 1
push ecx
mov ecx, dword [ebp - 0xe0]
push edx
push eax
call fcn.0041b890
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x41476e
mov edx, dword [ebp - 0x30]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp dword [ebp - 0x38], edi
jb 0x414797
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00439b10
add esp, 4
test esi, esi
je 0x4149a1
mov ecx, dword [ebp - 0xe0]
mov al, byte [ecx + 0x41]
xor edx, edx
test al, al
setne dl
dec edx
and edx, esi
mov dword [ecx + 0x3c], edx
test al, al
jne 0x4149a1
call fcn.00402500
test eax, eax
jne 0x4149a1
cmp esi, 2
setne al
add eax, 0x39
push eax
call fcn.004339d0
add esp, 4
jmp 0x4149a1
cmp byte [ebp - 0xdb], 0
je 0x4148cf
lea ecx, [ebp - 0x4c]
push ecx
mov edx, 0x458b7c
mov ecx, ebx
call fcn.00410fc0
mov ecx, eax
mov byte [ebp - 4], 6
mov eax, dword [ecx + 0x10]
push 0x457eac
mov edi, 3
call fcn.00404ab0
test eax, eax
sete bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], esi
jb 0x414830
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00439b10
add esp, 4
movzx eax, bl
mov dword [ebp - 0xf4], eax
xor eax, eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xf8], vtable.CSafeDeleteTree.0
mov dword [ebp - 0xe8], 1
cmp dword [ebp - 0x54], esi
jae 0x414866
lea eax, [ebp - 0x68]
push eax
push str.Recursively_deleting_folder__s
push 0x4699d4
xor eax, eax
call fcn.0042d020
mov edi, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x414886
lea edi, [ebp - 0x68]
push 0
push 0x458be4
push edi
lea ecx, [ebp - 0xf8]
call fcn.00424b80
test eax, eax
jne 0x4148b0
mov edx, dword [ebp - 0xf8]
push eax
mov eax, dword [edx + 4]
push edi
lea ecx, [ebp - 0xf8]
call eax
cmp dword [ebp - 0xec], 0
je 0x4149a1
mov ecx, dword [ebp - 0xe0]
mov dword [ecx + 0x38], 1
jmp 0x4149a1
cmp byte [ebp - 0xdc], 0
je 0x414965
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x4148e7
lea eax, [ebp - 0x68]
push eax
push str.Creating_folder__s
push 0x4699d4
xor eax, eax
call fcn.0042d020
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x414907
lea eax, [ebp - 0x68]
push eax
push str.Destination___s
push 0x4699d4
xor eax, eax
call fcn.0042d020
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x414927
lea eax, [ebp - 0x68]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4149a1
mov esi, dword [ebp - 0xe0]
mov cl, byte [esi + 0x41]
xor edx, edx
test cl, cl
setne dl
dec edx
and edx, eax
mov dword [esi + 0x3c], edx
test cl, cl
jne 0x4149a1
call fcn.00402500
test eax, eax
jne 0x4149a1
push 0x3a
call fcn.004339d0
add esp, 4
jmp 0x4149a1
mov eax, dword [ebp - 0x74]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
jne 0x4149a1
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x41498c
lea eax, [ebp - 0x68]
push eax
push str.Marking_folder__s_for_delete_on_uninstall
push 0x4699d4
xor eax, eax
call fcn.0042d020
add esp, 0xc
push 1
call fcn.00432290
mov eax, dword [ebp - 0xe0]
add esp, 4
cmp byte [eax + 0x40], 0
jne 0x414d74
cmp byte [ebp - 0xd9], 0
je 0x414d74
xor eax, eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], eax
xor ecx, ecx
push 5
mov eax, 0x458b08
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], cx
call fcn.00406580
mov byte [ebp - 4], 8
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x414a0f
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00421fc0
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 9
call fcn.0040d610
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x414a45
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00439b10
add esp, 4
mov ebx, 7
xor esi, esi
xor ecx, ecx
mov byte [ebp - 4], bl
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x1c], edi
jb 0x414a6c
mov edx, dword [ebp - 0x30]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], esi
mov word [ebp - 0x30], ax
push 5
mov eax, str.mode
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
call fcn.00406580
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], edi
jae 0x414a9f
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00421fc0
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0xb
call fcn.0040d610
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x414ad5
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov esi, 7
mov byte [ebp - 4], 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x1c], edi
jb 0x414aff
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00439b10
add esp, 4
mov edi, dword [ebp - 0xfc]
lea edx, [ebp - 0xd8]
push edx
mov edx, 0x458604
mov ecx, edi
call fcn.00410fc0
mov ebx, eax
mov byte [ebp - 4], 0xc
xor eax, eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x30], ax
push 0xa
mov eax, str.usequence
lea esi, [ebp - 0x30]
mov dword [ebp - 0x20], 0
call fcn.00406580
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call fcn.00421f30
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0xe
call fcn.0040d610
mov ebx, 8
cmp dword [ebp - 0x38], ebx
jb 0x414b74
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00439b10
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x1c], ebx
jb 0x414b9a
mov eax, dword [ebp - 0x30]
push eax
call fcn.00439b10
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 7
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], cx
cmp dword [ebp - 0xc4], ebx
jb 0x414bc5
mov edx, dword [ebp - 0xd8]
push edx
call fcn.00439b10
add esp, 4
lea eax, [ebp - 0xd8]
push eax
mov edx, 0x458b7c
mov ecx, edi
call fcn.00410fc0
mov ebx, eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x1c], esi
xor ecx, ecx
push 0x14
mov eax, str.delete_if_not_empty
lea esi, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], cx
call fcn.00406580
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00421f30
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0x11
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x414c34
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov ebx, 7
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x1c], esi
jb 0x414c5a
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00439b10
add esp, 4
xor edx, edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], dx
cmp dword [ebp - 0xc4], esi
jb 0x414c84
mov eax, dword [ebp - 0xd8]
push eax
call fcn.00439b10
add esp, 4
lea ecx, [ebp - 0xd8]
push ecx
mov edx, 0x458618
mov ecx, edi
call fcn.00410fc0
mov edi, eax
mov byte [ebp - 4], 0x12
xor edx, edx
push 6
mov eax, str.group
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], dx
call fcn.00406580
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.00421f30
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0x14
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x414cf3
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00439b10
add esp, 4
xor edi, edi
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x1c], esi
jb 0x414d17
mov edx, dword [ebp - 0x30]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], ax
cmp dword [ebp - 0xc4], esi
jb 0x414d3d
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.00439b10
add esp, 4
mov edx, dword [ebp - 0xe0]
push edx
lea edx, [ebp - 0xf4]
mov ecx, str.Folder
call fcn.0041c370
mov esi, dword [ebp - 0xf4]
cmp esi, edi
je 0x414d74
mov edi, dword [ebp - 0xf0]
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439b10
add esp, 4
dec dword [0x4699f4]
mov eax, dword [ebp - 0xe0]
xor edi, edi
cmp dword [eax + 0x3c], edi
mov esi, 8
sete byte [ebp - 0xd9]
cmp dword [ebp - 0x8c], esi
jb 0x414da8
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.00439b10
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], edi
mov word [ebp - 0xa0], dx
cmp dword [ebp - 0x54], esi
jb 0x414dd3
mov eax, dword [ebp - 0x68]
push eax
call fcn.00439b10
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], edi
mov word [ebp - 0x68], cx
cmp dword [ebp - 0xa8], esi
jb 0x414df6
mov edx, dword [ebp - 0xbc]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xac], edi
mov word [ebp - 0xbc], ax
cmp dword [ebp - 0x70], esi
jb 0x414e1f
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00439b10
add esp, 4
mov al, byte [ebp - 0xd9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00438786
mov esp, ebp
pop ebp
ret 4