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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50670b
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x54c2c0]
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 0x48b2cb
lea ecx, [ebp - 0x428]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00459410
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x424]
push eax
mov ebx, str.RealCodecs
mov dword [ebp - 4], 0
call fcn.0045c4b0
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x48b2d2
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48b2a9
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 - 0x428]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x48b2cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x48b848
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x444]
push edx
mov ebx, 0x5194e0
call fcn.0045c4b0
push eax
lea eax, [ebp - 0x430]
push eax
mov ebx, str.atrc.dll
mov byte [ebp - 4], 2
call fcn.0045c4b0
add esp, 0x10
mov ebx, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x444]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b32f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x42c]
push ecx
mov ecx, 0x51966c
call fcn.00459410
lea edx, [ebp - 0x42c]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x430]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x448], esp
mov esi, esp
call fcn.0045c680
add eax, 0x10
mov dword [esi], eax
call fcn.0048bec0
test eax, eax
jne 0x48b3d7
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b394
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b3b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x48b29d
mov esi, dword [ebp - 0x42c]
mov ecx, str.10.0.0.3083
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48b408
test dx, dx
je 0x48b404
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48b408
add eax, ebx
add ecx, ebx
test dx, dx
jne 0x48b3e4
xor eax, eax
jmp 0x48b40c
sbb eax, eax
sbb eax, edi
test eax, eax
jns 0x48b475
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b42e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b3b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x48b29d
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x444]
push edx
mov ebx, 0x5194e0
call fcn.0045c4b0
push eax
lea eax, [ebp - 0x438]
push eax
mov ebx, str.cook.dll
mov byte [ebp - 4], 6
call fcn.0045c4b0
add esp, 0x10
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x444]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b4cb
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, 0x51966c
call fcn.00459410
lea edx, [ebp - 0x434]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x438]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x448], esp
mov esi, esp
call fcn.0045c680
add eax, 0x10
mov dword [esi], eax
call fcn.0048bec0
test eax, eax
je 0x48b77c
mov eax, dword [ebp - 0x434]
mov ecx, str.10.0.0.2389
jmp 0x48b520
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48b546
test dx, dx
je 0x48b542
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48b546
add eax, 4
add ecx, 4
test dx, dx
jne 0x48b520
xor eax, eax
jmp 0x48b54a
sbb eax, eax
sbb eax, edi
test eax, eax
js 0x48b77c
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x444]
push ecx
mov ebx, 0x5194e0
call fcn.0045c4b0
push eax
lea edx, [ebp - 0x440]
push edx
mov ebx, str.drvc.dll
mov byte [ebp - 4], 0xa
call fcn.0045c4b0
add esp, 0x10
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0xc
call fcn.00458f20
lea eax, [ebp - 0x43c]
push eax
mov ecx, 0x51966c
call fcn.00459410
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x440]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x448], esp
mov esi, esp
call fcn.0045c680
add eax, 0x10
mov dword [esi], eax
call fcn.0048bec0
test eax, eax
je 0x48b766
mov eax, dword [ebp - 0x43c]
mov ecx, str.10.0.0.1740
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48b608
test dx, dx
je 0x48b604
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48b608
add eax, 4
add ecx, 4
test dx, dx
jne 0x48b5e2
xor eax, eax
jmp 0x48b60c
sbb eax, eax
sbb eax, edi
test eax, eax
js 0x48b766
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0x444]
push eax
mov ebx, 0x5194e0
call fcn.0045c4b0
push eax
lea ecx, [ebp - 0x44c]
push ecx
mov ebx, str.dnet3260.dll
mov byte [ebp - 4], 0xe
call fcn.0045c4b0
add esp, 0x10
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x10
call fcn.00458f20
mov edx, dword [ebp - 0x44c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
call esi
test eax, eax
je 0x48b75b
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x448]
push ecx
mov ebx, 0x5194e0
call fcn.0045c4b0
push eax
lea edx, [ebp - 0x450]
push edx
mov ebx, str.raac.dll
mov byte [ebp - 4], 0x11
call fcn.0045c4b0
add esp, 0x10
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 0x13
call fcn.00458f20
mov eax, dword [ebp - 0x450]
push eax
call esi
test eax, eax
je 0x48b750
push 1
push 0x25
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48b750
lea edx, [ebp - 0x454]
push edx
lea ecx, [ebp - 0x420]
call fcn.00459410
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x448]
push ecx
mov ebx, 0x5194e0
mov byte [ebp - 4], 0x14
call fcn.0045c4b0
push eax
lea edx, [ebp - 0x458]
push edx
mov ebx, str.pncrt.dll
mov byte [ebp - 4], 0x15
call fcn.0045c4b0
add esp, 0x10
lea ecx, [ebp - 0x448]
call fcn.00458f20
mov eax, dword [ebp - 0x458]
push eax
call esi
lea ecx, [ebp - 0x458]
test eax, eax
jne 0x48b7c5
call fcn.00458f20
lea ecx, [ebp - 0x454]
call fcn.00458f20
lea ecx, [ebp - 0x450]
call fcn.00458f20
lea ecx, [ebp - 0x44c]
call fcn.00458f20
lea ecx, [ebp - 0x43c]
call fcn.00458f20
lea ecx, [ebp - 0x440]
call fcn.00458f20
lea ecx, [ebp - 0x434]
call fcn.00458f20
lea ecx, [ebp - 0x438]
call fcn.00458f20
lea ecx, [ebp - 0x42c]
call fcn.00458f20
lea ecx, [ebp - 0x430]
call fcn.00458f20
lea ecx, [ebp - 0x424]
call fcn.00458f20
lea ecx, [ebp - 0x428]
call fcn.00458f20
xor eax, eax
jmp 0x48b848
call fcn.00458f20
lea ecx, [ebp - 0x454]
call fcn.00458f20
lea ecx, [ebp - 0x450]
call fcn.00458f20
lea ecx, [ebp - 0x44c]
call fcn.00458f20
lea ecx, [ebp - 0x43c]
call fcn.00458f20
lea ecx, [ebp - 0x440]
call fcn.00458f20
lea ecx, [ebp - 0x434]
call fcn.00458f20
lea ecx, [ebp - 0x438]
call fcn.00458f20
lea ecx, [ebp - 0x42c]
call fcn.00458f20
lea ecx, [ebp - 0x430]
call fcn.00458f20
lea ecx, [ebp - 0x424]
call fcn.00458f20
lea ecx, [ebp - 0x428]
call fcn.00458f20
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.004e0a00
mov esp, ebp
pop ebp
ret