Function at 0x1400027a0
Capabilities:
Check http status code
Prepare http request
Read http header
Receive http response

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x8a00]
mov eax, 0x8b00
call fcn.140089230
sub rsp, rax
movaps xmmword [rsp + 0x8af0], xmm6
mov rax, qword [0x1400c81d8]
xor rax, rsp
mov qword [rbp + 0x89e8], rax
mov r14, r9
mov r15, r8
mov rax, rdx
mov rbx, rcx
mov rsi, qword [rbp + 0x8a60]
lea rcx, [0x1400aa820]
mov qword [rsp + 0x50], rcx
xor r12d, r12d
mov qword [rsp + 0x58], r12
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rcx
mov dword [rsp + 0x60], 0x68
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x78], rcx
mov dword [rbp - 0x80], 0x100
lea rcx, [rbp + 0x1e0]
mov qword [rbp - 0x58], rcx
mov dword [rbp - 0x50], 0x400
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
mov eax, r12d
mov edx, 1
mov ecx, 0x1bb
cmp word [rbp - 0x7c], cx
cmove eax, edx
shl eax, 0x17
add eax, 0x100
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x1e0]
lea rdx, [0x1400aa868]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
test rax, rax
jne 0x1400028bc
mov dword [rsi], 0xfffffffd
jmp 0x140002b8d
mov rax, r14
neg rax
sbb r8d, r8d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140002b7c
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
setne bl
mov dword [rsp + 0x44], 0x10
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x14000293e
mov dword [rsi], 0xfffffffc
mov rcx, rdi
call sub.WINHTTP.dll_WinHttpCloseHandle
nop
jmp 0x140002b8d
mov word [rbp - 0x22], r12w
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp - 0x30]
call fcn.140095f28
mov dword [rsi], eax
test bl, bl
je 0x140002b6f
cmp eax, 0xc8
jne 0x140002b6f
mov r14d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140002b4a
mov r15d, 0x8000
movss xmm6, dword [0x1400aa870]
nop
mov dword [rsp + 0x40], r12d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140002b2f
mov r8d, dword [rsp + 0x40]
cmp r8d, r15d
cmova r8d, r15d
mov dword [rsp + 0x40], r8d
lea r9, [rsp + 0x48]
lea rdx, [rbp + 0x9e0]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140002b14
mov r8d, dword [rsp + 0x48]
test r8d, r8d
je 0x140002ac7
mov r9, rsi
lea rdx, [rbp + 0x9e0]
mov rcx, rbx
call fcn.140003150
test al, al
je 0x140002aff
mov rcx, qword [0x1400caa68]
xorps xmm0, xmm0
test rcx, rcx
js 0x140002a37
cvtsi2ss xmm0, rcx
jmp 0x140002a4c
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1400caa60]
xorps xmm1, xmm1
test rcx, rcx
js 0x140002a62
cvtsi2ss xmm1, rcx
jmp 0x140002a77
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
mulss xmm0, xmm6
cvttss2si eax, xmm0
cmp eax, r14d
jle 0x140002aa9
mov r14d, eax
movsxd r9, eax
mov qword [rsp + 0x20], r12
mov edx, 0x3e9
lea r8d, [rdx + 0x19]
mov rcx, qword [0x1400caa50]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor edx, edx
mov rcx, qword [0x1400caa70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140002ae1
cmp dword [rsp + 0x40], r12d
ja 0x1400029b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call sub.WINHTTP.dll_WinHttpCloseHandle
nop
mov al, 1
jmp 0x140002b8f
mov dword [rsi], 0xfffffff2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call sub.WINHTTP.dll_WinHttpCloseHandle
nop
jmp 0x140002b8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call sub.WINHTTP.dll_WinHttpCloseHandle
nop
jmp 0x140002b8d
mov dword [rsi], 0xfffffff7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call sub.WINHTTP.dll_WinHttpCloseHandle
nop
jmp 0x140002b8d
mov dword [rsi], 0xfffffff8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call sub.WINHTTP.dll_WinHttpCloseHandle
nop
jmp 0x140002b8d
mov dword [rsi], 0xfffffff9
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140002b64
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call sub.WINHTTP.dll_WinHttpCloseHandle
nop
jmp 0x140002b8d
mov rcx, rdi
call sub.WINHTTP.dll_WinHttpCloseHandle
nop
mov al, 1
jmp 0x140002b8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, rdi
call sub.WINHTTP.dll_WinHttpCloseHandle
nop
xor al, al
mov rcx, qword [rbp + 0x89e8]
xor rcx, rsp
call fcn.1400890e0
movaps xmm6, xmmword [rsp + 0x8af0]
add rsp, 0x8b00
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret