Function at 0x42c080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4ca1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xd0
mov eax, dword [0x519100]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x8c], edi
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 4], 1
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov dword [ebp - 0x38], 0
mov word [edi], ax
push eax
lea eax, [ebp - 0x38]
mov esi, 1
push eax
push esi
push str.D:P_A_CIOI_FA___SY__A_CIOI_FA___BA_
mov dword [ebp - 0x4c], esi
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
mov eax, dword [ebp - 0x38]
lea edx, [esi + 0x23]
push ecx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
call fcn.00477a50
add esp, 4
push 5
push str.Temp
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040ba30
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or esi, 8
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xe4]
call fcn.00423780
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42c1c6
test al, 0x10
je 0x42c1c6
mov al, 1
jmp 0x42c1c8
xor al, al
test al, al
je 0x42c262
call fcn.0047ae70
cmp dword [ebp - 0x20], 7
mov ecx, eax
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push edx
mov byte [ebp - 4], 5
xorps xmm0, xmm0
push ecx
push eax
xor edi, edi
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x70], di
lea eax, [ebp - 0x54]
push str._s_asw._016llx
or esi, 0x10
mov dword [ebp - 0x5c], 7
lea edi, [ebp - 0x70]
mov dword [ebp - 0x4c], esi
push eax
mov dword [ebp - 0x54], edi
call fcn.0042d1c0
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0x70]
add esp, 0x14
cmp edi, eax
je 0x42c257
mov ecx, edi
call fcn.00423780
movups xmm0, xmmword [ebp - 0x70]
xor eax, eax
mov word [ebp - 0x70], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
and esi, 0xffffffef
lea ecx, [ebp - 0x70]
jmp 0x42c307
call fcn.0047ae70
cmp dword [ebp - 0x20], 7
mov ecx, eax
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
mov byte [ebp - 4], 6
xorps xmm0, xmm0
push edx
movups xmmword [ebp - 0x88], xmm0
xor edi, edi
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], di
or esi, 0x20
push ecx
mov dword [ebp - 0x74], 7
lea edi, [ebp - 0x88]
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x4c], esi
push str._c:_asw._016llx
push eax
mov dword [ebp - 0x54], edi
call fcn.0042d1c0
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0x88]
add esp, 0x14
cmp edi, eax
je 0x42c2fe
mov ecx, edi
call fcn.00423780
movups xmm0, xmmword [ebp - 0x88]
xor eax, eax
mov word [ebp - 0x88], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
and esi, 0xffffffdf
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 4
call fcn.00423780
xor ecx, ecx
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x38], ecx
mov edx, edi
cmove eax, ecx
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x58], eax
jbe 0x42c32b
mov edx, dword [edi]
mov dword [ebp - 0xac], ecx
xorps xmm0, xmm0
mov dword [ebp - 0xa8], ecx
mov ecx, edx
movups xmmword [ebp - 0xbc], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x54], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c350
sub ecx, dword [ebp - 0x54]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xbc]
call fcn.00423920
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 7
or esi, 2
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
call fcn.004764f0
test al, al
jne 0x42c402
cmp dword [edi + 0x14], 7
mov edx, edi
jbe 0x42c396
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x94], 0
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa4], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x58], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c3c0
sub ecx, dword [ebp - 0x58]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.00423920
mov dword [ebp - 4], 8
lea ecx, [ebp - 0xa4]
or esi, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
call fcn.004764f0
mov byte [ebp - 0x45], 1
test al, al
je 0x42c406
mov byte [ebp - 0x45], 0
mov eax, dword [ebp - 0x50]
test al, 4
je 0x42c424
and eax, 0xfffffffb
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.00423780
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 4
test al, 2
je 0x42c440
and eax, 0xfffffffd
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x4c], eax
call fcn.00423780
cmp byte [ebp - 0x45], 0
jne 0x42c496
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x42c454
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x34]
call fcn.00423780
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0048471b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.Unable_to_create_temporary_directory_for_Instup_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0042bee0
push 0x516930
lea eax, [ebp - 0xcc]
push eax
call fcn.00486900
int3