Function at 0x414d40
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437a5e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x451008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
call fcn.0041ab28
add esp, 4
mov dword [ebp - 0x18], eax
push 0x452090
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040d340
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.0041b26a
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push 0x44bf88
inc ecx
mov dword [ebp - 0x1c], eax
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00426d70
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.0040d840
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add esp, 0x24
test eax, eax
je 0x414e13
push 2
push eax
call fcn.0041aef0
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.0040e010
push esi
push 0x452020
mov ecx, ebx
call fcn.0040eb20
test esi, esi
je 0x414e69
mov eax, dword [esi]
test eax, eax
je 0x414e57
push 2
push eax
call fcn.0041aef0
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0041aef0
add esp, 8
call fcn.00411d90
push eax
push 0x452010
mov ecx, ebx
call fcn.0040eb20
mov esi, dword [edi + 0x20]
test esi, esi
je 0x4155b3
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x414eb6
cmp byte [esi + 0xd], 0
je 0x414eab
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x414eab
cmp dword [ebp - 0x14], 0x103
jne 0x414eb6
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 0x452030
call fcn.0040eb20
mov eax, dword [edi + 0x20]
mov ecx, ebx
add eax, 0x54
push eax
push 0x451fe0
call fcn.0040eb20
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.0040df30
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
push 0x452088
call fcn.0040eb20
test esi, esi
je 0x415538
mov eax, dword [edi + 0x28]
cmp dword [eax + 0x5c], 1
jne 0x414f28
cmp esi, 0xc8
je 0x414f30
cmp esi, 0xce
jne 0x414f3c
mov ecx, edi
call fcn.004149b0
jmp 0x415145
push 0xda
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x6c
call fcn.0041b26a
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.00426d70
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.00416c20
mov byte [ebp - 4], 2
add esp, 0x34
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x414fbf
push 2
push eax
call fcn.0041aef0
add esp, 8
cmp esi, 0xc8
jne 0x415181
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.0041b26a
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.00426d70
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.00416c20
mov byte [ebp - 4], 2
add esp, 0x38
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x415063
push 2
push eax
call fcn.0041aef0
add esp, 8
mov dword [ebp - 0x24], 0
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x41507e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x20], 0
mov ecx, edi
call fcn.00414960
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x4150d5
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4150bc
cmp byte [ebx + 0xd], 0
je 0x4150b1
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4150b1
cmp dword [ebp - 0x18], 0x103
jne 0x4150bc
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 0x4150d5
cmp esi, 0xce
jne 0x4150d5
mov ecx, edi
call fcn.004149b0
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
cmp eax, ecx
jae 0x4150ef
cmp esi, 0xce
jne 0x414fd0
cmp eax, ecx
jb 0x415142
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.0040d220
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.00416c20
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0040d4b0
mov eax, dword [edi + 0x28]
mov byte [eax + 0x40], 1
mov ebx, dword [ebp - 0x10]
mov esi, dword [edi + 0x20]
test esi, esi
je 0x415607
cmp dword [esi + 0x38], 0
je 0x415607
mov dword [edi + 0x50], 0xffffffff
mov esi, dword [esi + 0x38]
lea eax, [esi - 0x2ee2]
cmp eax, 0x1c
ja case.0x41517a.12003
movzx eax, byte [eax + 0x4156d4]
jmp dword [eax*4 + 0x4156cc]
lea ecx, [ebp - 0x24]
cmp esi, 0x1a0
jne 0x415219
push str.ODownload___s__requested_range_was_not_satisfiable__switching_to_single_threaded_download
call fcn.0040d220
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.00416c20
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0040d4b0
push str.Failed:__d
lea ecx, [ebp - 0x24]
mov dword [edi + 0x50], 0xffffffff
call fcn.0040d220
push esi
push eax
mov byte [ebp - 4], 7
call fcn.0040d840
add esp, 8
mov ecx, ebx
push eax
push 0x452098
call fcn.0040eb20
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0040d4b0
mov eax, dword [edi + 0x28]
mov byte [eax + 0x58], 1
mov eax, dword [edi + 0x28]
mov byte [eax + 0x40], 1
jmp 0x415145
push str.Failed:__d
mov dword [edi + 0x50], 0xffffffff
call fcn.0040d220
push esi
push eax
mov byte [ebp - 4], 8
call fcn.0040d840
add esp, 8
mov ecx, ebx
push eax
push 0x452098
call fcn.0040eb20
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0040d4b0
push str.ODownload_URL_with_range_requested___s__return_http_status_code__d_and_not_206_as_expected
lea ecx, [ebp - 0x24]
call fcn.0040d220
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0x28]
push esi
add ecx, 0x20
push ecx
push eax
call fcn.0040d840
add esp, 0xc
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0040d4b0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4152a8
mov ecx, dword [edi + 0x28]
push eax
mov dword [ecx + 0x30], esi
mov dword [ecx + 0x34], 0
add ecx, 0x38
call fcn.0040de20
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00409b80
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x415145
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x20], 0
jmp 0x415145
push str.ODownload_Stream_for___s__has_stalled_due_to_error___d:_s___attempting_retry
lea ecx, [ebp - 0x24]
call fcn.0040d220
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.00416c20
add esp, 0x20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0040d4b0
push str.Error:__d
lea ecx, [ebp - 0x24]
call fcn.0040d220
push esi
push eax
mov byte [ebp - 4], 0xb
call fcn.0040d840
add esp, 8
mov ecx, ebx
push eax
push 0x452098
call fcn.0040eb20
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0040d4b0
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x415352
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x20], 0
mov ecx, edi
call fcn.00414960
push 8
call fcn.0041ab28
add esp, 4
mov dword [ebp - 0x20], eax
push 0x452090
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0040d340
push 0x44c1d8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
mov ebx, eax
call fcn.0040d220
mov byte [ebp - 4], 0xd
push dword [edi + 0x3c]
push dword [edi + 0x38]
push eax
call fcn.0040d840
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0040d4b0
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.0040e010
push esi
push 0x452020
mov ecx, ebx
call fcn.0040eb20
test esi, esi
je 0x4153d8
push ecx
mov ecx, esi
call fcn.00409b80
call fcn.00411d90
push eax
push 0x452010
jmp 0x415600
push 0x7c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x3d
call fcn.0041b26a
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
push str.ODownloadStream_for___s__has_Unrecoverable_windows_error___d_
inc ecx
mov dword [ebp - 0x24], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00426d70
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], 0xe
mov eax, dword [edi + 0x28]
add eax, 0x20
push eax
lea eax, [ebp - 0x24]
push eax
push 0xf0
push str.OFileDownload::gdStream::run
push str.d:jenkinsworkspaceclient3.lib.networklib_networklib_srcofiledownload.cpp
push edx
call fcn.00416c20
add esp, 0x34
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0040d4b0
push 0x14
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 9
call fcn.0041b26a
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
push str.Error:__d
inc ecx
mov dword [ebp - 0x24], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00426d70
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xf
push esi
push eax
call fcn.0040d840
add esp, 0x20
mov ecx, ebx
push eax
push 0x452098
call fcn.0040eb20
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0040d4b0
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x4154ec
mov ecx, dword [edi + 0x28]
push eax
mov dword [ecx + 0x30], esi
mov dword [ecx + 0x34], 0
add ecx, 0x38
call fcn.0040de20
jmp 0x41551b
push 0x44b4fc
lea ecx, [ebp - 0x24]
call fcn.0040d220
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.0040de20
lea ecx, [ebp - 0x24]
call fcn.0040d4b0
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x415607
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x20], 0
jmp 0x415607
push 0x16
mov dword [edi + 0x50], 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0xa
call fcn.0041b26a
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.00426d70
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.0040d840
add esp, 0x20
mov ecx, ebx
push eax
push 0x452098
call fcn.0040eb20
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x415607
push 2
push eax
call fcn.0041aef0
add esp, 8
jmp 0x415607
push 0x50
mov dword [edi + 0x50], 0xffffffff
mov esi, 0x27
mov dword [ebp - 0x18], 0
call fcn.0041b26a
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.00426d70
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 0x452098
mov ecx, ebx
call fcn.0040eb20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x415620
push 2
push eax
call fcn.0041aef0
add esp, 8
cmp dword [edi + 0x50], 0
jne 0x41568b
push 0x10
mov dword [edi + 0x50], 1
mov esi, 7
mov dword [ebp - 0x20], 0
call fcn.0041b26a
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.00426d70
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 0x452000
mov ecx, ebx
call fcn.0040eb20
test edi, edi
je 0x41568b
push 2
push edi
call fcn.0041aef0
add esp, 8
test ebx, ebx
je 0x4156b8
mov eax, dword [ebx]
test eax, eax
je 0x4156a6
push 2
push eax
call fcn.0041aef0
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.0041aef0
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