Function at 0x51fe70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b34fe
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x63a404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x18], eax
push 0x6437c0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.005448d0
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
push 8
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 3
call fcn.0056ea97
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push 0x623230
inc ecx
mov dword [ebp - 0x1c], eax
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1c]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push eax
call fcn.00544d50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add esp, 0x24
test eax, eax
je 0x51ff43
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x1c], 0
mov ecx, dword [edi + 0x40]
add ecx, dword [edi + 0x38]
mov eax, dword [edi + 0x44]
adc eax, dword [edi + 0x3c]
push eax
push ecx
mov ecx, esi
mov dword [ebp - 0x18], 0
call fcn.00545630
push esi
push 0x643750
mov ecx, ebx
call fcn.00546410
test esi, esi
je 0x51ff99
mov eax, dword [esi]
test eax, eax
je 0x51ff87
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
call fcn.0054e100
push eax
push 0x643740
mov ecx, ebx
call fcn.00546410
mov esi, dword [edi + 0x20]
test esi, esi
je 0x5206bb
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x51ffe6
cmp byte [esi + 0xd], 0
je 0x51ffdb
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x51ffdb
cmp dword [ebp - 0x14], 0x103
jne 0x51ffe6
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x20]
mov ecx, ebx
mov esi, dword [eax + 0x40]
add eax, 0x4c
push eax
push 0x643760
call fcn.00546410
mov eax, dword [edi + 0x20]
mov ecx, ebx
add eax, 0x54
push eax
push 0x643710
call fcn.00546410
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push 0
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.00545550
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
push 0x6437b8
call fcn.00546410
test esi, esi
je 0x520640
mov eax, dword [edi + 0x28]
cmp dword [eax + 0x5c], 1
jne 0x520058
cmp esi, 0xc8
je 0x520060
cmp esi, 0xce
jne 0x52006c
mov ecx, edi
call fcn.0051fb40
jmp 0x520275
push 0xda
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x6c
call fcn.0056ea97
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
push str.ODownload___s__requested_a_range_but_got_unexpected_status_response_of__d__Will_auto_retry_if_status_is_200_
inc ecx
mov dword [ebp - 0x24], eax
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
push esi
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x28]
add eax, 0x20
push eax
lea eax, [ebp - 0x24]
push eax
push 0x97
push str.OFileDownload::gdStream::run
push str.d:jenkinsworkspaceclient3.lib.networklib_networklib_srcofiledownload.cpp
push edx
call fcn.0054faa0
mov byte [ebp - 4], 2
add esp, 0x34
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5200ef
push 2
push eax
call fcn.0056ea89
add esp, 8
cmp esi, 0xc8
jne 0x5202b1
mov eax, dword [edi + 0x2c]
nop
inc eax
mov dword [ebp - 0x24], 0
push 0x96
mov dword [edi + 0x2c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x4a
call fcn.0056ea97
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
push str.ODownload___s__status_response_was_200_auto_retrying_attempt:___d__of___d_
inc ecx
mov dword [ebp - 0x24], eax
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 4
push dword [edi + 0x30]
mov eax, dword [edi + 0x28]
push dword [edi + 0x2c]
add eax, 0x20
push eax
lea eax, [ebp - 0x24]
push eax
push 0x9d
push str.OFileDownload::gdStream::run
push str.d:jenkinsworkspaceclient3.lib.networklib_networklib_srcofiledownload.cpp
push edx
call fcn.0054faa0
mov byte [ebp - 4], 2
add esp, 0x38
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x520193
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x24], 0
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x5201ae
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x20], 0
mov ecx, edi
call fcn.0051faf0
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x520205
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x5201ec
cmp byte [ebx + 0xd], 0
je 0x5201e1
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x5201e1
cmp dword [ebp - 0x18], 0x103
jne 0x5201ec
push 0xffffffffffffffff
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x20]
mov esi, dword [eax + 0x40]
test esi, esi
je 0x520205
cmp esi, 0xce
jne 0x520205
mov ecx, edi
call fcn.0051fb40
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
cmp eax, ecx
jae 0x52021f
cmp esi, 0xce
jne 0x520100
cmp eax, ecx
jb 0x520272
mov eax, dword [edi + 0x28]
lea ecx, [ebp - 0x24]
mov dword [edi + 0x50], 0xffffffff
push str.ODownload___s__ran_out_of_retries__switching_to_single_threaded_download
mov byte [eax + 0x58], 1
call fcn.005447b0
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0x28]
add ecx, 0x20
push ecx
push eax
push 0xb2
push str.OFileDownload::gdStream::run
push str.d:jenkinsworkspaceclient3.lib.networklib_networklib_srcofiledownload.cpp
push 0
call fcn.0054faa0
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004ffe40
mov eax, dword [edi + 0x28]
mov byte [eax + 0x40], 1
mov ebx, dword [ebp - 0x10]
mov esi, dword [edi + 0x20]
test esi, esi
je 0x52070f
cmp dword [esi + 0x38], 0
je 0x52070f
mov dword [edi + 0x50], 0xffffffff
mov esi, dword [esi + 0x38]
lea eax, [esi - 0x2ee2]
cmp eax, 0x1c
ja case.0x5202aa.12003
movzx eax, byte [eax + 0x5207dc]
jmp dword [eax*4 + 0x5207d4]
lea ecx, [ebp - 0x24]
cmp esi, 0x1a0
jne 0x520349
push str.ODownload___s__requested_range_was_not_satisfiable__switching_to_single_threaded_download
call fcn.005447b0
mov byte [ebp - 4], 6
mov ecx, dword [edi + 0x28]
add ecx, 0x20
push ecx
push eax
push 0xb8
push str.OFileDownload::gdStream::run
push str.d:jenkinsworkspaceclient3.lib.networklib_networklib_srcofiledownload.cpp
push 0
call fcn.0054faa0
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004ffe40
push str.Failed:__d
lea ecx, [ebp - 0x24]
mov dword [edi + 0x50], 0xffffffff
call fcn.005447b0
push esi
push eax
mov byte [ebp - 4], 7
call fcn.00544d50
add esp, 8
mov ecx, ebx
push eax
push 0x6437c8
call fcn.00546410
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004ffe40
mov eax, dword [edi + 0x28]
mov byte [eax + 0x58], 1
mov eax, dword [edi + 0x28]
mov byte [eax + 0x40], 1
jmp 0x520275
push str.Failed:__d
mov dword [edi + 0x50], 0xffffffff
call fcn.005447b0
push esi
push eax
mov byte [ebp - 4], 8
call fcn.00544d50
add esp, 8
mov ecx, ebx
push eax
push 0x6437c8
call fcn.00546410
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004ffe40
push str.ODownload_URL_with_range_requested___s__return_http_status_code__d_and_not_206_as_expected
lea ecx, [ebp - 0x24]
call fcn.005447b0
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0x28]
push esi
add ecx, 0x20
push ecx
push eax
call fcn.00544d50
add esp, 0xc
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004ffe40
cmp dword [ebp - 0x10], 0
je 0x5203fa
mov ecx, dword [edi + 0x28]
mov dword [ecx + 0x30], esi
mov esi, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0
add ecx, 0x38
push esi
call fcn.00545420
mov eax, dword [esi]
test eax, eax
je 0x5203e8
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x520275
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x20], 0
jmp 0x520275
push str.ODownload_Stream_for___s__has_stalled_due_to_error___d:_s___attempting_retry
lea ecx, [ebp - 0x24]
call fcn.005447b0
mov byte [ebp - 4], 0xa
mov ecx, dword [edi + 0x20]
push dword [ecx + 0x3c]
mov ecx, dword [edi + 0x28]
push esi
add ecx, 0x20
push ecx
push eax
push 0xda
push str.OFileDownload::gdStream::run
push str.d:jenkinsworkspaceclient3.lib.networklib_networklib_srcofiledownload.cpp
push 0
call fcn.0054faa0
add esp, 0x20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004ffe40
push str.Error:__d
lea ecx, [ebp - 0x24]
call fcn.005447b0
push esi
push eax
mov byte [ebp - 4], 0xb
call fcn.00544d50
add esp, 8
mov ecx, ebx
push eax
push 0x6437c8
call fcn.00546410
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004ffe40
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x5204a4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x20], 0
mov ecx, edi
call fcn.0051faf0
push 8
call fcn.0056e7bf
add esp, 4
mov dword [ebp - 0x20], eax
push 0x6437c0
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.005448d0
push 0x623460
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
mov ebx, eax
call fcn.005447b0
mov byte [ebp - 4], 0xd
push dword [edi + 0x3c]
push dword [edi + 0x38]
push eax
call fcn.00544d50
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004ffe40
mov edx, dword [edi + 0x40]
add edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x44]
adc ecx, dword [edi + 0x3c]
push ecx
push edx
mov ecx, esi
call fcn.00545630
push esi
push 0x643750
mov ecx, ebx
call fcn.00546410
test esi, esi
je 0x52054b
mov eax, dword [esi]
test eax, eax
je 0x520539
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
call fcn.0054e100
push eax
push 0x643740
jmp 0x520708
push str.ODownloadStream_for___s__has_Unrecoverable_windows_error___d_
lea ecx, [ebp - 0x24]
call fcn.005447b0
push esi
mov byte [ebp - 4], 0xe
mov ecx, dword [edi + 0x28]
add ecx, 0x20
push ecx
push eax
push 0xf0
push str.OFileDownload::gdStream::run
push str.d:jenkinsworkspaceclient3.lib.networklib_networklib_srcofiledownload.cpp
push 0
call fcn.0054faa0
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004ffe40
push str.Error:__d
lea ecx, [ebp - 0x24]
call fcn.005447b0
push esi
push eax
mov byte [ebp - 4], 0xf
call fcn.00544d50
add esp, 8
mov ecx, ebx
push eax
push 0x6437c8
call fcn.00546410
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004ffe40
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x5205f0
mov ecx, dword [edi + 0x28]
push eax
mov dword [ecx + 0x30], esi
mov dword [ecx + 0x34], 0
add ecx, 0x38
call fcn.00545420
jmp 0x520623
push 0x60fec4
lea ecx, [ebp - 0x24]
call fcn.005447b0
mov byte [ebp - 4], 0x10
mov ecx, dword [edi + 0x28]
push eax
mov dword [ecx + 0x30], esi
mov dword [ecx + 0x34], 0
add ecx, 0x38
call fcn.00545420
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004ffe40
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x52070f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x20], 0
jmp 0x52070f
push 0x16
mov dword [edi + 0x50], 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0xa
call fcn.0056ea97
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
push str.Failed:__d
inc ecx
mov dword [ebp - 0x24], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
push edx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x11
push eax
call fcn.00544d50
add esp, 0x20
mov ecx, ebx
push eax
push 0x6437c8
call fcn.00546410
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x52070f
push 2
push eax
call fcn.0056ea89
add esp, 8
jmp 0x52070f
push 0x50
mov dword [edi + 0x50], 0xffffffff
mov esi, 0x27
mov dword [ebp - 0x18], 0
call fcn.0056ea97
push 0xffffffffffffffff
push str.Failed:_if_mInputStream__returned_false
push 0x28
push eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00584f75
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x12
push eax
push 0x6437c8
mov ecx, ebx
call fcn.00546410
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x520728
push 2
push eax
call fcn.0056ea89
add esp, 8
cmp dword [edi + 0x50], 0
jne 0x520793
push 0x10
mov dword [edi + 0x50], 1
mov esi, 7
mov dword [ebp - 0x20], 0
call fcn.0056ea97
push 0xffffffffffffffff
push str.Success
mov edi, eax
lea eax, [ebp - 0x20]
push 8
push edi
push eax
mov dword [ebp - 0x2c], edi
call fcn.00584f75
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x13
push eax
push 0x643730
mov ecx, ebx
call fcn.00546410
test edi, edi
je 0x520793
push 2
push edi
call fcn.0056ea89
add esp, 8
test ebx, ebx
je 0x5207c0
mov eax, dword [ebx]
test eax, eax
je 0x5207ae
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.0056ea89
add esp, 8
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