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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee0e6
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x521390]
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 1
push 0x2b
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x469682
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x428], eax
mov ecx, str.RealCodecs
mov dword [ebp - 4], 0
test ecx, 0xffff0000
jne 0x4695f4
mov edx, ecx
movzx edi, dx
call fcn.0045a7d0
test eax, eax
je 0x469604
push eax
mov eax, edi
lea edi, [ebp - 0x428]
call fcn.0045a980
jmp 0x469604
mov ebx, str.RealCodecs
lea eax, [ebp - 0x428]
call fcn.0046cfb0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 1
call fcn.0046a480
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
or esi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46964f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x469689
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x469682
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x469b7b
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ebx, 0x4f8eb8
call fcn.0045c1d0
push eax
lea eax, [ebp - 0x42c]
push eax
mov ebx, str.atrc.dll
mov byte [ebp - 4], 4
call fcn.0045c1d0
add esp, 0x10
mov bl, 6
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4696e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x430]
push ecx
mov ecx, 0x4f5b64
call fcn.0045ab70
lea edx, [ebp - 0x430]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x42c]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x44c], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0046a210
test eax, eax
jne 0x469797
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
mov edx, esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469745
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
mov edx, esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46976a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x469682
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x469b7b
mov edi, dword [ebp - 0x430]
mov ecx, str.10.0.0.3083
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4697ca
test dx, dx
je 0x4697c6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4697ca
add eax, 4
add ecx, 4
test dx, dx
jne 0x4697a4
xor eax, eax
jmp 0x4697ce
sbb eax, eax
sbb eax, esi
test eax, eax
jns 0x4697dd
mov byte [ebp - 4], bl
lea eax, [edi - 0x10]
jmp 0x46972d
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ebx, 0x4f8eb8
call fcn.0045c1d0
push eax
lea eax, [ebp - 0x438]
push eax
mov ebx, str.cook.dll
mov byte [ebp - 4], 8
call fcn.0045c1d0
add esp, 0x10
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469833
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x434]
push ecx
mov ecx, 0x4f5b64
call fcn.0045ab70
lea edx, [ebp - 0x434]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x438]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x44c], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0046a210
test eax, eax
je 0x469ad3
mov eax, dword [ebp - 0x434]
mov ecx, str.10.0.0.2389
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4698a9
test dx, dx
je 0x4698a5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4698a9
add eax, 4
add ecx, 4
test dx, dx
jne 0x469883
xor eax, eax
jmp 0x4698ad
sbb eax, eax
sbb eax, esi
test eax, eax
js 0x469ad3
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x428]
push ecx
mov ebx, 0x4f8eb8
call fcn.0045c1d0
push eax
lea edx, [ebp - 0x440]
push edx
mov ebx, str.drvc.dll
mov byte [ebp - 4], 0xc
call fcn.0045c1d0
add esp, 0x10
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0xe
call fcn.0045a790
lea eax, [ebp - 0x43c]
push eax
mov ecx, 0x4f5b64
call fcn.0045ab70
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x440]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x44c], esp
mov edi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [edi], eax
call fcn.0046a210
test eax, eax
je 0x469abd
mov eax, dword [ebp - 0x43c]
mov ecx, str.10.0.0.1740
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46996b
test dx, dx
je 0x469967
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46996b
add eax, 4
add ecx, 4
test dx, dx
jne 0x469945
xor eax, eax
jmp 0x46996f
sbb eax, eax
sbb eax, esi
test eax, eax
js 0x469abd
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0x428]
push eax
mov ebx, 0x4f8eb8
call fcn.0045c1d0
push eax
lea ecx, [ebp - 0x444]
push ecx
mov ebx, str.dnet3260.dll
mov byte [ebp - 4], 0x10
call fcn.0045c1d0
add esp, 0x10
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x12
call fcn.0045a790
mov edx, dword [ebp - 0x444]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
call edi
test eax, eax
je 0x469ab2
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x454]
push ecx
mov ebx, 0x4f8eb8
call fcn.0045c1d0
push eax
lea edx, [ebp - 0x448]
push edx
mov ebx, str.raac.dll
mov byte [ebp - 4], 0x13
call fcn.0045c1d0
add esp, 0x10
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 0x15
call fcn.0045a790
mov eax, dword [ebp - 0x448]
push eax
call edi
test eax, eax
je 0x469aa7
push 1
push 0x25
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x469aa7
lea edx, [ebp - 0x44c]
push edx
mov ecx, 0x4fa8f8
call fcn.0046d030
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x428]
push edx
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.0046a480
push eax
lea eax, [ebp - 0x450]
push eax
mov ebx, str.pncrt.dll
mov byte [ebp - 4], 0x17
call fcn.0045c1d0
add esp, 0x10
lea ecx, [ebp - 0x428]
call fcn.0045a790
lea ecx, [ebp - 0x44c]
call fcn.0045a790
mov ecx, dword [ebp - 0x450]
push ecx
call edi
lea ecx, [ebp - 0x450]
test eax, eax
jne 0x469b0e
call fcn.0045a790
lea ecx, [ebp - 0x448]
call fcn.0045a790
lea ecx, [ebp - 0x444]
call fcn.0045a790
lea ecx, [ebp - 0x43c]
call fcn.0045a790
lea ecx, [ebp - 0x440]
call fcn.0045a790
lea ecx, [ebp - 0x434]
call fcn.0045a790
lea ecx, [ebp - 0x438]
call fcn.0045a790
lea ecx, [ebp - 0x430]
call fcn.0045a790
lea ecx, [ebp - 0x42c]
call fcn.0045a790
lea ecx, [ebp - 0x424]
call fcn.0045a790
xor eax, eax
jmp 0x469b7b
call fcn.0045a790
lea ecx, [ebp - 0x448]
call fcn.0045a790
lea ecx, [ebp - 0x444]
call fcn.0045a790
lea ecx, [ebp - 0x43c]
call fcn.0045a790
lea ecx, [ebp - 0x440]
call fcn.0045a790
lea ecx, [ebp - 0x434]
call fcn.0045a790
lea ecx, [ebp - 0x438]
call fcn.0045a790
lea ecx, [ebp - 0x430]
call fcn.0045a790
lea ecx, [ebp - 0x42c]
call fcn.0045a790
lea ecx, [ebp - 0x424]
call fcn.0045a790
mov eax, 1
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.004cbf11
mov esp, ebp
pop ebp
ret