Function at 0x140161ff0
Capabilities:
Receive http response

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
cmp byte [rcx + 0x84], r14b
je 0x14016203f
mov eax, dword [rcx + 0xb0]
mov dword [rdx], eax
mov rax, qword [rcx + 0xb8]
mov qword [rdx + 8], rax
jmp 0x140162250
cmp byte [rcx + 0x21], r14b
jne 0x140162054
mov dword [rdx], 6
mov qword [rdx + 8], r14
jmp 0x140162250
lea r12, [rcx + 0x68]
mov rax, qword [r12]
mov qword [r12 + 8], rax
mov dword [rcx + 0x80], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r14
mov r15d, r14d
lea r13, [rcx + 0xd0]
mov dword [rbp + 0x67], r14d
mov qword [rbp - 0x41], r13
mov dword [rbp - 0x39], r14d
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov eax, 1
lock xadd dword [rbp - 0x39], eax
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1401620ac
lea esi, [rcx + 6]
jmp 0x1401620f4
lea rdx, [rbp + 0x67]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
setne al
test al, al
je 0x1401620cd
mov dword [rbp - 0x21], r14d
mov qword [rbp - 0x19], r14
lea rax, [rbp - 0x21]
jmp 0x1401620ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
lea rcx, [rbp + 7]
call fcn.1401600ac
lea rax, [rbp + 7]
mov esi, dword [rax]
mov r14, qword [rax + 8]
mov eax, dword [rbp - 0x39]
test eax, eax
je 0x140162112
or eax, 0xffffffff
lock xadd dword [rbp - 0x39], eax
mov rcx, qword [rbp - 0x41]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1401620f4
test esi, esi
jne 0x14016222d
mov eax, dword [rbp + 0x67]
lea r8, [rbp - 0x59]
lea rcx, [rbp - 0x59]
test eax, eax
je 0x1401621e6
lea edx, [r15 + rax]
call fcn.14006dc50
xor r14d, r14d
mov dword [rbp + 0x77], r14d
mov qword [rbp - 0x31], r13
mov dword [rbp - 0x29], r14d
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
lea eax, [rsi + 1]
lock xadd dword [rbp - 0x29], eax
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x140162165
lea esi, [rcx + 6]
jmp 0x1401621b8
mov edx, r15d
add rdx, qword [rbp - 0x59]
lea r9, [rbp + 0x77]
mov r8d, dword [rbp + 0x67]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
setne al
test al, al
je 0x140162191
mov dword [rbp - 0x11], r14d
mov qword [rbp - 9], r14
lea rax, [rbp - 0x11]
jmp 0x1401621b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
lea rcx, [rbp + 0x17]
call fcn.1401600ac
lea rax, [rbp + 0x17]
mov esi, dword [rax]
mov r14, qword [rax + 8]
mov eax, dword [rbp - 0x29]
test eax, eax
je 0x1401621d6
or eax, 0xffffffff
lock xadd dword [rbp - 0x29], eax
mov rcx, qword [rbp - 0x31]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1401621b8
test esi, esi
jne 0x14016222d
add r15d, dword [rbp + 0x77]
xor r14d, r14d
jmp 0x14016207e
mov edx, r15d
call fcn.14006dc50
lea rax, [rbp - 0x59]
cmp r12, rax
je 0x140162226
mov rcx, r12
call fcn.140034a70
mov rax, qword [rbp - 0x59]
mov qword [r12], rax
mov rax, qword [rbp - 0x51]
mov qword [r12 + 8], rax
mov rax, qword [rbp - 0x49]
mov qword [r12 + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
and qword [rbp - 0x49], 0
mov dword [rbx + 0x80], r15d
mov byte [rbx + 0x84], 1
mov dword [rbx + 0xb0], esi
mov qword [rbx + 0xb8], r14
mov dword [rdi], esi
mov qword [rdi + 8], r14
lea rcx, [rbp - 0x59]
call fcn.140034a70
mov rax, rdi
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret