Function at 0x4913e0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccb92
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x504c94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x18], ebx
call fcn.0049d1fb
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x491427
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.0049d1fb
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x491456
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 + 0xd0], ebx
mov ecx, dword [esi + 0x54]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x4914c9
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4914ba
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4914ba
push eax
call fcn.00423f84
mov esi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4914af
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 0x4914c7
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423f13
xor ebx, ebx
push 7
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042360e
mov byte [ebp - 4], 2
mov eax, dword [eax]
push str.http:__
mov edi, 1
push eax
mov dword [ebp - 0x18], edi
call fcn.004abb30
add esp, 8
cmp eax, ebx
sete al
test al, al
jne 0x49152e
push 8
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
call fcn.0042360e
mov eax, dword [eax]
push str.https:__
push eax
mov dword [ebp - 0x18], 3
call fcn.004abb30
add esp, 8
cmp eax, ebx
sete al
mov byte [ebp - 0xd], 0
test al, al
je 0x491532
mov byte [ebp - 0xd], 1
test byte [ebp - 0x18], 2
je 0x49155b
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 0x49155b
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 0x491587
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 0x491587
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x4917b3
push 0x14
call fcn.0049caea
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4915c3
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 0x4915c5
xor eax, eax
mov ebx, dword [ebp - 0x14]
push ecx
mov dword [ebp - 0x4c], esp
mov dword [esi + 0xd0], eax
mov esi, esp
push 0x5c
push ecx
add ebx, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov edi, esp
push ebx
call fcn.00423f84
add esp, 4
add eax, 0x10
push esi
mov dword [edi], eax
call fcn.00466f10
lea ecx, [ebp - 0x44]
add esp, 0xc
push ecx
call fcn.00466af0
add esp, 8
mov edi, eax
mov byte [ebp - 4], 3
call fcn.0044d450
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00423f84
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 0x491644
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.aspx
push edi
call fcn.004abb30
add esp, 8
test eax, eax
sete al
test al, al
jne 0x49168d
push 0x4f278c
push edi
call fcn.004abb30
add esp, 8
test eax, eax
sete al
test al, al
jne 0x49168d
push 0x4f2794
push edi
call fcn.004abb30
add esp, 8
test eax, eax
sete al
test al, al
je 0x491791
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
jle 0x4916af
push 0x3f
push edi
call fcn.004ac398
add esp, 8
test eax, eax
je 0x4916af
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4916f4
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 0x4916d8
push esi
lea ecx, [ebp - 0x14]
call fcn.0042151d
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x3f
mov word [edi + ecx*2], dx
test esi, esi
jl 0x4916ea
cmp esi, dword [edi - 8]
jle 0x49172f
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 0x49171d
push esi
lea ecx, [ebp - 0x14]
call fcn.0042151d
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x26
mov word [edi + ecx*2], dx
test esi, esi
jl 0x4916ea
cmp esi, dword [edi - 8]
jg 0x4916ea
mov dword [edi - 0xc], esi
xor eax, eax
mov word [edi + esi*2], ax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
mov edx, dword [eax + 0x58]
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.00466a00
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.00424437
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 0x49178e
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 0x4917fc
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x4917fc
push 0x10
call fcn.0049caea
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4917f4
mov dword [edi], vtable.CFsRemoteFile.0
call fcn.0049d1fb
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4917e3
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 0x4917f6
xor edi, edi
mov dword [esi + 0xd0], edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x491874
push 1
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x14]
call fcn.004235c7
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
or dword [ebp - 0x18], 4
cmp eax, 1
jne 0x49183d
test eax, eax
jge 0x491834
push 0x80070057
call fcn.00421000
movzx eax, word [ecx]
cmp ax, 0x2f
je 0x491870
push 1
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x14]
call fcn.004235c7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
or dword [ebp - 0x18], 8
cmp ecx, 1
jne 0x491874
test ecx, ecx
jge 0x491867
push 0x80070057
call fcn.00421000
movzx eax, word [eax]
cmp ax, 0x5c
jne 0x491874
mov bl, 1
jmp 0x491876
xor bl, bl
test byte [ebp - 0x18], 8
je 0x49189f
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 0x49189f
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 0x4918cb
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 0x4918cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x49191d
mov ecx, dword [ebp + 8]
push str..xml
add ecx, 0x24
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.0042366e
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.00424437
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 0x49191d
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 + 0xd0], 0
mov esi, dword [ebp - 0x14]
je 0x49255d
cmp dword [esi - 0xc], 0
je 0x49255d
push ecx
lea ebx, [esi - 0x10]
mov dword [ebp - 0x4c], esp
mov edi, esp
push ebx
mov dword [ebp - 0x44], ebx
call fcn.00423f84
mov edx, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [edx + 0xd0]
mov eax, dword [ecx]
mov edx, dword [eax]
add esp, 4
call edx
test eax, eax
jne 0x4919aa
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push esi
push str.CVirtAutoUpdate::CheckForNewVersion:_SetLocation_failed_for__s_
push eax
call fcn.00466a00
add esp, 0xc
call fcn.00490950
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 0x4926c3
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x4926c3
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x38]
push eax
call edx
test eax, eax
ja 0x4919d0
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push esi
push str.CVirtAutoUpdate::CheckForNewVersion:_cannot_download_XML_file_from__s_
jmp 0x491973
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.00467170
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x38]
push edx
call fcn.004ac035
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.00466a00
add esp, 0xc
call fcn.00490950
add esp, 4
lea ecx, [ebp - 0x20]
push 0
push ecx
mov ecx, esi
call fcn.00488bb0
add esp, 8
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x20], 0
jne 0x491a7c
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.00466a00
add esp, 0xc
call fcn.00490950
add esp, 4
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 0xa
call fcn.00489600
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 0x491984
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x491984
push 0
push str.AutoUpdate
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x20]
call fcn.00489db0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2c], 0
jne 0x491afc
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.00466a00
add esp, 0xc
call fcn.00490950
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00489600
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0xa
call fcn.00489600
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 0x491984
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x491984
push 0
push 0x4f2a7c
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x2c]
call fcn.00489db0
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x28]
test edi, edi
jne 0x491b8a
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.00466a00
add esp, 0xc
call fcn.00490950
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 0xc
call fcn.00489600
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0xb
call fcn.00489600
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xa
call fcn.00489600
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 0x491984
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x491984
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x491bbd
lea esp, [esp]
mov eax, dword [ebx]
push 0x4f2b1c
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x491bf6
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x491ba0
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x491d1c
mov eax, dword [esi]
push str.preRemove
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x491cca
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x491bd0
jmp 0x491d1c
cmp dword [ebx + 4], 0
je 0x491bbd
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov edx, dword [ecx + 0x58]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x491c35
mov eax, dword [ebx]
push 0x4f2b1c
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x491cc2
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x491c14
xor ebx, ebx
mov eax, dword [ebp - 0x34]
push eax
push ebx
call fcn.004ab635
add esp, 8
test eax, eax
je 0x491bbd
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.00466a00
add esp, 0xc
call fcn.00490950
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xc
call fcn.00489600
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00489600
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0xa
call fcn.00489600
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 0x491cb6
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 0x4926aa
mov ebx, dword [ebx + 4]
jmp 0x491c37
cmp dword [esi + 4], 0
je 0x491d1c
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x491d01
nop
mov eax, dword [esi]
push str.preRemove
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x491eb1
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x491ce0
xor esi, esi
push str.true
push esi
call fcn.004ab635
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 0x491d51
jmp 0x491d30
mov eax, dword [esi]
push str.version
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x491eb9
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x491d30
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 8
push esi
call fcn.00423478
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x491d91
mov edi, edi
mov eax, dword [ebx]
push str.buildUID
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x491ec1
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x491d70
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ebx
call fcn.00423478
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x491dd1
mov edi, edi
mov eax, dword [ebx]
push str.releaseDate
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x491ec9
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x491db0
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ebx
call fcn.00423478
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x491e11
mov edi, edi
mov eax, dword [ebx]
push str.hash
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x491ed1
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x491df0
xor ebx, ebx
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x14]
push ebx
call fcn.00423478
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x491e51
mov edi, edi
mov eax, dword [edi]
push str.updateCondition
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x491ed9
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x491e30
xor edi, edi
push edi
lea ecx, [ebp - 0x24]
call fcn.0042341f
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x24]
push str.IfHigher
push edx
call fcn.004ab635
add esp, 8
test eax, eax
jne 0x491ee1
push ecx
lea eax, [esi + 0x34]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.0042340a
push ecx
mov byte [ebp - 4], 0xf
lea eax, [esi + 8]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.0042340a
mov byte [ebp - 4], 0xe
call fcn.0046b4c0
xor ecx, ecx
add esp, 8
test eax, eax
setg cl
mov dword [esi], ecx
jmp 0x491f40
mov esi, dword [esi + 4]
jmp 0x491d03
mov esi, dword [esi + 4]
jmp 0x491d53
mov ebx, dword [ebx + 4]
jmp 0x491d93
mov ebx, dword [ebx + 4]
jmp 0x491dd3
mov ebx, dword [ebx + 4]
jmp 0x491e13
mov edi, dword [edi + 4]
jmp 0x491e53
mov edx, dword [ebp - 0x24]
push str.IfDifferent
push edx
call fcn.004ab635
add esp, 8
test eax, eax
jne 0x491f0c
mov eax, dword [esi + 0x34]
push eax
lea eax, [esi + 8]
call fcn.004234a2
neg eax
sbb eax, eax
neg eax
mov dword [esi], eax
jmp 0x491f40
mov eax, dword [ebp - 0x24]
push str.Force
push eax
call fcn.004ab635
add esp, 8
test eax, eax
jne 0x491f29
mov dword [esi], 1
jmp 0x491f40
mov ecx, dword [ebp - 0x24]
push str.Never
push ecx
call fcn.004ab635
add esp, 8
test eax, eax
jne 0x491f40
mov dword [esi], eax
push str.Exception
lea eax, [ebp - 0x28]
call fcn.00489d60
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], 0
test eax, eax
jle 0x49241c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x18]
push edx
mov ebx, str.Exception
lea edi, [ebp - 0x28]
call fcn.00489e50
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x491f90
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xe
call fcn.00489600
jmp 0x49240c
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x28]
xor ebx, ebx
test esi, esi
jle 0x491fc0
lea esp, [esp]
mov eax, dword [edi]
push str.minClientVersion
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x49206d
inc ebx
add edi, 8
cmp ebx, esi
jl 0x491fa0
xor edi, edi
push edi
lea ecx, [ebp - 0x34]
call fcn.0042341f
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 0x492000
mov edi, edi
mov eax, dword [edi]
push str.maxClientVersion
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x492075
inc ebx
add edi, 8
cmp ebx, esi
jl 0x491fe0
xor edi, edi
push edi
lea ecx, [ebp - 0x30]
call fcn.0042341f
mov bl, 0x12
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x49207a
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov esi, esp
push eax
call fcn.00423f84
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.0042340a
mov byte [ebp - 4], bl
call fcn.0046b4c0
add esp, 8
test eax, eax
jge 0x49207a
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 0x4923cd
mov edi, dword [edi + 4]
jmp 0x491fc2
mov edi, dword [edi + 4]
jmp 0x492002
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], 0
je 0x4920bb
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x50], esp
mov esi, esp
push eax
call fcn.00423f84
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.0042340a
mov byte [ebp - 4], bl
call fcn.0046b4c0
add esp, 8
test eax, eax
jg 0x492051
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 0x49213b
lea ecx, [ecx]
mov eax, dword [edi]
push str.shouldUpdate
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x4920ef
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x4920d0
jmp 0x49213b
cmp dword [edi + 4], 0
je 0x49213b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x492121
mov eax, dword [edi]
push str.shouldUpdate
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x49216f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x492104
xor edi, edi
push str.true
push edi
call fcn.004ab635
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 0x4921c8
mov edi, edi
mov eax, dword [edi]
push str.preRemove
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x492174
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x492150
jmp 0x4921c8
mov edi, dword [edi + 4]
jmp 0x492123
cmp dword [edi + 4], 0
je 0x4921c8
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x4921ad
lea esp, [esp]
mov eax, dword [edi]
push str.preRemove
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x4921f6
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x492190
xor edi, edi
push str.true
push edi
call fcn.004ab635
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 0x49223b
mov eax, dword [edi]
push str.version
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x4921fb
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x4921d7
jmp 0x49223b
mov edi, dword [edi + 4]
jmp 0x4921af
cmp dword [edi + 4], 0
je 0x49223b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x49222d
mov eax, dword [edi]
push str.version
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x49226f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x492210
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 8
call fcn.00423478
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x4922bb
lea ebx, [ebx]
mov eax, dword [edi]
push str.buildUID
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x492274
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x492250
jmp 0x4922bb
mov edi, dword [edi + 4]
jmp 0x49222f
cmp dword [edi + 4], 0
je 0x4922bb
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x4922ad
lea esp, [esp]
mov eax, dword [edi]
push str.buildUID
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x4922ef
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x492290
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0xc
call fcn.00423478
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x49233b
lea ebx, [ebx]
mov eax, dword [edi]
push str.releaseDate
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x4922f4
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x4922d0
jmp 0x49233b
mov edi, dword [edi + 4]
jmp 0x4922af
cmp dword [edi + 4], 0
je 0x49233b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x49232d
lea esp, [esp]
mov eax, dword [edi]
push str.releaseDate
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x49236f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x492310
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0x10
call fcn.00423478
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x4923b6
lea ebx, [ebx]
mov eax, dword [edi]
push str.hash
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x492374
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x492350
jmp 0x4923b6
mov edi, dword [edi + 4]
jmp 0x49232f
cmp dword [edi + 4], 0
je 0x4923b6
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
test eax, eax
jle 0x4923a8
mov esi, eax
mov eax, dword [edi]
push str.hash
push eax
call fcn.004ab635
add esp, 8
test eax, eax
je 0x492555
inc ebx
add edi, 8
cmp ebx, esi
jl 0x492388
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0x14
call fcn.00423478
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 0x4923d9
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 0x4923fc
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.00489600
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
inc eax
cmp eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
jl 0x491f5f
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.0042340a
push ecx
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x48], esp
lea ebx, [esi + 8]
push ebx
call fcn.0042340a
mov byte [ebp - 4], 0xe
call fcn.0046b4c0
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.00466a00
add esp, 0x28
call fcn.00490950
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 0x4924ac
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.00489600
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0xb
call fcn.00489600
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xa
call fcn.00489600
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 0x4924f6
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 0x492516
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 0x49253c
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 0x4923aa
push ecx
mov esi, esp
mov dword [ebp + 8], esp
mov dword [ebp - 0x50], esi
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x492580
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 0x49267a
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x492694
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 0x492694
push edi
push eax
push ebx
call fcn.004216fe
mov edi, eax
add esp, 0xc
test edi, edi
je 0x492694
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 0x492609
push ebx
mov ecx, esi
call fcn.0042151d
movzx eax, word [edi]
mov edx, dword [esi]
add edi, 2
mov dword [ebp + 8], edx
cmp eax, 0xffffffff
jne 0x492623
push edi
call fcn.004ab8ea
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.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x492646.1
movzx edx, byte [eax + 0x492710]
jmp dword [edx*4 + 0x492700]
call fcn.0049d763
call fcn.0049d79b
test ebx, ebx
jl 0x4916ea
mov eax, dword [esi]
cmp ebx, dword [eax - 8]
jg 0x4916ea
mov edx, dword [ebp - 0x4c]
mov dword [eax - 0xc], ebx
mov eax, dword [esi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x492694
push str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
call fcn.004ab8ea
add esp, 4
push eax
push str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
mov ecx, esi
call fcn.00423f13
mov byte [ebp - 4], 1
call fcn.00490950
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 0x4926c3
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 0x4926e9
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