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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f8f6f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2f14
call fcn.004d91c0
mov eax, dword [0x5470b0]
xor eax, esp
mov dword [esp + 0x2f10], eax
push ebx
push esi
push edi
mov eax, dword [0x5470b0]
xor eax, esp
push eax
lea eax, [esp + 0x2f28]
mov dword fs:[0], eax
push 0x188
mov ebx, ecx
call fcn.004c2ac2
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x2f30], 0
test eax, eax
je 0x4b1603
push eax
mov edi, ebx
call fcn.004af780
mov edi, eax
jmp 0x4b1605
xor edi, edi
mov dword [esp + 0x2f30], 0xffffffff
mov eax, dword [ebx + 0x48]
cmp dword [eax - 0xc], 0
je 0x4b188e
push edi
call fcn.004af920
test eax, eax
je 0x4b187f
lea esi, [esp + 0x1c]
call fcn.004aee20
mov ecx, dword [edi + 8]
push ecx
lea edx, [esp + 0x14]
push str.AutoUpdate._s
push edx
call fcn.00475230
mov eax, dword [eax]
mov dword [esp + 0x874], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1673
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5065d0
lea ecx, [esp + 0x664]
push 0x104
push ecx
mov dword [esp + 0x878], 1
call fcn.004d6226
or dword [esp + 0x3c], 2
add esp, 8
xor esi, esi
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
call fcn.004247f5
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00486660
add esp, 8
push eax
mov ecx, 0x54d7e8
mov dword [esp + 0x2f34], 1
call fcn.00424f20
mov dword [esp + 0x2f30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b16fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x86c]
mov edx, dword [esp + 0x868]
push ecx
push edx
call fcn.004bc3e0
add esp, 8
push ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], esp
test al, 7
je 0x4b173d
mov eax, esp
push ecx
push str.DoVirtAutoUpdate:_Do_not_show_me_again_checkbox_set_for_version__s
push eax
call fcn.00475230
add esp, 0xc
call fcn.004aeee0
add esp, 4
jmp 0x4b18b8
mov eax, dword [ebx + 0x20]
mov edx, esp
push eax
push ecx
push str.DoVirtAutoUpdate:_Success._ServerVer.Version_s__MyVer_s
push edx
call fcn.00475230
add esp, 0x10
call fcn.004aeee0
add esp, 4
cmp dword [edi], 0
je 0x4b18ab
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebx + 0x18]
sub eax, 0x10
push eax
call fcn.00425486
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x2f30], 2
cmp dword [esi - 0xc], 0
jne 0x4b17b5
lea eax, [ebx + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00424f20
mov esi, dword [esp + 0x10]
mov ecx, dword [ebx + 0x20]
mov edx, dword [edi + 8]
push ecx
push edx
lea eax, [esp + 0x1c]
push str.New_version_available:__s__current:__s_._nWould_you_like_to_download_it_now_
push eax
call fcn.00475230
mov byte [esp + 0x2f40], 3
mov eax, dword [eax]
push eax
lea ebx, [esp + 0x30]
mov ecx, esi
call fcn.004b9680
add esp, 0x14
cmp eax, 6
mov byte [esp + 0x2f30], 2
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b1813
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4b1856
push 0
push 0
push edi
push 0x431f4d
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.004b1080
test eax, eax
je 0x4b1846
mov ecx, edi
call fcn.004b13d0
jmp 0x4b1856
push 0
push esi
push str.Failed_downloading_new_version
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
add esi, 0xfffffff0
mov dword [esp + 0x2f30], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b18ab
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x4b18ab
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push str.DoVirtAutoUpdate:_failed_
push eax
jmp 0x4b189b
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.DoVirtAutoUpdate:_nothing_to_update__no_AutoUpdate_path_defined_
push ecx
call fcn.00475230
add esp, 8
call fcn.004aeee0
add esp, 4
mov edx, dword [0x54d180]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x2f28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f10]
xor ecx, esp
call fcn.004d14fc
mov esp, ebp
pop ebp
ret