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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd5c0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x501fc0]
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.004617b0
push 0x5c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00499e00
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x46257d
mov ecx, eax
call fcn.004b4420
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 0x4625b9
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4625af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4625af
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00498fb0
mov esi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x46263a
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x462608
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4625fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x462666
push ecx
push edx
call fcn.004bf0c8
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 0x462676
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46266c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46266c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
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 0x4627b7
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x4627b7
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 0x4626e1
cmp edx, 7
jbe 0x4626c3
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 0x4627b4
cmp esi, 0x7ffffffe
ja 0x46284e
mov ecx, esi
or ecx, 7
cmp ecx, 0x7ffffffe
ja 0x46272e
mov eax, edx
shr eax, 1
mov dword [ebp - 0x44], eax
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0x44]
cmp edx, eax
ja 0x46272e
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 0x462853
add eax, eax
jne 0x46273d
jmp 0x462757
mov eax, 0x7ffffffe
mov dword [ebp - 0x48], eax
mov eax, 0x7fffffff
add eax, eax
push eax
cmp eax, 0x1000
jb 0x46274c
call fcn.0045f350
jmp 0x462751
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 0x4627b2
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4627a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4627e3
mov eax, edx
push ecx
push eax
call fcn.004bf0c8
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 0x4627f3
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4627e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4627e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x46282f
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x462825
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x462825
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
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.004bf563
mov esp, ebp
pop ebp
ret 0x18
call fcn.004b4480
call fcn.004b4320
int3