Function at 0x414200
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45141d
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x468738]
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, 0x458748
mov ecx, ebx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xfc], ebx
call fcn.00410e40
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x84]
mov edi, esi
cmp eax, 8
jae 0x41447b
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 0x41428c
lea esi, [ebp - 0x84]
cmp esi, ecx
je 0x4142ad
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.004394a0
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, dword [ebp - 0xe4]
jne 0x414292
lea ecx, [ebp - 0xbc]
push ecx
mov edx, str.source
mov ecx, ebx
call fcn.00410e40
lea edx, [ebp - 0x68]
push edx
mov edx, str.destination
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00410e40
lea eax, [ebp - 0xa0]
push eax
mov edx, 0x458784
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00410e40
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0xa0]
mov edi, esi
cmp eax, 8
jae 0x414482
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 0x414328
lea esi, [ebp - 0xa0]
cmp esi, ecx
je 0x41434b
sub edi, esi
mov edi, edi
movzx eax, word [esi]
push eax
call fcn.004394a0
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, dword [ebp - 0xe4]
jne 0x414330
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 0x41438a
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 0x414391
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 0x4143f1
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 0x4143f8
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 0x4699dc
xor eax, eax
call fcn.0042c820
inc dword [0x4699fc]
push 0
call fcn.00431ac0
add esp, 0x14
cmp byte [ebp - 0xda], 0
je 0x414621
mov eax, dword [ebp - 0x90]
push str.ifnewer
mov edi, 7
lea ecx, [ebp - 0xa0]
call fcn.00404ab0
test eax, eax
jne 0x414489
mov dword [ebp - 0xe4], 1
jmp 0x4144b4
mov ecx, esi
jmp 0x414275
mov ecx, esi
jmp 0x41430e
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 0x4144c8
lea eax, [ebp - 0xbc]
push eax
push str.Source___s
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x4144e8
lea eax, [ebp - 0x68]
push eax
push str.Destination___s
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
mov edx, 0x458538
mov ecx, ebx
call fcn.00410e40
mov esi, eax
lea edx, [ebp - 0x30]
push edx
mov edx, 0x458524
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00410e40
mov ecx, 8
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], ecx
jb 0x414533
mov esi, dword [esi]
cmp dword [eax + 0x14], ecx
jb 0x41453c
mov ebx, dword [eax]
jmp 0x41453e
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 0x41456b
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xa8], edi
jae 0x41457f
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.0041b6e0
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x4145ae
mov edx, dword [ebp - 0x30]
push edx
call fcn.00438b4b
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 0x4145d7
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00438b4b
add esp, 4
test esi, esi
je 0x4147e1
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 0x4147e1
call fcn.00402500
test eax, eax
jne 0x4147e1
cmp esi, 2
setne al
add eax, 0x39
push eax
call fcn.004331f0
add esp, 4
jmp 0x4147e1
cmp byte [ebp - 0xdb], 0
je 0x41470f
lea ecx, [ebp - 0x4c]
push ecx
mov edx, 0x458a9c
mov ecx, ebx
call fcn.00410e40
mov ecx, eax
mov byte [ebp - 4], 6
mov eax, dword [ecx + 0x10]
push 0x457de4
mov edi, 3
call fcn.00404ab0
test eax, eax
sete bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], esi
jb 0x414670
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00438b4b
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 0x4146a6
lea eax, [ebp - 0x68]
push eax
push str.Recursively_deleting_folder__s
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov edi, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x4146c6
lea edi, [ebp - 0x68]
push 0
push 0x458b04
push edi
lea ecx, [ebp - 0xf8]
call fcn.00424960
test eax, eax
jne 0x4146f0
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 0x4147e1
mov ecx, dword [ebp - 0xe0]
mov dword [ecx + 0x38], 1
jmp 0x4147e1
cmp byte [ebp - 0xdc], 0
je 0x4147a5
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x414727
lea eax, [ebp - 0x68]
push eax
push str.Creating_folder__s
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x414747
lea eax, [ebp - 0x68]
push eax
push str.Destination___s
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov eax, dword [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], esi
jae 0x414767
lea eax, [ebp - 0x68]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4147e1
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 0x4147e1
call fcn.00402500
test eax, eax
jne 0x4147e1
push 0x3a
call fcn.004331f0
add esp, 4
jmp 0x4147e1
mov eax, dword [ebp - 0x74]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [ebp - 0x84]
call fcn.00404ab0
test eax, eax
jne 0x4147e1
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x4147cc
lea eax, [ebp - 0x68]
push eax
push str.Marking_folder__s_for_delete_on_uninstall
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
push 1
call fcn.00431ac0
mov eax, dword [ebp - 0xe0]
add esp, 4
cmp byte [eax + 0x40], 0
jne 0x414bb4
cmp byte [ebp - 0xd9], 0
je 0x414bb4
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, 0x458a28
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], cx
call fcn.004065a0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x41484f
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00421d40
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 9
call fcn.0040d470
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x414885
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00438b4b
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 0x4148ac
mov edx, dword [ebp - 0x30]
push edx
call fcn.00438b4b
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.004065a0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x8c], edi
jae 0x4148df
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00421d40
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0xb
call fcn.0040d470
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x414915
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00438b4b
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 0x41493f
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00438b4b
add esp, 4
mov edi, dword [ebp - 0xfc]
lea edx, [ebp - 0xd8]
push edx
mov edx, 0x458524
mov ecx, edi
call fcn.00410e40
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.004065a0
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call fcn.00421cb0
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0xe
call fcn.0040d470
mov ebx, 8
cmp dword [ebp - 0x38], ebx
jb 0x4149b4
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00438b4b
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 0x4149da
mov eax, dword [ebp - 0x30]
push eax
call fcn.00438b4b
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 0x414a05
mov edx, dword [ebp - 0xd8]
push edx
call fcn.00438b4b
add esp, 4
lea eax, [ebp - 0xd8]
push eax
mov edx, 0x458a9c
mov ecx, edi
call fcn.00410e40
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.004065a0
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00421cb0
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0x11
call fcn.0040d470
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x414a74
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00438b4b
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 0x414a9a
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00438b4b
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 0x414ac4
mov eax, dword [ebp - 0xd8]
push eax
call fcn.00438b4b
add esp, 4
lea ecx, [ebp - 0xd8]
push ecx
mov edx, 0x458538
mov ecx, edi
call fcn.00410e40
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.004065a0
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.00421cb0
mov ecx, eax
lea ebx, [ebp - 0xf4]
mov byte [ebp - 4], 0x14
call fcn.0040d470
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x414b33
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00438b4b
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 0x414b57
mov edx, dword [ebp - 0x30]
push edx
call fcn.00438b4b
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 0x414b7d
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.00438b4b
add esp, 4
mov edx, dword [ebp - 0xe0]
push edx
lea edx, [ebp - 0xf4]
mov ecx, str.Folder
call fcn.0041c1c0
mov esi, dword [ebp - 0xf4]
cmp esi, edi
je 0x414bb4
mov edi, dword [ebp - 0xf0]
mov eax, esi
call fcn.0040d660
push esi
call fcn.00438b4b
add esp, 4
dec dword [0x4699fc]
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 0x414be8
mov ecx, dword [ebp - 0xa0]
push ecx
call fcn.00438b4b
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 0x414c13
mov eax, dword [ebp - 0x68]
push eax
call fcn.00438b4b
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 0x414c36
mov edx, dword [ebp - 0xbc]
push edx
call fcn.00438b4b
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 0x414c5f
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00438b4b
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.004377c1
mov esp, ebp
pop ebp
ret 4