Function at 0x44f740
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 0x5aa3a0
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 0x44f881
lea ecx, [ebp - 0x58]
call fcn.0044a3e0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44f7e4
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, 0x63bb34
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 0x44f874
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f86a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fe4b
push edx
push ecx
call fcn.00573e00
add esp, 8
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
jmp 0x44fd58
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x44f94f
lea ecx, [ebp - 0x58]
call fcn.0044a3e0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44f8bb
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, 0x63bb34
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 0x44f94f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f945
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fe50
push edx
push ecx
call fcn.00573e00
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 0x44f9c3
lea ecx, [ebp - 0x58]
call fcn.0044a3e0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x44f988
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, 0x63bb34
mov ecx, eax
call fcn.00416f60
push 0x45
mov ecx, eax
call fcn.00415590
mov edx, str.:_Error_on_WinHttpConnect:
jmp 0x44f81a
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 0x44fab6
lea ecx, [ebp - 0x58]
call fcn.0044a3e0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fa0e
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, 0x63bb34
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 0x44fa9e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fa94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fe4b
push edx
push ecx
call fcn.00573e00
add esp, 8
xor bl, bl
test esi, esi
je 0x44fd4d
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
jmp 0x44fd53
xor ecx, ecx
mov eax, ecx
inc ecx
mov dword [ebp - 0x60], ecx
cmp eax, 5
jae 0x44fa9e
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
mov edx, dword [ebx + 0x10]
jb 0x44fad0
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 0x44fbb4
lea ecx, [ebp - 0x58]
call fcn.0044a3e0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fb0a
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, 0x63bb34
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 0x44fb9e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fb94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fe4b
push edx
push ecx
call fcn.00573e00
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
jmp 0x44fab8
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x44fc13
lea ecx, [ebp - 0x58]
call fcn.0044a3e0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fbd8
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, 0x63bb34
mov ecx, eax
call fcn.00416f60
push 0x65
mov ecx, eax
call fcn.00415590
mov edx, str.:_Error_on_WinHttpReceiveResponse:
jmp 0x44fa44
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 0x44fc8f
call fcn.0044a3e0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fc54
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, 0x63bb34
mov ecx, eax
call fcn.00416f60
push 0x6e
mov ecx, eax
call fcn.00415590
mov edx, str.:_Error_calling_WinHttpQueryHeaders_STATCODE_:
jmp 0x44fa44
call fcn.0044a3e0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fca3
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, 0x63bb34
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 0x44fd2d
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fd23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fe4b
push edx
push ecx
call fcn.00573e00
add esp, 8
mov eax, dword [ebp - 0x14]
cmp eax, 0xc8
je 0x44fd3e
cmp eax, 0xc9
jne 0x44fd45
mov bl, 1
jmp 0x44faa0
mov bl, byte [ebp - 0x3d]
jmp 0x44faa0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x38]
call esi
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x44fd92
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fd88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fe4b
push edx
push ecx
call fcn.00573e00
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 0x44fdad
push edi
call esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x44fde3
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fdd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fe4b
push edx
push ecx
call fcn.00573e00
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 0x44fe2d
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fe23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fe4b
push edx
push ecx
call fcn.00573e00
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.0057389e
mov esp, ebp
pop ebp
ret
call fcn.0057f5fe
call fcn.0057f5fe
int3