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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee1e1
mov eax, dword fs:[0]
push eax
sub esp, 0x240
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 0x469022
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov ecx, str._rplsp_rplCodecs
mov dword [ebp - 4], 0
test ecx, 0xffff0000
jne 0x468f94
mov edx, ecx
movzx edi, dx
call fcn.0045a7d0
test eax, eax
je 0x468fa4
push eax
mov eax, edi
lea edi, [ebp - 0x220]
call fcn.0045a980
jmp 0x468fa4
mov ebx, str._rplsp_rplCodecs
lea eax, [ebp - 0x220]
call fcn.0046cfb0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 1
call fcn.0046a480
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x468fef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x469029
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x469022
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x469539
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x220]
push edx
mov ebx, 0x4f8eb8
call fcn.0045c1d0
push eax
lea eax, [ebp - 0x224]
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 - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469080
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x228]
push ecx
mov ecx, 0x4f5b64
call fcn.0045ab70
lea edx, [ebp - 0x228]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x224]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x23c], esp
mov esi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [esi], eax
call fcn.0046a210
test eax, eax
jne 0x469137
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4690e5
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 - 0x224]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46910a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x469022
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x469539
mov esi, dword [ebp - 0x228]
mov ecx, str.10.0.0.3083
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46916a
test dx, dx
je 0x469166
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46916a
add eax, 4
add ecx, 4
test dx, dx
jne 0x469144
xor eax, eax
jmp 0x46916e
sbb eax, eax
sbb eax, edi
test eax, eax
jns 0x46917d
mov byte [ebp - 4], bl
lea eax, [esi - 0x10]
jmp 0x4690cd
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x220]
push edx
mov ebx, 0x4f8eb8
call fcn.0045c1d0
push eax
lea eax, [ebp - 0x230]
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 - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4691d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, 0x4f5b64
call fcn.0045ab70
lea edx, [ebp - 0x22c]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x230]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x23c], esp
mov esi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [esi], eax
call fcn.0046a210
test eax, eax
je 0x469491
mov eax, dword [ebp - 0x22c]
mov ecx, str.10.0.0.2389
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x469249
test dx, dx
je 0x469245
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x469249
add eax, 4
add ecx, 4
test dx, dx
jne 0x469223
xor eax, eax
jmp 0x46924d
sbb eax, eax
sbb eax, edi
test eax, eax
js 0x469491
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov ebx, 0x4f8eb8
call fcn.0045c1d0
push eax
lea edx, [ebp - 0x238]
push edx
mov ebx, str.drvc.dll
mov byte [ebp - 4], 0xc
call fcn.0045c1d0
add esp, 0x10
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0xe
call fcn.0045a790
lea eax, [ebp - 0x234]
push eax
mov ecx, 0x4f5b64
call fcn.0045ab70
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x238]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x23c], esp
mov esi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [esi], eax
call fcn.0046a210
test eax, eax
je 0x46947b
mov eax, dword [ebp - 0x234]
mov ecx, str.10.0.0.1740
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46930b
test dx, dx
je 0x469307
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46930b
add eax, 4
add ecx, 4
test dx, dx
jne 0x4692e5
xor eax, eax
jmp 0x46930f
sbb eax, eax
sbb eax, edi
test eax, eax
js 0x46947b
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x220]
push eax
mov ebx, 0x4f8eb8
call fcn.0045c1d0
push eax
lea ecx, [ebp - 0x240]
push ecx
mov ebx, str.dnet3260.dll
mov byte [ebp - 4], 0x10
call fcn.0045c1d0
add esp, 0x10
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x12
call fcn.0045a790
mov edx, dword [ebp - 0x240]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
call esi
test eax, eax
je 0x469470
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x24c]
push ecx
mov ebx, 0x4f8eb8
call fcn.0045c1d0
push eax
lea edx, [ebp - 0x244]
push edx
mov ebx, str.raac.dll
mov byte [ebp - 4], 0x13
call fcn.0045c1d0
add esp, 0x10
mov bl, 0x15
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], bl
call fcn.0045a790
mov eax, dword [ebp - 0x244]
push eax
call esi
test eax, eax
je 0x469465
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, str._rplsp
call fcn.0046d030
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x220]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.0046a480
add esp, 8
lea edi, [ebp - 0x21c]
mov byte [ebp - 4], 0x17
call fcn.0045c2b0
lea ecx, [ebp - 0x220]
call fcn.0045a790
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], bl
call fcn.0045a790
mov edx, edi
push edx
lea eax, [ebp - 0x23c]
push eax
mov ebx, 0x4f8eb8
call fcn.0045c1d0
push eax
lea ecx, [ebp - 0x248]
push ecx
mov ebx, str.pncrt.dll
mov byte [ebp - 4], 0x18
call fcn.0045c1d0
add esp, 0x10
lea ecx, [ebp - 0x23c]
call fcn.0045a790
mov edx, dword [ebp - 0x248]
push edx
call esi
lea ecx, [ebp - 0x248]
test eax, eax
jne 0x4694cc
call fcn.0045a790
lea ecx, [ebp - 0x244]
call fcn.0045a790
lea ecx, [ebp - 0x240]
call fcn.0045a790
lea ecx, [ebp - 0x234]
call fcn.0045a790
lea ecx, [ebp - 0x238]
call fcn.0045a790
lea ecx, [ebp - 0x22c]
call fcn.0045a790
lea ecx, [ebp - 0x230]
call fcn.0045a790
lea ecx, [ebp - 0x228]
call fcn.0045a790
lea ecx, [ebp - 0x224]
call fcn.0045a790
lea ecx, [ebp - 0x21c]
call fcn.0045a790
xor eax, eax
jmp 0x469539
call fcn.0045a790
lea ecx, [ebp - 0x244]
call fcn.0045a790
lea ecx, [ebp - 0x240]
call fcn.0045a790
lea ecx, [ebp - 0x234]
call fcn.0045a790
lea ecx, [ebp - 0x238]
call fcn.0045a790
lea ecx, [ebp - 0x22c]
call fcn.0045a790
lea ecx, [ebp - 0x230]
call fcn.0045a790
lea ecx, [ebp - 0x228]
call fcn.0045a790
lea ecx, [ebp - 0x224]
call fcn.0045a790
lea ecx, [ebp - 0x21c]
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