Function at 0x454a50
Capabilities:
Check http status code
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bf78
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4c606c]
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 esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x68]
push 0x1a
xor eax, eax
mov dword [ebp - 0x90], ebx
push 0x4b6bd4
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
call fcn.00407680
mov dword [ebp - 4], 0
cmp byte [esi + 1], 0
je 0x454ac8
push 0x19
push str.telemetry.dse.mwb_dev.net
lea ecx, [ebp - 0x68]
call fcn.00407680
push 0x1d
xor eax, eax
mov dword [ebp - 0x40], 0
push str._api_v2_streams_applog_record
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.00407680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
push 0x1e
xor eax, eax
mov dword [ebp - 0x20], 0
push str.Content_Type:_application_json
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00407680
mov byte [ebp - 0x71], 0
push 0
push 0
push 0
push 1
push str.MBSetup
mov byte [ebp - 4], 3
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
jne 0x454bee
lea ecx, [ebp - 0x8c]
call fcn.0044b850
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x454b54
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x21
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error_on_WinHttpOpen:
mov ecx, eax
call fcn.0040a3c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004138e0
push eax
call fcn.0040a730
mov edx, dword [ebp - 0x78]
add esp, 4
cmp edx, 8
jb 0x454be7
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x454bdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455271
push edx
push ecx
call fcn.0045a3a4
add esp, 8
xor bl, bl
jmp 0x45517f
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x454cc2
lea ecx, [ebp - 0x8c]
call fcn.0044b850
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x454c2b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x28
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error_on_WinHttpSetTimeouts:
mov ecx, eax
call fcn.0040a3c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004138e0
push eax
call fcn.0040a730
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x454cc2
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x454cb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455276
push edx
push ecx
call fcn.0045a3a4
add esp, 8
cmp dword [ebp - 0x54], 8
lea eax, [ebp - 0x68]
push 0
cmovae eax, dword [ebp - 0x68]
push 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x6c], edi
mov byte [ebp - 4], 6
test edi, edi
jne 0x454da4
lea ecx, [ebp - 0x8c]
call fcn.0044b850
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x454d04
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x2e
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error_on_WinHttpConnect:
mov ecx, eax
call fcn.0040a3c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004138e0
push eax
call fcn.0040a730
mov edx, dword [ebp - 0x78]
add esp, 4
cmp edx, 8
jb 0x454d97
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x454d8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45527b
push edx
push ecx
call fcn.0045a3a4
add esp, 8
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
jmp 0x45517a
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
push 0x800000
cmovae eax, dword [ebp - 0x50]
push 0
push 0
push 0
push eax
push str.POST
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 8
test esi, esi
jne 0x454e88
lea ecx, [ebp - 0x8c]
call fcn.0044b850
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x454df2
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x34
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error_on_WinHttpOpenRequest:
mov ecx, eax
call fcn.0040a3c0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.004138e0
push eax
call fcn.0040a730
mov edx, dword [ebp - 0x78]
add esp, 4
cmp edx, 8
jb 0x45500b
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455001
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455280
jmp 0x455001
xor ecx, ecx
nop word [eax + eax]
mov eax, ecx
inc ecx
mov dword [ebp - 0x94], ecx
cmp eax, 5
jae 0x45500b
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
mov edx, dword [ebx + 0x10]
jb 0x454eaf
mov ecx, dword [ebx]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push 0
cmovae eax, dword [ebp - 0x30]
push edx
push edx
push ecx
push dword [ebp - 0x20]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x454f9f
lea ecx, [ebp - 0x8c]
call fcn.0044b850
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x454eec
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x3f
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error_on_WinHttpSendRequest:
mov ecx, eax
call fcn.0040a3c0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.004138e0
push eax
call fcn.0040a730
mov byte [ebp - 4], 8
add esp, 4
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x454f83
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x454f79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455271
push edx
push ecx
call fcn.0045a3a4
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
jmp 0x454e90
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x455023
lea ecx, [ebp - 0x8c]
call fcn.0044b850
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x454fc6
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x4e
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error_on_WinHttpReceiveResponse:
jmp 0x454e28
push edx
push ecx
call fcn.0045a3a4
add esp, 8
xor bl, bl
test esi, esi
je 0x455171
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
jmp 0x455177
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 4
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x4550a2
lea ecx, [ebp - 0x8c]
call fcn.0044b850
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x455067
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x57
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Error_calling_WinHttpQueryHeaders_STATCODE_:
jmp 0x454e28
mov eax, dword [ebp - 0x18]
cmp eax, 0xc8
je 0x45516a
cmp eax, 0xc9
je 0x45516a
lea ecx, [ebp - 0x8c]
call fcn.0044b850
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4550d5
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4ca1e0
call fcn.0040b1e0
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.0040a3c0
mov edx, 0x4adac4
mov ecx, eax
call fcn.0040a3c0
push 0x63
mov ecx, eax
call fcn.00408a40
mov edx, str.:_Server_returned_a_status_code_of:
mov ecx, eax
call fcn.0040a3c0
push dword [ebp - 0x18]
mov ecx, eax
call fcn.004138e0
push eax
call fcn.0040a730
mov edx, dword [ebp - 0x78]
add esp, 4
cmp edx, 8
jb 0x455162
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455158
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455280
push edx
push ecx
call fcn.0045a3a4
add esp, 8
mov bl, byte [ebp - 0x71]
jmp 0x45500d
mov bl, 1
jmp 0x45500d
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
push dword [ebp - 0x38]
call esi
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4551b9
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4551af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455280
push edx
push ecx
call fcn.0045a3a4
add esp, 8
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp edx, 8
jb 0x455207
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4551fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455280
push edx
push ecx
call fcn.0045a3a4
add esp, 8
mov edx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x455251
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x455247
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455280
push edx
push ecx
call fcn.0045a3a4
add esp, 8
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.00459e83
mov esp, ebp
pop ebp
ret 4
call fcn.004750dc
call fcn.004750dc
call fcn.004750dc
call fcn.004750dc
int3