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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1020]
mov eax, 0x1120
call fcn.18006e3d0
sub rsp, rax
mov rax, qword [0x1800d9060]
xor rax, rsp
mov qword [rbp + 0x1010], rax
mov rbx, rdx
mov r15, rcx
mov qword [rbp - 0x60], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x18000ee35
mov rcx, qword [rdx]
mov qword [rsp + 0x20], 3
lea r9, [0x1800beedc]
xor r8d, r8d
mov rdx, qword [rdx + 0x10]
call fcn.180011af0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000ee8d
mov qword [r15], r12
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], r12b
lea r8d, [rax + 0x1c]
lea rdx, str.Invalid_URL_format.xxfailed
mov rcx, r15
call fcn.18000dc10
nop
mov dword [rsp + 0x40], 1
jmp 0x1800100ee
add rdi, 3
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], r12b
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov dword [rsp + 0x68], 0x50
mov rsi, qword [rbx + 0x10]
mov r13, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18000eee2
mov r13, qword [rbx]
mov r12, 0xffffffffffffffff
cmp rdi, rsi
jae 0x18000ef0f
mov r8, rsi
sub r8, rdi
lea rcx, [rdi + r13]
lea edx, [r12 + 0x3b]
call fcn.180070420
mov r14, rax
test rax, rax
je 0x18000ef0f
sub r14, r13
jmp 0x18000ef12
mov r14, r12
mov r13, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18000ef1f
mov r13, qword [rbx]
cmp rdi, rsi
jae 0x18000ef45
sub rsi, rdi
lea rcx, [rdi + r13]
mov r8, rsi
mov edx, 0x2f
call fcn.180070420
mov rsi, rax
test rax, rax
je 0x18000ef45
sub rsi, r13
jmp 0x18000ef48
mov rsi, r12
cmp r14, r12
je 0x18000f121
cmp rsi, r12
je 0x18000ef5f
cmp r14, rsi
jae 0x18000f121
xor r13d, r13d
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], r13b
mov rax, qword [rbx + 0x10]
cmp rax, rdi
jb 0x18001013f
mov r8, r14
sub r8, rdi
sub rax, rdi
cmp rax, r8
cmovb r8, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18000efae
mov rax, qword [rbx]
lea rdx, [rax + rdi]
lea rcx, [rsp + 0x48]
call fcn.18000dc10
mov edi, 2
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18000f000
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000effb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010145
call fcn.18006d82c
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], r13b
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x28], xmm1
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], r13b
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rax, rsi
sub rax, r14
dec rax
mov r8, r12
cmp rsi, r12
cmovne r8, rax
inc r14
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rax, qword [rbx + 0x10]
cmp rax, r14
jb 0x18001014b
sub rax, r14
cmp rax, r8
cmovb r8, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18000f0ab
mov rax, qword [rbx]
lea rdx, [rax + r14]
lea rcx, [rsp + 0x48]
call fcn.18000dc10
or edi, 4
mov dword [rsp + 0x40], edi
mov r8d, 0xa
lea rcx, [rsp + 0x48]
call fcn.180012040
mov dword [rsp + 0x68], eax
and edi, 0xfffffffb
mov dword [rsp + 0x40], edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000f207
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f117
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010151
call fcn.18006d82c
jmp 0x18000f207
cmp rsi, r12
je 0x18000f30f
xor r13d, r13d
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], r13b
mov rax, qword [rbx + 0x10]
cmp rax, rdi
jb 0x180010157
mov r8, rsi
sub r8, rdi
sub rax, rdi
cmp rax, r8
cmovb r8, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18000f179
mov rax, qword [rbx]
lea rdx, [rax + rdi]
lea rcx, [rsp + 0x48]
call fcn.18000dc10
mov edi, 8
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18000f1cb
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f1c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001015d
call fcn.18006d82c
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], r13b
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x28], xmm1
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], r13b
and edi, 0xfffffff7
mov dword [rsp + 0x40], edi
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x58], r13
cmp rsi, 0xffffffffffffffff
je 0x18000f3f9
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rax, qword [rbx + 0x10]
cmp rax, rsi
jb 0x180010163
sub rax, rsi
cmp rax, 0xffffffffffffffff
cmovb r12, rax
cmp qword [rbx + 0x18], 0x10
jb 0x18000f268
mov rbx, qword [rbx]
lea rdx, [rbx + rsi]
mov r8, r12
lea rcx, [rsp + 0x48]
call fcn.18000dc10
or edi, 0x20
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18000f2bb
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f2b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010169
call fcn.18006d82c
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x48], xmm1
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
and edi, 0xffffffdf
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
jmp 0x18000f40f
xor r13d, r13d
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], r13b
mov rax, qword [rbx + 0x10]
cmp rax, rdi
jb 0x18001016f
sub rax, rdi
cmp rax, 0xffffffffffffffff
cmovb r12, rax
cmp qword [rbx + 0x18], 0x10
jb 0x18000f356
mov rbx, qword [rbx]
lea rdx, [rbx + rdi]
mov r8, r12
lea rcx, [rsp + 0x48]
call fcn.18000dc10
mov edi, 0x10
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp - 0x20]
cmp rdx, rdi
jb 0x18000f3aa
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f3a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010175
call fcn.18006d82c
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], r13b
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x28], xmm1
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], r13b
and edi, 0xffffffef
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov r8d, 1
lea rdx, [0x1800beefc]
lea rcx, [rbp - 0x58]
call fcn.18000dc10
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800bef00]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r14, rax
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x18000f57c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.180011f80
nop
lea r9d, [r14 + 0x16]
lea r8, str.WinHttpOpen_xxfailed:
mov rcx, rax
call fcn.18000bea0
mov qword [r15], r13
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
or edi, 0x40
mov dword [rsp + 0x40], edi
and edi, 0xffffffbf
mov dword [rsp + 0x40], edi
or edi, 1
mov dword [rsp + 0x40], edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000f4db
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f4d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001017b
call fcn.18006d82c
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18000f529
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f524
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010181
call fcn.18006d82c
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18000ff34
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ff2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010121
jmp 0x18000ff2f
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x28]
add rbx, rdx
lea rsi, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rsi, qword [rbp - 0x38]
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov rdx, rbx
sub rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.180008440
lea rax, [rsp + 0x70]
mov qword [rbp - 0x70], rax
cmp rsi, rbx
je 0x18000f627
nop dword [rax]
movsx r9d, byte [rsi]
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
cmp rcx, rdx
jae 0x18000f615
lea rax, [rcx + 1]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x70]
cmp rdx, 8
cmovae rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x18000f61f
lea rcx, [rsp + 0x70]
call fcn.18000aca0
inc rsi
cmp rsi, rbx
jne 0x18000f5e0
mov qword [rbp - 0x70], r13
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
xor r9d, r9d
movzx r8d, word [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r13, rax
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x18000f691
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f68c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010187
call fcn.18006d82c
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
test r13, r13
jne 0x18000f7fe
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.180011f80
nop
lea r9d, [r12 + 0x19]
lea r8, str.WinHttpConnect_xxfailed:
mov rcx, rax
call fcn.18000bea0
mov qword [r15], r13
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r13b
bts edi, 7
mov dword [rsp + 0x40], edi
btr edi, 7
mov dword [rsp + 0x40], edi
or edi, 1
mov dword [rsp + 0x40], edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000f75d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f758
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001018d
call fcn.18006d82c
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18000f7ab
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f7a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010193
call fcn.18006d82c
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18000ff34
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ff2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010127
jmp 0x18000ff2f
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x48]
add rbx, rdx
lea rsi, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rsi, qword [rbp - 0x58]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r12w
mov rdx, rbx
sub rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.180008440
lea rax, [rsp + 0x48]
mov qword [rbp - 0x70], rax
cmp rsi, rbx
je 0x18000f8ac
movsx r9d, byte [rsi]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
cmp rcx, rdx
jae 0x18000f89a
lea rax, [rcx + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rdx, 8
cmovae rax, qword [rsp + 0x48]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r12w
jmp 0x18000f8a4
lea rcx, [rsp + 0x48]
call fcn.18000aca0
inc rsi
cmp rsi, rbx
jne 0x18000f862
xor esi, esi
mov qword [rbp - 0x70], rsi
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [0x1800bef78]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18000f929
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f924
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010199
call fcn.18006d82c
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
test r12, r12
jne 0x18000faa0
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.180011f80
nop
lea r9d, [r12 + 0x1d]
lea r8, str.WinHttpOpenRequest_xxfailed:
mov rcx, rax
call fcn.18000bea0
xor r13d, r13d
mov qword [r15], r13
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r13b
bts edi, 8
mov dword [rsp + 0x40], edi
btr edi, 8
mov dword [rsp + 0x40], edi
or edi, 1
mov dword [rsp + 0x40], edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000f9ff
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f9fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001019f
call fcn.18006d82c
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18000fa4d
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000fa48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800101a5
call fcn.18006d82c
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18000ff34
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ff2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001012d
jmp 0x18000ff2f
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov rcx, r12
test eax, eax
jne 0x18000fc2b
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.180011f80
nop
mov r9d, 0x1d
lea r8, str.WinHttpSendRequest_xxfailed:
mov rcx, rax
call fcn.18000bea0
xor r13d, r13d
mov qword [r15], r13
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r13b
bts edi, 9
mov dword [rsp + 0x40], edi
btr edi, 9
mov dword [rsp + 0x40], edi
or edi, 1
mov dword [rsp + 0x40], edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000fb8a
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000fb85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800101ab
call fcn.18006d82c
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18000fbd8
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000fbd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800101b1
call fcn.18006d82c
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18000ff34
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ff2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010133
jmp 0x18000ff2f
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x18000fda0
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.180011f80
nop
mov r9d, 0x21
lea r8, str.WinHttpReceiveResponse_xxfailed:
mov rcx, rax
call fcn.18000bea0
xor r13d, r13d
mov qword [r15], r13
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r13b
bts edi, 0xa
mov dword [rsp + 0x40], edi
btr edi, 0xa
mov dword [rsp + 0x40], edi
or edi, 1
mov dword [rsp + 0x40], edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000fcff
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000fcfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800101b7
call fcn.18006d82c
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18000fd4d
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000fd48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800101bd
call fcn.18006d82c
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18000ff34
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ff2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180010139
jmp 0x18000ff2f
mov dword [rbp - 0x18], esi
mov qword [rbp - 0x10], rsi
mov qword [rbp], rsi
mov qword [rbp + 8], rsi
mov r14, rsi
mov qword [rbp], rsi
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 8], rbx
mov byte [rbp - 0x10], r14b
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x10]
call fcn.18006ff70
lea r9, [rbp - 0x18]
mov r8d, 0x1000
lea rdx, [rbp + 0x10]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x18000ff3d
mov esi, dword [rbp - 0x18]
mov rax, rbx
sub rax, r14
cmp rsi, rax
ja 0x18000fe2f
lea rax, [rsi + r14]
mov qword [rbp], rax
lea rax, [rbp - 0x10]
cmp rbx, 0x10
cmovae rax, qword [rbp - 0x10]
lea rbx, [rax + r14]
mov r8d, esi
lea rdx, [rbp + 0x10]
mov rcx, rbx
call fcn.18006f8c0
mov byte [rbx + rsi], 0
jmp 0x18000fe44
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x10]
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.18000b480
cmp dword [rbp - 0x18], 0
jbe 0x18000fe57
mov rbx, qword [rbp + 8]
mov r14, qword [rbp]
jmp 0x18000fdc3
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor r13d, r13d
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbp], r13
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], r13b
or edi, 1
mov dword [rsp + 0x40], edi
mov qword [rbp], r13
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], r13b
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x18000fee9
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000fee4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800101c3
call fcn.18006d82c
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18000ff34
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ff2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800101c9
call fcn.18006d82c
mov qword [rbp - 0x28], r13
jmp 0x1800100e2
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.180011f80
nop
mov r9d, 0x1a
lea r8, str.WinHttpReadData_xxfailed:
mov rcx, rax
call fcn.18000bea0
xor esi, esi
mov qword [r15], rsi
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], sil
bts edi, 0xb
mov dword [rsp + 0x40], edi
btr edi, 0xb
mov dword [rsp + 0x40], edi
or edi, 1
mov dword [rsp + 0x40], edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180010001
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000fffc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800101cf
call fcn.18006d82c
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
cmp rbx, 0x10
jb 0x18001004c
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010047
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800101d5
call fcn.18006d82c
mov qword [rbp], rsi
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x180010097
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010092
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800101db
call fcn.18006d82c
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1800100de
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800100d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001011b
call fcn.18006d82c
mov qword [rbp - 0x28], rsi
mov byte [rbp - 0x38], 0
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov rax, r15
mov rcx, qword [rbp + 0x1010]
xor rcx, rsp
call fcn.18006d7e0
mov rbx, qword [rsp + 0x1170]
add rsp, 0x1120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800742a4
int3
call fcn.1800742a4
int3
call fcn.1800742a4
int3
call fcn.1800742a4
int3
call fcn.1800742a4
int3
call fcn.1800742a4
nop
call fcn.1800097a0
int3
call fcn.1800742a4
nop
call fcn.1800097a0
nop
call fcn.1800742a4
nop
call fcn.1800097a0
int3
call fcn.1800742a4
nop
call fcn.1800097a0
int3
call fcn.1800742a4
nop
call fcn.1800097a0
int3
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
int3
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
int3
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
int3
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
int3