Function at 0x14005b7f0
Capabilities:
Prepare http request
Set http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xa8
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp - 9], rax
mov r15, r9
mov rsi, r8
mov r14, rdx
mov r13, rcx
mov rdi, qword [rbp + 0x6f]
mov r12, qword [rbp + 0x77]
mov rbx, qword [rbp + 0x7f]
mov rax, qword [rbp + 0x87]
mov qword [rbp - 0x49], rax
mov ecx, 1
call fcn.1400e2070
test eax, eax
je 0x14005b8b5
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14005b855
mov rax, qword [rdi]
mov qword [rbp - 0x51], rax
mov rax, r15
cmp qword [r15 + 0x18], 8
jb 0x14005b866
mov rax, qword [r15]
mov qword [rbp - 0x41], rax
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x14005b877
mov rax, qword [rsi]
mov qword [rbp - 0x39], rax
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14005b888
mov rax, qword [r14]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
call fcn.14005c4d0
cmp qword [rsi + 0x18], 8
jb 0x14005b8bf
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 8
jb 0x14005b8c9
mov r14, qword [r14]
mov dword [rsp + 0x30], 0x800000
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rsi
mov rdx, r14
mov rcx, qword [r13 + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
xor r14d, r14d
test rax, rax
je 0x14005baaf
cmp qword [rdi + 0x10], r14
je 0x14005b92d
cmp qword [rdi + 0x18], 8
jb 0x14005b90f
mov rdi, qword [rdi]
mov r9d, 0x20000000
or r8d, 0xffffffff
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x14005bae6
mov r8, qword [rbp - 0x49]
mov rdx, r15
mov rcx, rsi
call fcn.14005bb08
test al, al
je 0x14005ba6d
mov dword [rbp - 0x51], r14d
mov qword [rbp - 0x19], r14
mov edi, 7
mov qword [rbp - 0x11], rdi
mov word [rbp - 0x29], r14w
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x51]
mov rcx, rsi
call fcn.14005be04
test al, al
je 0x14005ba13
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [rbp - 0x51]
mov dword [r12], eax
lea rax, [rbp - 0x29]
cmp rbx, rax
je 0x14005b9c1
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14005b9a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
call fcn.1400331fc
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], rdi
mov word [rbp - 0x29], r14w
mov ecx, 1
call fcn.1400e2070
test eax, eax
je 0x14005b9f1
cmp qword [rbx + 0x18], 8
jb 0x14005b9d9
mov rbx, qword [rbx]
mov qword [rbp - 0x49], rbx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
call fcn.14005c554
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x14005ba0c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
call fcn.1400331fc
mov al, 1
jmp 0x14005bae8
mov eax, dword [rbp - 0x51]
mov dword [r12], eax
mov ebx, 5
mov ecx, ebx
call fcn.1400e2070
test eax, eax
je 0x14005ba50
lea rax, str.Failed_to_ReceiveResponse
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 0x7c]
lea r8, str.CSIS::WebServices::MakeRequest
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISCommonWebServices.cpp
mov ecx, ebx
call fcn.14003209c
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x14005baa4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
call fcn.1400331fc
jmp 0x14005baa4
mov ebx, 5
mov ecx, ebx
call fcn.1400e2070
test eax, eax
je 0x14005baa4
lea rax, str.Failed_to_SendRequest
mov qword [rsp + 0x20], rax
mov r9d, 0x85
lea r8, str.CSIS::WebServices::MakeRequest
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISCommonWebServices.cpp
mov ecx, ebx
call fcn.14003209c
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x14005bae6
mov ebx, 5
mov ecx, ebx
call fcn.1400e2070
test eax, eax
je 0x14005bae6
lea rax, str.Failed_MakeRequest_new_
mov qword [rsp + 0x20], rax
mov r9d, 0x8b
lea r8, str.CSIS::WebServices::MakeRequest
lea rdx, str.E:BT98e4b0b8_6261_4b66_a156_8e0ef62b3d71UBF_1CSIS_srcCSISCommonWebServices.cpp
mov ecx, ebx
call fcn.14003209c
xor al, al
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140119fe0
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret