Function at 0x4422a0
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f55d9
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x689300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [esi + 0x6e4]
call fcn.0042bc40
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 0
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0xa0]
push eax
call fcn.00423cd0
call fcn.0042da60
add esp, 0x1c
test al, al
je 0x4424bb
push 0x60aa48
push 1
push 0x3fd
push 0x609e88
push str.CDuiFrameWnd::StartInstallExe
call fcn.004f5380
mov ecx, dword [esi + 0x6e0]
add esp, 0x14
push 8
call fcn.0042f4d0
push 0x14
xor eax, eax
mov dword [ebp - 0x74], 7
push str.STR_MESSAGEBOX_TITLE
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00423820
push 0xc
xor eax, eax
mov byte [ebp - 4], 1
push str.STR_SOFT_RUN
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00423820
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x6e4]
call fcn.0042c5f0
mov edi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 0x6e4]
call fcn.0042c5f0
mov cl, byte [esi + 0x744]
mov edx, 0x31
test cl, cl
mov dword [ebp - 0xac], 0x190031
cmovne edx, dword [ebp - 0xac]
cmp dword [edi + 0x14], 8
jb 0x4423fb
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x442403
mov eax, dword [eax]
push edx
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x44], 8
mov edi, eax
jb 0x442422
push dword [ebp - 0x58]
call fcn.00470aa0
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x442447
push dword [ebp - 0x40]
call fcn.00470aa0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x44246c
push dword [ebp - 0x70]
call fcn.00470aa0
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
jb 0x442497
push dword [ebp - 0x88]
call fcn.00470aa0
add esp, 4
cmp edi, 1
jne 0x4425e2
push dword [ebp - 0xb0]
call fcn.0042ea00
mov ecx, dword [esi + 0x6e0]
add esp, 4
push 2
call fcn.0042f4d0
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x6e4]
call fcn.0042b980
push eax
lea ecx, [esi + 0x53c]
mov byte [ebp - 4], 4
call fcn.00448106
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043a5a0
add esp, 0xc
cmp dword [ebp - 0x2c], 8
mov byte [ebp - 4], 6
jb 0x4424fc
push dword [ebp - 0x40]
call fcn.00470aa0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0
mov dword [ebp - 0x30], 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x442551
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, esi
call fcn.00440250
lea ecx, [ebp - 0x58]
call fcn.005a3cc7
mov dword [ebp - 0x58], 0x60ad0c
mov dword [ebp - 0x48], esi
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x58]
call fcn.005a3dbf
lea ecx, [ebp - 0x58]
call fcn.005a3d38
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 8
test eax, eax
jne 0x4425a3
push 1
call fcn.005a3c94
mov eax, dword [ebp - 0xa4]
add esp, 4
push eax
push dword [ebp - 0xa8]
call fcn.005a3b56
add esp, 8
test eax, eax
je 0x4425bf
push eax
call fcn.005a3c67
add esp, 4
mov ecx, esi
mov dword [ebp - 0xa4], 0
call fcn.00442650
cmp dword [ebp - 0xa4], 0
mov byte [ebp - 4], 6
je 0x4425f4
call fcn.005bb2f4
push 0
push 0x3e8
push 0x10
mov ecx, esi
call fcn.00447914
jmp 0x442619
cmp dword [ebp - 0x14], 8
jb 0x442605
push dword [ebp - 0x28]
call fcn.00470aa0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x8c], 8
jb 0x442630
push dword [ebp - 0xa0]
call fcn.00470aa0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b8774
mov esp, ebp
pop ebp
ret