Function at 0x414620
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 0x4de618
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0xb0
mov eax, dword [0x51c100]
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 - 0x6c], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], 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 - 0xc0]
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
call fcn.004861b0
add esp, 4
push 5
push str.Temp
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040a0d0
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 - 0xc0]
call fcn.0040a590
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4147f8
test al, 0x10
je 0x4147f8
call fcn.0048b080
cmp dword [ebp - 0x20], 8
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 7
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x68], ax
or esi, 0x10
lea eax, [ebp - 0x78]
mov dword [ebp - 0x4c], esi
push eax
lea eax, [ebp - 0x50]
mov edx, str._s_asw._016llx
push eax
call fcn.00416b00
lea eax, [ebp - 0x68]
add esp, 8
cmp edi, eax
je 0x4147f0
mov ecx, edi
call fcn.0040a590
movups xmm0, xmmword [ebp - 0x68]
xor eax, eax
mov word [ebp - 0x68], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
and esi, 0xffffffef
jmp 0x414885
call fcn.0048b080
cmp dword [ebp - 0x20], 8
mov ecx, eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
mov byte [ebp - 4], 6
xorps xmm0, xmm0
push edx
movups xmmword [ebp - 0x68], xmm0
xor edi, edi
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], di
or esi, 0x20
push ecx
mov dword [ebp - 0x54], 7
lea edi, [ebp - 0x68]
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], esi
push str._c:_asw._016llx
push eax
mov dword [ebp - 0x50], edi
call fcn.0040e3b0
mov edi, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
add esp, 0x14
cmp edi, eax
je 0x414882
mov ecx, edi
call fcn.0040a590
movups xmm0, xmmword [ebp - 0x68]
xor eax, eax
mov word [ebp - 0x68], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
and esi, 0xffffffdf
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 4
call fcn.0040a590
xor ecx, ecx
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x38], ecx
mov edx, edi
cmove eax, ecx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x74], eax
jb 0x4148ac
mov edx, dword [edi]
mov dword [ebp - 0x84], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x80], ecx
mov ecx, edx
movups xmmword [ebp - 0x94], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x6c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4148c7
sub ecx, dword [ebp - 0x6c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.0040a4a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x74]
or esi, 2
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
call fcn.00483b10
test al, al
jne 0x41496c
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x41490d
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x74], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414930
sub ecx, dword [ebp - 0x74]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.0040a4a0
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x68]
or esi, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
call fcn.00483b10
mov byte [ebp - 0x45], 1
test al, al
je 0x414970
mov byte [ebp - 0x45], 0
mov eax, dword [ebp - 0x50]
test al, 4
je 0x41498b
and eax, 0xfffffffb
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.0040a590
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 4
test al, 2
je 0x4149a7
and eax, 0xfffffffd
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x4c], eax
call fcn.0040a590
cmp byte [ebp - 0x45], 0
jne 0x4149fd
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4149bb
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x34]
call fcn.0040a590
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.004a057b
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 - 0xa8]
call fcn.0048de90
push 0x518f50
lea eax, [ebp - 0xa8]
push eax
call fcn.004a2f8b
int3