Function at 0x453ba0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4190
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x278
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x22c], edi
mov esi, ecx
mov dword [ebp - 0x230], esi
lea eax, [ebp - 0x228]
mov dword [ebp - 0x234], esi
push eax
push 0
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x453d37
and edi, 0xffff00ff
cmp edi, 0x24
jne 0x453c4c
push 0x104
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x453e18
cmp eax, 0x104
ja 0x453e49
jmp 0x453d37
cmp edi, 0x25
jne 0x453c7b
push 0x104
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x453e78
cmp eax, 0x104
ja 0x453ea9
jmp 0x453d37
cmp edi, 0x26
jne 0x453c8f
lea edx, [edi - 0x25]
mov ecx, esi
call fcn.00453ee0
jmp 0x453d72
cmp edi, 0x2b
jne 0x453ca0
mov ecx, esi
call fcn.004540e0
jmp 0x453d72
cmp edi, 0x23
jne 0x453cc6
sub esp, 8
mov ecx, esi
mov eax, esp
mov dword [eax], str.Common_AppData
mov dword [eax + 4], 0xe
call fcn.00453ac0
add esp, 8
jmp 0x453d72
cmp edi, 0x1a
jne 0x453d92
sub esp, 8
mov dword [ebp - 4], 0
mov eax, esp
mov ecx, esi
mov dword [eax], str.AppData
mov dword [eax + 4], 7
call fcn.00453ac0
add esp, 8
jmp 0x453d72
xorps xmm0, xmm0
lea ecx, [ebp - 0x228]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 2]
mov dword [esi + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453d54
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00428be0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp edi, 0x1c
jne 0x453ded
sub esp, 8
mov dword [ebp - 4], 2
mov eax, esp
mov ecx, esi
mov dword [eax], str.Local_AppData
mov dword [eax + 4], 0xd
call fcn.00453ac0
add esp, 8
jmp 0x453d72
lea ecx, [ebp - 0x22c]
push ecx
push 0x33
push str.Unable_to_retrieve_a_path_of_the_known_folder____
push eax
lea ecx, [ebp - 0x288]
call fcn.00454310
push 0x685e44
lea eax, [ebp - 0x288]
push eax
call fcn.0059b61b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x22c]
push ecx
push 0x33
push str.Unable_to_retrieve_a_path_of_the_known_folder____
push eax
lea ecx, [ebp - 0x248]
call fcn.00454310
push 0x685e44
lea eax, [ebp - 0x248]
push eax
call fcn.0059b61b
lea eax, [ebp - 0x22c]
push eax
push 0x33
push str.Unable_to_retrieve_a_path_of_the_known_folder____
push 0xea
lea ecx, [ebp - 0x258]
call fcn.00454310
push 0x685e44
lea eax, [ebp - 0x258]
push eax
call fcn.0059b61b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x22c]
push ecx
push 0x33
push str.Unable_to_retrieve_a_path_of_the_known_folder____
push eax
lea ecx, [ebp - 0x268]
call fcn.00454310
push 0x685e44
lea eax, [ebp - 0x268]
push eax
call fcn.0059b61b
lea eax, [ebp - 0x22c]
push eax
push 0x33
push str.Unable_to_retrieve_a_path_of_the_known_folder____
push 0xea
lea ecx, [ebp - 0x278]
call fcn.00454310
push 0x685e44
lea eax, [ebp - 0x278]
push eax
call fcn.0059b61b
int3