Function at 0x140024c00
Capabilities:
Receive http response

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov rax, qword [0x1400b1040]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r15, r9
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov qword [rbp - 0x78], rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
xor r12d, r12d
mov qword [rsp + 0x78], r12
cmp qword [rcx + 0x30], r12
jne 0x140024c6a
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
jmp 0x140024e39
mov eax, 0xffffffff
cmp rsi, rax
cmova esi, eax
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov bl, byte [rsp + 0x40]
mov rax, qword [rdi + 0x40]
test rax, rax
je 0x140024c97
cmp qword [rdi + 0x38], rax
jae 0x140024d76
test esi, esi
je 0x140024d89
test r15, r15
je 0x140024cb6
xor edx, edx
mov rcx, r15
call fcn.14002c8ec
test al, al
jne 0x140024e69
mov dword [rsp + 0x44], r12d
lea rdx, [rsp + 0x44]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140024f19
mov ecx, dword [rsp + 0x44]
test ecx, ecx
je 0x140024d76
mov eax, esi
cmp ecx, esi
cmovb eax, ecx
mov dword [rsp + 0x44], eax
mov edx, eax
mov byte [rsp + 0x41], r12b
lea r8, [rsp + 0x41]
lea rcx, [rsp + 0x50]
call fcn.14002196c
mov dword [rsp + 0x48], r12d
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140024e88
mov byte [rsp + 0x40], r12b
mov edx, dword [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14002196c
mov ecx, dword [rsp + 0x48]
add qword [rdi + 0x38], rcx
cmp esi, ecx
jae 0x140024d4e
mov esi, r12d
jmp 0x140024d50
sub esi, ecx
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x70]
mov qword [rbp - 0x80], rdx
mov byte [rsp + 0x20], bl
lea rcx, [rsp + 0x68]
call fcn.1400231a0
jmp 0x140024c84
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140024d85
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rdi + 0x30], r12
mov rax, qword [rsp + 0x68]
mov qword [r14], rax
mov rax, qword [rsp + 0x70]
mov qword [r14 + 8], rax
mov rax, qword [rsp + 0x78]
mov qword [r14 + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov rdx, r12
mov qword [rsp + 0x78], rdx
mov ebx, 0x1000
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140024e05
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
cmp rdx, rbx
jb 0x140024ded
lfence
add rdx, 0x27
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024e63
call fcn.14002d030
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140024e39
sub rdx, rcx
cmp rdx, rbx
jb 0x140024e34
lfence
add rdx, 0x27
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024e5d
call fcn.14002d030
mov rax, r14
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.14002ca00
add rsp, 0x400
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140036560
nop
call fcn.140036560
nop
mov edx, 1
lea rcx, [rbp + 0x70]
call fcn.14002c904
lea rdx, [0x1400ae460]
lea rcx, [rbp + 0x70]
call fcn.140031e08
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x80], rax
lea rdx, [rdi + 0x48]
lea rcx, [rbp - 0x58]
call fcn.14000c8d4
mov rsi, rax
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
mov edx, ebx
lea rcx, [rbp - 0x18]
call fcn.140006500
nop
mov r8, rax
lea rdx, str.WinHttpReadData_failed_with
lea rcx, [rbp + 8]
call fcn.14000eea8
nop
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0x2bd
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_27_backendcommonupdtlib_srcgfehttpaccess.cpp
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.1400244ac
lea rdx, [0x1400ae3f0]
lea rcx, [rbp + 0x130]
call fcn.140031e08
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x80], rax
lea rdx, [rdi + 0x48]
lea rcx, [rbp - 0x38]
call fcn.14000c8d4
mov rsi, rax
movzx edi, bx
or edi, 0x80070000
test ebx, ebx
cmovle edi, ebx
mov edx, ebx
lea rcx, [rbp + 0x28]
call fcn.140006500
nop
mov r8, rax
lea rdx, str.WinHttpQueryDataAvailable_failed_with
lea rcx, [rbp + 0x48]
call fcn.14000eea8
nop
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0x29e
lea r9, str.C:dvsp4_build_sw_relgfclient_rel_03_27_backendcommonupdtlib_srcgfehttpaccess.cpp
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.1400244ac
lea rdx, [0x1400ae3f0]
lea rcx, [rbp + 0x210]
call fcn.140031e08
int3