Function at 0x4b5160
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630739
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x6bae70]
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.004a0c80
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.004220f0
call fcn.004a2ad0
add esp, 0x1c
test al, al
je 0x4b537b
push 0x63c900
push 1
push 0x3fd
push 0x63bd40
push str.CDuiFrameWnd::StartInstallExe
call fcn.00526810
mov ecx, dword [esi + 0x6e0]
add esp, 0x14
push 8
call fcn.004a4460
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.00422460
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.00422460
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x6e4]
call fcn.004a1630
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.004a1630
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 0x4b52bb
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x4b52c3
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 0x4b52e2
push dword [ebp - 0x58]
call fcn.005e8fa6
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 0x4b5307
push dword [ebp - 0x40]
call fcn.005e8fa6
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 0x4b532c
push dword [ebp - 0x70]
call fcn.005e8fa6
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 0x4b5357
push dword [ebp - 0x88]
call fcn.005e8fa6
add esp, 4
cmp edi, 1
jne 0x4b54a2
push dword [ebp - 0xb0]
call fcn.004a3a70
mov ecx, dword [esi + 0x6e0]
add esp, 4
push 2
call fcn.004a4460
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x6e4]
call fcn.004a09c0
push eax
lea ecx, [esi + 0x53c]
mov byte [ebp - 4], 4
call fcn.004b8f40
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004ae220
add esp, 0xc
cmp dword [ebp - 0x2c], 8
mov byte [ebp - 4], 6
jb 0x4b53bc
push dword [ebp - 0x40]
call fcn.005e8fa6
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 0x4b5411
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.004b3110
lea ecx, [ebp - 0x58]
call fcn.005d4c96
mov dword [ebp - 0x58], 0x63cba8
mov dword [ebp - 0x48], esi
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x58]
call fcn.005d4d8e
lea ecx, [ebp - 0x58]
call fcn.005d4d07
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 8
test eax, eax
jne 0x4b5463
push 1
call fcn.005d4c63
mov eax, dword [ebp - 0xa4]
add esp, 4
push eax
push dword [ebp - 0xa8]
call fcn.005d4b25
add esp, 8
test eax, eax
je 0x4b547f
push eax
call fcn.005d4c36
add esp, 4
mov ecx, esi
mov dword [ebp - 0xa4], 0
call fcn.004b5510
cmp dword [ebp - 0xa4], 0
mov byte [ebp - 4], 6
je 0x4b54b4
call fcn.005ec254
push 0
push 0x3e8
push 0x10
mov ecx, esi
call fcn.004b81f0
jmp 0x4b54d9
cmp dword [ebp - 0x14], 8
jb 0x4b54c5
push dword [ebp - 0x28]
call fcn.005e8fa6
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 0x4b54f0
push dword [ebp - 0xa0]
call fcn.005e8fa6
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.005e9734
mov esp, ebp
pop ebp
ret