Function at 0x414340
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4520ed
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x469738]
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, 0x459748
mov ecx, ebx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xfc], ebx
call fcn.00410f80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov edi, esi
cmp eax, 8
jae 0x4145bb
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 0x4143cc
lea esi, [ebp - 0x84]
cmp esi, ecx
je 0x4143ed
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.0043a030
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, dword [ebp - 0xe4]
jne 0x4143d2
lea ecx, [ebp - 0xbc]
push ecx
mov edx, str.source
mov ecx, ebx
call fcn.00410f80
lea edx, [ebp - 0x68]
push edx
mov edx, str.destination
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00410f80
lea eax, [ebp - 0xa0]
push eax
mov edx, 0x459784
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00410f80
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0xa0]
mov edi, esi
cmp eax, 8
jae 0x4145c2
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 0x414468
lea esi, [ebp - 0xa0]
cmp esi, ecx
je 0x41448b
sub edi, esi
mov edi, edi
movzx eax, word [esi]
push eax
call fcn.0043a030
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, dword [ebp - 0xe4]
jne 0x414470
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 0x4144ca
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 0x4144d1
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 0x414531
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 0x414538
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 0x46a9d4
xor eax, eax
call fcn.0042d150
inc dword [0x46a9f4]
push 0
call fcn.004324d0
add esp, 0x14
cmp byte [ebp - 0xda], 0
je 0x414761
mov eax, dword [ebp - 0x90]
push str.ifnewer
mov edi, 7
lea ecx, [ebp - 0xa0]
call fcn.00404ab0
test eax, eax
jne 0x4145c9
mov dword [ebp - 0xe4], 1
jmp 0x4145f4
mov ecx, esi
jmp 0x4143b5
mov ecx, esi
jmp 0x41444e
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 0x414608
lea eax, [ebp - 0xbc]
push eax
push str.Source___s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x414628
lea eax, [ebp - 0x68]
push eax
push str.Destination___s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
mov edx, 0x459538
mov ecx, ebx
call fcn.00410f80
mov esi, eax
lea edx, [ebp - 0x30]
push edx
mov edx, 0x459524
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00410f80
mov ecx, 8
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], ecx
jb 0x414673
mov esi, dword [esi]
cmp dword [eax + 0x14], ecx
jb 0x41467c
mov ebx, dword [eax]
jmp 0x41467e
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 0x4146ab
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xa8], edi
jae 0x4146bf
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.0041b840
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x4146ee
mov edx, dword [ebp - 0x30]
push edx
call fcn.004396db
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 0x414717
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004396db
add esp, 4
test esi, esi
je 0x414921
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 0x414921
call fcn.00402500
test eax, eax
jne 0x414921
cmp esi, 2
setne al
add eax, 0x39
push eax
call fcn.00433c40
add esp, 4
jmp 0x414921
cmp byte [ebp - 0xdb], 0
je 0x41484f
lea ecx, [ebp - 0x4c]
push ecx
mov edx, 0x459a9c
mov ecx, ebx
call fcn.00410f80
mov ecx, eax
mov byte [ebp - 4], 6
mov eax, dword [ecx + 0x10]
push 0x458de4
mov edi, 3
call fcn.00404ab0
test eax, eax
sete bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], esi
jb 0x4147b0
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004396db
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 0x4147e6
lea eax, [ebp - 0x68]
push eax
push str.Recursively_deleting_folder__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov edi, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x414806
lea edi, [ebp - 0x68]
push 0
push 0x459b04
push edi
lea ecx, [ebp - 0xf8]
call fcn.00424890
test eax, eax
jne 0x414830
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 0x414921
mov ecx, dword [ebp - 0xe0]
mov dword [ecx + 0x38], 1
jmp 0x414921
cmp byte [ebp - 0xdc], 0
je 0x4148e5
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x414867
lea eax, [ebp - 0x68]
push eax
push str.Creating_folder__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x414887
lea eax, [ebp - 0x68]
push eax
push str.Destination___s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x4148a7
lea eax, [ebp - 0x68]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x414921
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 0x414921
call fcn.00402500
test eax, eax
jne 0x414921
push 0x3a
call fcn.00433c40
add esp, 4
jmp 0x414921
mov eax, dword [ebp - 0x74]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
jne 0x414921
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x41490c
lea eax, [ebp - 0x68]
push eax
push str.Marking_folder__s_for_delete_on_uninstall
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
push 1
call fcn.004324d0
mov eax, dword [ebp - 0xe0]
add esp, 4
cmp byte [eax + 0x40], 0
jne 0x414cf4
cmp byte [ebp - 0xd9], 0
je 0x414cf4
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, 0x459a28
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], cx
call fcn.004065b0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x41498f
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00421c80
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 9
call fcn.0040d5e0
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x4149c5
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004396db
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 0x4149ec
mov edx, dword [ebp - 0x30]
push edx
call fcn.004396db
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.004065b0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], edi
jae 0x414a1f
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00421c80
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0xb
call fcn.0040d5e0
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x414a55
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004396db
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 0x414a7f
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004396db
add esp, 4
mov edi, dword [ebp - 0xfc]
lea edx, [ebp - 0xd8]
push edx
mov edx, 0x459524
mov ecx, edi
call fcn.00410f80
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.004065b0
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call fcn.00421bf0
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0xe
call fcn.0040d5e0
mov ebx, 8
cmp dword [ebp - 0x38], ebx
jb 0x414af4
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004396db
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 0x414b1a
mov eax, dword [ebp - 0x30]
push eax
call fcn.004396db
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 0x414b45
mov edx, dword [ebp - 0xd8]
push edx
call fcn.004396db
add esp, 4
lea eax, [ebp - 0xd8]
push eax
mov edx, 0x459a9c
mov ecx, edi
call fcn.00410f80
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.004065b0
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00421bf0
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0x11
call fcn.0040d5e0
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x414bb4
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004396db
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 0x414bda
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004396db
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 0x414c04
mov eax, dword [ebp - 0xd8]
push eax
call fcn.004396db
add esp, 4
lea ecx, [ebp - 0xd8]
push ecx
mov edx, 0x459538
mov ecx, edi
call fcn.00410f80
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.004065b0
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.00421bf0
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0x14
call fcn.0040d5e0
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x414c73
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004396db
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 0x414c97
mov edx, dword [ebp - 0x30]
push edx
call fcn.004396db
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 0x414cbd
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.004396db
add esp, 4
mov edx, dword [ebp - 0xe0]
push edx
lea edx, [ebp - 0xf4]
mov ecx, str.Folder
call fcn.0041c320
mov esi, dword [ebp - 0xf4]
cmp esi, edi
je 0x414cf4
mov edi, dword [ebp - 0xf0]
mov eax, esi
call fcn.0040d7d0
push esi
call fcn.004396db
add esp, 4
dec dword [0x46a9f4]
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 0x414d28
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.004396db
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 0x414d53
mov eax, dword [ebp - 0x68]
push eax
call fcn.004396db
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 0x414d76
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004396db
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 0x414d9f
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004396db
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.00438351
mov esp, ebp
pop ebp
ret 4