Function at 0x48d380
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4becd2
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
call fcn.00495d32
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x48d3ca
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.00495d32
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x48d3f9
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 byte [ebp - 4], 1
mov dword [esi + 0x9c], ebx
mov ecx, dword [esi + 0x50]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x48d465
cmp dword [edi + 0xc], ebx
lea esi, [edi + 0xc]
jl 0x48d458
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x48d458
push eax
call fcn.00423f83
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x48d44e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp - 0x14], ebx
xor ebx, ebx
jmp 0x48d465
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423f12
push 7
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042361d
mov byte [ebp - 4], 2
mov eax, dword [eax]
push str.http:__
mov esi, 1
push eax
mov dword [ebp - 0x18], esi
call fcn.004a45c0
add esp, 8
cmp eax, ebx
sete al
test al, al
jne 0x48d4ca
push 8
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
call fcn.0042361d
mov eax, dword [eax]
push str.https:__
push eax
mov dword [ebp - 0x18], 3
call fcn.004a45c0
add esp, 8
cmp eax, ebx
sete al
mov byte [ebp - 0xd], 0
test al, al
je 0x48d4ce
mov byte [ebp - 0xd], 1
test byte [ebp - 0x18], 2
je 0x48d4f7
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 0x48d4f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
test byte [ebp - 0x18], 1
je 0x48d523
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 0x48d523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x48d623
push 0x14
call fcn.0049561e
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x48d55f
push ebx
push ebx
push ebx
push ebx
push str.CHttpRemoteFile
mov dword [esi], vtable.CHttpRemoteFile.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0xc], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, esi
jmp 0x48d561
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 0x9c], eax
mov eax, dword [ebp - 0x14]
push 0x2f
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov edi, esp
push eax
call fcn.00423f83
lea ecx, [ebp - 0x44]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00461e30
mov eax, dword [eax]
add esp, 0xc
push str.update.aspx
push eax
call fcn.004a45c0
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x44]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48d5c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48d671
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x30]
push ecx
push edx
push eax
lea ecx, [ebp - 0x44]
push str._version_spkgId_sbuildUID_s
push ecx
call fcn.00461920
add esp, 0x14
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00424495
mov byte [ebp - 4], 1
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 0x48d671
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48d671
push 0x10
call fcn.0049561e
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x48d664
mov dword [esi], vtable.CFsRemoteFile.0
call fcn.00495d32
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x48d653
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 + 0xc], eax
jmp 0x48d666
xor esi, esi
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x9c], esi
mov esi, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x48d6e9
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
call fcn.004235d6
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
or dword [ebp - 0x18], 4
cmp ecx, 1
jne 0x48d6b2
test ecx, ecx
jge 0x48d6a9
push 0x80070057
call fcn.00421000
movzx eax, word [eax]
cmp ax, 0x2f
je 0x48d6e5
push 1
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004235d6
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
or dword [ebp - 0x18], 8
cmp eax, 1
jne 0x48d6e9
test eax, eax
jge 0x48d6dc
push 0x80070057
call fcn.00421000
movzx eax, word [ecx]
cmp ax, 0x5c
jne 0x48d6e9
mov bl, 1
jmp 0x48d6eb
xor bl, bl
test byte [ebp - 0x18], 8
je 0x48d714
mov eax, dword [ebp - 0x44]
and dword [ebp - 0x18], 0xfffffff7
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48d714
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 0x48d740
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 0x48d740
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48d78f
push str..xml
lea ecx, [esi + 0x20]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.0042367d
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00424495
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 0x48d78f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x9c], 0
je 0x48e40d
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
je 0x48e40d
push ecx
mov ebx, ecx
lea esi, [ebx - 0x10]
mov dword [ebp - 0x4c], esp
mov edi, esp
push esi
mov dword [ebp - 0x44], esi
call fcn.00423f83
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x9c]
mov edx, dword [ecx]
mov eax, dword [edx]
add esp, 4
call eax
test eax, eax
jne 0x48d814
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push ebx
push str.CVirtAutoUpdate::CheckForNewVersion:_SetLocation_failed_for__s_
push ecx
call fcn.00461920
add esp, 0xc
call fcn.0048c180
add esp, 4
mov byte [ebp - 4], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x48e573
mov ecx, dword [esi]
push esi
jmp 0x48e56c
mov ecx, dword [edi + 0x9c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x38]
push eax
call edx
test eax, eax
ja 0x48d86c
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push ebx
push str.CVirtAutoUpdate::CheckForNewVersion:_cannot_download_XML_file_from__s_
push eax
call fcn.00461920
add esp, 0xc
call fcn.0048c180
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48e573
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x48e573
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00462120
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x38]
push edx
call fcn.004a4965
mov ebx, dword [ebp - 0x40]
mov eax, esp
mov dword [ebp - 0x4c], esp
push ebx
push str.CVirtAutoUpdate::CheckForNewVersion:_XmlData_s
push eax
call fcn.00461920
add esp, 0xc
call fcn.0048c180
add esp, 4
lea ecx, [ebp - 0x20]
push 0
push ecx
mov ecx, ebx
call fcn.00488670
add esp, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x20], 0
jne 0x48d936
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.00461920
add esp, 0xc
call fcn.0048c180
add esp, 4
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 7
call fcn.004890c0
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x48d910
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48e573
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x48e573
push 0
push str.AutoUpdate
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x20]
call fcn.00489870
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2c], 0
jne 0x48d9af
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.00461920
add esp, 0xc
call fcn.0048c180
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 8
call fcn.004890c0
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 7
call fcn.004890c0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d910
mov ecx, dword [eax]
push eax
jmp 0x48d909
push 0
push 0x4de34c
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x2c]
call fcn.00489870
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x28]
test edi, edi
jne 0x48da36
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.00461920
add esp, 0xc
call fcn.0048c180
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 9
call fcn.004890c0
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 8
call fcn.004890c0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 7
call fcn.004890c0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d910
mov ecx, dword [eax]
push eax
jmp 0x48d909
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48da62
mov eax, dword [esi]
push 0x4de3ec
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48da9b
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48da45
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48dbcc
mov eax, dword [esi]
push str.preRemove
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48db76
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48da75
jmp 0x48dbcc
cmp dword [esi + 4], 0
je 0x48da62
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov edx, dword [ecx + 0x54]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48dae1
lea esp, [esp]
mov eax, dword [esi]
push 0x4de3ec
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48db6e
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48dac0
xor esi, esi
mov eax, dword [ebp - 0x34]
push eax
push esi
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48da62
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.00461920
add esp, 0xc
call fcn.0048c180
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 9
call fcn.004890c0
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 8
call fcn.004890c0
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 7
call fcn.004890c0
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 0x48db62
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 0x48e55a
mov esi, dword [esi + 4]
jmp 0x48dae3
cmp dword [esi + 4], 0
je 0x48dbcc
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48dbb1
jmp 0x48db90
mov eax, dword [esi]
push str.preRemove
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48dd61
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48db90
xor esi, esi
push str.true
push esi
call fcn.004a4133
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 0x48dc01
jmp 0x48dbe0
mov eax, dword [esi]
push str.version
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48dd69
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48dbe0
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 8
push esi
call fcn.00423487
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48dc41
mov edi, edi
mov eax, dword [ebx]
push str.buildUID
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48dd71
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x48dc20
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ebx
call fcn.00423487
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48dc81
mov edi, edi
mov eax, dword [ebx]
push str.releaseDate
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48dd79
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x48dc60
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ebx
call fcn.00423487
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48dcc1
mov edi, edi
mov eax, dword [ebx]
push str.hash
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48dd81
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x48dca0
xor ebx, ebx
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x14]
push ebx
call fcn.00423487
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48dd01
mov edi, edi
mov eax, dword [edi]
push str.updateCondition
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48dd89
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48dce0
xor edi, edi
push edi
lea ecx, [ebp - 0x24]
call fcn.0042342e
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x24]
push str.IfHigher
push edx
call fcn.004a4133
add esp, 8
test eax, eax
jne 0x48dd91
push ecx
lea eax, [esi + 0x30]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.00423419
push ecx
mov byte [ebp - 4], 0xc
lea eax, [esi + 8]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.00423419
mov byte [ebp - 4], 0xb
call fcn.004663f0
xor ecx, ecx
add esp, 8
test eax, eax
setg cl
mov dword [esi], ecx
jmp 0x48ddf0
mov esi, dword [esi + 4]
jmp 0x48dbb3
mov esi, dword [esi + 4]
jmp 0x48dc03
mov ebx, dword [ebx + 4]
jmp 0x48dc43
mov ebx, dword [ebx + 4]
jmp 0x48dc83
mov ebx, dword [ebx + 4]
jmp 0x48dcc3
mov edi, dword [edi + 4]
jmp 0x48dd03
mov edx, dword [ebp - 0x24]
push str.IfDifferent
push edx
call fcn.004a4133
add esp, 8
test eax, eax
jne 0x48ddbc
mov eax, dword [esi + 0x30]
push eax
lea eax, [esi + 8]
call fcn.004234b1
neg eax
sbb eax, eax
neg eax
mov dword [esi], eax
jmp 0x48ddf0
mov eax, dword [ebp - 0x24]
push str.Force
push eax
call fcn.004a4133
add esp, 8
test eax, eax
jne 0x48ddd9
mov dword [esi], 1
jmp 0x48ddf0
mov ecx, dword [ebp - 0x24]
push str.Never
push ecx
call fcn.004a4133
add esp, 8
test eax, eax
jne 0x48ddf0
mov dword [esi], eax
push str.Exception
lea eax, [ebp - 0x28]
call fcn.00489820
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], 0
test eax, eax
jle 0x48e2cc
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x18]
push edx
mov ebx, str.Exception
lea edi, [ebp - 0x28]
call fcn.00489910
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x48de40
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xb
call fcn.004890c0
jmp 0x48e2bc
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x28]
xor ebx, ebx
test esi, esi
jle 0x48de70
lea esp, [esp]
mov eax, dword [edi]
push str.minClientVersion
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48df1d
inc ebx
add edi, 8
cmp ebx, esi
jl 0x48de50
xor edi, edi
push edi
lea ecx, [ebp - 0x34]
call fcn.0042342e
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x18]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x28]
xor ebx, ebx
test esi, esi
jle 0x48deb0
mov edi, edi
mov eax, dword [edi]
push str.maxClientVersion
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48df25
inc ebx
add edi, 8
cmp ebx, esi
jl 0x48de90
xor edi, edi
push edi
lea ecx, [ebp - 0x30]
call fcn.0042342e
mov bl, 0xf
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x48df2a
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov esi, esp
push eax
call fcn.00423f83
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x30]
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x50], esp
push edx
call fcn.00423419
mov byte [ebp - 4], bl
call fcn.004663f0
add esp, 8
test eax, eax
jge 0x48df2a
mov byte [ebp - 4], 0xe
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 0x48e27d
mov edi, dword [edi + 4]
jmp 0x48de72
mov edi, dword [edi + 4]
jmp 0x48deb2
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], 0
je 0x48df6b
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x50], esp
mov esi, esp
push eax
call fcn.00423f83
add eax, 0x10
mov dword [esi], eax
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 0x11
add edx, 0x30
mov ecx, esp
mov dword [ebp - 0x48], esp
push edx
call fcn.00423419
mov byte [ebp - 4], bl
call fcn.004663f0
add esp, 8
test eax, eax
jg 0x48df01
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 0x48dfeb
lea ecx, [ecx]
mov eax, dword [edi]
push str.shouldUpdate
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48df9f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48df80
jmp 0x48dfeb
cmp dword [edi + 4], 0
je 0x48dfeb
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48dfd1
mov eax, dword [edi]
push str.shouldUpdate
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48e01f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48dfb4
xor edi, edi
push str.true
push edi
call fcn.004a4133
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 0x48e078
mov edi, edi
mov eax, dword [edi]
push str.preRemove
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48e024
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e000
jmp 0x48e078
mov edi, dword [edi + 4]
jmp 0x48dfd3
cmp dword [edi + 4], 0
je 0x48e078
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e05d
lea esp, [esp]
mov eax, dword [edi]
push str.preRemove
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48e0a6
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e040
xor edi, edi
push str.true
push edi
call fcn.004a4133
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 0x48e0eb
mov eax, dword [edi]
push str.version
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48e0ab
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e087
jmp 0x48e0eb
mov edi, dword [edi + 4]
jmp 0x48e05f
cmp dword [edi + 4], 0
je 0x48e0eb
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e0dd
mov eax, dword [edi]
push str.version
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48e11f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e0c0
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 8
call fcn.00423487
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e16b
lea ebx, [ebx]
mov eax, dword [edi]
push str.buildUID
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48e124
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e100
jmp 0x48e16b
mov edi, dword [edi + 4]
jmp 0x48e0df
cmp dword [edi + 4], 0
je 0x48e16b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e15d
lea esp, [esp]
mov eax, dword [edi]
push str.buildUID
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48e19f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e140
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0xc
call fcn.00423487
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e1eb
lea ebx, [ebx]
mov eax, dword [edi]
push str.releaseDate
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48e1a4
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e180
jmp 0x48e1eb
mov edi, dword [edi + 4]
jmp 0x48e15f
cmp dword [edi + 4], 0
je 0x48e1eb
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e1dd
lea esp, [esp]
mov eax, dword [edi]
push str.releaseDate
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48e21f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e1c0
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0x10
call fcn.00423487
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e266
lea ebx, [ebx]
mov eax, dword [edi]
push str.hash
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48e224
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e200
jmp 0x48e266
mov edi, dword [edi + 4]
jmp 0x48e1df
cmp dword [edi + 4], 0
je 0x48e266
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
test eax, eax
jle 0x48e258
mov esi, eax
mov eax, dword [edi]
push str.hash
push eax
call fcn.004a4133
add esp, 8
test eax, eax
je 0x48e405
inc ebx
add edi, 8
cmp ebx, esi
jl 0x48e238
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0x14
call fcn.00423487
mov byte [ebp - 4], 0xe
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 0x48e289
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
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 0x48e2ac
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], 0xb
call fcn.004890c0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
inc eax
cmp eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
jl 0x48de0f
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 + 0x30]
mov ecx, esp
mov dword [ebp - 0x50], esp
push edi
mov dword [ebp - 0x4c], eax
call fcn.00423419
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x48], esp
lea ebx, [esi + 8]
push ebx
call fcn.00423419
mov byte [ebp - 4], 0xb
call fcn.004663f0
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.00461920
add esp, 0x28
call fcn.0048c180
mov byte [ebp - 4], 0xa
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 0x48e35c
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], 9
call fcn.004890c0
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 8
call fcn.004890c0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 7
call fcn.004890c0
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 0x48e3a6
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 0x48e3c6
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 0x48e3ec
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 0x48e25a
push ecx
mov ebx, esp
mov dword [ebp + 8], esp
mov dword [ebp - 0x50], ebx
call fcn.00495d32
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48e430
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x48e52a
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049dc65
mov edi, eax
test edi, edi
je 0x48e544
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48e544
push esi
push eax
push edi
call fcn.004216e0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x48e544
mov eax, dword [ebx]
movzx edi, word [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or eax, ecx
jge 0x48e4b9
push edi
mov ecx, ebx
call fcn.004214ff
movzx eax, word [esi]
mov edx, dword [ebx]
add esi, 2
mov dword [ebp + 8], edx
cmp eax, 0xffffffff
jne 0x48e4d3
push esi
call fcn.004a437a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [edi + edi]
push esi
push ecx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a3e70
add esp, 0x10
cmp eax, 0x50
ja case.0x48e4f6.1
movzx edx, byte [eax + 0x48e5c0]
jmp dword [edx*4 + 0x48e5b0]
call fcn.0049629a
call fcn.004962d2
test edi, edi
jl 0x48d69f
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x48d69f
mov edx, dword [ebp - 0x4c]
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x48e544
push str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
call fcn.004a437a
add esp, 4
push eax
push str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
mov ecx, ebx
call fcn.00423f12
mov byte [ebp - 4], 1
call fcn.0048c180
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 0x48e573
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
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 0x48e599
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