Function at 0x1400a3020
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, 0x100
mov qword [rbp - 0x71], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, rdx
mov rbx, rcx
xor edi, edi
cmp byte [rcx + 0x84], dil
je 0x1400a3077
mov eax, dword [rcx + 0x100]
mov dword [rdx], eax
mov rax, qword [rcx + 0x108]
mov qword [rdx + 8], rax
mov eax, dword [rcx + 0x110]
mov dword [rdx + 0x10], eax
jmp 0x1400a3302
cmp byte [rcx + 0x21], dil
jne 0x1400a309f
mov r8d, 0x28876dd
lea rcx, [rbp - 0x21]
call fcn.1400975a4
mov r8, rax
mov rdx, rsi
mov rcx, rbx
call fcn.140097ac4
jmp 0x1400a3302
mov rax, qword [rcx + 0x68]
mov qword [rcx + 0x70], rax
mov dword [rcx + 0x80], edi
mov rdx, 0xffffffff80004005
mov r8d, 0x28565c1
lea rcx, [rbp - 0x69]
call fcn.1400977c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov r12d, edi
mov dword [rbp + 0x67], edi
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1400a30fb
mov r8d, 0x28876de
lea rcx, [rbp - 9]
call fcn.1400975a4
mov edi, dword [rax]
mov r14, qword [rax + 8]
mov r15d, dword [rax + 0x10]
jmp 0x1400a314a
lea rdx, [rbp + 0x67]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400a3118
mov r14, rdi
mov qword [rbp - 0x49], rdi
mov r15d, edi
mov dword [rbp - 0x41], edi
jmp 0x1400a314a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov r8d, 0x28565c2
lea rcx, [rsp + 0x38]
call fcn.14009c6ac
mov edi, dword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x48]
mov dword [rbp - 0x69], edi
test edi, edi
jne 0x1400a32a2
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x1400a3277
lea edx, [r12 + rax]
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140023220
and dword [rbp + 0x77], edi
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1400a319d
mov r8d, 0x28876df
lea rcx, [rbp + 0xf]
call fcn.1400975a4
mov edi, dword [rax]
mov r14, qword [rax + 8]
mov r15d, dword [rax + 0x10]
jmp 0x1400a3268
mov edx, r12d
add rdx, qword [rsp + 0x20]
lea r9, [rbp + 0x77]
mov r8d, dword [rbp + 0x67]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
setne r14b
mov rdi, qword [rbx + 0x90]
test rdi, rdi
je 0x1400a31d0
lock inc dword [rdi + 8]
mov rdi, qword [rbx + 0x90]
mov rcx, qword [rbx + 0x88]
mov eax, dword [rbp + 0x77]
add dword [rcx + 0x14], eax
test rdi, rdi
je 0x1400a3220
or r15d, 0xffffffff
mov eax, r15d
lock xadd dword [rdi + 8], eax
add eax, r15d
jne 0x1400a3220
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140007d11.0]
mov eax, r15d
lock xadd dword [rdi + 0xc], eax
add eax, r15d
jne 0x1400a3220
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x140007d11.0]
nop
test r14b, r14b
je 0x1400a3237
xor r14d, r14d
mov qword [rbp - 0x31], r14
xor r15d, r15d
mov dword [rbp - 0x29], r15d
xor edi, edi
jmp 0x1400a3268
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
mov r8d, 0x28565c3
lea rcx, [rsp + 0x50]
call fcn.14009c6ac
mov edi, dword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r15d, dword [rbp - 0x79]
test edi, edi
jne 0x1400a32a2
add r12d, dword [rbp + 0x77]
xor edi, edi
jmp 0x1400a30d4
test edi, edi
jne 0x1400a32a2
mov edx, r12d
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140023220
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x68]
call fcn.14009f678
mov dword [rbx + 0x80], r12d
mov byte [rbx + 0x84], 1
lea r8, [rbx + 0x100]
mov dword [r8], edi
mov qword [r8 + 8], r14
mov dword [r8 + 0x10], r15d
mov rdx, rsi
mov rcx, rbx
call fcn.140097ac4
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400a3302
mov rdx, rcx
mov rax, qword [rsp + 0x30]
sub rax, rcx
cmp rax, 0x1000
jb 0x1400a32fc
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400a32fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rsi
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret