Function at 0x453b60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x280
mov eax, dword [0x540010]
xor eax, ebp
mov dword [esp + 0x278], eax
mov eax, dword [0x544a30]
mov ecx, dword [0x543ad4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x453db2
movzx eax, byte [0x544a2f]
mov edi, eax
test al, al
jns 0x453bb1
mov edi, dword [0x544a28]
test edi, edi
js 0x453da3
je 0x453bcc
test al, al
jns 0x453bcc
cmp dword [0x544a24], 0
je 0x453d9c
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x70]
push 0x208
push 0xff
push esi
call fcn.004e3a90
add esp, 0xc
test edi, edi
je 0x453cb8
mov eax, dword [0x544a30]
mov ecx, dword [0x543ad4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x453ded
mov eax, 0x544a24
cmp byte [0x544a2f], 0
jns 0x453c22
mov eax, dword [0x544a24]
push 0x104
push eax
push esi
call fcn.004fc04f
add esp, 0xc
xor eax, eax
dec eax
lea ebx, [esp + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push esi
call fcn.004fbc1b
add esp, 4
lea edi, [esp + 0x18]
mov ecx, edi
push eax
push esi
call fcn.00493e00
mov ecx, edi
push 6
push 0x5272fc
push ebx
call fcn.00494d30
mov ecx, edi
call fcn.00493ef0
cmp byte [ebp + 0xc], 0
je 0x453c83
push ebx
call fcn.00481700
add esp, 4
test al, al
je 0x453d31
lea ecx, [esp + 0xc]
push 2
push 0x527324
mov ebx, dword [ebp + 8]
push ebx
call fcn.00494d30
lea ecx, [esp + 0xc]
call fcn.00493ef0
mov ecx, dword [esp + 0x278]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [ebp + 0xc]
push eax
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x453c31
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0xc]
push eax
push esi
call fcn.0050e3e0
add esp, 8
lea edi, [esp + 0x18]
mov ecx, edi
push esi
push 0x44
push str.GetUserIdFilePath
push 1
call fcn.00455540
lea ecx, [esp + 0x54]
push 0x5272fb
push str.Cant_get_path_to_AppData_folder
call fcn.004147c0
mov ecx, edi
call fcn.00455590
cmp byte [esi + 0xb], 0
jns 0x453d25
push dword [esp + 0xc]
call fcn.004dfb35
add esp, 4
mov ecx, ebx
call fcn.00493db0
jmp 0x453ca0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, esp
push eax
push esi
call fcn.0050e3e0
add esp, 8
lea edi, [esp + 0x18]
mov ecx, edi
push esi
push 0x4b
push str.GetUserIdFilePath
push 1
call fcn.00455540
lea ecx, [esp + 0x54]
push 0x527322
push str.Cant_create_directory:
call fcn.004147c0
lea ecx, [esp + 0x20]
push ebx
call fcn.00414700
mov ecx, edi
call fcn.00455590
cmp byte [esi + 0xb], 0
jns 0x453d8d
push dword [esp]
call fcn.004dfb35
add esp, 4
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.00493db0
jmp 0x453c97
push str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x453da8
push str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
push 0x521354
call fcn.0044d640
push 0x544a30
call fcn.004dfba7
add esp, 4
cmp dword [0x544a30], 0xffffffff
jne 0x453b9e
mov ecx, 0x544a24
push 0x52335a
call fcn.0041e1b0
push 0x544a30
call fcn.004dfc1d
add esp, 4
jmp 0x453b9e
push 0x544a30
call fcn.004dfba7
add esp, 4
cmp dword [0x544a30], 0xffffffff
jne 0x453c0f
mov ecx, 0x544a24
push 0x52335a
call fcn.0041e1b0
push 0x544a30
call fcn.004dfc1d
add esp, 4
jmp 0x453c0f