Function at 0x48db20
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf672
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.004964ca
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x48db6a
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.004964ca
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x48db99
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 0x48dc05
cmp dword [edi + 0xc], ebx
lea esi, [edi + 0xc]
jl 0x48dbf8
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x48dbf8
push eax
call fcn.00423fab
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x48dbee
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 0x48dc05
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423f3a
push 7
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00423645
mov byte [ebp - 4], 2
mov eax, dword [eax]
push str.http:__
mov esi, 1
push eax
mov dword [ebp - 0x18], esi
call fcn.004a4d60
add esp, 8
cmp eax, ebx
sete al
test al, al
jne 0x48dc6a
push 8
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
call fcn.00423645
mov eax, dword [eax]
push str.https:__
push eax
mov dword [ebp - 0x18], 3
call fcn.004a4d60
add esp, 8
cmp eax, ebx
sete al
mov byte [ebp - 0xd], 0
test al, al
je 0x48dc6e
mov byte [ebp - 0xd], 1
test byte [ebp - 0x18], 2
je 0x48dc97
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 0x48dc97
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 0x48dcc3
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 0x48dcc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x48ddc3
push 0x14
call fcn.00495dbe
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x48dcff
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 0x48dd01
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.00423fab
lea ecx, [ebp - 0x44]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.004626a0
mov eax, dword [eax]
add esp, 0xc
push str.update.aspx
push eax
call fcn.004a4d60
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 0x48dd66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48de11
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.00462190
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.0042449d
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 0x48de11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48de11
push 0x10
call fcn.00495dbe
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x48de04
mov dword [esi], vtable.CFsRemoteFile.0
call fcn.004964ca
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x48ddf3
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 0x48de06
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 0x48de89
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
call fcn.004235fe
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
or dword [ebp - 0x18], 4
cmp ecx, 1
jne 0x48de52
test ecx, ecx
jge 0x48de49
push 0x80070057
call fcn.00421000
movzx eax, word [eax]
cmp ax, 0x2f
je 0x48de85
push 1
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004235fe
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
or dword [ebp - 0x18], 8
cmp eax, 1
jne 0x48de89
test eax, eax
jge 0x48de7c
push 0x80070057
call fcn.00421000
movzx eax, word [ecx]
cmp ax, 0x5c
jne 0x48de89
mov bl, 1
jmp 0x48de8b
xor bl, bl
test byte [ebp - 0x18], 8
je 0x48deb4
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 0x48deb4
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 0x48dee0
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 0x48dee0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48df2f
push str..xml
lea ecx, [esi + 0x20]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.004236a5
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.0042449d
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 0x48df2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x94], 0
je 0x48ebad
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
je 0x48ebad
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.00423fab
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 0x48dfb4
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push ebx
push str.CVirtAutoUpdate::CheckForNewVersion:_SetLocation_failed_for__s_
push ecx
call fcn.00462190
add esp, 0xc
call fcn.0048c9e0
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 0x48ed13
mov ecx, dword [esi]
push esi
jmp 0x48ed0c
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 0x48e00c
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.00462190
add esp, 0xc
call fcn.0048c9e0
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 0x48ed13
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x48ed13
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00462990
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x38]
push edx
call fcn.004a5105
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.00462190
add esp, 0xc
call fcn.0048c9e0
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 0x48e0d6
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.00462190
add esp, 0xc
call fcn.0048c9e0
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 0x48e0b0
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 0x48ed13
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x48ed13
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 0x48e14f
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.00462190
add esp, 0xc
call fcn.0048c9e0
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 0x48e0b0
mov ecx, dword [eax]
push eax
jmp 0x48e0a9
push 0
push 0x4de08c
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 0x48e1d6
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.00462190
add esp, 0xc
call fcn.0048c9e0
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 0x48e0b0
mov ecx, dword [eax]
push eax
jmp 0x48e0a9
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e202
mov eax, dword [esi]
push 0x4de12c
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e23b
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e1e5
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e36c
mov eax, dword [esi]
push str.preRemove
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e316
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e215
jmp 0x48e36c
cmp dword [esi + 4], 0
je 0x48e202
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 0x48e281
lea esp, [esp]
mov eax, dword [esi]
push 0x4de12c
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e30e
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e260
xor esi, esi
mov eax, dword [ebp - 0x34]
push eax
push esi
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e202
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.00462190
add esp, 0xc
call fcn.0048c9e0
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 0x48e302
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 0x48ecfa
mov esi, dword [esi + 4]
jmp 0x48e283
cmp dword [esi + 4], 0
je 0x48e36c
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e351
jmp 0x48e330
mov eax, dword [esi]
push str.preRemove
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e501
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e330
xor esi, esi
push str.true
push esi
call fcn.004a48d2
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 0x48e3a1
jmp 0x48e380
mov eax, dword [esi]
push str.version
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e509
inc ebx
add esi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e380
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 8
push esi
call fcn.004234af
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e3e1
mov edi, edi
mov eax, dword [ebx]
push str.buildUID
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e511
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x48e3c0
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ebx
call fcn.004234af
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e421
mov edi, edi
mov eax, dword [ebx]
push str.releaseDate
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e519
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x48e400
xor ebx, ebx
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ebx
call fcn.004234af
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0x28]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e461
mov edi, edi
mov eax, dword [ebx]
push str.hash
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e521
inc esi
add ebx, 8
cmp esi, dword [ebp - 0x3c]
jl 0x48e440
xor ebx, ebx
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x14]
push ebx
call fcn.004234af
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x48e4a1
mov edi, edi
mov eax, dword [edi]
push str.updateCondition
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e529
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x48e480
xor edi, edi
push edi
lea ecx, [ebp - 0x24]
call fcn.00423456
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x24]
push str.IfHigher
push edx
call fcn.004a48d2
add esp, 8
test eax, eax
jne 0x48e531
push ecx
lea eax, [esi + 0x30]
mov ecx, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.00423441
push ecx
mov byte [ebp - 4], 0xc
lea eax, [esi + 8]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.00423441
mov byte [ebp - 4], 0xb
call fcn.00466c60
xor ecx, ecx
add esp, 8
test eax, eax
setg cl
mov dword [esi], ecx
jmp 0x48e590
mov esi, dword [esi + 4]
jmp 0x48e353
mov esi, dword [esi + 4]
jmp 0x48e3a3
mov ebx, dword [ebx + 4]
jmp 0x48e3e3
mov ebx, dword [ebx + 4]
jmp 0x48e423
mov ebx, dword [ebx + 4]
jmp 0x48e463
mov edi, dword [edi + 4]
jmp 0x48e4a3
mov edx, dword [ebp - 0x24]
push str.IfDifferent
push edx
call fcn.004a48d2
add esp, 8
test eax, eax
jne 0x48e55c
mov eax, dword [esi + 0x30]
push eax
lea eax, [esi + 8]
call fcn.004234d9
neg eax
sbb eax, eax
neg eax
mov dword [esi], eax
jmp 0x48e590
mov eax, dword [ebp - 0x24]
push str.Force
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
jne 0x48e579
mov dword [esi], 1
jmp 0x48e590
mov ecx, dword [ebp - 0x24]
push str.Never
push ecx
call fcn.004a48d2
add esp, 8
test eax, eax
jne 0x48e590
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 0x48ea6c
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 0x48e5e0
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xb
call fcn.004897c0
jmp 0x48ea5c
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x28]
xor ebx, ebx
test esi, esi
jle 0x48e610
lea esp, [esp]
mov eax, dword [edi]
push str.minClientVersion
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e6bd
inc ebx
add edi, 8
cmp ebx, esi
jl 0x48e5f0
xor edi, edi
push edi
lea ecx, [ebp - 0x34]
call fcn.00423456
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 0x48e650
mov edi, edi
mov eax, dword [edi]
push str.maxClientVersion
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e6c5
inc ebx
add edi, 8
cmp ebx, esi
jl 0x48e630
xor edi, edi
push edi
lea ecx, [ebp - 0x30]
call fcn.00423456
mov bl, 0xf
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], 0
je 0x48e6ca
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov esi, esp
push eax
call fcn.00423fab
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.00423441
mov byte [ebp - 4], bl
call fcn.00466c60
add esp, 8
test eax, eax
jge 0x48e6ca
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 0x48ea1d
mov edi, dword [edi + 4]
jmp 0x48e612
mov edi, dword [edi + 4]
jmp 0x48e652
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], 0
je 0x48e70b
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x50], esp
mov esi, esp
push eax
call fcn.00423fab
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.00423441
mov byte [ebp - 4], bl
call fcn.00466c60
add esp, 8
test eax, eax
jg 0x48e6a1
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 0x48e78b
lea ecx, [ecx]
mov eax, dword [edi]
push str.shouldUpdate
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e73f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e720
jmp 0x48e78b
cmp dword [edi + 4], 0
je 0x48e78b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e771
mov eax, dword [edi]
push str.shouldUpdate
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e7bf
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e754
xor edi, edi
push str.true
push edi
call fcn.004a48d2
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 0x48e818
mov edi, edi
mov eax, dword [edi]
push str.preRemove
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e7c4
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e7a0
jmp 0x48e818
mov edi, dword [edi + 4]
jmp 0x48e773
cmp dword [edi + 4], 0
je 0x48e818
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e7fd
lea esp, [esp]
mov eax, dword [edi]
push str.preRemove
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e846
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e7e0
xor edi, edi
push str.true
push edi
call fcn.004a48d2
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 0x48e88b
mov eax, dword [edi]
push str.version
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e84b
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e827
jmp 0x48e88b
mov edi, dword [edi + 4]
jmp 0x48e7ff
cmp dword [edi + 4], 0
je 0x48e88b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e87d
mov eax, dword [edi]
push str.version
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e8bf
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e860
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 8
call fcn.004234af
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e90b
lea ebx, [ebx]
mov eax, dword [edi]
push str.buildUID
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e8c4
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e8a0
jmp 0x48e90b
mov edi, dword [edi + 4]
jmp 0x48e87f
cmp dword [edi + 4], 0
je 0x48e90b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e8fd
lea esp, [esp]
mov eax, dword [edi]
push str.buildUID
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e93f
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e8e0
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0xc
call fcn.004234af
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e98b
lea ebx, [ebx]
mov eax, dword [edi]
push str.releaseDate
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e944
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e920
jmp 0x48e98b
mov edi, dword [edi + 4]
jmp 0x48e8ff
cmp dword [edi + 4], 0
je 0x48e98b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48e97d
lea esp, [esp]
mov eax, dword [edi]
push str.releaseDate
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e9bf
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e960
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0x10
call fcn.004234af
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x48ea06
lea ebx, [ebx]
mov eax, dword [edi]
push str.hash
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48e9c4
inc ebx
add edi, 8
cmp ebx, dword [ebp - 0x48]
jl 0x48e9a0
jmp 0x48ea06
mov edi, dword [edi + 4]
jmp 0x48e97f
cmp dword [edi + 4], 0
je 0x48ea06
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x28]
xor ebx, ebx
test eax, eax
jle 0x48e9f8
mov esi, eax
mov eax, dword [edi]
push str.hash
push eax
call fcn.004a48d2
add esp, 8
test eax, eax
je 0x48eba5
inc ebx
add edi, 8
cmp ebx, esi
jl 0x48e9d8
xor edi, edi
mov ecx, dword [ebp + 8]
push edi
add ecx, 0x14
call fcn.004234af
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 0x48ea29
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 0x48ea4c
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 0x48e5af
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.00423441
push ecx
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x48], esp
lea ebx, [esi + 8]
push ebx
call fcn.00423441
mov byte [ebp - 4], 0xb
call fcn.00466c60
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.00462190
add esp, 0x28
call fcn.0048c9e0
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 0x48eafc
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 0x48eb46
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 0x48eb66
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 0x48eb8c
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 0x48e9fa
push ecx
mov ebx, esp
mov dword [ebp + 8], esp
mov dword [ebp - 0x50], ebx
call fcn.004964ca
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48ebd0
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 0x48ecca
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e401
mov edi, eax
test edi, edi
je 0x48ece4
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 0x48ece4
push esi
push eax
push edi
call fcn.00421708
mov esi, eax
add esp, 0xc
test esi, esi
je 0x48ece4
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 0x48ec59
push edi
mov ecx, ebx
call fcn.00421527
movzx eax, word [esi]
mov edx, dword [ebx]
add esi, 2
mov dword [ebp + 8], edx
cmp eax, 0xffffffff
jne 0x48ec73
push esi
call fcn.004a4b1a
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.004a460f
add esp, 0x10
cmp eax, 0x50
ja case.0x48ec96.1
movzx edx, byte [eax + 0x48ed60]
jmp dword [edx*4 + 0x48ed50]
call fcn.00496a32
call fcn.00496a6a
test edi, edi
jl 0x48de3f
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x48de3f
mov edx, dword [ebp - 0x4c]
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x48ece4
push str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
call fcn.004a4b1a
add esp, 4
push eax
push str.CVirtAutoUpdate::CheckForNewVersion:_unknown_protocol___XML_path_
mov ecx, ebx
call fcn.00423f3a
mov byte [ebp - 4], 1
call fcn.0048c9e0
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 0x48ed13
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 0x48ed39
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