Function at 0x140003a40
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
sub rsp, 0x178
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14002c040]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r15, r9
mov rbx, r8
mov r12, rdx
mov rdi, rcx
mov qword [rbp + 0x40], rbx
movabs rax, 0x454e94d34f84ab96
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x20], rax
movabs rax, 0x84d53df6121f4c69
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x28], rax
movabs rax, 0xf11014fc2d3390b1
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x30], rax
movabs rcx, 0x3dc5c1a1f1e648c2
mov qword [rbp + 0x48], rcx
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x38], rax
movabs rax, 0x453c94b64ff7abe3
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x80], rax
movabs rax, 0x84bb3d9312784c08
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x88], rax
movabs rax, 0xf11014fc2d3390c5
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x48], rcx
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x98], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
vmovdqu ymmword [rbp + 0x20], ymm1
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x20]
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
test rax, rax
jne 0x140003b79
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14000ef50
nop
jmp 0x1400040ff
cmp qword [rdi + 0x18], 7
jbe 0x140003b83
mov rdi, qword [rdi]
mov r8d, 0x50
xor r9d, r9d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r14, rax
test rax, rax
jne 0x140003bbc
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14000ef50
nop
jmp 0x1400040ff
cmp qword [r12 + 0x18], 7
jbe 0x140003bc8
mov r12, qword [r12]
movabs rax, 0x456894e54fb8abb3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rcx, 0x84bb3d9312784c08
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
movabs rax, 0x453c94b64ff7abe3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x10], xmm0
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, r12
lea rdx, [rbp + 0x10]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
test rax, rax
jne 0x140003c7c
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14000ef50
nop
jmp 0x1400040ff
lea rdx, [rbp + 0x58]
mov rcx, rbx
call fcn.14000c780
nop
lea r9, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova r9, qword [rbp + 0x58]
movabs rax, 0x454894d84f98aba0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x84963de712164c6d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0xf175148c2d4a9091
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x3db5c1c0f1c648f8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0xc2737ec3f6660427
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x41439fde7b6ea42d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x73ec946a9e79d897
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0x65c9e3b578fcb3e9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movabs rax, 0x453c94b64ff7abe3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rax, 0x84bb3d9312784c08
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0xf11014fc2d3390c5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0x3dc5c1a1f1e648c2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0xc2107eaaf60a0457
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0x412c9fb77b1aa44c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0x739f94009e56d8f9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
movabs rax, 0x65c9e3b57892b386
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0xa0], ymm1
mov qword [rsp + 0x30], r13
mov eax, dword [rbp + 0x68]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
lea rdx, [rbp + 0x80]
mov rcx, rdi
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov rcx, rdi
test eax, eax
jne 0x140003efe
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x140003edb
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ed6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400040d5
call fcn.14001e790
movdqa xmm0, xmmword [0x1400246c0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14000ef50
nop
jmp 0x1400040ff
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, rdi
test eax, eax
jne 0x140003f84
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x140003f61
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400040d5
call fcn.14001e790
movdqa xmm0, xmmword [0x1400246c0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14000ef50
nop
jmp 0x1400040ff
mov dword [rbp + 0x50], r13d
mov dword [rbp + 0x48], r13d
lea rdx, [rbp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x140003ff8
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x140003fd5
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003fd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400040d5
call fcn.14001e790
movdqa xmm0, xmmword [0x1400246c0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14000ef50
nop
jmp 0x1400040ff
mov eax, dword [rbp + 0x50]
test eax, eax
je 0x1400040a3
mov edx, eax
xor r8d, r8d
mov rcx, r15
call fcn.14000d220
cmp qword [r15 + 0x18], 0xf
jbe 0x14000401a
mov r15, qword [r15]
lea r9, [rbp + 0x48]
mov r8d, dword [rbp + 0x50]
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x140004081
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000407c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400040d5
call fcn.14001e790
movdqa xmm0, xmmword [0x1400246c0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14000ef50
nop
mov al, 1
jmp 0x140004101
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x1400040e1
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400040dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400040dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001e790
movdqa xmm0, xmmword [0x1400246c0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.14000ef50
nop
xor al, al
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14001e770
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret