Function at 0x494140
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf7c2
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x50ac94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x18], ebx
call fcn.0049ff8a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x494187
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], ebx
call fcn.0049ff8a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4941b6
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [esi + 0xdc], ebx
mov ecx, dword [esi + 0x5c]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x494229
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x49421a
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x49421a
push eax
call fcn.00424240
mov esi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x49420f
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 8]
jmp 0x494227
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.004241cf
xor ebx, ebx
push 7
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004237ae
mov byte [ebp - 4], 2
mov eax, dword [eax]
push str.http:__
mov edi, 1
push eax
mov dword [ebp - 0x18], edi
call fcn.004ae8c0
add esp, 8
cmp eax, ebx
sete al
test al, al
jne 0x49428e
push 8
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
call fcn.004237ae
mov eax, dword [eax]
push str.https:__
push eax
mov dword [ebp - 0x18], 3
call fcn.004ae8c0
add esp, 8
cmp eax, ebx
sete al
mov byte [ebp - 0xd], 0
test al, al
je 0x494292
mov byte [ebp - 0xd], 1
test byte [ebp - 0x18], 2
je 0x4942bb
mov eax, dword [ebp - 0x44]
and dword [ebp - 0x18], 0xfffffffd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4942bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
test byte [ebp - 0x18], 1
je 0x4942e7
mov eax, dword [ebp - 0x40]
and dword [ebp - 0x18], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4942e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x494513
push 0x14
call fcn.0049f87a
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x494323
push ebx
push ebx
push ebx
push ebx
push str.CHttpRemoteFile
mov dword [edi], vtable.CHttpRemoteFile.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0xc], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, edi
jmp 0x494325
xor eax, eax
mov ebx, dword [ebp - 0x14]
push ecx
mov dword [ebp - 0x4c], esp
mov dword [esi + 0xdc], eax
mov esi, esp
push 0x5c
push ecx
add ebx, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov edi, esp
push ebx
call fcn.00424240
add esp, 4
add eax, 0x10
push esi
mov dword [edi], eax
call fcn.00468c10
lea ecx, [ebp - 0x44]
add esp, 0xc
push ecx
call fcn.004687f0
add esp, 8
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00450400
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00424240
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4943a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.aspx
push edi
call fcn.004ae8c0
add esp, 8
test eax, eax
sete al
test al, al
jne 0x4943ed
push 0x4f82cc
push edi
call fcn.004ae8c0
add esp, 8
test eax, eax
sete al
test al, al
jne 0x4943ed
push 0x4f82d4
push edi
call fcn.004ae8c0
add esp, 8
test eax, eax
sete al
test al, al
je 0x4944f1
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
jle 0x49440f
push 0x3f
push edi
call fcn.004af128
add esp, 8
test eax, eax
je 0x49440f
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x494454
mov ecx, dword [edi - 0xc]
mov eax, 1
sub eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
lea esi, [ecx + 1]
sub ebx, esi
or ebx, eax
mov dword [ebp - 0x3c], ecx
jge 0x494438
push esi
lea ecx, [ebp - 0x14]
call fcn.004214f5
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x3f
mov word [edi + ecx*2], dx
test esi, esi
jl 0x49444a
cmp esi, dword [edi - 8]
jle 0x49448f
push 0x80070057
call fcn.00421000
mov ecx, dword [edi - 0xc]
mov eax, 1
sub eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
lea esi, [ecx + 1]
sub ebx, esi
or ebx, eax
mov dword [ebp - 0x3c], ecx
jge 0x49447d
push esi
lea ecx, [ebp - 0x14]
call fcn.004214f5
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x26
mov word [edi + ecx*2], dx
test esi, esi
jl 0x49444a
cmp esi, dword [edi - 8]
jg 0x49444a
mov dword [edi - 0xc], esi
xor eax, eax
mov word [edi + esi*2], ax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x34]
push ecx
push edx
push eax
lea ecx, [ebp - 0x3c]
push str.version_spkgId_sbuildUID_s
push ecx
call fcn.00468700
add esp, 0x14
mov byte [ebp - 4], 6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0042494b
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4944ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x40]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49455c
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x49455c
push 0x10
call fcn.0049f87a
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x494554
mov dword [edi], vtable.CFsRemoteFile.0
call fcn.0049ff8a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x494543
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0xc], eax
jmp 0x494556
xor edi, edi
mov dword [esi + 0xdc], edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4945d4
push 1
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x14]
call fcn.00423767
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
or dword [ebp - 0x18], 4
cmp eax, 1
jne 0x49459d
test eax, eax
jge 0x494594
push 0x80070057
call fcn.00421000
movzx eax, word [ecx]
cmp ax, 0x2f
je 0x4945d0
push 1
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x14]
call fcn.00423767
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
or dword [ebp - 0x18], 8
cmp ecx, 1
jne 0x4945d4
test ecx, ecx
jge 0x4945c7
push 0x80070057
call fcn.00421000
movzx eax, word [eax]
cmp ax, 0x5c
jne 0x4945d4
mov bl, 1
jmp 0x4945d6
xor bl, bl
test byte [ebp - 0x18], 8
je 0x4945ff
mov eax, dword [ebp - 0x44]
and dword [ebp - 0x18], 0xfffffff7
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4945ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 1
test byte [ebp - 0x18], 4
je 0x49462b
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49462b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x49467d
mov ecx, dword [ebp + 8]
push str..xml
add ecx, 0x24
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.0042380e
add esp, 0xc
mov byte [ebp - 4], 8
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0042494b
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49467d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xdc], 0
mov esi, dword [ebp - 0x14]
je 0x4952bd
cmp dword [esi - 0xc], 0
je 0x4952bd
push ecx
lea ebx, [esi - 0x10]
mov dword [ebp - 0x4c], esp
mov edi, esp
push ebx
mov dword [ebp - 0x44], ebx
call fcn.00424240
mov edx, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [edx + 0xdc]
mov eax, dword [ecx]
mov edx, dword [eax]
add esp, 4
call edx
test eax, eax
jne 0x49470a
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push esi
push str.CVirtAutoUpdate::CheckForNewVersion:_SetLocation_failed_for__s_
push eax
call fcn.00468700
add esp, 0xc
call fcn.004936b0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x495423
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x495423
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xdc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x38]
push eax
call edx
test eax, eax
ja 0x494730
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push esi
push str.CVirtAutoUpdate::CheckForNewVersion:_cannot_download_XML_file_from__s_
jmp 0x4946d3
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.00468e70
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x38]
push edx
call fcn.004aedc5
mov esi, dword [ebp - 0x40]
add esp, 8
mov eax, esp
mov dword [ebp - 0x4c], esp
push esi
push str.CVirtAutoUpdate::CheckForNewVersion:_XmlData_s
push eax
call fcn.00468700
add esp, 0xc
call fcn.004936b0
add esp, 4
lea ecx, [ebp - 0x20]
push 0
push ecx
mov ecx, esi
call fcn.0048b880
add esp, 8
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x20], 0
jne 0x4947dc
mov eax, dword [ebp - 0x14]
push ecx
mov edx, esp
mov dword [ebp + 8], esp
push eax
push str.CVirtAutoUpdate::CheckForNewVersion:_cannot_download_XML_file_from__s_
push edx
call fcn.00468700
add esp, 0xc
call fcn.004936b0
add esp, 4
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 0xa
call fcn.0048c2d0
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4946e4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x4946e4
push 0
push str.AutoUpdate
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x20]
call fcn.0048ca80
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2c], 0
jne 0x49485c
mov eax, dword [ebp - 0x14]
push ecx
mov edx, esp
mov dword [ebp + 8], esp
push eax
push str.CVirtAutoUpdate::CheckForNewVersion:_no_AutoUpdate_info_returned_from_server:__s
push edx
call fcn.00468700
add esp, 0xc
call fcn.004936b0
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.0048c2d0
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0xa
call fcn.0048c2d0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4946e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4946e4
push 0
push 0x4f85bc
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x2c]
call fcn.0048ca80
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x28]
test edi, edi
jne 0x4948ea
mov eax, dword [ebp - 0x14]
push ecx
mov edx, esp
mov dword [ebp + 8], esp
push eax
push str.CVirtAutoUpdate::CheckForNewVersion:_no_Pkg_info_returned_from_server:__s
push edx
call fcn.00468700
add esp, 0xc
call fcn.004936b0
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 0xc
call fcn.0048c2d0
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0xb
call fcn.0048c2d0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xa
call fcn.0048c2d0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4946e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4946e4
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x49491d
lea esp, [esp]
mov eax, dword [ebx]
push 0x4f865c
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494956
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x494900
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x494a7c
mov eax, dword [esi]
push str.preRemove
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494a2a
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x494930
jmp 0x494a7c
cmp dword [ebx + 4], 0
je 0x49491d
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov edx, dword [ecx + 0x60]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x494995
mov eax, dword [ebx]
push 0x4f865c
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494a22
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x494974
xor ebx, ebx
mov eax, dword [ebp - 0x34]
push eax
push ebx
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x49491d
mov edx, dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push edx
push str.CVirtAutoUpdate::CheckForNewVersion:_PkgId_info_mismatch_returned_from_server:__s
push ecx
call fcn.00468700
add esp, 0xc
call fcn.004936b0
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xc
call fcn.0048c2d0
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.0048c2d0
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0xa
call fcn.0048c2d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494a16
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 - 0x44]
jmp 0x49540a
mov ebx, dword [ebx + 4]
jmp 0x494997
cmp dword [esi + 4], 0
je 0x494a7c
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x494a61
nop
mov eax, dword [esi]
push str.preRemove
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494c11
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x494a40
xor esi, esi
push str.true
push esi
call fcn.004ae3c3
mov ecx, dword [ebp + 8]
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x494ab1
jmp 0x494a90
mov eax, dword [esi]
push str.version
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494c19
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x494a90
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 8
push esi
call fcn.00423618
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x494af1
mov edi, edi
mov eax, dword [ebx]
push str.buildUID
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494c21
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x494ad0
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ebx
call fcn.00423618
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x494b31
mov edi, edi
mov eax, dword [ebx]
push str.releaseDate
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494c29
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x494b10
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ebx
call fcn.00423618
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x494b71
mov edi, edi
mov eax, dword [ebx]
push str.hash
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494c31
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x494b50
xor ebx, ebx
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x14]
push ebx
call fcn.00423618
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x494bb1
mov edi, edi
mov eax, dword [edi]
push str.updateCondition
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494c39
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x494b90
xor edi, edi
push edi
lea ecx, [ebp - 0x24]
call fcn.004235bf
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x24]
push str.IfHigher
push edx
call fcn.004ae3c3
add esp, 8
test eax, eax
jne 0x494c41
push ecx
lea eax, [esi + 0x34]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.004235aa
push ecx
mov byte [ebp - 4], 0xf
lea eax, [esi + 8]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.004235aa
mov byte [ebp - 4], 0xe
call fcn.0046d470
xor ecx, ecx
add esp, 8
test eax, eax
setg cl
mov dword [esi], ecx
jmp 0x494ca0
mov esi, dword [esi + 4]
jmp 0x494a63
mov esi, dword [esi + 4]
jmp 0x494ab3
mov ebx, dword [ebx + 4]
jmp 0x494af3
mov ebx, dword [ebx + 4]
jmp 0x494b33
mov ebx, dword [ebx + 4]
jmp 0x494b73
mov edi, dword [edi + 4]
jmp 0x494bb3
mov edx, dword [ebp - 0x24]
push str.IfDifferent
push edx
call fcn.004ae3c3
add esp, 8
test eax, eax
jne 0x494c6c
mov eax, dword [esi + 0x34]
push eax
lea eax, [esi + 8]
call fcn.00423642
neg eax
sbb eax, eax
neg eax
mov dword [esi], eax
jmp 0x494ca0
mov eax, dword [ebp - 0x24]
push str.Force
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
jne 0x494c89
mov dword [esi], 1
jmp 0x494ca0
mov ecx, dword [ebp - 0x24]
push str.Never
push ecx
call fcn.004ae3c3
add esp, 8
test eax, eax
jne 0x494ca0
mov dword [esi], eax
push str.Exception
lea eax, [ebp - 0x28]
call fcn.0048ca30
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], 0
test eax, eax
jle 0x49517c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x18]
push edx
mov ebx, str.Exception
lea edi, [ebp - 0x28]
call fcn.0048cb20
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x494cf0
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xe
call fcn.0048c2d0
jmp 0x49516c
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x28]
xor ebx, ebx
test esi, esi
jle 0x494d20
lea esp, [esp]
mov eax, dword [edi]
push str.minClientVersion
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494dcd
inc ebx
add edi, 8
cmp ebx, esi
jl 0x494d00
xor edi, edi
push edi
lea ecx, [ebp - 0x34]
call fcn.004235bf
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x28]
xor ebx, ebx
test esi, esi
jle 0x494d60
mov edi, edi
mov eax, dword [edi]
push str.maxClientVersion
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494dd5
inc ebx
add edi, 8
cmp ebx, esi
jl 0x494d40
xor edi, edi
push edi
lea ecx, [ebp - 0x30]
call fcn.004235bf
mov bl, 0x12
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x494dda
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x34]
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x50], esp
push edx
call fcn.004235aa
mov byte [ebp - 4], bl
call fcn.0046d470
add esp, 8
test eax, eax
jge 0x494dda
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x49512d
mov edi, dword [edi + 4]
jmp 0x494d22
mov edi, dword [edi + 4]
jmp 0x494d62
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], 0
je 0x494e1b
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x50], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [esi], eax
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 0x14
add edx, 0x34
mov ecx, esp
mov dword [ebp - 0x48], esp
push edx
call fcn.004235aa
mov byte [ebp - 4], bl
call fcn.0046d470
add esp, 8
test eax, eax
jg 0x494db1
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x494e9b
lea ecx, [ecx]
mov eax, dword [edi]
push str.shouldUpdate
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494e4f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x494e30
jmp 0x494e9b
cmp dword [edi + 4], 0
je 0x494e9b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x494e81
mov eax, dword [edi]
push str.shouldUpdate
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494ecf
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x494e64
xor edi, edi
push str.true
push edi
call fcn.004ae3c3
mov edx, dword [ebp + 8]
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [edx], eax
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x494f28
mov edi, edi
mov eax, dword [edi]
push str.preRemove
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494ed4
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x494eb0
jmp 0x494f28
mov edi, dword [edi + 4]
jmp 0x494e83
cmp dword [edi + 4], 0
je 0x494f28
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x494f0d
lea esp, [esp]
mov eax, dword [edi]
push str.preRemove
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494f56
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x494ef0
xor edi, edi
push str.true
push edi
call fcn.004ae3c3
mov ecx, dword [ebp + 8]
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x494f9b
mov eax, dword [edi]
push str.version
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494f5b
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x494f37
jmp 0x494f9b
mov edi, dword [edi + 4]
jmp 0x494f0f
cmp dword [edi + 4], 0
je 0x494f9b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x494f8d
mov eax, dword [edi]
push str.version
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494fcf
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x494f70
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 8
call fcn.00423618
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x49501b
lea ebx, [ebx]
mov eax, dword [edi]
push str.buildUID
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x494fd4
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x494fb0
jmp 0x49501b
mov edi, dword [edi + 4]
jmp 0x494f8f
cmp dword [edi + 4], 0
je 0x49501b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x49500d
lea esp, [esp]
mov eax, dword [edi]
push str.buildUID
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x49504f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x494ff0
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0xc
call fcn.00423618
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x49509b
lea ebx, [ebx]
mov eax, dword [edi]
push str.releaseDate
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x495054
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x495030
jmp 0x49509b
mov edi, dword [edi + 4]
jmp 0x49500f
cmp dword [edi + 4], 0
je 0x49509b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x49508d
lea esp, [esp]
mov eax, dword [edi]
push str.releaseDate
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x4950cf
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x495070
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0x10
call fcn.00423618
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x495116
lea ebx, [ebx]
mov eax, dword [edi]
push str.hash
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x4950d4
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x4950b0
jmp 0x495116
mov edi, dword [edi + 4]
jmp 0x49508f
cmp dword [edi + 4], 0
je 0x495116
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
test eax, eax
jle 0x495108
mov esi, eax
mov eax, dword [edi]
push str.hash
push eax
call fcn.004ae3c3
add esp, 8
test eax, eax
je 0x4952b5
inc ebx
add edi, 8
cmp ebx, esi
jl 0x4950e8
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0x14
call fcn.00423618
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x495139
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49515c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 0xe
call fcn.0048c2d0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
inc eax
cmp eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
jl 0x494cbf
mov edx, dword [esi + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
mov eax, esp
mov dword [ebp - 0x50], esp
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
push edx
push ecx
push ecx
lea edi, [esi + 0x34]
mov ecx, esp
mov dword [ebp - 0x50], esp
push edi
mov dword [ebp - 0x4c], eax
call fcn.004235aa
push ecx
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x48], esp
lea ebx, [esi + 8]
push ebx
call fcn.004235aa
mov byte [ebp - 4], 0xe
call fcn.0046d470
mov edx, dword [edi]
mov ecx, dword [ebp + 8]
add esp, 8
push eax
mov eax, dword [ebx]
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x4c]
push edx
push str.CVirtAutoUpdate::CheckForNewVersion:_ServerVer:_ShouldUpdate_d___ServerVer_s__MyVer_s__Comp_d___UpdateCondition_s__ReleaseDate_s__BuildUID_s__Hash_s
push eax
call fcn.00468700
add esp, 0x28
call fcn.004936b0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49520c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 0xc
call fcn.0048c2d0
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0xb
call fcn.0048c2d0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xa
call fcn.0048c2d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x495256
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 - 0x44]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x495276
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49529c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [edi + 4]
jmp 0x49510a
push ecx
mov esi, esp
mov dword [ebp + 8], esp
mov dword [ebp - 0x50], esi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4952e0
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
mov byte [ebp - 4], 9
test ecx, 0xffff0000
jne 0x4953da
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x4953f4
mov eax, edi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4953f4
push edi
push eax
push ebx
call fcn.004216d6
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4953f4
mov eax, dword [esi]
movzx ebx, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ebx
or eax, ecx
jge 0x495369
push ebx
mov ecx, esi
call fcn.004214f5
movzx eax, word [edi]
mov edx, dword [esi]
add edi, 2
mov dword [ebp + 8], edx
cmp eax, 0xffffffff
jne 0x495383
push edi
call fcn.004ae67a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [ebx + ebx]
push edi
push ecx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x4953a6.1
movzx edx, byte [eax + 0x495470]
jmp dword [edx*4 + 0x495460]
call fcn.004a04f2
call fcn.004a052a
test ebx, ebx
jl 0x49444a
mov eax, dword [esi]
cmp ebx, dword [eax - 8]
jg 0x49444a
mov edx, dword [ebp - 0x4c]
mov dword [eax - 0xc], ebx
mov eax, dword [esi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x4953f4
push str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
call fcn.004ae67a
add esp, 4
push eax
push str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
mov ecx, esi
call fcn.004241cf
mov byte [ebp - 4], 1
call fcn.004936b0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add esp, 4
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x495423
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x495449
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4