Function at 0x4099c0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x440ce5
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f3d8]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [esp + 0x110]
mov ebp, dword [esp + 0x114]
lea ecx, [esp + 0xa8]
push ecx
push ebp
mov ecx, 0x444e1c
mov dword [esp + 0x24], eax
call fcn.00406dd0
lea eax, [esp + 0xa8]
mov dword [esp + 0x108], 0
call fcn.00425990
lea edx, [esp + 0xc4]
push edx
push ebp
mov ecx, str.source
call fcn.00406dd0
lea eax, [esp + 0x8c]
push eax
push ebp
mov ecx, str.destination
mov byte [esp + 0x110], 1
call fcn.00406dd0
lea ecx, [esp + 0xe0]
push ecx
push ebp
mov ecx, str.mode
mov byte [esp + 0x110], 2
call fcn.00406dd0
lea eax, [esp + 0xe0]
mov byte [esp + 0x108], 3
call fcn.00425990
mov eax, dword [esp + 0xbc]
push str.copy
mov edi, 4
lea ecx, [esp + 0xac]
call fcn.00405280
test eax, eax
lea esi, [edi + 4]
je 0x409adb
mov eax, dword [esp + 0xbc]
push str.copyonly
mov edi, esi
lea ecx, [esp + 0xac]
call fcn.00405280
test eax, eax
mov byte [esp + 0x19], 0
jne 0x409ae0
mov byte [esp + 0x19], 1
mov eax, dword [esp + 0xbc]
push str.deleteoninstall
mov edi, 0xf
lea ecx, [esp + 0xac]
call fcn.00405280
test eax, eax
mov eax, dword [esp + 0xbc]
push str.copy
mov edi, 4
lea ecx, [esp + 0xac]
sete byte [esp + 0x1f]
call fcn.00405280
test eax, eax
je 0x409b4b
mov eax, dword [esp + 0xbc]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [esp + 0xac]
call fcn.00405280
test eax, eax
mov byte [esp + 0x1a], 0
jne 0x409b50
mov byte [esp + 0x1a], 1
mov eax, dword [esp + 0xbc]
push str.create
mov edi, 6
lea ecx, [esp + 0xac]
call fcn.00405280
test eax, eax
mov eax, dword [ebp + 4]
push eax
push str.Folder
sete bl
push str.__s____d_
push 0x450638
xor eax, eax
call fcn.0041ee40
add dword [0x450658], 1
push 0
call fcn.00423530
add esp, 0x14
cmp byte [esp + 0x19], 0
je 0x409da5
mov eax, dword [esp + 0xf4]
push str.ifnewer
mov edi, 7
lea ecx, [esp + 0xe4]
call fcn.00405280
test eax, eax
jne 0x409bce
lea ebx, [edi - 6]
jmp 0x409bf7
mov eax, dword [esp + 0xf4]
push str.ifNotexists
mov edi, 0xb
lea ecx, [esp + 0xe4]
call fcn.00405280
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 2
cmp dword [esp + 0xdc], esi
mov eax, dword [esp + 0xc8]
jae 0x409c0e
lea eax, [esp + 0xc8]
push eax
push str.Source___s
push 0x450638
xor eax, eax
call fcn.0041ee40
mov eax, dword [esp + 0x9c]
add esp, 0xc
cmp dword [esp + 0xa4], esi
jae 0x409c3a
lea eax, [esp + 0x90]
push eax
push str.Destination___s
push 0x450638
xor eax, eax
call fcn.0041ee40
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
push ebp
mov ecx, 0x444d10
call fcn.00406dd0
mov esi, eax
lea eax, [esp + 0x20]
push eax
push ebp
mov ecx, 0x444e08
mov byte [esp + 0x110], 4
call fcn.00406dd0
mov ecx, 8
mov byte [esp + 0x108], 5
cmp dword [esi + 0x18], ecx
jb 0x409c94
mov edx, dword [esi + 4]
mov dword [esp + 0x58], edx
jmp 0x409c9b
add esi, 4
mov dword [esp + 0x58], esi
cmp dword [eax + 0x18], ecx
jb 0x409ca5
mov esi, dword [eax + 4]
jmp 0x409ca8
lea esi, [eax + 4]
mov eax, dword [esp + 0xbc]
push str.copy
mov edi, 4
lea ecx, [esp + 0xac]
call fcn.00405280
mov edx, dword [esp + 0x90]
test eax, eax
mov eax, 8
sete cl
cmp dword [esp + 0xa4], eax
jae 0x409ce6
lea edx, [esp + 0x90]
cmp dword [esp + 0xdc], eax
mov eax, dword [esp + 0xc8]
jae 0x409cfd
lea eax, [esp + 0xc8]
mov edi, dword [esp + 0x58]
push edi
push esi
movzx ecx, cl
push ecx
mov ecx, dword [esp + 0x28]
push 1
push ebx
push edx
push eax
call fcn.00410380
mov edi, 8
cmp dword [esp + 0x38], edi
mov esi, eax
jb 0x409d2f
mov edx, dword [esp + 0x24]
push edx
call fcn.004286d5
add esp, 4
xor ebx, ebx
mov byte [esp + 0x108], 3
cmp dword [esp + 0x54], edi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x409d5d
mov eax, dword [esp + 0x40]
push eax
call fcn.004286d5
add esp, 4
cmp esi, ebx
je 0x409f9f
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 0x3d]
mov dl, al
neg dl
sbb edx, edx
not edx
and edx, esi
test al, al
mov dword [ecx + 0x38], edx
jne 0x409f9f
call fcn.004021a0
test eax, eax
jne 0x409f9f
cmp esi, 2
setne al
add eax, 0x39
push eax
call fcn.00423c60
add esp, 4
jmp 0x409f9f
cmp byte [esp + 0x1b], 0
je 0x409e9f
lea ecx, [esp + 0x3c]
push ecx
push ebp
mov ecx, 0x445174
call fcn.00406dd0
mov ecx, eax
mov byte [esp + 0x108], 6
mov eax, dword [ecx + 0x14]
push 0x444d7c
mov edi, 3
call fcn.00405280
test eax, eax
sete bl
mov byte [esp + 0x108], 3
cmp dword [esp + 0x54], esi
jb 0x409dfc
mov edx, dword [esp + 0x40]
push edx
call fcn.004286d5
add esp, 4
movzx eax, bl
mov dword [esp + 0x60], eax
xor eax, eax
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x5c], vtable.CSafeDeleteTree.0
mov dword [esp + 0x6c], 1
jae 0x409e34
lea eax, [esp + 0x90]
push eax
push str.Recursively_deleting_folder__s
push 0x450638
xor eax, eax
call fcn.0041ee40
mov edi, dword [esp + 0x9c]
add esp, 0xc
cmp dword [esp + 0xa4], esi
jae 0x409e60
lea edi, [esp + 0x90]
push 0
push 0x4451dc
push edi
lea ecx, [esp + 0x68]
call fcn.0041b9e0
test eax, eax
jne 0x409e84
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [edx + 4]
push edi
lea ecx, [esp + 0x64]
call eax
cmp dword [esp + 0x68], 0
je 0x409f9f
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x34], 1
jmp 0x409f9f
test bl, bl
je 0x409f52
cmp dword [esp + 0xa4], esi
mov eax, dword [esp + 0x90]
jae 0x409ebe
lea eax, [esp + 0x90]
push eax
push str.Creating_folder__s
push 0x450638
xor eax, eax
call fcn.0041ee40
mov eax, dword [esp + 0x9c]
add esp, 0xc
cmp dword [esp + 0xa4], esi
jae 0x409eea
lea eax, [esp + 0x90]
push eax
push str.Destination___s
push 0x450638
xor eax, eax
call fcn.0041ee40
mov eax, dword [esp + 0x9c]
add esp, 0xc
cmp dword [esp + 0xa4], esi
jae 0x409f16
lea eax, [esp + 0x90]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x409f9f
mov esi, dword [esp + 0x1c]
mov cl, byte [esi + 0x3d]
mov dl, cl
neg dl
sbb edx, edx
not edx
and edx, eax
test cl, cl
mov dword [esi + 0x38], edx
jne 0x409f9f
call fcn.004021a0
test eax, eax
jne 0x409f9f
push 0x3a
call fcn.00423c60
add esp, 4
jmp 0x409f9f
mov eax, dword [esp + 0xbc]
push str.deleteonuninstall
mov edi, 0x11
lea ecx, [esp + 0xac]
call fcn.00405280
test eax, eax
jne 0x409f9f
cmp dword [esp + 0xa4], esi
mov eax, dword [esp + 0x90]
jae 0x409f8a
lea eax, [esp + 0x90]
push eax
push str.Marking_folder__s_for_delete_on_uninstall
push 0x450638
xor eax, eax
call fcn.0041ee40
add esp, 0xc
push 1
call fcn.00423530
mov eax, dword [esp + 0x20]
add esp, 4
cmp byte [eax + 0x3c], 0
jne 0x40a317
cmp byte [esp + 0x1a], 0
je 0x40a317
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x108], 7
push 5
push 0x445100
lea esi, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
call fcn.00404120
mov byte [esp + 0x108], 8
cmp dword [esp + 0xa4], 8
mov ebx, dword [esp + 0x90]
jae 0x40a019
lea ebx, [esp + 0x90]
lea ecx, [esp + 0x20]
push ecx
lea esi, [esp + 0x40]
call fcn.004196a0
add esp, 4
push eax
lea esi, [esp + 0x60]
mov byte [esp + 0x10c], 9
call fcn.00414a70
mov edi, 8
cmp dword [esp + 0x54], edi
jb 0x40a054
mov edx, dword [esp + 0x40]
push edx
call fcn.004286d5
add esp, 4
xor ebx, ebx
mov esi, 7
mov byte [esp + 0x108], 7
cmp dword [esp + 0x38], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jb 0x40a083
mov eax, dword [esp + 0x24]
push eax
call fcn.004286d5
add esp, 4
lea ecx, [esp + 0x70]
push ecx
push ebp
mov ecx, 0x444e08
call fcn.00406dd0
mov edi, eax
mov byte [esp + 0x108], 0xa
push 0xa
mov dword [esp + 0x3c], esi
push str.usequence
lea esi, [esp + 0x28]
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00404120
push edi
mov edx, esi
push edx
lea edi, [esp + 0x44]
mov byte [esp + 0x110], 0xb
call fcn.004195f0
add esp, 8
push eax
lea esi, [esp + 0x60]
mov byte [esp + 0x10c], 0xc
call fcn.00414a70
mov edi, 8
cmp dword [esp + 0x54], edi
jb 0x40a0fc
mov eax, dword [esp + 0x40]
push eax
call fcn.004286d5
add esp, 4
cmp dword [esp + 0x38], edi
mov esi, 7
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jb 0x40a121
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004286d5
add esp, 4
mov byte [esp + 0x108], 7
cmp dword [esp + 0x88], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x40a14c
mov edx, dword [esp + 0x74]
push edx
call fcn.004286d5
add esp, 4
lea eax, [esp + 0x70]
push eax
push ebp
mov ecx, 0x445174
call fcn.00406dd0
mov edi, eax
mov byte [esp + 0x108], 0xd
push 0x14
mov dword [esp + 0x3c], esi
push str.delete_if_not_empty
lea esi, [esp + 0x28]
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00404120
push edi
mov ecx, esi
push ecx
lea edi, [esp + 0x44]
mov byte [esp + 0x110], 0xe
call fcn.004195f0
add esp, 8
push eax
lea esi, [esp + 0x60]
mov byte [esp + 0x10c], 0xf
call fcn.00414a70
mov edi, 8
cmp dword [esp + 0x54], edi
jb 0x40a1c5
mov edx, dword [esp + 0x40]
push edx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0x38], edi
mov esi, 7
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jb 0x40a1ea
mov eax, dword [esp + 0x24]
push eax
call fcn.004286d5
add esp, 4
mov byte [esp + 0x108], 7
cmp dword [esp + 0x88], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x40a215
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004286d5
add esp, 4
lea edx, [esp + 0x70]
push edx
push ebp
mov ecx, 0x444d10
call fcn.00406dd0
mov edi, eax
mov byte [esp + 0x108], 0x10
push 6
mov dword [esp + 0x3c], esi
push str.group
lea esi, [esp + 0x28]
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00404120
push edi
mov eax, esi
push eax
lea edi, [esp + 0x44]
mov byte [esp + 0x110], 0x11
call fcn.004195f0
add esp, 8
push eax
lea esi, [esp + 0x60]
mov byte [esp + 0x10c], 0x12
call fcn.00414a70
mov esi, 8
cmp dword [esp + 0x54], esi
jb 0x40a28e
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0x38], esi
mov edi, 7
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
jb 0x40a2b3
mov edx, dword [esp + 0x24]
push edx
call fcn.004286d5
add esp, 4
mov byte [esp + 0x108], 7
cmp dword [esp + 0x88], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x40a2de
mov eax, dword [esp + 0x74]
push eax
call fcn.004286d5
add esp, 4
mov ecx, dword [esp + 0x1c]
push str.Folder
push ecx
lea ecx, [esp + 0x64]
call fcn.00410de0
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x40a317
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
push edx
call fcn.0041a700
mov eax, dword [esp + 0x64]
add esp, 4
push eax
call fcn.004286d5
add esp, 4
sub dword [0x450658], 1
mov ecx, dword [esp + 0x1c]
xor esi, esi
cmp dword [ecx + 0x38], esi
mov edi, 8
sete bl
cmp dword [esp + 0xf8], edi
jb 0x40a348
mov edx, dword [esp + 0xe4]
push edx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0xa4], edi
mov ebp, 7
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], esi
mov word [esp + 0xe4], si
jb 0x40a37c
mov eax, dword [esp + 0x90]
push eax
call fcn.004286d5
add esp, 4
cmp dword [esp + 0xdc], edi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], esi
mov word [esp + 0x90], si
jb 0x40a3ab
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0xc0], edi
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], esi
mov word [esp + 0xc8], si
jb 0x40a3da
mov edx, dword [esp + 0xac]
push edx
call fcn.004286d5
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00426d9a
add esp, 0xf8
ret 8