Function at 0x48b030
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8698
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x48b074
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0x50f938
push dword [0x53e880]
push reloc.WS2_32.dll_accept
call fcn.004b9fe0
add esp, 0x10
or ebx, 0xffffffff
test eax, eax
je 0x48b0b8
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jge 0x48b253
lea eax, [ebp - 0x10]
push eax
push 0x50f938
push dword [0x53e880]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004b9fe0
add esp, 0x10
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x48b0e5
cmp dword [eax - 0xc], 0
jge 0x48b253
mov ecx, dword [eax - 8]
mov esi, 1
mov edx, esi
sub ecx, 0x104
sub edx, dword [eax - 4]
or ecx, edx
jge 0x48b10c
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0043b5a0
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push eax
push 0
push 0
push 0x2a
push 0
call edi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push dword [ecx - 8]
push ecx
call fcn.004d9e5f
mov edx, eax
add esp, 8
test edx, edx
js 0x48b1d3
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x48b1d3
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
cmp dword [ebp - 0x14], ecx
jge 0x48b1b7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
sub esi, dword [eax - 4]
sub ecx, 0x104
or ecx, esi
jge 0x48b179
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0043b5a0
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
push 0x26
push 0
call edi
mov ecx, dword [ebp - 0x10]
mov esi, eax
push dword [ecx - 8]
push ecx
call fcn.004d9e5f
mov edx, eax
add esp, 8
test edx, edx
js 0x48b1d3
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx - 8]
jg 0x48b1d3
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2], cx
test esi, esi
js 0x48b24c
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0044b6c0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x48b1e7
test ecx, ecx
jns 0x48b1dd
push 0x80070057
call fcn.0043a9b0
cmp word [eax], 0x5c
jne 0x48b1e7
xor bl, bl
jmp 0x48b1e9
mov bl, 1
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48b206
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x48b219
push 1
push 0x509c8c
lea ecx, [ebp - 0x10]
call fcn.00452320
mov edx, dword [str.Internet_Exploreriexplore.exe]
test edx, edx
jne 0x48b227
xor ecx, ecx
jmp 0x48b23f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b230
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00452320
or ebx, 0xffffffff
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jle 0x48b26a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x48b26a
mov esi, 1
jmp 0x48b26c
xor esi, esi
lea edi, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x48b28a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret