Function at 0x140100490
Capabilities:
Prepare http request
Read http header
Receive http response
Set http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x228]
sub rsp, 0x328
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov qword [rsp + 0x40], r9
mov r14, r8
mov rsi, rdx
mov r12, rcx
mov rdx, qword [rbp + 0x290]
mov r13, qword [rbp + 0x2a0]
mov qword [rsp + 0x48], r13
xor r15d, r15d
mov qword [rbp - 8], r15
mov dword [r9], r15d
lea rax, [0x14043c918]
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x28]
call fcn.14002ed40
nop
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.140015470
movups xmm2, xmmword [rbp - 0x28]
movaps xmmword [rbp - 0x50], xmm2
movups xmm3, xmmword [rbp - 0x18]
movdqa xmmword [rbp - 0x40], xmm3
movdqa xmm0, xmmword [0x14043caa0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], r15b
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x14010056e
movaps xmm0, xmmword [rbp - 0x70]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x14043caa0]
movdqa xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], r15b
movups xmmword [rdx + 0x20], xmm2
movups xmmword [rdx + 0x30], xmm3
movdqa xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], r15b
add qword [r13 + 8], 0x40
jmp 0x14010057b
lea r8, [rbp - 0x70]
mov rcx, r13
call fcn.140101120
nop
lea rcx, [rbp - 0x50]
call fcn.140016400
lea rcx, [rbp - 0x70]
call fcn.140016400
nop
lea rcx, [rbp - 0x28]
call fcn.140016400
call fcn.140100050
mov rdi, rax
mov qword [rbp - 8], rax
test rax, rax
jne 0x1401005ad
jmp 0x140100d37
mov dword [rsp + 0x20], 0x2710
mov edx, 0x2710
mov r9d, edx
mov r8d, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x1401006b7
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x50]
call fcn.1402d24a8
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.1402d04e0
lea r9, [rbp - 0x30]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x10]
call fcn.1402d248c
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140030cb0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonSimpleHttpPoster.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
mov edx, 0x5a
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.:_Error_on_WinHttpSetTimeouts:
call fcn.140047ea0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14001df00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, rbx
call fcn.140070ff0
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x60]
call fcn.1400166f0
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.14009c3a0
cmp qword [rax + 0x18], 7
jbe 0x1401006cd
mov rax, qword [rax]
xor r8d, r8d
xor r9d, r9d
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
mov qword [rbp], rax
lea rcx, [rbp - 0x70]
call fcn.1400166f0
test rsi, rsi
jne 0x1401007e2
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x50]
call fcn.1402d24a8
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.1402d04e0
lea r9, [rbp - 0x30]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x10]
call fcn.1402d248c
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140030cb0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonSimpleHttpPoster.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
lea edx, [rsi + 0x60]
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.:_Error_on_WinHttpConnect:
call fcn.140047ea0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14001df00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, rbx
call fcn.140070ff0
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x60]
call fcn.1400166f0
nop
jmp 0x140100d2d
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.14009c3a0
cmp qword [rax + 0x18], 7
jbe 0x1401007f8
mov rax, qword [rax]
mov dword [rsp + 0x30], 0x800000
xor r14d, r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, rax
lea rdx, [0x14043c998]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
mov qword [rbp + 8], rax
lea rcx, [rbp - 0x30]
call fcn.1400166f0
test rbx, rbx
jne 0x140100926
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x50]
call fcn.1402d24a8
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.1402d04e0
lea r9, [rbp - 0x70]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x10]
call fcn.1402d248c
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140030cb0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonSimpleHttpPoster.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
lea edx, [rbx + 0x66]
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.:_Error_on_WinHttpOpenRequest:
call fcn.140047ea0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14001df00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, rbx
call fcn.140070ff0
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x60]
call fcn.1400166f0
nop
jmp 0x140100d23
mov r15, qword [r13]
mov rax, qword [r13 + 8]
mov qword [rsp + 0x50], rax
cmp r15, rax
je 0x1401009df
nop dword [rax]
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.14002ed40
nop
mov r8d, 2
lea rdx, [0x1404121b8]
lea rcx, [rbp - 0x70]
call fcn.14002ecb0
lea rdx, [r15 + 0x20]
cmp qword [r15 + 0x38], 0xf
jbe 0x140100971
mov rdx, qword [rdx]
mov r8, qword [r15 + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14002ecb0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x60]
call fcn.14009c3a0
cmp qword [rax + 0x18], 7
jbe 0x140100996
mov rax, qword [rax]
mov r9d, 0xa0000000
mov r8d, 0xffffffff
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov r14d, eax
lea rcx, [rsp + 0x60]
call fcn.1400166f0
test r14d, r14d
je 0x140100b2b
lea rcx, [rbp - 0x70]
call fcn.140016400
add r15, 0x40
cmp r15, qword [rsp + 0x50]
jne 0x140100940
xor r14d, r14d
mov r15d, r14d
nop dword [rax]
nop word [rax + rax]
mov eax, r15d
inc r15d
cmp eax, 5
jae 0x140100d19
mov eax, dword [r12 + 0x10]
mov r9, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x140100a13
mov r9, qword [r12]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x140100c23
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x50]
call fcn.1402d24a8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1402d04e0
lea r9, [rsp + 0x60]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x10]
call fcn.1402d248c
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.140030cb0
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonSimpleHttpPoster.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
mov edx, 0x7f
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.:_Error_on_WinHttpSendRequest:
call fcn.140047ea0
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, r14
call fcn.14001df00
mov r14, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, r14
call fcn.140070ff0
mov rcx, r14
call fcn.14002ddd0
nop
lea rcx, [rbp - 0x70]
call fcn.1400166f0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r14d, r14d
jmp 0x1401009f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
xor r15d, r15d
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x50]
call fcn.1402d24a8
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.1402d04e0
lea r9, [rbp - 0x30]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x10]
call fcn.1402d248c
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140030cb0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonSimpleHttpPoster.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
lea edx, [r15 + 0x73]
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.Error_calling_WinHttpAddRequestHeaders:
call fcn.140047ea0
mov edx, r14d
mov rcx, rax
call fcn.14001df00
mov r14, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, r14
call fcn.140070ff0
mov rcx, r14
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x60]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x70]
call fcn.140016400
jmp 0x140100d19
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140100d64
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x50]
call fcn.1402d24a8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1402d04e0
lea r9, [rsp + 0x60]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x10]
call fcn.1402d248c
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.140030cb0
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonSimpleHttpPoster.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
mov edx, 0x8e
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.:_Error_on_WinHttpReceiveResponse:
call fcn.140047ea0
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, r14
call fcn.14001df00
mov r14, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, r14
call fcn.140070ff0
mov rcx, r14
call fcn.14002ddd0
nop
lea rcx, [rbp - 0x70]
call fcn.1400166f0
nop
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, r13
call fcn.140098ec0
xor al, al
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1402b5c00
add rsp, 0x328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x58], r14d
mov dword [rbp - 0x78], 4
mov qword [rsp + 0x28], r14
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov qword [rsp + 0x50], r14
test eax, eax
jne 0x140100e7a
lea rcx, [rsp + 0x50]
call fcn.1402d24a8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1402d04e0
lea r9, [rsp + 0x60]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x10]
call fcn.1402d248c
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.140030cb0
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonSimpleHttpPoster.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
mov edx, 0x97
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.:_Error_calling_WinHttpQueryHeaders_STATCODE_:
call fcn.140047ea0
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, r14
call fcn.14001df00
mov r14, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, r14
call fcn.140070ff0
mov rcx, r14
call fcn.14002ddd0
nop
jmp 0x140100d0f
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
lea rcx, [rsp + 0x50]
call fcn.1402d24a8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1402d04e0
lea r9, [rsp + 0x60]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x10]
call fcn.1402d248c
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.140030cb0
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonSimpleHttpPoster.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
mov edx, 0x9e
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.:_Server_returned_a_status_code_of:
call fcn.140047ea0
mov edx, dword [rsp + 0x58]
mov rcx, rax
call fcn.14001df00
mov r14, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, r14
call fcn.140070ff0
mov rcx, r14
call fcn.14002ddd0
nop
lea rcx, [rbp - 0x70]
call fcn.1400166f0
mov eax, dword [rsp + 0x58]
add eax, 0xffffff38
xor cl, cl
movzx r14d, cl
mov ecx, 1
cmp eax, ecx
cmovbe r14d, ecx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, r13
call fcn.140098ec0
movzx eax, r14b
jmp 0x140100d41