Function at 0x453dd0
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 0x5d28f0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x278
mov eax, dword [0x689140]
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 0x453f67
and edi, 0xffff00ff
cmp edi, 0x24
jne 0x453e7c
push 0x104
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x454048
cmp eax, 0x104
ja 0x454079
jmp 0x453f67
cmp edi, 0x25
jne 0x453eab
push 0x104
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4540a8
cmp eax, 0x104
ja 0x4540d9
jmp 0x453f67
cmp edi, 0x26
jne 0x453ebf
lea edx, [edi - 0x25]
mov ecx, esi
call fcn.00454110
jmp 0x453fa2
cmp edi, 0x2b
jne 0x453ed0
mov ecx, esi
call fcn.00454310
jmp 0x453fa2
cmp edi, 0x23
jne 0x453ef6
sub esp, 8
mov ecx, esi
mov eax, esp
mov dword [eax], str.Common_AppData
mov dword [eax + 4], 0xe
call fcn.00453ce0
add esp, 8
jmp 0x453fa2
cmp edi, 0x1a
jne 0x453fc2
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.00453ce0
add esp, 8
jmp 0x453fa2
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 0x453f84
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00428c10
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.0059860b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp edi, 0x1c
jne 0x45401d
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.00453ce0
add esp, 8
jmp 0x453fa2
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.00454540
push 0x68501c
lea eax, [ebp - 0x288]
push eax
call fcn.00599dcb
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.00454540
push 0x68501c
lea eax, [ebp - 0x248]
push eax
call fcn.00599dcb
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.00454540
push 0x68501c
lea eax, [ebp - 0x258]
push eax
call fcn.00599dcb
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.00454540
push 0x68501c
lea eax, [ebp - 0x268]
push eax
call fcn.00599dcb
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.00454540
push 0x68501c
lea eax, [ebp - 0x278]
push eax
call fcn.00599dcb
int3