Function at 0x48fbd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2a28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x484]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x48fc22
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x48fc3a
call fcn.00401bb0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x48fe1c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, dword [esi + 0x484]
lea ecx, [ebp - 0x1c]
push 0xc
add eax, 0x10
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], eax
push str.settings.cfg
push dword [edx - 0xc]
call fcn.004061b0
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_272]
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48fc97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_310]
mov byte [ebp - 4], 4
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x48fcf8
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc140.dll_Ordinal_973]
push 0
push 0x5001
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
push dword [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_11917]
test eax, eax
je 0x48fcef
push str._settings__defaultstation_3225__defaultstation___settings_
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc140.dll_Ordinal_14592]
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc140.dll_Ordinal_2894]
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc140.dll_Ordinal_1446]
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401750
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x14]
call fcn.004bac40
mov byte [ebp - 4], 7
lea edx, [edi - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48fd3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.defaultstation
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call fcn.004bb2b0
mov byte [ebp - 4], 9
xor edi, edi
mov esi, dword [eax]
test esi, esi
je 0x48fda4
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
push esi
call dword [eax + 0x78]
test eax, eax
jns 0x48fd7e
push 0x50f9f8
push esi
push eax
call fcn.004e2c00
movups xmm0, xmmword [ebp - 0x3c]
xor eax, eax
mov word [ebp - 0x3c], ax
movups xmmword [ebp - 0x4c], xmm0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.004bc1d0
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x4ac], edi
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x48fdbe
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x48fdcf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48fde5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x48fdf3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401f30
int3