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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb090
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4fefc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], eax
mov dword [eax], vtable.F_Attribute.0
lea edi, [eax + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
movups xmmword [edi], xmm0
mov dword [eax], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.004617a0
push 0x5c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00499de0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x46256d
mov ecx, eax
call fcn.004b4410
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4625a9
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46259f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46259f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0b8
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00498f90
mov esi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x46262a
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4625f8
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4625ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462656
push ecx
push edx
call fcn.004bf0b8
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x462666
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46265c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46265c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0b8
add esp, 8
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [ebp - 0x4c]
mov dword [esi + 0x1c], eax
cmp eax, 0xffffffff
je 0x4627a7
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x4627a7
cmp dword [ebp - 0x14], 7
mov ecx, eax
mov edx, dword [edi + 0x14]
cmova ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
cmp esi, edx
ja 0x4626d1
cmp edx, 7
jbe 0x4626b3
mov edi, dword [edi]
mov edx, dword [ebp - 0x50]
lea eax, [esi + esi]
push eax
push ecx
push edi
mov dword [edx], esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [edi + esi*2], ax
jmp 0x4627a4
cmp esi, 0x7ffffffe
ja 0x46283e
mov ecx, esi
or ecx, 7
cmp ecx, 0x7ffffffe
ja 0x46271e
mov eax, edx
shr eax, 1
mov dword [ebp - 0x44], eax
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0x44]
cmp edx, eax
ja 0x46271e
mov eax, dword [ebp - 0x44]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
mov dword [ebp - 0x48], ecx
lea eax, [ecx + 1]
cmp eax, 0x7fffffff
ja 0x462843
add eax, eax
jne 0x46272d
jmp 0x462747
mov eax, 0x7ffffffe
mov dword [ebp - 0x48], eax
mov eax, 0x7fffffff
add eax, eax
push eax
cmp eax, 0x1000
jb 0x46273c
call fcn.0045f350
jmp 0x462741
call sub.mfc140u.dll_operator_2
mov ecx, dword [ebp - 0x48]
add esp, 4
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov dword [edi + 0x14], ecx
mov dword [edx], esi
add esi, esi
push esi
push dword [ebp - 0x58]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x44]
xor ecx, ecx
add esp, 0xc
mov word [esi + eax], cx
mov ecx, dword [ebp - 0x54]
cmp ecx, 7
jbe 0x4627a2
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x462795
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4627d3
mov eax, edx
push ecx
push eax
call fcn.004bf0b8
mov eax, dword [ebp - 0x44]
add esp, 8
mov dword [edi], eax
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4627e3
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4627d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4627d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0b8
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x46281f
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x462815
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x462815
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0b8
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bf553
mov esp, ebp
pop ebp
ret 0x18
call fcn.004b4470
call fcn.004b4310
int3