Function at 0x450450
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a75a
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x580b30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xdc], edx
mov dword [ebp - 4], 0
test eax, eax
je 0x4517ee
cmp dword [edi + 0x10], 0
je 0x4517ee
lea ecx, [ebp - 0xd4]
call fcn.00455420
cmp dword [ebp + 0x14], 0
mov byte [ebp - 4], 1
jne 0x450500
call fcn.004561e0
test al, al
jne 0x450500
mov byte [ebp - 4], al
lea eax, [ebp - 0xd4]
call fcn.0041b8f0
lea esi, [ebp + 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00414680
mov eax, 2
jmp 0x45181c
push 0
push 0
push 0
push 0
push str.NVIDIA_NetworkService_v2.4.13.69
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
mov dword [ebp - 0xc4], esi
mov byte [ebp - 4], 2
test esi, esi
jne 0x4505e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.00402bd0
mov byte [ebp - 4], 3
mov ecx, dword [ebx]
push ecx
push ecx
lea edx, [ebp - 0x1cc]
push str.WinHttpOpen_failed._Error:
push edx
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00402980
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 1
mov byte [ebp - 4], 4
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [ebp - 0x1c], 8
jb 0x450590
mov eax, dword [ebp - 0x30]
push eax
call fcn.00469e1a
add esp, 4
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 2
call fcn.00401820
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.0041b8f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4505d7
test al, 1
jne 0x4505d7
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x4505d7
lea ecx, [ebp + 0x24]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, 3
jmp 0x45181c
cmp dword [ebp - 0xdc], 0
je 0x4505ff
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test al, al
jne 0x45079a
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x4c], dx
mov dword [ebp - 0x54], ecx
xor ecx, ecx
mov dword [ebp - 0x58], eax
mov word [ebp - 0x68], cx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x4c]
push eax
push edi
push ebx
lea edx, [ebp - 0xc8]
lea ecx, [ebp - 0xe4]
call fcn.004519e0
mov dword [ebp - 0xe0], eax
test eax, eax
je 0x450693
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.0041b8f0
lea esi, [ebp + 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00414680
mov eax, dword [ebp - 0xe0]
jmp 0x45181c
lea ecx, [ebp - 0x4c]
call fcn.00452e40
mov ecx, dword [ebp - 0xd4]
lea edx, [ebp - 0x4c]
call fcn.00455c30
test al, al
jne 0x450770
lea ecx, [ebp - 0x1dc]
push ecx
mov dword [ebx + 4], 0x191
call fcn.00402bd0
push str._is_not_granted.
push ecx
lea edx, [ebp - 0x4c]
push edx
push ecx
lea eax, [ebp - 0x1cc]
push str.Access_to_host
push eax
mov byte [ebp - 4], 7
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 0xc
push eax
call fcn.004050c0
add esp, 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 1
mov byte [ebp - 4], 8
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 6
call fcn.00401820
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.0041b8f0
lea esi, [ebp + 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00414680
mov eax, 4
jmp 0x45181c
cmp dword [ebp - 0xdc], 0
je 0x4507c9
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
test al, al
je 0x4507c9
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.0041b8f0
lea esi, [ebp + 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00414680
mov eax, 5
jmp 0x45181c
push str.http:__www.nvidia.com_content_drivers_redirect.asp_languageenglish_uspagegfe_download_domain_whitelist
mov ecx, edi
mov byte [ebp - 0xc9], 0
call fcn.00402b90
test eax, eax
jne 0x4507e9
mov byte [ebp - 0xc9], 1
jmp 0x4507f0
mov ecx, ebx
call fcn.00453890
call fcn.00453cb0
cmp dword [ebp - 0x38], 8
mov eax, dword [ebp - 0x4c]
jae 0x450801
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0xe4]
push 0
push ecx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0xc0], edi
mov byte [ebp - 4], 9
test edi, edi
jne 0x4508d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x1dc]
push edx
mov dword [ebx], eax
call fcn.00402bd0
mov byte [ebp - 4], 0xa
mov eax, dword [ebx]
push eax
push ecx
lea ecx, [ebp - 0x1cc]
push str.WinHttpConnect_failed._Error:
push ecx
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00402980
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 1
mov byte [ebp - 4], 0xb
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 9
call fcn.00401820
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.0041b8f0
lea esi, [ebp + 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00414680
mov eax, 3
jmp 0x45181c
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x450909
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
test al, al
je 0x450909
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
push esi
call edi
jmp 0x4507a1
cmp dword [ebp + 0x14], 1
mov esi, 0x53ca88
je 0x450919
mov esi, str.POST
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x450925
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0xc0]
xor ecx, ecx
cmp dword [ebp - 0xc8], 2
setne cl
dec ecx
and ecx, 0x800000
push ecx
push 0
push 0
push 0
push eax
push esi
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
mov dword [ebp - 0xc8], edi
mov byte [ebp - 4], 0xc
test edi, edi
jne 0x4509fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.00402bd0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx]
push ecx
push ecx
lea edx, [ebp - 0x1cc]
push str.WinHttpOpenRequest_failed._Error:
push edx
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00402980
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 2
mov byte [ebp - 4], 0xe
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xc
call fcn.00401820
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0xc0]
push eax
call esi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
mov ecx, dword [ebp - 0xc4]
push ecx
call esi
jmp 0x4508ab
push edi
mov ecx, ebx
call fcn.00451c50
mov edx, dword [ebp - 0xd8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.004542a0
mov ecx, dword [ebp - 0xf8]
mov byte [ebp - 4], 0xf
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0x108]
push eax
call edx
lea eax, [ebp - 0x108]
push eax
push ebx
mov ecx, edi
call fcn.004520f0
mov dword [ebp - 0xe0], eax
test eax, eax
je 0x450a84
lea esi, [ebp - 0x108]
call fcn.0044fed0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
mov ecx, dword [ebp - 0xc0]
push ecx
call esi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
mov edx, dword [ebp - 0xc4]
push edx
call esi
jmp 0x45066a
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x450ad4
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test al, al
je 0x450ad4
lea esi, [ebp - 0x108]
call fcn.0044fed0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
mov eax, dword [ebp - 0xc0]
push eax
call esi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
mov ecx, dword [ebp - 0xc4]
push ecx
call esi
jmp 0x4507a1
mov dword [ebp - 0xe0], 0x1388
mov dword [ebp - 0xd8], 0
jmp 0x450af0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp ecx, edx
jne 0x450b0b
mov dword [ebp - 0xe4], 0
jmp 0x450b15
mov eax, edx
sub eax, ecx
mov dword [ebp - 0xe4], eax
cmp ecx, edx
jne 0x450b1d
xor esi, esi
jmp 0x450b21
mov esi, edx
sub esi, ecx
push 0
mov eax, ecx
sub eax, edx
mov edx, dword [ebp - 0xe4]
push edx
neg eax
push esi
sbb eax, eax
and eax, ecx
push eax
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x450c67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.00402bd0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebx]
push ecx
push ecx
lea edx, [ebp - 0x1cc]
push str.WinHttpSendRequest_failed._Error:
push edx
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00402980
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 2
mov byte [ebp - 4], 0x11
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xf
call fcn.00401820
cmp dword [ebx], 0x2ee2
jne 0x450d3a
mov esi, dword [ebp - 0xd8]
cmp esi, 2
je 0x450d75
cmp byte [ebp - 0xc9], 0
jne 0x450dea
lea eax, [ebp - 0x1dc]
push eax
call fcn.00402bd0
lea ecx, [ebp - 0x1cc]
push str.Will_retry_WinHttpSendRequest.
push ecx
mov byte [ebp - 4], 0x16
call fcn.004050c0
add esp, 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 3
mov byte [ebp - 4], 0x17
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xf
call fcn.00401820
mov edx, dword [ebp - 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xe0]
inc esi
lea ecx, [eax + eax]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd8], esi
cmp esi, 3
jb 0x450af0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x450c80
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test al, al
jne 0x450a99
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x450e81
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x1dc]
push edx
mov dword [ebx], eax
call fcn.00402bd0
mov byte [ebp - 4], 0x18
mov eax, dword [ebx]
push eax
push ecx
lea ecx, [ebp - 0x1cc]
push str.WinHttpReceiveResponse_failed._Error:
push ecx
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00402980
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 1
mov byte [ebp - 4], 0x19
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xf
call fcn.00401820
lea esi, [ebp - 0x108]
call fcn.0044fed0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
mov edx, dword [ebp - 0xc0]
push edx
call esi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
mov eax, dword [ebp - 0xc4]
push eax
call esi
jmp 0x4508ab
lea esi, [ebp - 0x108]
call fcn.0044fed0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
mov edx, dword [ebp - 0xc0]
push edx
call esi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
mov eax, dword [ebp - 0xc4]
push eax
call esi
jmp 0x4508ab
lea ecx, [ebp - 0x1dc]
push ecx
call fcn.00402bd0
lea edx, [ebp - 0x1cc]
push str.All_retries_of_WinHttpSendRequest_failed.
push edx
mov byte [ebp - 4], 0x12
call fcn.004050c0
add esp, 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 1
mov byte [ebp - 4], 0x13
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xf
call fcn.00401820
lea esi, [ebp - 0x108]
call fcn.0044fed0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
jmp 0x4509d6
lea edx, [ebp - 0x1dc]
push edx
call fcn.00402bd0
lea eax, [ebp - 0x1cc]
push str.Will_not_retry_for_Update_domain_list
push eax
mov byte [ebp - 4], 0x14
call fcn.004050c0
add esp, 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 2
mov byte [ebp - 4], 0x15
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xf
call fcn.00401820
lea esi, [ebp - 0x108]
call fcn.0044fed0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
mov ecx, dword [ebp - 0xc0]
push ecx
call esi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
mov edx, dword [ebp - 0xc4]
push edx
call esi
jmp 0x4508ab
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], esi
mov word [ebp - 0x84], cx
mov byte [ebp - 4], 0x1a
mov edi, dword [ebp - 0xc8]
push ebx
lea ecx, [ebp - 0x84]
call fcn.004524a0
mov edi, eax
cmp edi, esi
je 0x450f1e
lea ecx, [ebp - 0x84]
call fcn.0040a4f0
lea esi, [ebp - 0x108]
call fcn.0044fed0
mov edx, dword [ebp - 0xc8]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edx
call esi
mov eax, dword [ebp - 0xc0]
push eax
call esi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
mov ecx, dword [ebp - 0xc4]
push ecx
call esi
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.0041b8f0
lea esi, [ebp + 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00414680
mov eax, edi
jmp 0x45181c
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], esi
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x1b
push eax
lea edx, [ebp - 0x12c]
mov dword [ebp - 0xd8], esi
call fcn.004526e0
mov dword [ebp - 0xe0], eax
cmp eax, esi
je 0x450fb4
lea esi, [ebp - 0x12c]
call fcn.0044fed0
lea ecx, [ebp - 0x84]
call fcn.0040a4f0
lea esi, [ebp - 0x108]
call fcn.0044fed0
mov ecx, dword [ebp - 0xc8]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0xc0]
push edx
call esi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
mov eax, dword [ebp - 0xc4]
push eax
call esi
jmp 0x45066a
mov edi, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xf8]
mov dword [ebx + 4], edi
mov edx, dword [esi]
mov edx, dword [edx + 8]
lea eax, [ebp - 0x12c]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push edi
mov ecx, esi
call edx
test al, al
jne 0x4510ff
lea eax, [ebp - 0x1dc]
push eax
call fcn.00402bd0
mov ecx, dword [ebp - 0xdc]
mov bl, 0x1c
push ecx
lea esi, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00454140
push eax
push ecx
push str._for_task
push ecx
push edi
push ecx
lea edx, [ebp - 0x1cc]
push str.Consumer_disallowed_HTTP_response_code
push edx
mov byte [ebp - 4], 0x1d
call fcn.004050c0
add esp, 0xc
mov ecx, eax
call fcn.0041a150
add esp, 4
push eax
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 8
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0040a4f0
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 1
mov byte [ebp - 4], 0x1e
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x1b
call fcn.00401820
lea esi, [ebp - 0x12c]
call fcn.0044fed0
lea ecx, [ebp - 0x84]
call fcn.0040a4f0
lea esi, [ebp - 0x108]
call fcn.0044fed0
mov eax, dword [ebp - 0xc8]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0xc0]
push ecx
call esi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
mov edx, dword [ebp - 0xc4]
push edx
call esi
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.0041b8f0
lea esi, [ebp + 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00414680
mov eax, 8
jmp 0x45181c
xor eax, eax
lea esi, [ebp - 0x114]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
call fcn.00452cf0
test al, al
jne 0x45117e
lea eax, [ebp - 0x1dc]
push eax
call fcn.00402bd0
lea ecx, [ebp - 0x1cc]
push str.Unable_to_get_an_expected_size
push ecx
mov byte [ebp - 4], 0x1f
call fcn.004050c0
add esp, 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 2
mov byte [ebp - 4], 0x20
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x1b
call fcn.00401820
lea edx, [ebp - 0x1dc]
push edx
call fcn.00402bd0
mov edi, dword [ebp - 0xdc]
push edi
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x21
call fcn.00454140
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
push ecx
push edx
push str._is
push ecx
push eax
push ecx
lea eax, [ebp - 0x1cc]
push str.Expected_size_for_task
push eax
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 0xc
push eax
call fcn.00413190
add esp, 8
push eax
call fcn.004444f0
mov ecx, esi
mov byte [ebp - 4], 0x21
call fcn.0040a4f0
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 3
mov byte [ebp - 4], 0x23
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x1b
call fcn.00401820
test edi, edi
je 0x45128e
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
test al, al
je 0x45128e
lea esi, [ebp - 0x12c]
call fcn.0044fed0
lea ecx, [ebp - 0x84]
call fcn.0040a4f0
lea esi, [ebp - 0x108]
call fcn.0044fed0
mov ecx, dword [ebp - 0xc8]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0xc0]
push edx
call esi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
mov eax, dword [ebp - 0xc4]
push eax
call esi
jmp 0x4507a1
xor eax, eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov esi, dword [ebp - 0xf8]
mov byte [ebp - 4], 0x24
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov edi, edi
cmp dword [ebp + 0x1c], 0
je 0x4512fc
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, dword [ebp - 0x114]
mov ecx, esi
adc edx, dword [ebp - 0x110]
push edx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0xc]
call eax
add eax, dword [ebp - 0xf4]
lea ecx, [ebp + 0x1c]
adc edx, dword [ebp - 0xf0]
push edx
push eax
call fcn.004544d0
cmp dword [ebp - 0xf0], 1
ja 0x451556
jb 0x45131b
cmp dword [ebp - 0xf4], 0x40000000
ja 0x451556
test edi, edi
je 0x451330
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
test al, al
jne 0x4515e7
mov edx, dword [ebp - 0xc8]
lea ecx, [ebp - 0xe8]
push ecx
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x4515f1
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x45163e
cmp eax, dword [ebp - 0xd8]
jbe 0x4513c9
push eax
mov dword [ebp - 0xd8], eax
call fcn.004b9040
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], ecx
mov ecx, dword [ebp - 0xf0]
push ecx
push eax
lea edx, [ebp - 0x134]
push edx
call fcn.00454f10
lea eax, [ebp - 0x134]
lea edi, [ebp - 0x11c]
mov byte [ebp - 4], 0x2d
call fcn.00454560
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0x24
call fcn.0041a970
mov eax, dword [ebp - 0xe8]
mov esi, dword [ebp - 0xf8]
mov edi, dword [ebp - 0xdc]
test edi, edi
je 0x4513e4
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
mov ecx, edi
call edx
test al, al
jne 0x4515e7
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0xe4]
push ecx
push eax
mov eax, dword [ebp - 0xc8]
push edx
push eax
mov dword [ebp - 0xe4], 0
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4516ee
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0xe8], eax
jne 0x45173b
add dword [ebp - 0xf4], eax
adc dword [ebp - 0xf0], 0
test edi, edi
je 0x451446
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
test al, al
jne 0x4515e7
mov eax, dword [ebp - 0xe8]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, esi
call edx
test al, al
jne 0x4512c0
lea ecx, [ebp - 0x284]
push ecx
call fcn.00402bd0
mov bl, 0x33
push edi
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], bl
call fcn.00454140
push eax
push ecx
lea edx, [ebp - 0x274]
push str.Consumers_ConsumeData_failed_for_task
push edx
mov byte [ebp - 4], 0x34
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 8
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0040a4f0
lea ecx, [ebp - 0xbc]
lea eax, [ebp - 0x284]
call fcn.00402c70
push eax
push 1
mov byte [ebp - 4], 0x35
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0xbc]
call fcn.0040a4f0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x24
call fcn.00401820
mov edi, 9
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0x1b
call fcn.0041a970
lea esi, [ebp - 0x12c]
call fcn.0044fed0
lea ecx, [ebp - 0x84]
call fcn.0040a4f0
lea esi, [ebp - 0x108]
call fcn.0044fed0
mov eax, dword [ebp - 0xc8]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0xc0]
push ecx
call esi
lea ecx, [ebp - 0x68]
call fcn.0040a4f0
lea ecx, [ebp - 0x4c]
call fcn.0040a4f0
mov edx, dword [ebp - 0xc4]
push edx
jmp 0x450ef7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.00402bd0
mov bl, 0x25
push edi
lea esi, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00454140
push eax
push ecx
lea ecx, [ebp - 0x1cc]
push str.Reached_allowable_download_cap_for_task
push ecx
mov byte [ebp - 4], 0x26
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 8
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0040a4f0
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
mov byte [ebp - 4], 0x27
push eax
push 1
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x24
call fcn.00401820
mov edi, 3
jmp 0x4514f2
mov edi, 5
jmp 0x4514f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x1dc]
push edx
mov dword [ebx], eax
call fcn.00402bd0
mov byte [ebp - 4], 0x28
mov eax, dword [ebx]
push eax
push ecx
lea ecx, [ebp - 0x1cc]
push str.WinHttpQueryDataAvailable_failed:
push ecx
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00402980
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
mov byte [ebp - 4], 0x29
jmp 0x4515b7
lea edx, [ebp - 0x1dc]
push edx
call fcn.00402bd0
mov bl, 0x2a
push edi
lea esi, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00454140
push eax
push ecx
push str.for_task
push ecx
mov byte [ebp - 4], 0x2b
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xf4]
push eax
push ecx
lea edx, [ebp - 0x1cc]
push str.Reached_end_of_data_stream_at_total_of
push edx
call fcn.004050c0
add esp, 8
push eax
call fcn.004444f0
add esp, 4
push eax
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 8
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0040a4f0
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 3
mov byte [ebp - 4], 0x2c
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0x30]
call fcn.0040a4f0
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x24
call fcn.00401820
mov edi, dword [ebp - 0xe0]
jmp 0x4514f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.00402bd0
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebx]
push ecx
push ecx
lea edx, [ebp - 0x1cc]
push str.WinHttpReadData_failed:
push edx
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00402980
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
mov byte [ebp - 4], 0x2f
jmp 0x4515b7
lea eax, [ebp - 0x1dc]
push eax
call fcn.00402bd0
mov bl, 0x30
push edi
lea esi, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00454140
mov byte [ebp - 4], 0x31
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0xe8]
push ecx
push ecx
push str._Downloaded:
push ecx
push edx
push ecx
push str.._size_does_not_match_read_data_buffer_available:
push ecx
push eax
push ecx
lea eax, [ebp - 0x1cc]
push str.Error_of_reading_HTTP_data_for_task
push eax
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 0xc
push eax
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00402980
add esp, 4
push eax
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00402980
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0040a4f0
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x1dc]
call fcn.00402c70
push eax
push 1
mov byte [ebp - 4], 0x32
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
lea ecx, [ebp - 0xa0]
jmp 0x4515c9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x451817
test al, 1
jne 0x451817
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x451817
lea ecx, [ebp + 0x24]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d31b7
mov esp, ebp
pop ebp
ret 0x34