Function at 0x45a2c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe8fd
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
lea eax, [ebp - 0x220]
or edi, 0xffffffff
push 0
push eax
call fcn.004bcaf0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x220]
add esp, 0xc
push eax
push 0
push 0
push 0x1a
push 0
call ebx
cmp dword [0x53bbb8], 8
mov eax, 0x53bba4
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmovae eax, dword [0x53bba4]
push eax
lea eax, [ebp - 0x220]
push eax
call esi
cmp dword [0x53bbd0], 8
mov eax, 0x53bbbc
cmovae eax, dword [0x53bbbc]
push eax
lea eax, [ebp - 0x220]
push eax
call esi
cmp dword [0x53bbe8], 8
mov eax, 0x53bbd4
cmovae eax, dword [0x53bbd4]
push eax
lea eax, [ebp - 0x220]
push eax
call esi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45a409
push 0x20a
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004bcaf0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 1
push 0
push 0x1a
push 0
call ebx
cmp dword [0x53bbb8], 8
mov eax, 0x53bba4
cmovae eax, dword [0x53bba4]
push eax
lea eax, [ebp - 0x220]
push eax
call esi
cmp dword [0x53bbd0], 8
mov eax, 0x53bbbc
cmovae eax, dword [0x53bbbc]
push eax
lea eax, [ebp - 0x220]
push eax
call esi
cmp dword [0x53bbe8], 8
mov eax, 0x53bbd4
cmovae eax, dword [0x53bbd4]
push eax
lea eax, [ebp - 0x220]
push eax
call esi
push 0
push 0x51ca34
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
call fcn.00420560
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
lea edx, [ecx + 2]
mov word [ebp - 0x248], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a463
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.0041a5b0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x260]
call fcn.00498a60
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 2
push ecx
push eax
call fcn.004a3660
add esp, 8
lea ecx, [ebp - 0x260]
mov bl, al
call fcn.0041a210
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x45a500
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a4f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a78d
push edx
push ecx
call fcn.0048e9ad
add esp, 8
test bl, bl
je 0x45a739
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
movq qword [ebp - 0x230], xmm0
lea eax, [ebp - 0x278]
mov dword [ebp - method.JSONStringValueSerializer.virtual_0], vtable.JSONStringValueSerializer.0
mov dword [ebp - 0x22c], eax
mov word [ebp - 0x228], 1
mov byte [ebp - 0x226], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 4
push eax
push 0
lea ecx, [ebp - 0x230]
call fcn.0049aa40
mov esi, eax
mov dword [ebp - 0x27c], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x45a6c5
mov dword [ebp - 0x284], 0
lea ecx, [ebp - 0x284]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x284]
test ecx, ecx
je 0x45a6c5
lea eax, [ebp - 0x280]
xor edi, edi
push eax
push 0x53bbec
mov dword [ebp - 0x280], edi
call fcn.004974b0
test al, al
je 0x45a6c5
cmp dword [ebp - 0x280], edi
je 0x45a6c5
push edi
push 0x51ca34
lea ecx, [ebp - 0x248]
mov byte [ebp - 0x221], 0
mov byte [ebp - 0x222], 0
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00420560
lea eax, [ebp - 0x221]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x280]
push eax
push 0x53bc04
call fcn.00497480
test al, al
je 0x45a687
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x222]
push eax
push 0x53bc1c
call fcn.00497480
test al, al
je 0x45a687
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x248]
push eax
push 0x53bc34
call fcn.004975a0
test al, al
je 0x45a687
cmp dword [ebp - 0x238], edi
je 0x45a687
cmp byte [ebp - 0x221], 0
jne 0x45a682
cmp byte [ebp - 0x222], 0
je 0x45a687
mov edi, 1
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x234]
cmp edx, 0x10
jb 0x45a6c5
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a6bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a792
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov byte [ebp - 4], 4
test esi, esi
je 0x45a6d9
mov byte [ebp - 4], 7
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax]
mov edx, dword [ebp - 0x24c]
cmp edx, 0x10
jb 0x45a713
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a709
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a797
push edx
push ecx
call fcn.0048e9ad
add esp, 8
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.0049aa30
mov edx, dword [ebp - 0x264]
cmp edx, 0x10
jb 0x45a76f
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a765
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a79c
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
ret
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
int3