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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3fe7
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5080f4]
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 ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x38], 0
mov eax, dword [ecx + 0x1c]
push 0x4e8d60
push str.tmp_path
mov edi, dword [eax]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
mov edi, eax
mov dword [ebx], 0
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], 3
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x10]
add ecx, dword [esi + 0x10]
add ecx, 2
mov dword [ebp - 0x38], 2
setb al
neg eax
or eax, ecx
mov ecx, ebx
push eax
call fcn.0040edc0
cmp dword [edi + 0x14], 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
jb 0x458b02
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040b710
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x458b17
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040b710
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
call fcn.004127e0
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x458b45
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x458ba7
test al, 0x10
je 0x458ba7
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x458b5f
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
call fcn.00412370
mov edx, str.The_folder__s_already_exists.
lea ecx, [ebp - 0x50]
movq xmm0, qword [eax]
movq qword [ebp - 0x50], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x44], 0x42354232
mov dword [ebp - 0x40], 0x37373535
mov dword [ebp - 0x3c], 0x135
call fcn.0045a980
add esp, 4
jmp 0x458c59
xor edx, edx
mov ecx, ebx
call fcn.00436030
test al, al
je 0x458c79
cmp dword [ebx + 0x14], 8
mov esi, ebx
jb 0x458bc2
mov esi, dword [ebx]
lea ecx, [ebp - 0x44]
call fcn.00412370
lea ecx, [ebp - 0x1c]
movq xmm0, qword [eax]
movq qword [ebp - 0x34], xmm0
xorps xmm0, xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x42354232
mov dword [ebp - 0x24], 0x37373535
mov dword [ebp - 0x20], 0x132
movlpd qword [ebp - 0x1c], xmm0
call fcn.00411780
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x458c1d
push esi
push str.The_temp_folder__s_has_been_successfully_created.
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.0040d700
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x458c59
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x458c59
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x458c59
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
mov eax, ebx
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.00484d55
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov dword [ebp - 0x14], eax
call fcn.00412590
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x42354232
push eax
mov dword [ebp - 0x24], 0x37373535
mov dword [ebp - 0x20], 0x12e
call fcn.00412370
push eax
lea ecx, [ebp - 0x84]
call fcn.004123a0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0045a8c0
add esp, 8
push str.Create_directory_fail
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0x4c]
push eax
call fcn.004a0209
int3