Function at 0x428502
Capabilities:
Check http status code
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [ebp - 4], ebx
call fcn.00438e90
test eax, eax
jg 0x428546
push 0
push 0x161
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x110]
inc ebx
call fcn.00438400
add eax, 8
push str.Initial_request_completion
push eax
call fcn.00404c5e
pop ecx
pop ecx
test bl, 1
je 0x428559
lea ecx, [ebp - 0x110]
and ebx, 0xfffffffe
call fcn.00438510
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 4
push ecx
lea ecx, [ebp - 8]
push ecx
push 0x20000013
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 8]
push 2
pop edi
cmp eax, 0xc8
je 0x428786
cmp eax, 0xce
je 0x42884d
cmp eax, 0x197
je 0x4286af
add eax, 0xfffffe0a
cmp eax, edi
ja 0x428610
call fcn.00438e90
cmp eax, 1
jg 0x4285f3
push 1
push 0x182
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x110]
or ebx, 8
call fcn.00438400
push str._error
push dword [ebp - 8]
add eax, 8
push str.Download_failed_with
push eax
call fcn.00404c5e
pop ecx
pop ecx
mov ecx, eax
call fcn.004121ba
push eax
call fcn.00404c5e
pop ecx
pop ecx
test bl, 8
je 0x428603
lea ecx, [ebp - 0x110]
call fcn.00438510
push ecx
mov ecx, esi
call fcn.00428cea
jmp 0x42877f
call fcn.00438e90
cmp eax, edi
jg 0x428642
push edi
push 0x187
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x270]
or ebx, 0x10
call fcn.00438400
add eax, 8
push str.Request_completed_with_an_unexpected_HTTP_status
push eax
call fcn.00404c5e
pop ecx
pop ecx
test bl, 0x10
je 0x428652
lea ecx, [ebp - 0x270]
call fcn.00438510
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x4b4]
call fcn.0041c04a
push eax
mov edx, fcn.004290d2
lea ecx, [ebp - 0x30]
call fcn.0041c566
pop ecx
push eax
call fcn.00440520
push eax
push 0x188
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerwininetwininet.cc
push str.opera::installer::Wininet::HandleInitialCompletion
lea ecx, [ebp - 0x60]
call fcn.004404e0
mov ecx, dword [esi + 0x450]
push eax
call fcn.0044a910
lea ecx, [ebp - 0x30]
call fcn.00445d90
lea ecx, [ebp - 0x40]
call fcn.00445ea0
jmp 0x42877f
call fcn.00438e90
cmp eax, 1
jg 0x4286f0
push 1
push 0x174
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x320]
or ebx, 4
call fcn.00438400
push str.proxy_authentication_request
add eax, 8
push str.Request_completed_with_a
push eax
call fcn.00404c5e
pop ecx
pop ecx
push eax
call fcn.00404c5e
pop ecx
pop ecx
test bl, 4
je 0x428700
lea ecx, [ebp - 0x320]
call fcn.00438510
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.00429565
pop ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0x4b4]
call fcn.0041c04a
push eax
lea ecx, [ebp - 0x10]
call fcn.004295b0
pop ecx
lea ecx, [ebp - 0x38]
call fcn.00445ea0
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00445d60
mov eax, dword [esi + 0x450]
push ecx
mov ecx, esp
mov eax, dword [eax + 0xb4]
mov dword [ecx], eax
test eax, eax
je 0x428757
push eax
call fcn.0041c472
pop ecx
push ecx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
call fcn.00445d60
mov ecx, dword [esi + 0x460]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.00445d90
lea ecx, [ebp - 0x18]
call fcn.00445d90
xor al, al
jmp 0x4288c3
push 0
lea ecx, [ebp - 4]
push ecx
lea eax, [esi + 0x44]
push eax
push 0x20000005
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
call fcn.004294f4
cmp eax, 1
jl 0x4287db
push 0xffffffffffffffff
push 0x16b
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x1c0]
or ebx, edi
call fcn.00438400
push dword [esi + 0x44]
add eax, 8
push str.Expected_total_size:
push eax
call fcn.00404c5e
pop ecx
pop ecx
mov ecx, eax
call fcn.004121ba
test bl, 2
je 0x4287ee
lea ecx, [ebp - 0x1c0]
and ebx, 0xfffffffd
call fcn.00438510
lea eax, [esi + 0x44]
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0x4b4]
call fcn.0041c04a
pop ecx
push eax
mov edx, 0x429444
lea ecx, [ebp - 0x28]
call fcn.00429503
pop ecx
pop ecx
push eax
call fcn.00440520
push eax
push 0x16c
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerwininetwininet.cc
push str.opera::installer::Wininet::HandleInitialCompletion
lea ecx, [ebp - 0x50]
call fcn.004404e0
mov ecx, dword [esi + 0x450]
push eax
call fcn.0044a910
lea ecx, [ebp - 0x28]
call fcn.00445d90
lea ecx, [ebp - 0x20]
call fcn.00445ea0
movzx eax, byte [0x4d982b]
lea ecx, [esi + 0x488]
and dword [esi + 0x4a8], 0
push eax
lea eax, [esi + 0x470]
mov dword [esi], edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042960c
call fcn.004294f4
cmp eax, 1
jl 0x4288b1
push 0xffffffffffffffff
push 0x18e
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x1c0]
or ebx, 0x20
call fcn.00438400
push dword [esi]
add eax, 8
push str.Downloader_state:
push eax
call fcn.00404c5e
pop ecx
pop ecx
mov ecx, eax
call fcn.00412122
test bl, 0x20
je 0x4288c1
lea ecx, [ebp - 0x1c0]
call fcn.00438510
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret