Function at 0x488c80
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, dword [ebp + 8]
mov eax, dword [0x547008]
xor eax, ebp
mov dword [esp + 0x88], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x50]
push 0x369
push str.file_util_win.cc
push str.CreateDirectoryAndGetError
push ebx
call fcn.0049a500
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.00490060
cmp byte [esi + 0xb], 0
mov ebx, esi
jns 0x488ce6
mov ebx, dword [esi]
mov edi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x488d18
mov bl, 1
test al, 0x10
jne 0x488dcb
test edi, edi
je 0x488d09
mov dword [edi], 0xfffffff7
push 0x50
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x488dcb
xor eax, eax
dec eax
lea edx, [esp + 4]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov ecx, esi
push edx
call fcn.0049c7c0
movzx eax, byte [esi + 0xb]
test al, al
js 0x488d3e
and eax, 0x7f
mov ecx, esi
jmp 0x488d43
mov eax, dword [esi + 4]
mov ecx, dword [esi]
test eax, eax
js 0x488ebc
test ecx, ecx
jne 0x488d57
test eax, eax
jne 0x488eab
movzx edx, byte [esp + 0xf]
mov edi, edx
and edi, 0x7f
test dl, dl
cmovs edi, dword [esp + 8]
mov edx, dword [esp + 4]
lea esi, [esp + 4]
cmovns edx, esi
test edi, edi
js 0x488ebc
test edx, edx
jne 0x488d87
test edi, edi
jne 0x488eab
mov dword [esp], ebx
cmp edi, eax
mov esi, dword [ebp + 8]
jne 0x488dec
test edi, edi
je 0x488da6
xor edi, edi
movzx ebx, word [edx + edi*2]
cmp bx, word [ecx + edi*2]
jne 0x488dec
inc edi
cmp eax, edi
jne 0x488d97
mov eax, 0xfffffffc
mov esi, 2
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x488db9
mov dword [edi], eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
lea ecx, [esp + 4]
call fcn.0049c100
lea ecx, [esp + 0x10]
call fcn.004900e0
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.004e8be6
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 0xc]
push edi
lea eax, [esp + 8]
push eax
call fcn.00488c80
add esp, 8
test al, al
je 0x488dc0
push 0
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x488dc2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], eax
cmp eax, 0xb7
jne 0x488e8e
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x50]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea eax, [esp + 0x40]
push 0x24e
push str.file_util_win.cc
push str.DirectoryExists
push eax
call fcn.0049a500
add esp, 0x10
mov ecx, edi
push 0
lea eax, [esp + 0x44]
push eax
call fcn.00490060
cmp byte [esi + 0xb], 0
jns 0x488e6b
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
lea ecx, [esp + 0x50]
call fcn.004900e0
cmp esi, 0xffffffff
mov edi, dword [ebp + 0xc]
je 0x488e8e
and esi, 0x10
jne 0x488dc2
test edi, edi
je 0x488ea3
mov esi, dword [esp]
push esi
call fcn.00487310
add esp, 4
jmp 0x488db7
mov esi, dword [esp]
jmp 0x488db9
push str.string_view::string_view__CharT___size_t_:_received_nullptr
push str.__len__0____s___nullptr
push 0x13c
jmp 0x488ecb
push str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
push str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
push 0x13a
push str....._third_partylibc_srcinclude_string_view
push str._s:_d:_assertion__s_failed:__s_n
call fcn.00457520
int3