Function at 0x1400e835c
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, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
cmp byte [rcx + 0x84], r14b
je 0x1400e83ab
mov eax, dword [rcx + 0xb0]
mov dword [rdx], eax
mov rax, qword [rcx + 0xb8]
mov qword [rdx + 8], rax
jmp 0x1400e85b6
cmp byte [rcx + 0x21], r14b
jne 0x1400e83c0
mov dword [rdx], 6
mov qword [rdx + 8], r14
jmp 0x1400e85b6
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 - 0x79], r13
mov dword [rbp - 0x71], r14d
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
lock inc dword [rbp - 0x71]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1400e8412
lea esi, [rcx + 6]
jmp 0x1400e8475
lea rdx, [rbp + 0x67]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
setne al
test al, al
je 0x1400e8433
mov dword [rbp - 0x41], r14d
mov qword [rbp - 0x39], r14
lea r14, [rbp - 0x41]
jmp 0x1400e8454
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
lea rcx, [rbp - 0x19]
call fcn.1400e6acc
lea r14, [rbp - 0x19]
mov esi, dword [r14]
mov dword [rbp - 9], esi
mov r14, qword [r14 + 8]
mov qword [rbp - 1], r14
jmp 0x1400e8475
lock dec dword [rbp - 0x71]
mov rcx, qword [rbp - 0x79]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov eax, dword [rbp - 0x71]
test eax, eax
jne 0x1400e8464
test esi, esi
jne 0x1400e8593
mov eax, dword [rbp + 0x67]
lea rcx, [rbp - 0x59]
test eax, eax
je 0x1400e854c
lea edx, [r15 + rax]
call fcn.1400639c8
xor r14d, r14d
mov dword [rbp + 0x77], r14d
mov qword [rbp - 0x69], r13
mov dword [rbp - 0x61], r14d
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
lock inc dword [rbp - 0x61]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1400e84c7
lea esi, [rcx + 6]
jmp 0x1400e8535
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 0x1400e84f3
mov dword [rbp - 0x31], r14d
mov qword [rbp - 0x29], r14
lea r14, [rbp - 0x31]
jmp 0x1400e8514
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.1400e6acc
lea r14, [rbp + 7]
mov esi, dword [r14]
mov dword [rbp + 0x17], esi
mov r14, qword [r14 + 8]
mov qword [rbp + 0x1f], r14
jmp 0x1400e8535
lock dec dword [rbp - 0x61]
mov rcx, qword [rbp - 0x69]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov eax, dword [rbp - 0x61]
test eax, eax
jne 0x1400e8524
test esi, esi
jne 0x1400e8593
add r15d, dword [rbp + 0x77]
xor r14d, r14d
jmp 0x1400e83ea
mov edx, r15d
call fcn.1400639c8
lea rax, [rbp - 0x59]
cmp r12, rax
je 0x1400e858c
mov rcx, r12
call fcn.140029430
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.140029430
mov rax, rdi
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret