Function at 0x42b1eb
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], ebx
call fcn.0043d250
test eax, eax
jg 0x42b25a
push 0
push 0xbf
inc ebx
lea ecx, [ebp - 0x114]
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerwininetwininet.cc
mov dword [ebp - 0x5c], ebx
call fcn.0043c8d0
add eax, 8
push str.Starting_download_from
push eax
call fcn.00405c42
cmp dword [esi + 0x14], 8
pop ecx
pop ecx
jb 0x42b24f
mov ecx, dword [esi]
jmp 0x42b251
mov ecx, esi
push ecx
push eax
call fcn.0043ce20
pop ecx
pop ecx
test bl, 1
je 0x42b270
and ebx, 0xfffffffe
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x5c], ebx
call fcn.0043c9e0
cmp dword [ebp + 0x14], 0
jne 0x42b27b
call fcn.004514d0
test bl, 2
je 0x42b291
and ebx, 0xfffffffd
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x5c], ebx
call fcn.0043c9e0
cmp dword [ebp + 0x18], 0
jne 0x42b29c
call fcn.004514d0
test bl, 4
je 0x42b2b2
and ebx, 0xfffffffb
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x5c], ebx
call fcn.0043c9e0
mov eax, dword [ebp + 0x14]
mov ecx, dword [edi + 0x40]
and dword [ebp + 0x14], 0
and dword [edi + 0x40], 0
mov dword [ebp - 0x60], eax
test ecx, ecx
je 0x42b2d0
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x40], eax
mov eax, dword [ebp + 0x18]
and dword [ebp + 0x18], 0
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0x44]
and dword [edi + 0x44], 0
test eax, eax
je 0x42b2f5
push eax
mov dword [eax], fcn.00404d40
call fcn.00492cb0
pop ecx
mov eax, dword [ebp - 0x60]
lea ecx, [edi + 0x46c]
push dword [ebp - 0x64]
mov dword [edi + 0x44], eax
call fcn.0044e7f0
call fcn.00453370
mov dword [edi + 0x454], eax
lea eax, [edi + 0x10]
cmp eax, esi
je 0x42b32a
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004058f5
lea eax, [edi + 0x10]
and dword [ebp - 0x44], 0
xor ecx, ecx
and dword [ebp - 0x28], ecx
push 7
pop edx
mov word [ebp - 0x54], cx
mov word [ebp - 0x38], cx
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], edx
call fcn.0042ae32
test al, al
jne 0x42b3a4
call fcn.0043d250
cmp eax, 2
jg 0x42b38b
or ebx, 8
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xcc
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x11c]
call fcn.0043c9b0
add eax, 0x10
push str.Could_not_parse_URL
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 8
je 0x42b642
lea ecx, [ebp - 0x11c]
call fcn.0043cc50
jmp 0x42b642
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call fcn.0042b6ee
test al, al
jne 0x42b3ef
call fcn.0043d250
cmp eax, 2
jg 0x42b3e7
push 2
push 0xd1
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x114]
or ebx, 0x10
call fcn.0043c8d0
add eax, 8
push str.Attempting_to_download_from_a_disallowed_domain
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 0x10
jmp 0x42b4b1
mov ecx, dword [edi + 0x460]
test ecx, ecx
je 0x42b41d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [edi + 0x460]
and dword [edi + 0x460], 0
test ecx, ecx
je 0x42b416
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [edi + 0x460], 0
test bl, 0x20
je 0x42b433
and ebx, 0xffffffdf
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x5c], ebx
call fcn.0043c9e0
xor eax, eax
lea ecx, [ebp - 0x20]
mov dword [edi + 0x48], eax
mov dword [edi + 0x450], eax
mov dword [edi + 0x44c], eax
call fcn.0042ac14
cmp dword [eax + 0x14], 8
jb 0x42b454
mov eax, dword [eax]
push 0x10000000
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
push 1
lea ecx, [ebp - 0x20]
mov dword [edi + 4], eax
call fcn.00405676
cmp dword [edi + 4], 0
jne 0x42b4c7
call fcn.0043d250
cmp eax, 2
jg 0x42b4ae
push 2
push 0xe3
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x114]
or ebx, 0x40
call fcn.0043c8d0
add eax, 8
push str.Could_not_open_internet
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, 0x40
je 0x42b642
lea ecx, [ebp - 0x114]
call fcn.0043c9e0
jmp 0x42b642
push 0x42b788
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push 4
call fcn.00492cd0
mov esi, eax
pop ecx
test esi, esi
je 0x42b4e8
and dword [esi], 0
jmp 0x42b4ea
xor esi, esi
mov eax, dword [edi + 0x458]
and dword [edi + 0x458], 0
test eax, eax
je 0x42b502
push eax
call fcn.00492cb0
pop ecx
mov dword [edi + 0x458], esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 0x10
jb 0x42b515
mov ecx, dword [esi]
jmp 0x42b517
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
cmp dword [esi + 0x14], 0x10
jb 0x42b524
mov esi, dword [esi]
push dword [ebp - 0x64]
mov ecx, dword [edi + 0x28]
push eax
mov dword [edi + 0x2c], ecx
lea ecx, [edi + 0x28]
push esi
call fcn.0042ceb8
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
push edi
cmovae eax, dword [ebp - 0x54]
xor ecx, ecx
push ecx
push 3
push ecx
push ecx
push dword [ebp - 0x3c]
push eax
push dword [edi + 4]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 8], eax
test eax, eax
jne 0x42b5a8
call fcn.0043d250
cmp eax, 2
jg 0x42b59b
or ebx, 0x80
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xf1
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x11c]
call fcn.0043c9b0
add eax, 0x10
push str.Could_not_start_session
push eax
call fcn.00405c42
pop ecx
pop ecx
test bl, bl
jns 0x42b63b
jmp 0x42b630
mov ecx, dword [edi + 0x44]
push dword [edi + 0x450]
mov eax, dword [ecx]
call dword [eax]
and dword [ebp - 0x10], 0
xor eax, eax
mov word [ebp - 0x20], ax
mov ecx, edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], 7
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0042b097
mov bl, al
lea ecx, [ebp - 0x20]
push 0
neg bl
push 1
sbb bl, bl
call fcn.00405676
inc bl
je 0x42b646
call fcn.0043d250
mov esi, dword [ebp - 0x5c]
mov ebx, 0x100
cmp eax, 2
jg 0x42b62c
or esi, ebx
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0xf9
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x11c]
call fcn.0043c9b0
add eax, 0x10
push str.Could_not_send_Request
push eax
call fcn.00405c42
pop ecx
pop ecx
test ebx, esi
je 0x42b63b
lea ecx, [ebp - 0x11c]
call fcn.0043cc50
mov ecx, edi
call fcn.0042ca81
xor bl, bl
jmp 0x42b6a0
xor ebx, ebx
inc ebx
mov dword [edi], ebx
call fcn.0042cdf3
mov esi, dword [ebp - 0x5c]
cmp eax, ebx
jl 0x42b68d
push 0xffffffffffffffff
push 0x100
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerwininetwininet.cc
lea ecx, [ebp - 0x114]
or esi, 0x200
call fcn.0043c8d0
push dword [edi]
add eax, 8
push str.Downloader_state:
push eax
call fcn.00405c42
pop ecx
pop ecx
mov ecx, eax
call fcn.00413d31
test esi, 0x200
je 0x42b6a0
lea ecx, [ebp - 0x114]
call fcn.0043c9e0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00405676
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00405676
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x42b6c5
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x42b6d9
push ecx
mov dword [ecx], fcn.00404d40
call fcn.00492cb0
pop ecx
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049653f
mov esp, ebp
pop ebp
ret 0x14