Function at 0x140025720
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xd8
mov rax, qword [0x1400d3400]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov rsi, r9
mov rbx, r8
mov r10, rdx
mov r15, rcx
mov qword [rbp - 0x61], rcx
mov r14, qword [rbp + 0x6f]
mov r12, qword [rbp + 0x77]
mov qword [rbp - 0x59], r12
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x79], rax
mov r13, qword [rbp + 0x8f]
mov eax, dword [rbp + 0x97]
mov dword [rsp + 0x40], eax
mov rax, qword [rbp + 0x9f]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0xa7]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor edi, edi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 7
mov word [rcx], di
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], rdi
mov qword [rcx + 0x38], 7
mov word [rcx + 0x20], di
mov qword [rcx + 0x40], rdi
mov qword [rcx + 0x48], rdi
mov dword [rcx + 0x50], edi
mov rax, qword [0x1400d9c50]
nop
test rax, rax
jne 0x1400257f3
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r10
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
xchg qword [0x1400d9c50], rax
mov rax, qword [0x1400d9c50]
nop
test rax, rax
je 0x140025bd0
mov rcx, qword [0x1400d9c50]
nop
xor r9d, r9d
movzx r8d, word [rbp + 0x87]
mov rdx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r10, rax
mov qword [rbp - 0x69], rax
mov rdi, rax
mov qword [rbp - 0x71], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140025bab
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r13
mov r9, qword [rsp + 0x50]
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r13, rax
mov rbx, rax
mov qword [rsp + 0x50], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140025b88
mov eax, dword [r12 + 0x10]
cmp qword [r12 + 0x10], 0
jne 0x140025893
xor r14d, r14d
mov r9d, r14d
jmp 0x1400258a5
mov r9, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1400258a2
mov r9, qword [r12]
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
mov rdx, qword [rbp - 0x79]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140025b88
xor edx, edx
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], 0xf
mov byte [rbp - 0x51], 0
nop
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x140025a3c
mov edi, r8d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov rsi, r14
mov qword [rbp - 0x21], r14
mov rbx, r14
cmp r8, 0x1000
jb 0x140025958
lea rcx, [r8 + 0x27]
cmp rcx, r8
jbe 0x140025c5a
call fcn.140076d5c
test rax, rax
je 0x140025c60
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140025963
mov rcx, rdi
call fcn.140076d5c
mov rbx, rax
mov r14, rbx
mov qword [rbp - 0x31], rbx
lea rsi, [rbx + rdi]
mov qword [rbp - 0x21], rsi
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.1400a1080
mov qword [rbp - 0x29], rsi
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov r14d, dword [rsp + 0x48]
mov rcx, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x39]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1400259de
lea rax, [rcx + r14]
mov qword [rbp - 0x41], rax
lea rdi, [rbp - 0x51]
cmp rdx, 0xf
cmova rdi, qword [rbp - 0x51]
add rdi, rcx
mov r8d, r14d
mov rdx, rbx
mov rcx, rdi
call fcn.1400a09e0
mov byte [rdi + r14], 0
jmp 0x1400259f6
mov qword [rsp + 0x20], r14
mov r9, rbx
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x51]
call fcn.140003c10
nop
test rbx, rbx
je 0x140025a2e
sub rsi, rbx
cmp rsi, 0x1000
jb 0x140025a23
add rsi, 0x27
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x1f
ja 0x140025c60
mov rbx, rax
mov rdx, rsi
mov rcx, rbx
call fcn.140076d98
xor r14d, r14d
cmp dword [rsp + 0x40], r14d
ja 0x1400258f0
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x31]
call fcn.140046470
mov rbx, rax
cmp r15, rax
je 0x140025ac0
mov rdx, qword [r15 + 0x18]
cmp rdx, 7
jbe 0x140025a90
mov rcx, qword [r15]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140025a8b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140025c54
mov rcx, r8
call fcn.140076d98
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 7
mov word [r15], r14w
movups xmm0, xmmword [rbx]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x140025b00
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025afb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025c54
call fcn.140076d98
mov rdi, r14
mov qword [rbp - 0x71], r14
mov rcx, qword [r15 + 0x40]
mov rax, qword [rbp - 0x69]
mov qword [r15 + 0x40], rax
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140025b27
mov rax, qword [0x1400aa2e8]
call rax
nop
mov rbx, r14
mov qword [rsp + 0x50], rbx
mov rcx, qword [r15 + 0x48]
mov qword [r15 + 0x48], r13
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140025b4b
mov rax, qword [0x1400aa2e8]
call rax
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140025b92
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025b81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025c48
call fcn.140076d98
jmp 0x140025b92
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15 + 0x50], eax
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140025ba9
mov rcx, rbx
mov rax, qword [0x1400aa2e8]
call rax
nop
jmp 0x140025bb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15 + 0x50], eax
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140025bcc
mov rcx, rdi
mov rax, qword [0x1400aa2e8]
call rax
nop
xor edi, edi
jmp 0x140025bda
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15 + 0x50], eax
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x140025c12
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x140025c0d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140025c4e
mov rcx, r8
call fcn.140076d98
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
mov rax, r15
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.140076eb0
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14007d5c8
nop
call fcn.14007d5c8
nop
call fcn.14007d5c8
int3
call fcn.14000d630
int3
call fcn.14007d5c8
int3