Function at 0x1400d23bc
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 0x1400d2413
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 0x1400d2694
cmp byte [rcx + 0x21], dil
jne 0x1400d243b
mov r8d, 0x28876dd
lea rcx, [rbp - 0x21]
call fcn.1400c0324
mov r8, rax
mov rdx, rsi
mov rcx, rbx
call fcn.1400c18c8
jmp 0x1400d2694
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.1400c0540
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 0x1400d2497
mov r8d, 0x28876de
lea rcx, [rbp - 9]
call fcn.1400c0324
mov edi, dword [rax]
mov r14, qword [rax + 8]
mov r15d, dword [rax + 0x10]
jmp 0x1400d24e6
lea rdx, [rbp + 0x67]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400d24b4
mov r14, rdi
mov qword [rbp - 0x49], rdi
mov r15d, edi
mov dword [rbp - 0x41], edi
jmp 0x1400d24e6
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.1400c69b4
mov edi, dword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x48]
mov dword [rbp - 0x69], edi
test edi, edi
jne 0x1400d2634
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x1400d260e
lea edx, [r12 + rax]
lea rcx, [rsp + 0x20]
call fcn.14000cb58
and dword [rbp + 0x77], edi
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1400d2534
mov r8d, 0x28876df
lea rcx, [rbp + 0xf]
call fcn.1400c0324
mov edi, dword [rax]
mov r14, qword [rax + 8]
mov r15d, dword [rax + 0x10]
jmp 0x1400d25ff
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 0x1400d2567
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 0x1400d25b7
or r15d, 0xffffffff
mov eax, r15d
lock xadd dword [rdi + 8], eax
add eax, r15d
jne 0x1400d25b7
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1400ee2b6.0]
mov eax, r15d
lock xadd dword [rdi + 0xc], eax
add eax, r15d
jne 0x1400d25b7
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
nop
test r14b, r14b
je 0x1400d25ce
xor r14d, r14d
mov qword [rbp - 0x31], r14
xor r15d, r15d
mov dword [rbp - 0x29], r15d
xor edi, edi
jmp 0x1400d25ff
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.1400c69b4
mov edi, dword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r15d, dword [rbp - 0x79]
test edi, edi
jne 0x1400d2634
add r12d, dword [rbp + 0x77]
xor edi, edi
jmp 0x1400d2470
test edi, edi
jne 0x1400d2634
mov edx, r12d
lea rcx, [rsp + 0x20]
call fcn.14000cb58
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x68]
call fcn.1400ce440
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.1400c18c8
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400d2694
mov rdx, rcx
mov rax, qword [rsp + 0x30]
sub rax, rcx
cmp rax, 0x1000
jb 0x1400d268e
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400d268e
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