Function at 0x45f820
Capabilities:
Check http status code
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b565f
mov eax, dword fs:[0]
push eax
mov eax, 0x4150
call fcn.0046fa10
mov eax, dword [0x4e706c]
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 ebx, ecx
mov dword [ebp - 0x4128], ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x4064], eax
xor al, al
mov dword [ebp - 0x4158], edi
mov dword [ebp - 0x4058], esi
mov byte [ebp - 0x414d], al
mov dword [ebp - 0x4068], 0
lea ecx, [ebp - 0x414c]
mov dword [ebp - 4], 0
call fcn.0045ef40
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45f8a8
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x59
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f730
mov edx, str.Downloading
mov ecx, eax
call fcn.0040f730
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x45f8fb
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00410550
add esp, 4
push eax
call fcn.0040faa0
mov byte [ebp - 4], 0
add esp, 4
mov edx, dword [ebp - 0x4138]
cmp edx, 8
jb 0x45f955
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f94b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d64
push edx
push ecx
call fcn.0046ec30
add esp, 8
call fcn.0045f130
mov edi, eax
mov dword [ebp - 0x4068], edi
test edi, edi
jne 0x45f96d
xor bl, bl
jmp 0x460d44
push dword [ebx + 0xc0]
push dword [ebx + 0xbc]
push dword [ebx + 0xb8]
push dword [ebx + 0xb4]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x45fa5a
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45f9ae
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x68
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpSetTimeouts:
mov ecx, eax
call fcn.0040f730
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004186b0
push eax
call fcn.0040faa0
mov byte [ebp - 4], 0
add esp, 4
mov edx, dword [ebp - 0x4138]
cmp edx, 8
jb 0x45fa54
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fa4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d69
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov esi, dword [ebp - 0x4058]
mov eax, dword [ebp - 0x4064]
cmp dword [eax + 0x14], 8
jb 0x45fa68
mov eax, dword [eax]
push 0
push 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x4064], eax
mov byte [ebp - 4], 3
test eax, eax
jne 0x45fb4f
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x45faa0
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x6e
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpConnect:
mov ecx, eax
call fcn.0040f730
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x4138]
add esp, 4
cmp edx, 8
jb 0x45fb42
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fb38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d6e
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
jmp 0x460d41
cmp dword [esi + 0x14], 8
jb 0x45fb57
mov esi, dword [esi]
push 0x800000
push 0
push 0
push 0
push esi
push 0x4d454c
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x4074], esi
mov byte [ebp - 4], 5
test esi, esi
jne 0x45fc48
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45fb9d
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x76
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpOpenRequest:
mov ecx, eax
call fcn.0040f730
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x4138]
add esp, 4
cmp edx, 8
jb 0x45fe48
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fc39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d73
push edx
push ecx
call fcn.0046ec30
add esp, 8
jmp 0x45fe48
cmp byte [ebx + 5], 0
xorps xmm0, xmm0
movq qword [ebp - 0x4134], xmm0
mov dword [ebp - 0x412c], 0
je 0x460014
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45fc81
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x81
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Configuring_proxy_on_this_connection
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0x4138]
cmp edx, 8
jb 0x45fd0e
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fd04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d78
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x4134], 3
lea eax, [eax*2 + 4]
push eax
mov dword [ebp - 0x4058], eax
call fcn.0048a022
add esp, 4
mov dword [ebp - 0x4130], eax
push dword [ebp - 0x4058]
push 0
push eax
call fcn.00486d70
lea eax, [ebx + 0x38]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x45fd53
mov eax, dword [eax]
push eax
push dword [ebp - 0x4058]
push dword [ebp - 0x4130]
call fcn.0048eff6
add esp, 0xc
lea eax, [ebp - 0x4134]
push 0xc
push eax
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x45fe60
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45fd9c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x8a
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_on_WinHttpSetOption_PROXY_:
mov ecx, eax
call fcn.0040f730
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x4138]
add esp, 4
cmp edx, 8
jb 0x45fe35
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45fe2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d7d
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov eax, dword [ebp - 0x4130]
test eax, eax
je 0x45fe48
push eax
call fcn.0048a02d
add esp, 4
xor bl, bl
test esi, esi
je 0x460d33
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
jmp 0x460d39
cmp dword [ebx + 0x90], 0
jne 0x45fe76
cmp dword [ebx + 0xa8], 0
je 0x460014
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45fe90
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x91
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Set_proxy_credentials
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0x4138]
cmp edx, 8
jb 0x45ff1d
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ff13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d82
push edx
push ecx
call fcn.0046ec30
add esp, 8
cmp dword [ebx + 0xac], 8
lea ecx, [ebx + 0x98]
jb 0x45ff2e
mov ecx, dword [ecx]
cmp dword [ebx + 0x94], 8
lea eax, [ebx + 0x80]
jb 0x45ff3f
mov eax, dword [eax]
push 0
push ecx
push eax
push 1
push 1
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x460014
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45ff70
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x95
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_on_WinHttpSetCredentials:
mov ecx, eax
call fcn.0040f730
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x4138]
add esp, 4
cmp edx, 8
jb 0x460009
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ffff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d87
push edx
push ecx
call fcn.0046ec30
add esp, 8
push dword [ebp - 0x4130]
jmp 0x45fe40
cmp byte [ebx + 6], 0
mov edx, 1
mov dword [ebp - 0x4058], edx
jne 0x460033
mov byte [ebx + 6], dl
mov edx, 0xa
mov dword [ebp - 0x4058], edx
xor ecx, ecx
mov eax, ecx
inc ecx
mov dword [ebp - 0x4154], ecx
cmp eax, edx
jae 0x45fe35
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x460140
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46007b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0xa9
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpSendRequest:
mov ecx, eax
call fcn.0040f730
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.004186b0
push eax
call fcn.0040faa0
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0x4138]
cmp edx, 8
jb 0x460124
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46011a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d64
push edx
push ecx
call fcn.0046ec30
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x4154]
mov edx, dword [ebp - 0x4058]
jmp 0x460035
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x4601b1
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460167
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0xb8
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpReceiveResponse:
jmp 0x45fdd5
push 0
lea eax, [ebp - 0x405c]
mov dword [ebp - 0x4060], 0
push eax
lea eax, [ebp - 0x4060]
mov dword [ebp - 0x405c], 4
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea ecx, [ebp - 0x414c]
test eax, eax
jne 0x46023f
call fcn.0045ef40
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460201
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0xc2
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_calling_WinHttpQueryHeaders_STATCODE_:
jmp 0x45fdd5
call fcn.0045ef40
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460253
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0xc8
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Server_returned_HTTP_status_code_of:
mov ecx, eax
call fcn.0040f730
push dword [ebp - 0x4060]
mov ecx, eax
call fcn.004186b0
push eax
call fcn.0040faa0
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0x4138]
cmp edx, 8
jb 0x4602ed
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4602e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d7d
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov ecx, dword [ebp - 0x4060]
xor edx, edx
cmp ecx, 0x197
jne 0x460695
mov ebx, dword [ebp - 0x4128]
mov eax, edx
inc edx
mov dword [ebp - 0x4154], edx
cmp eax, 0xa
jge 0x460695
cmp byte [ebx + 5], 0
je 0x460636
cmp dword [ebx + 0x90], 0
jne 0x460339
cmp dword [ebx + 0xa8], 0
je 0x460636
cmp dword [ebx + 0xac], 8
lea ecx, [ebx + 0x98]
jb 0x46034a
mov ecx, dword [ecx]
cmp dword [ebx + 0x94], 8
lea eax, [ebx + 0x80]
jb 0x46035b
mov eax, dword [eax]
push 0
push ecx
push eax
push 1
push 1
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
je 0x4605de
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x460417
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4128], eax
cmp eax, 0x2f00
je 0x46056f
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4603be
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0xe7
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpSendRequest:
mov ecx, eax
call fcn.0040f730
push dword [ebp - 0x4128]
mov ecx, eax
jmp 0x45fde7
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x460481
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f00
je 0x46056f
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46044f
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0xfb
jmp 0x460194
push 0
lea eax, [ebp - 0x405c]
mov dword [ebp - 0x4060], 0
push eax
lea eax, [ebp - 0x4060]
mov dword [ebp - 0x405c], 4
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea ecx, [ebp - 0x414c]
test eax, eax
je 0x46058c
call fcn.0045ef40
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4604d5
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x111
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Server_returned_HTTP_status_code_of:
mov ecx, eax
call fcn.0040f730
push dword [ebp - 0x4060]
mov ecx, eax
call fcn.004186b0
push eax
call fcn.0040faa0
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0x4138]
cmp edx, 8
jb 0x46056f
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d64
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov ecx, dword [ebp - 0x4060]
cmp ecx, 0x197
jne 0x460695
mov edx, dword [ebp - 0x4154]
jmp 0x460307
call fcn.0045ef40
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4605a0
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x10b
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_calling_WinHttpQueryHeaders_STATCODE_:
jmp 0x45fdd5
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4605f8
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0xd8
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_on_WinHttpSetCredentials:
jmp 0x45fdd5
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460650
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x117
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Server_requires_proxy_authentication_but_no_credentials_supplied
mov ecx, eax
call fcn.0040f730
jmp 0x45fdec
cmp ecx, 0xc8
jne 0x460c69
push 0x1000
mov dword [ebp - 0x4128], 0x1000
call fcn.0046ee77
add esp, 4
mov ebx, eax
mov dword [ebp - 0x4154], ebx
push dword [ebp - 0x4128]
push 0
push ebx
call fcn.00486d70
add esp, 0xc
lea eax, [ebp - 0x4128]
push 0
push eax
push ebx
push 0
push 1
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x460872
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460708
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x124
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f730
mov edx, str.Error_on_WinHttpQueryHeaders:
mov ecx, eax
call fcn.0040f730
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.004186b0
push eax
call fcn.0040faa0
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0x4138]
cmp edx, 8
jb 0x4607b1
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4607a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d7d
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov ebx, dword [ebp - 0x4154]
push ebx
call fcn.0046ec6e
add esp, 4
lea eax, [ebp - 0x4054]
push 0x4000
push 0
push eax
call fcn.00486d70
add esp, 0xc
lea eax, [ebp - 0x54]
push 0x40
push 0
push eax
call fcn.00486d70
add esp, 0xc
mov dword [ebp - 0x405c], 0x3e
lea eax, [ebp - 0x405c]
mov dword [ebp - 0x4058], 0
push 0
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 5
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea ecx, [ebp - 0x414c]
test eax, eax
jne 0x46099c
call fcn.0045ef40
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460834
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x13b
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_calling_WinHttpQueryHeaders_Content_Length_:
jmp 0x45fdd5
mov ecx, ebx
mov dword [ebp - 0x4070], ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460880
sub ecx, edx
sub esp, 8
mov eax, esp
sar ecx, 1
mov dword [ebp - 0x406c], ecx
lea ecx, [ebp - 0x4070]
mov dword [eax], str.application
mov dword [eax + 4], 0xb
call fcn.00461f20
test al, al
jne 0x4607b7
sub esp, 8
lea ecx, [ebp - 0x4070]
mov eax, esp
mov dword [eax], str.binary
mov dword [eax + 4], 6
call fcn.00461f20
test al, al
jne 0x4607b7
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4608f9
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x12a
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f730
mov edx, str.Invalid_content_type_received
mov ecx, eax
call fcn.0040f730
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x4138]
add esp, 4
cmp edx, 8
jb 0x46098e
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460984
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d7d
push edx
push ecx
call fcn.0046ec30
add esp, 8
push ebx
call fcn.0046ec6e
add esp, 4
jmp 0x45fe35
call fcn.0045ef40
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4609b0
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x13f
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Content_Length:
mov ecx, eax
call fcn.0040f730
lea edx, [ebp - 0x54]
mov ecx, eax
call fcn.00418a40
push eax
call fcn.0040faa0
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0x4138]
cmp edx, 8
jb 0x460a47
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460a3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d7d
push edx
push ecx
call fcn.0046ec30
add esp, 8
push 0xa
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0048edc4
add esp, 0xc
lea eax, [ebp - 0x4124]
push 0xb0
push 0
push eax
call fcn.00486d70
add esp, 4
lea ecx, [ebp - 0x4124]
push 0x20
push dword [ebp - 0x4158]
call fcn.004383e0
mov byte [ebp - 4], 0x19
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
nop word [eax + eax]
lea eax, [ebp - 0x405c]
mov dword [ebp - 0x405c], 0
push eax
push esi
call ebx
test eax, eax
je 0x460c11
cmp dword [ebp - 0x405c], 0
je 0x460b05
lea eax, [ebp - 0x4058]
mov dword [ebp - 0x405c], 0x4000
push eax
push 0x4000
lea eax, [ebp - 0x4054]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x460b3b
mov eax, dword [ebp - 0x4058]
test eax, eax
je 0x460b05
push 0
push eax
lea eax, [ebp - 0x4054]
push eax
lea ecx, [ebp - 0x4124]
call fcn.004574a0
cmp dword [ebp - 0x4058], 0
ja 0x460a90
lea ecx, [ebp - 0x4124]
call fcn.00438370
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push esi
call ebx
push dword [ebp - 0x4064]
call ebx
push edi
call ebx
lea ecx, [ebp - 0x4124]
mov byte [ebp - 0x414d], 1
call fcn.00423570
jmp 0x460d15
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460b55
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x152
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_calling_WinHttpReadData:
mov ecx, eax
call fcn.0040f730
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x4138]
add esp, 4
cmp edx, 8
jb 0x460bee
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460be4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d7d
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov eax, dword [ebp - 0x4130]
test eax, eax
je 0x460c01
push eax
call fcn.0048a02d
add esp, 4
lea ecx, [ebp - 0x4124]
call fcn.00423570
jmp 0x45fe48
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0x1a
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460c2b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x149
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Error_calling_WinHttpQueryDataAvailable:
jmp 0x460b8e
lea ecx, [ebp - 0x414c]
call fcn.0045ef40
mov byte [ebp - 4], 0x1c
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460c83
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4eb4d8
call fcn.00410550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f730
push 0x169
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_Server_returned_HTTP_status_code_of:
mov ecx, eax
call fcn.0040f730
push dword [ebp - 0x4060]
mov ecx, eax
call fcn.004186b0
push eax
call fcn.0040faa0
mov edx, dword [ebp - 0x4138]
add esp, 4
cmp edx, 8
jb 0x460d15
mov ecx, dword [ebp - 0x414c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460d0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460d7d
push edx
push ecx
call fcn.0046ec30
add esp, 8
mov eax, dword [ebp - 0x4130]
test eax, eax
je 0x460d28
push eax
call fcn.0048a02d
add esp, 4
mov bl, byte [ebp - 0x414d]
jmp 0x45fe4a
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x4064]
call esi
push edi
call esi
mov al, bl
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.0046e70f
mov esp, ebp
pop ebp
ret 0xc
call fcn.00489b7c
call fcn.00489b7c
call fcn.00489b7c
call fcn.00489b7c
call fcn.00489b7c
call fcn.00489b7c
call fcn.00489b7c
call fcn.00489b7c
int3