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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2ae9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x6670c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x45], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 1
mov dword [ecx], 0
lea ecx, [ebp - 0x6c]
push eax
mov dword [ebp - 0x70], str.Content_Type
call fcn.00409d70
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x70]
mov ecx, edx
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44f570
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.0040ca30
movups xmm0, xmmword [ebp - 0x6c]
mov byte [ebp - 0x6c], 0
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [ebp - 0x5c]
movq qword [ebp - 0x80], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 4], 3
lea eax, [ebp - 0xa8]
mov edx, dword [ebx + 0x1c]
push eax
cmp dword [ebx + 0x20], edx
je 0x44f5ce
call fcn.0044ff10
add esp, 4
add dword [ebx + 0x1c], 0x30
jmp 0x44f5d7
push edx
lea ecx, [ebx + 0x18]
call fcn.0044ff80
lea ecx, [ebp - 0xa8]
call fcn.00444310
push 0
push 0
push 0
push 1
push str.MBSetup
mov byte [ebp - 4], 1
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [ebp - 0x78], edi
test edi, edi
jne 0x44f687
lea ecx, [ebp - 0x38]
call fcn.0044a310
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44f61d
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_setuputilities.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0x231
mov ecx, eax
call fcn.00414f30
mov edx, str.:_Error_on_WinHttpOpen:
mov ecx, eax
call fcn.00416700
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00419b10
push eax
call fcn.00416a70
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.00418110
mov byte [ebp - 0x45], 0
jmp 0x44fb66
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea eax, [ebp - 0x18]
push 4
push eax
push 0x54
push edi
mov dword [ebp - 0x20], 0x2a0
mov dword [ebp - 0x18], 0xaa0
call esi
test eax, eax
jne 0x44f6f1
push 4
lea eax, [ebp - 0x20]
push eax
push 0x54
push edi
call esi
test eax, eax
jne 0x44f6f1
mov edx, str.Error_on_WinHttpSetOption_SECURE_PROTOCOLS_:
mov ecx, 0x66f280
call fcn.00416700
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00419b10
push eax
call fcn.00416a70
add esp, 4
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 0x45], 0
jmp 0x44fb66
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
mov dword [ebp - 0x3c], edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x44f78c
lea ecx, [ebp - 0x38]
call fcn.0044a310
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44f72a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0x5a
mov ecx, eax
call fcn.00414f30
mov edx, str.:_Error_on_WinHttpSetTimeouts:
mov ecx, eax
call fcn.00416700
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00419b10
push eax
call fcn.00416a70
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00418110
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x38]
call fcn.0044a3d0
cmp dword [eax + 0x14], 8
jb 0x44f79f
mov eax, dword [eax]
push 0
push 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x20], edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.00418110
lea ecx, [ebp - 0x90]
test edi, edi
jne 0x44f84e
call fcn.0044a310
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x44f7de
mov eax, dword [eax]
push esi
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0x60
mov ecx, eax
call fcn.00414f30
mov edx, str.:_Error_on_WinHttpConnect:
mov ecx, eax
call fcn.00416700
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00419b10
push eax
call fcn.00416a70
add esp, 4
lea ecx, [ebp - 0x90]
call fcn.00418110
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 0x45], 0
jmp 0x44fb61
mov edx, dword [ebp - 0x4c]
call fcn.0044a3d0
cmp dword [eax + 0x14], 8
jb 0x44f85e
mov eax, dword [eax]
push 0x800000
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 - 0x44], esi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
call fcn.00418110
test esi, esi
jne 0x44f916
lea ecx, [ebp - 0x38]
call fcn.0044a310
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44f8a9
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0x66
mov ecx, eax
call fcn.00414f30
mov edx, str.:_Error_on_WinHttpOpenRequest:
mov ecx, eax
call fcn.00416700
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00419b10
push eax
call fcn.00416a70
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.00418110
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 0x45], 0
jmp 0x44fb5e
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x50], ecx
cmp eax, ecx
je 0x44f9da
nop word [eax + eax]
push eax
lea ecx, [ebp - 0x38]
call fcn.00409d70
push 0x642ed4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.00409bb0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
add eax, 0x18
push eax
call fcn.00409c20
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x6c]
call fcn.0044a3d0
cmp dword [eax + 0x14], 8
jb 0x44f96c
mov eax, dword [eax]
push 0xa0000000
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x4c], eax
call fcn.00418110
cmp dword [ebp - 0x4c], 0
je 0x44faa5
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x44f9c8
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44f9be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd45
push edx
push ecx
call fcn.0057cb4d
add esp, 8
mov eax, dword [ebp - 0x18]
add eax, 0x30
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x50]
jne 0x44f930
xor ecx, ecx
nop dword [eax]
mov eax, ecx
inc ecx
mov dword [ebp - 0x50], ecx
cmp eax, 5
jae 0x44fb51
mov edx, dword [ebp - 0x54]
mov eax, edx
cmp dword [edx + 0x14], 0x10
mov ecx, dword [edx + 0x10]
jb 0x44f9ff
mov eax, dword [edx]
push 0
push ecx
push ecx
push eax
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x44fb8f
lea ecx, [ebp - 0x6c]
call fcn.0044a310
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fa2e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0x7f
mov ecx, eax
call fcn.00414f30
mov edx, str.:_Error_on_WinHttpSendRequest:
mov ecx, eax
call fcn.00416700
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.00419b10
push eax
call fcn.00416a70
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6c]
call fcn.00418110
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x50]
jmp 0x44f9e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x4c], eax
call fcn.0044a310
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fac5
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0x73
mov ecx, eax
call fcn.00414f30
mov edx, str.Error_calling_WinHttpAddRequestHeaders:
mov ecx, eax
call fcn.00416700
push dword [ebp - 0x4c]
mov ecx, eax
call fcn.00419b10
push eax
call fcn.00416a70
add esp, 4
lea ecx, [ebp - 0x6c]
call fcn.00418110
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x44fb51
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44fb47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd45
push edx
push ecx
call fcn.0057cb4d
add esp, 8
mov byte [ebp - 0x45], 0
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push edi
call esi
push dword [ebp - 0x78]
call esi
lea ecx, [ebx + 0x18]
call fcn.00442420
mov al, byte [ebp - 0x45]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0057c5eb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x44fc1b
lea ecx, [ebp - 0x6c]
call fcn.0044a310
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fbb3
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0x8e
mov ecx, eax
call fcn.00414f30
mov edx, str.:_Error_on_WinHttpReceiveResponse:
mov ecx, eax
call fcn.00416700
mov dword [ebp - 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x54]
push eax
call fcn.00419b10
push eax
call fcn.00416a70
add esp, 4
lea ecx, [ebp - 0x6c]
call fcn.00418110
jmp 0x44fb51
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x40], 4
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x44fcad
lea ecx, [ebp - 0x6c]
call fcn.0044a310
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fc5c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0x97
mov ecx, eax
call fcn.00414f30
mov edx, str.:_Error_calling_WinHttpQueryHeaders_STATCODE_:
mov ecx, eax
call fcn.00416700
mov dword [ebp - 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x54]
jmp 0x44fbff
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
lea ecx, [ebp - 0x6c]
call fcn.0044a310
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x44fccc
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommon_simplehttpposter.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0x9e
mov ecx, eax
call fcn.00414f30
mov edx, str.:_Server_returned_a_status_code_of:
mov ecx, eax
call fcn.00416700
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.00419b10
push eax
call fcn.00416a70
add esp, 4
lea ecx, [ebp - 0x6c]
call fcn.00418110
mov eax, dword [ebp - 0x1c]
cmp eax, 0xc8
je 0x44fd3c
cmp eax, 0xc9
jne 0x44fb55
mov byte [ebp - 0x45], 1
jmp 0x44fb55
call fcn.0058834e
int3