Function at 0x48f7c0
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bfcdf
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2f1c
call fcn.004a9ab0
mov eax, dword [0x4eec64]
xor eax, esp
mov dword [esp + 0x2f18], eax
push ebx
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0x2f30]
mov dword fs:[0], eax
push 0xa4
mov ebx, ecx
call fcn.0049561e
add esp, 4
mov dword [esp + 0x1c], eax
xor esi, esi
mov dword [esp + 0x2f38], esi
cmp eax, esi
je 0x48f835
push eax
mov ecx, ebx
call fcn.0048ca70
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x48f83b
mov dword [esp + 0x18], esi
mov edi, esi
mov dword [esp + 0x2f38], 0xffffffff
mov eax, dword [ebx + 0x38]
cmp dword [eax - 0xc], esi
je 0x48fb74
push edi
call fcn.0048d380
test eax, eax
je 0x48fb65
lea esi, [esp + 0x24]
call fcn.0048c0c0
mov ecx, dword [edi + 8]
push ecx
lea edx, [esp + 0x18]
push str.AutoUpdate._s
push edx
call fcn.00461920
mov eax, dword [eax]
mov dword [esp + 0x87c], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48f8a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4ca5b0
lea ecx, [esp + 0x66c]
push 0x104
mov esi, 1
push ecx
mov dword [esp + 0x880], esi
call fcn.004a765f
or dword [esp + 0x44], 2
add esp, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4cc11c
call fcn.0042342e
lea edi, [esp + 0x14]
call fcn.0047bb90
add esp, 4
mov dword [esp + 0x2f38], esi
mov ecx, dword [eax]
mov esi, dword [0x4f3cbc]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48f958
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x48f949
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48f949
push eax
call fcn.00423f83
mov dword [esp + 0x18], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48f93a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [0x4f3cbc], ecx
jmp 0x48f958
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, 0x4f3cbc
call fcn.00423f12
mov dword [esp + 0x2f38], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48f983
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x874]
mov edx, dword [esp + 0x870]
push ecx
push edx
call fcn.00495120
add esp, 8
push ecx
test al, 7
mov dword [esp + 0x14], esp
mov eax, esp
je 0x48f9c9
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
push edx
push str.DoVirtAutoUpdate:_Do_not_show_me_again_checkbox_set_for_version__s
push eax
call fcn.00461920
add esp, 0xc
call fcn.0048c180
add esp, 4
jmp 0x48fb9d
mov ecx, dword [ebx + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 8]
push ecx
push edx
push str.DoVirtAutoUpdate:_Success._ServerVer.Version_s__MyVer_s
push eax
call fcn.00461920
add esp, 0x10
call fcn.0048c180
add esp, 4
cmp dword [esi], 0
je 0x48fb91
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebx + 0x10]
sub eax, 0x10
push eax
call fcn.00423f83
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x2f38], 2
cmp dword [esi - 0xc], 0
jne 0x48fa93
mov ecx, dword [ebx + 8]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x48fa93
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x48fa81
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x48fa81
push eax
call fcn.00423f83
mov dword [esp + 0x14], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x48fa74
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov esi, dword [esp + 0x10]
add esi, 0x10
mov dword [esp + 0x14], esi
jmp 0x48fa93
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00423f12
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x18]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
push ecx
push eax
lea ecx, [esp + 0x24]
push str.New_version_available:__s__current:__s_._nWould_you_like_to_download_it_now_
push ecx
call fcn.00461920
mov byte [esp + 0x2f48], 3
mov eax, dword [eax]
push eax
lea ebx, [esp + 0x38]
mov ecx, esi
call fcn.004923c0
add esp, 0x14
cmp eax, 6
mov byte [esp + 0x2f38], 2
mov eax, dword [esp + 0x1c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48faf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48fb3c
mov edi, dword [esp + 0x18]
push 0
push 0
push edi
push 0x48f4c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.0048ee30
test eax, eax
je 0x48fb2c
mov ecx, edi
call fcn.0048f1d0
jmp 0x48fb3c
push 0
push esi
push str.Failed_downloading_new_version
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
mov dword [esp + 0x2f38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48fb91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48fb91
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.DoVirtAutoUpdate:_failed_
push ecx
jmp 0x48fb81
push ecx
mov edx, esp
mov dword [esp + 0x14], esp
push str.DoVirtAutoUpdate:_nothing_to_update__no_AutoUpdate_path_defined_
push edx
call fcn.00461920
add esp, 8
call fcn.0048c180
add esp, 4
mov eax, dword [0x4f386c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x2f30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f18]
xor ecx, esp
call fcn.004a3a81
mov esp, ebp
pop ebp
ret