Function at 0x45d400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528da0
mov eax, dword fs:[0]
push eax
mov eax, 0x2064
call fcn.004a76b0
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
lea eax, [ebp - 0x870]
push 0
push eax
call fcn.004ca680
add esp, 0xc
lea eax, [ebp - 0x870]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x1070]
push 0
push eax
call fcn.004ca680
lea eax, [ebp - 0x70]
push eax
call fcn.00418a20
push 0x53a224
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0043fae0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x45d495
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x870]
push eax
lea eax, [ebp - 0x1070]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45d4e4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d4da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d687
push edx
push ecx
call fcn.004a7285
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x45d539
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d52f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d68c
push edx
push ecx
call fcn.004a7285
add esp, 8
lea eax, [ebp - 0x1070]
push eax
call fcn.0044ff90
push 0x800
lea eax, [ebp - 0x1870]
push 0
push eax
call fcn.004ca680
add esp, 0x10
lea eax, [ebp - 0x1870]
push 1
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [ebp - 0x2070]
push 0
push eax
call fcn.004ca680
lea eax, [ebp - 0x58]
push eax
call fcn.00418a20
push 0x53a224
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
call fcn.0043fae0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x45d5ab
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x1870]
push eax
lea eax, [ebp - 0x2070]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45d5fa
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d5f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d691
push edx
push ecx
call fcn.004a7285
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x45d64b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d641
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d696
push edx
push ecx
call fcn.004a7285
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x2070]
push eax
mov dword [ebp - 0x44], 7
call fcn.0044ff90
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret
call fcn.004d5d48
call fcn.004d5d48
call fcn.004d5d48
call fcn.004d5d48
int3