Function at 0x44f600
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 0x5aa1f0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x65b0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], 0
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push 0x1e
xor eax, eax
mov dword [ebp - 0x1c], 0
push str.Content_Type:_application_json
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00419250
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 - 0x30], edi
test edi, edi
jne 0x44f741
lea ecx, [ebp - 0x58]
call fcn.0044a2a0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44f6a4
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x663180
call fcn.00417e50
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416f60
mov edx, 0x63bb2c
mov ecx, eax
call fcn.00416f60
push 0x38
mov ecx, eax
call fcn.00415590
mov edx, str.:_Error_on_WinHttpOpen:
mov ecx, eax
call fcn.00416f60
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0041b120
push eax
call fcn.004172d0
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 8
jb 0x44f734
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f72a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd0b
push edx
push ecx
call fcn.00573caf
add esp, 8
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
jmp 0x44fc18
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x44f80f
lea ecx, [ebp - 0x58]
call fcn.0044a2a0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44f77b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x663180
call fcn.00417e50
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416f60
mov edx, 0x63bb2c
mov ecx, eax
call fcn.00416f60
push 0x3f
mov ecx, eax
call fcn.00415590
mov edx, str.:_Error_on_WinHttpSetTimeouts:
mov ecx, eax
call fcn.00416f60
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0041b120
push eax
call fcn.004172d0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x44f80f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f805
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd10
push edx
push ecx
call fcn.00573caf
add esp, 8
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 6
test eax, eax
jne 0x44f883
lea ecx, [ebp - 0x58]
call fcn.0044a2a0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x44f848
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x663180
call fcn.00417e50
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416f60
mov edx, 0x63bb2c
mov ecx, eax
call fcn.00416f60
push 0x45
mov ecx, eax
call fcn.00415590
mov edx, str.:_Error_on_WinHttpConnect:
jmp 0x44f6da
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push 0x800000
cmovae ecx, dword [ebp + 0x20]
push 0
push 0
push 0
push ecx
push str.POST
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 8
test esi, esi
jne 0x44f976
lea ecx, [ebp - 0x58]
call fcn.0044a2a0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44f8ce
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x663180
call fcn.00417e50
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416f60
mov edx, 0x63bb2c
mov ecx, eax
call fcn.00416f60
push 0x4b
mov ecx, eax
call fcn.00415590
mov edx, str.:_Error_on_WinHttpOpenRequest:
mov ecx, eax
call fcn.00416f60
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.0041b120
push eax
call fcn.004172d0
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 8
jb 0x44f95e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f954
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd0b
push edx
push ecx
call fcn.00573caf
add esp, 8
xor bl, bl
test esi, esi
je 0x44fc0d
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
jmp 0x44fc13
xor ecx, ecx
mov eax, ecx
inc ecx
mov dword [ebp - 0x60], ecx
cmp eax, 5
jae 0x44f95e
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
mov edx, dword [ebx + 0x10]
jb 0x44f990
mov ecx, dword [ebx]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push edx
push edx
push ecx
push dword [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x44fa74
lea ecx, [ebp - 0x58]
call fcn.0044a2a0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44f9ca
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x663180
call fcn.00417e50
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416f60
mov edx, 0x63bb2c
mov ecx, eax
call fcn.00416f60
push 0x56
mov ecx, eax
call fcn.00415590
mov edx, str.:_Error_on_WinHttpSendRequest:
mov ecx, eax
call fcn.00416f60
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.0041b120
push eax
call fcn.004172d0
mov byte [ebp - 4], 8
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x44fa5e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fa54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd0b
push edx
push ecx
call fcn.00573caf
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
jmp 0x44f978
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x44fad3
lea ecx, [ebp - 0x58]
call fcn.0044a2a0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fa98
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x663180
call fcn.00417e50
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416f60
mov edx, 0x63bb2c
mov ecx, eax
call fcn.00416f60
push 0x65
mov ecx, eax
call fcn.00415590
mov edx, str.:_Error_on_WinHttpReceiveResponse:
jmp 0x44f904
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x34], 4
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea ecx, [ebp - 0x58]
test eax, eax
jne 0x44fb4f
call fcn.0044a2a0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fb14
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x663180
call fcn.00417e50
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416f60
mov edx, 0x63bb2c
mov ecx, eax
call fcn.00416f60
push 0x6e
mov ecx, eax
call fcn.00415590
mov edx, str.:_Error_calling_WinHttpQueryHeaders_STATCODE_:
jmp 0x44f904
call fcn.0044a2a0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fb63
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x663180
call fcn.00417e50
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416f60
mov edx, 0x63bb2c
mov ecx, eax
call fcn.00416f60
push 0x73
mov ecx, eax
call fcn.00415590
mov edx, str.:_Server_returned_a_status_code_of:
mov ecx, eax
call fcn.00416f60
push dword [ebp - 0x14]
mov ecx, eax
call fcn.0041b120
push eax
call fcn.004172d0
mov edx, dword [ebp - 0x44]
add esp, 4
cmp edx, 8
jb 0x44fbed
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fbe3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd0b
push edx
push ecx
call fcn.00573caf
add esp, 8
mov eax, dword [ebp - 0x14]
cmp eax, 0xc8
je 0x44fbfe
cmp eax, 0xc9
jne 0x44fc05
mov bl, 1
jmp 0x44f960
mov bl, byte [ebp - 0x3d]
jmp 0x44f960
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x38]
call esi
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x44fc52
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fc48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd0b
push edx
push ecx
call fcn.00573caf
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test edi, edi
je 0x44fc6d
push edi
call esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x44fca3
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fc99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd0b
push edx
push ecx
call fcn.00573caf
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x44fced
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fce3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd0b
push edx
push ecx
call fcn.00573caf
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 - 0x10]
xor ecx, ebp
call fcn.0057374d
mov esp, ebp
pop ebp
ret
call fcn.0057f4be
call fcn.0057f4be
int3