Function at 0x1800101f0
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 - 0x1078]
mov eax, 0x1178
call fcn.18006e3d0
sub rsp, rax
mov rax, qword [0x1800d9060]
xor rax, rsp
mov qword [rbp + 0x1060], rax
mov r12, r9
mov qword [rbp - 0x70], r8
mov rbx, rdx
mov r15, rcx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x30], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x18001024b
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
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], sil
mov qword [rbp - 8], rsi
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
cmp rax, 0xffffffffffffffff
jne 0x180010396
mov qword [r15], rsi
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
lea r8d, [rax + 0x14]
lea rdx, str.Invalid_URL_format.
mov rcx, r15
call fcn.18000dc10
mov dword [rsp + 0x40], 1
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x180010315
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010310
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800115bc
call fcn.18006d82c
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x180010360
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001035b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011532
call fcn.18006d82c
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
mov rax, r15
mov rcx, qword [rbp + 0x1060]
xor rcx, rsp
call fcn.18006d7e0
add rsp, 0x1178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
add rdi, 3
mov r8, qword [rbx + 0x10]
mov r14, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800103ab
mov r14, qword [rbx]
cmp rdi, r8
jae 0x1800105c0
sub r8, rdi
lea rcx, [r14 + rdi]
mov edx, 0x2f
call fcn.180070420
mov rsi, rax
test rax, rax
je 0x1800105be
sub rsi, r14
cmp rsi, 0xffffffffffffffff
je 0x1800105be
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], r14b
mov rax, qword [rbx + 0x10]
cmp rax, rdi
jb 0x18001153e
mov r8, rsi
sub r8, rdi
sub rax, rdi
cmp rax, r8
cmovb r8, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18001042d
mov rax, qword [rbx]
lea rdx, [rax + rdi]
lea rcx, [rsp + 0x48]
call fcn.18000dc10
mov dword [rsp + 0x40], 2
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x18001047e
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010479
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011544
call fcn.18006d82c
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], r14b
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x28], xmm1
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], r14b
mov edi, 2
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov rax, qword [rbx + 0x10]
cmp rax, rsi
jb 0x18001154a
sub rax, rsi
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rbx + 0x18], 0x10
jb 0x18001051a
mov rbx, qword [rbx]
lea rdx, [rbx + rsi]
lea rcx, [rsp + 0x68]
call fcn.18000dc10
or edi, 4
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x18001056a
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010565
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011550
call fcn.18006d82c
xor esi, esi
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], sil
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp + 8], xmm1
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], sil
and edi, 0xfffffffb
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], sil
jmp 0x1800106ab
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rax, qword [rbx + 0x10]
cmp rax, rdi
jb 0x180011556
sub rax, rdi
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
cmp qword [rbx + 0x18], 0x10
jb 0x18001060a
mov rbx, qword [rbx]
lea rdx, [rbx + rdi]
lea rcx, [rsp + 0x48]
call fcn.18000dc10
mov edi, 8
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x18001065c
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010657
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001155c
call fcn.18006d82c
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x28], xmm1
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
and edi, 0xfffffff7
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800bef00]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r13, rax
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x180010817
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.180011f80
nop
lea r9d, [r13 + 0x14]
lea r8, str.WinHttpOpen_failed:
mov rcx, rax
call fcn.18000bea0
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], r13b
or edi, 0x10
mov dword [rsp + 0x40], edi
and edi, 0xffffffef
mov dword [rsp + 0x40], edi
or edi, 1
mov dword [rsp + 0x40], edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180010776
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010771
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011562
call fcn.18006d82c
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1800107c4
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800107bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011568
call fcn.18006d82c
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x180010360
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001035b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001151a
jmp 0x18001035b
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rdx, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x28]
add rbx, rdx
lea rsi, [rbp + 0x18]
cmp qword [rbp + 0x30], 0x10
cmovae rsi, qword [rbp + 0x18]
xor r14d, r14d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
mov rdx, rbx
sub rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.180008440
lea rax, [rsp + 0x68]
mov qword [rbp - 0x78], rax
cmp rsi, rbx
je 0x1800108c9
nop dword [rax]
movsx r9d, byte [rsi]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
cmp rcx, rdx
jae 0x1800108b7
lea rax, [rcx + 1]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp rdx, 8
cmovae rax, qword [rsp + 0x68]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x1800108c1
lea rcx, [rsp + 0x68]
call fcn.18000aca0
inc rsi
cmp rsi, rbx
jne 0x180010880
xor esi, esi
mov qword [rbp - 0x78], rsi
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
lea r8d, [rsi + 0x50]
xor r9d, r9d
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r14, rax
mov qword [rbp - 0x78], rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180010937
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010932
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001156e
call fcn.18006d82c
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], si
test r14, r14
jne 0x180010a9e
mov rcx, r13
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, [r14 + 0x17]
lea r8, str.WinHttpConnect_failed:
mov rcx, rax
call fcn.18000bea0
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], r14b
or edi, 0x20
mov dword [rsp + 0x40], edi
and edi, 0xffffffdf
mov dword [rsp + 0x40], edi
or edi, 1
mov dword [rsp + 0x40], edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1800109fd
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800109f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011574
call fcn.18006d82c
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x180010a4b
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010a46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001157a
call fcn.18006d82c
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x180010360
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001035b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011520
jmp 0x18001035b
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rdx, qword [rbp - 8]
mov rbx, qword [rbp + 8]
add rbx, rdx
lea rsi, [rbp - 8]
cmp qword [rbp + 0x10], 0x10
cmovae rsi, qword [rbp - 8]
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], 7
mov word [rsp + 0x48], r13w
mov rdx, rbx
sub rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.180008440
lea rax, [rsp + 0x48]
mov qword [rbp - 0x60], rax
cmp rsi, rbx
je 0x180010b5a
nop word [rax + rax]
movsx r9d, byte [rsi]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
cmp rcx, rdx
jae 0x180010b48
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], r13w
jmp 0x180010b52
lea rcx, [rsp + 0x48]
call fcn.18000aca0
inc rsi
cmp rsi, rbx
jne 0x180010b10
xor esi, esi
mov qword [rbp - 0x60], 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, str.POST
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r13, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x180010bd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010bd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011580
call fcn.18006d82c
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
test r13, r13
jne 0x180010d49
mov rcx, r14
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
lea r9d, [r13 + 0x1b]
lea r8, str.WinHttpOpenRequest_failed:
mov rcx, rax
call fcn.18000bea0
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], r13b
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 0x180010ca8
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010ca3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011586
call fcn.18006d82c
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x180010cf6
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010cf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001158c
call fcn.18006d82c
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x180010360
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001035b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011526
jmp 0x18001035b
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
mov rbx, qword [r12]
mov rsi, qword [r12 + 8]
cmp rbx, rsi
je 0x180010e54
movabs r14, 0x7fffffffffffffff
lea r12, [0x1800bf07c]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, r14
sub rax, rcx
cmp rax, 2
jb 0x180011598
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180010db1
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x28]
call fcn.18000bd00
bts edi, 7
mov dword [rsp + 0x40], edi
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rbp + 0x40]
call fcn.180009270
btr edi, 7
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x180010e33
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010e2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011592
call fcn.18006d82c
xor r9d, r9d
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], r9b
add rbx, 0x20
cmp rbx, rsi
je 0x180010e57
jmp 0x180010d90
xor r9d, r9d
mov rax, qword [rbp - 0x70]
mov r14d, dword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x180010e6d
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
mov r12d, dword [rbp + 0x50]
lea rbx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rbx, qword [rbp + 0x40]
add rbx, qword [rbp + 0x50]
lea rsi, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rsi, qword [rbp + 0x40]
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r9
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r9w
mov rdx, rbx
sub rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.180008440
lea rax, [rbp - 0x28]
mov qword [rbp - 0x60], rax
cmp rsi, rbx
je 0x180010f18
xor r15d, r15d
nop dword [rax]
movsx r9d, byte [rsi]
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
cmp rcx, rdx
jae 0x180010f03
lea rax, [rcx + 1]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
cmp rdx, 8
cmovae rax, qword [rbp - 0x28]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x180010f0c
lea rcx, [rbp - 0x28]
call fcn.18000aca0
inc rsi
cmp rsi, rbx
jne 0x180010ed0
mov r15, qword [rbp - 0x58]
xor esi, esi
mov qword [rbp - 0x60], rsi
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov r9, qword [rbp - 0x70]
mov r8d, r12d
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
sete bl
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180010f90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010f8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001159e
call fcn.18006d82c
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], si
mov rcx, r13
test bl, bl
je 0x180011157
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x78]
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, 0x1b
lea r8, str.WinHttpSendRequest_failed:
mov rcx, rax
call fcn.18000bea0
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], 0
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 0x18001106b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011066
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800115a4
call fcn.18006d82c
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1800110b9
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800110b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800115aa
call fcn.18006d82c
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x180011104
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800110ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800115b0
call fcn.18006d82c
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x180010360
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001035b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001152c
jmp 0x18001035b
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rbp + 0x38], esi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov r14, rsi
mov qword [rbp - 0x18], rsi
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], rbx
mov byte [rbp - 0x28], r14b
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x60]
call fcn.18006ff70
lea r9, [rbp + 0x38]
mov r8d, 0xfff
lea rdx, [rbp + 0x60]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x180011346
mov esi, dword [rbp + 0x38]
mov rax, rbx
sub rax, r14
cmp rsi, rax
ja 0x1800111ee
lea rax, [r14 + rsi]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
cmp rbx, 0x10
cmovae rax, qword [rbp - 0x28]
lea rbx, [rax + r14]
mov r8d, esi
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.18006f8c0
mov byte [rbx + rsi], 0
jmp 0x180011203
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x60]
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.18000b480
cmp dword [rbp + 0x38], 0
jbe 0x180011216
mov rbx, qword [rbp - 0x10]
mov r14, qword [rbp - 0x18]
jmp 0x180011182
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor esi, esi
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], sil
or edi, 1
mov dword [rsp + 0x40], edi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], sil
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1800112a8
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800112a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800115b6
call fcn.18006d82c
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1800112f3
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800112ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800115bc
call fcn.18006d82c
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x180010360
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001035b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011532
jmp 0x18001035b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.180011f80
nop
mov r9d, 0x18
lea r8, str.WinHttpReadData_failed:
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, 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 [rbp - 0x38]
cmp rdx, 0x10
jb 0x1800113eb
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800113e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800115c2
call fcn.18006d82c
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
cmp rbx, 0x10
jb 0x180011433
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001142e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800115c8
call fcn.18006d82c
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x18001147e
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011479
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800115ce
call fcn.18006d82c
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1800114c5
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800114c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011514
call fcn.18006d82c
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x180010360
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001035b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011538
jmp 0x18001035b
call fcn.1800742a4
nop
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
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.18000daa0
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
nop
call fcn.1800742a4
nop
call fcn.1800742a4
int3