Function at 0x140175fd0
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x1405f98c0]
xor rax, rsp
mov qword [rbp], rax
mov r13, r9
mov r15, r8
mov rax, rdx
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rsp + 0x50], xmm0
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
mov qword [rbp - 0x50], rcx
mov dword [rsp + 0x50], WSAGetLastError
mov dword [rsp + 0x70], 1
mov dword [rbp - 0x60], 1
cmp qword [rdx + 0x18], 7
jbe 0x14017604a
mov rax, qword [rdx]
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x14017637b
mov ebx, dword [rsp + 0x70]
mov r14, qword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov edi, 0xa
cmp rbx, 7
ja 0x1401760af
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], 7
add rbx, rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x20]
call fcn.14043cc20
xor esi, esi
mov word [rbp + rbx - 0x20], si
jmp 0x140176128
mov rsi, rbx
or rsi, 7
cmp rsi, rdi
cmovb rsi, rdi
lea rcx, [rsi*2 + 2]
cmp rcx, 0x1000
jb 0x1401760fa
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1401763a1
mov rcx, rax
call fcn.1403e3660
test rax, rax
je 0x14017639b
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140176102
call fcn.1403e3660
mov rdi, rax
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rsi
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.14043cc20
xor esi, esi
mov word [rbx + rdi], si
lea edi, [rsi + 0xa]
mov ebx, dword [rbp - 0x60]
mov r12, qword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
cmp rbx, 7
ja 0x140176169
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 7
add rbx, rbx
mov r8, rbx
mov rdx, r12
lea rcx, [rbp - 0x40]
call fcn.14043cc20
mov word [rbp + rbx - 0x40], si
jmp 0x1401761de
mov r14, rbx
or r14, 7
cmp r14, 0xa
cmovb r14, rdi
lea rcx, [r14*2 + 2]
cmp rcx, 0x1000
jb 0x1401761b5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1401763a7
mov rcx, rax
call fcn.1403e3660
test rax, rax
je 0x1401763ad
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1401761bd
call fcn.1403e3660
mov rdi, rax
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], r14
add rbx, rbx
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call fcn.14043cc20
mov word [rdi + rbx], si
cmp qword [r15 + 0x18], 7
jbe 0x1401761e8
mov r15, qword [r15]
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rbx, qword [rsp + 0x40]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14017621d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.http:_WinHttpOpen_Error_:_
jmp 0x1401762c6
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rdx, qword [rbp - 0x20]
xor r9d, r9d
movzx r8d, word [rsp + 0x74]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rcx, rax
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140176258
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.http:_WinHttpConnect_Error_:_
jmp 0x1401762c6
lea rax, [0x140576ef0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova r8, qword [rbp - 0x40]
cmp qword [r13 + 0x18], 7
jbe 0x140176282
mov r13, qword [r13]
mov eax, esi
mov edx, 0x800000
cmp dword [rsp + 0x64], 2
cmove eax, edx
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov rdx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x1401762e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.http:_WinHttpOpenRequest_Error_:_
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, str.WINHTTP_CONNECTION
mov edx, 4
call fcn.1400d1640
xor bl, bl
jmp 0x1401762eb
mov bl, 1
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14017632b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140176326
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401763ad
call fcn.1403e3650
movdqa xmm0, xmmword [0x14057a8b0]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], si
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140176378
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140176373
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017639b
call fcn.1403e3650
movzx eax, bl
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1403e3630
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1403fd768
int3
call fcn.1400c4e70
nop
call fcn.1400c4e70
nop
call fcn.1403fd768
int3