Function at 0x48dd90
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf962
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4efc64]
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.0049673f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x48ddda
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.0049673f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x48de09
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 + 0x94], ebx
mov ecx, dword [esi + 0x48]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x48de75
cmp dword [edi + 0xc], ebx
lea esi, [edi + 0xc]
jl 0x48de68
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x48de68
push eax
call fcn.00423f4c
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x48de5e
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 0x48de75
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423edb
push 7
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423605
mov byte [ebp - 4], 2
mov eax, dword [eax]
push str.http:__
mov esi, 1
push eax
mov dword [ebp - 0x18], esi
call fcn.004a4fd0
add esp, 8
cmp eax, ebx
sete al
test al, al
jne 0x48deda
push 8
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
call fcn.00423605
mov eax, dword [eax]
push str.https:__
push eax
mov dword [ebp - 0x18], 3
call fcn.004a4fd0
add esp, 8
cmp eax, ebx
sete al
mov byte [ebp - 0xd], 0
test al, al
je 0x48dede
mov byte [ebp - 0xd], 1
test byte [ebp - 0x18], 2
je 0x48df07
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 0x48df07
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 0x48df33
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 0x48df33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x48e033
push 0x14
call fcn.0049602e
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x48df6f
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 0x48df71
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 0x94], 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.00423f4c
lea ecx, [ebp - 0x44]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00462560
mov eax, dword [eax]
add esp, 0xc
push str.update.aspx
push eax
call fcn.004a4fd0
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 0x48dfd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48e081
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x4c]
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.00462050
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.00424476
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 0x48e081
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48e081
push 0x10
call fcn.0049602e
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x48e074
mov dword [esi], vtable.CFsRemoteFile.0
call fcn.0049673f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x48e063
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 0x48e076
xor esi, esi
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x94], esi
mov esi, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x48e0f9
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
call fcn.004235be
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
or dword [ebp - 0x18], 4
cmp ecx, 1
jne 0x48e0c2
test ecx, ecx
jge 0x48e0b9
push 0x80070057
call fcn.00421000
movzx eax, word [eax]
cmp ax, 0x2f
je 0x48e0f5
push 1
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004235be
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
or dword [ebp - 0x18], 8
cmp eax, 1
jne 0x48e0f9
test eax, eax
jge 0x48e0ec
push 0x80070057
call fcn.00421000
movzx eax, word [ecx]
cmp ax, 0x5c
jne 0x48e0f9
mov bl, 1
jmp 0x48e0fb
xor bl, bl
test byte [ebp - 0x18], 8
je 0x48e124
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 0x48e124
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 0x48e150
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 0x48e150
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48e19f
push str..xml
lea ecx, [esi + 0x20]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00423665
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.00424476
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 0x48e19f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x94], 0
je 0x48ee1d
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
je 0x48ee1d
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.00423f4c
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x94]
mov edx, dword [ecx]
mov eax, dword [edx]
add esp, 4
call eax
test eax, eax
jne 0x48e224
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push ebx
push str.CVirtAutoUpdate::CheckForNewVersion:_SetLocation_failed_for__s_
push ecx
call fcn.00462050
add esp, 0xc
call fcn.0048cc50
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 0x48ef83
mov ecx, dword [esi]
push esi
jmp 0x48ef7c
mov ecx, dword [edi + 0x94]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x38]
push eax
call edx
test eax, eax
ja 0x48e27c
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.00462050
add esp, 0xc
call fcn.0048cc50
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 0x48ef83
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x48ef83
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.004628e0
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x38]
push edx
call fcn.004a5375
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.00462050
add esp, 0xc
call fcn.0048cc50
add esp, 4
lea ecx, [ebp - 0x20]
push 0
push ecx
mov ecx, ebx
call fcn.00488d70
add esp, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x20], 0
jne 0x48e346
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.00462050
add esp, 0xc
call fcn.0048cc50
add esp, 4
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 7
call fcn.004897c0
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 0x48e320
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 0x48ef83
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x48ef83
push 0
push str.AutoUpdate
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x20]
call fcn.00489f70
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2c], 0
jne 0x48e3bf
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.00462050
add esp, 0xc
call fcn.0048cc50
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 8
call fcn.004897c0
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 7
call fcn.004897c0
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 0x48e320
mov ecx, dword [eax]
push eax
jmp 0x48e319
push 0
push 0x4df08c
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x2c]
call fcn.00489f70
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x28]
test edi, edi
jne 0x48e446
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.00462050
add esp, 0xc
call fcn.0048cc50
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 4], 9
call fcn.004897c0
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 8
call fcn.004897c0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 7
call fcn.004897c0
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 0x48e320
mov ecx, dword [eax]
push eax
jmp 0x48e319
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e472
mov eax, dword [esi]
push 0x4df12c
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e4ab
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e455
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e5dc
mov eax, dword [esi]
push str.preRemove
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e586
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e485
jmp 0x48e5dc
cmp dword [esi + 4], 0
je 0x48e472
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov edx, dword [ecx + 0x4c]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e4f1
lea esp, [esp]
mov eax, dword [esi]
push 0x4df12c
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e57e
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e4d0
xor esi, esi
mov eax, dword [ebp - 0x34]
push eax
push esi
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e472
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.00462050
add esp, 0xc
call fcn.0048cc50
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 9
call fcn.004897c0
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 8
call fcn.004897c0
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 7
call fcn.004897c0
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 0x48e572
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 0x48ef6a
mov esi, dword [esi + 4]
jmp 0x48e4f3
cmp dword [esi + 4], 0
je 0x48e5dc
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e5c1
jmp 0x48e5a0
mov eax, dword [esi]
push str.preRemove
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e771
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e5a0
xor esi, esi
push str.true
push esi
call fcn.004a4b43
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 0x48e611
jmp 0x48e5f0
mov eax, dword [esi]
push str.version
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e779
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e5f0
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 8
push esi
call fcn.0042346f
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e651
mov edi, edi
mov eax, dword [ebx]
push str.buildUID
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e781
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x48e630
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ebx
call fcn.0042346f
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e691
mov edi, edi
mov eax, dword [ebx]
push str.releaseDate
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e789
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x48e670
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ebx
call fcn.0042346f
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e6d1
mov edi, edi
mov eax, dword [ebx]
push str.hash
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e791
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x48e6b0
xor ebx, ebx
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x14]
push ebx
call fcn.0042346f
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e711
mov edi, edi
mov eax, dword [edi]
push str.updateCondition
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e799
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e6f0
xor edi, edi
push edi
lea ecx, [ebp - 0x24]
call fcn.00423416
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x24]
push str.IfHigher
push edx
call fcn.004a4b43
add esp, 8
test eax, eax
jne 0x48e7a1
push ecx
lea eax, [esi + 0x30]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.00423401
push ecx
mov byte [ebp - 4], 0xc
lea eax, [esi + 8]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.00423401
mov byte [ebp - 4], 0xb
call fcn.00466bb0
xor ecx, ecx
add esp, 8
test eax, eax
setg cl
mov dword [esi], ecx
jmp 0x48e800
mov esi, dword [esi + 4]
jmp 0x48e5c3
mov esi, dword [esi + 4]
jmp 0x48e613
mov ebx, dword [ebx + 4]
jmp 0x48e653
mov ebx, dword [ebx + 4]
jmp 0x48e693
mov ebx, dword [ebx + 4]
jmp 0x48e6d3
mov edi, dword [edi + 4]
jmp 0x48e713
mov edx, dword [ebp - 0x24]
push str.IfDifferent
push edx
call fcn.004a4b43
add esp, 8
test eax, eax
jne 0x48e7cc
mov eax, dword [esi + 0x30]
push eax
lea eax, [esi + 8]
call fcn.00423499
neg eax
sbb eax, eax
neg eax
mov dword [esi], eax
jmp 0x48e800
mov eax, dword [ebp - 0x24]
push str.Force
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
jne 0x48e7e9
mov dword [esi], 1
jmp 0x48e800
mov ecx, dword [ebp - 0x24]
push str.Never
push ecx
call fcn.004a4b43
add esp, 8
test eax, eax
jne 0x48e800
mov dword [esi], eax
push str.Exception
lea eax, [ebp - 0x28]
call fcn.00489f20
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], 0
test eax, eax
jle 0x48ecdc
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x18]
push edx
mov ebx, str.Exception
lea edi, [ebp - 0x28]
call fcn.0048a010
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x48e850
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xb
call fcn.004897c0
jmp 0x48eccc
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x28]
xor ebx, ebx
test esi, esi
jle 0x48e880
lea esp, [esp]
mov eax, dword [edi]
push str.minClientVersion
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e92d
inc ebx
add edi, 8
cmp ebx, esi
jl 0x48e860
xor edi, edi
push edi
lea ecx, [ebp - 0x34]
call fcn.00423416
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 0x48e8c0
mov edi, edi
mov eax, dword [edi]
push str.maxClientVersion
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e935
inc ebx
add edi, 8
cmp ebx, esi
jl 0x48e8a0
xor edi, edi
push edi
lea ecx, [ebp - 0x30]
call fcn.00423416
mov bl, 0xf
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x48e93a
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov esi, esp
push eax
call fcn.00423f4c
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.00423401
mov byte [ebp - 4], bl
call fcn.00466bb0
add esp, 8
test eax, eax
jge 0x48e93a
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 0x48ec8d
mov edi, dword [edi + 4]
jmp 0x48e882
mov edi, dword [edi + 4]
jmp 0x48e8c2
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], 0
je 0x48e97b
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x50], esp
mov esi, esp
push eax
call fcn.00423f4c
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.00423401
mov byte [ebp - 4], bl
call fcn.00466bb0
add esp, 8
test eax, eax
jg 0x48e911
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 0x48e9fb
lea ecx, [ecx]
mov eax, dword [edi]
push str.shouldUpdate
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48e9af
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e990
jmp 0x48e9fb
cmp dword [edi + 4], 0
je 0x48e9fb
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e9e1
mov eax, dword [edi]
push str.shouldUpdate
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48ea2f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e9c4
xor edi, edi
push str.true
push edi
call fcn.004a4b43
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 0x48ea88
mov edi, edi
mov eax, dword [edi]
push str.preRemove
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48ea34
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48ea10
jmp 0x48ea88
mov edi, dword [edi + 4]
jmp 0x48e9e3
cmp dword [edi + 4], 0
je 0x48ea88
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48ea6d
lea esp, [esp]
mov eax, dword [edi]
push str.preRemove
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48eab6
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48ea50
xor edi, edi
push str.true
push edi
call fcn.004a4b43
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 0x48eafb
mov eax, dword [edi]
push str.version
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48eabb
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48ea97
jmp 0x48eafb
mov edi, dword [edi + 4]
jmp 0x48ea6f
cmp dword [edi + 4], 0
je 0x48eafb
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48eaed
mov eax, dword [edi]
push str.version
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48eb2f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48ead0
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 8
call fcn.0042346f
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48eb7b
lea ebx, [ebx]
mov eax, dword [edi]
push str.buildUID
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48eb34
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48eb10
jmp 0x48eb7b
mov edi, dword [edi + 4]
jmp 0x48eaef
cmp dword [edi + 4], 0
je 0x48eb7b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48eb6d
lea esp, [esp]
mov eax, dword [edi]
push str.buildUID
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48ebaf
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48eb50
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0xc
call fcn.0042346f
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48ebfb
lea ebx, [ebx]
mov eax, dword [edi]
push str.releaseDate
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48ebb4
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48eb90
jmp 0x48ebfb
mov edi, dword [edi + 4]
jmp 0x48eb6f
cmp dword [edi + 4], 0
je 0x48ebfb
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48ebed
lea esp, [esp]
mov eax, dword [edi]
push str.releaseDate
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48ec2f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48ebd0
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0x10
call fcn.0042346f
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48ec76
lea ebx, [ebx]
mov eax, dword [edi]
push str.hash
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48ec34
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48ec10
jmp 0x48ec76
mov edi, dword [edi + 4]
jmp 0x48ebef
cmp dword [edi + 4], 0
je 0x48ec76
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
test eax, eax
jle 0x48ec68
mov esi, eax
mov eax, dword [edi]
push str.hash
push eax
call fcn.004a4b43
add esp, 8
test eax, eax
je 0x48ee15
inc ebx
add edi, 8
cmp ebx, esi
jl 0x48ec48
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0x14
call fcn.0042346f
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 0x48ec99
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 0x48ecbc
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.004897c0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
inc eax
cmp eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
jl 0x48e81f
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.00423401
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x48], esp
lea ebx, [esi + 8]
push ebx
call fcn.00423401
mov byte [ebp - 4], 0xb
call fcn.00466bb0
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.00462050
add esp, 0x28
call fcn.0048cc50
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 0x48ed6c
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.004897c0
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 8
call fcn.004897c0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 7
call fcn.004897c0
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 0x48edb6
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 0x48edd6
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 0x48edfc
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 0x48ec6a
push ecx
mov ebx, esp
mov dword [ebp + 8], esp
mov dword [ebp - 0x50], ebx
call fcn.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48ee40
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 0x48ef3a
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov edi, eax
test edi, edi
je 0x48ef54
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 0x48ef54
push esi
push eax
push edi
call fcn.004216c8
mov esi, eax
add esp, 0xc
test esi, esi
je 0x48ef54
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 0x48eec9
push edi
mov ecx, ebx
call fcn.004214f2
movzx eax, word [esi]
mov edx, dword [ebx]
add esi, 2
mov dword [ebp + 8], edx
cmp eax, 0xffffffff
jne 0x48eee3
push esi
call fcn.004a4d8a
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.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x48ef06.1
movzx edx, byte [eax + 0x48efd0]
jmp dword [edx*4 + 0x48efc0]
call fcn.00496ca7
call fcn.00496cdf
test edi, edi
jl 0x48e0af
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x48e0af
mov edx, dword [ebp - 0x4c]
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x48ef54
push str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
call fcn.004a4d8a
add esp, 4
push eax
push str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
mov ecx, ebx
call fcn.00423edb
mov byte [ebp - 4], 1
call fcn.0048cc50
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 0x48ef83
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 0x48efa9
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