Function at 0x180015c80
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response
Send data
Send http request

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x180112b80]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r13, r8
mov r12, rdx
mov r14, rcx
xor edi, edi
mov dword [rbp + 0xe4], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
lea r8d, [rdi + 1]
lea rdx, [0x1800f97a4]
lea rcx, [rbp + 0x60]
call fcn.180004eb0
nop
mov r8, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
sub rax, r8
lea r15d, [rdi + 0x22]
lea rsi, str.ProxyService::askWebSynchroniously
cmp rax, r15
jb 0x180015d76
lea rax, [r8 + 0x22]
mov qword [rbp + 0x70], rax
lea rbx, [rbp + 0x60]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0x60]
lea rax, [0x1800fa17a]
cmp rax, rbx
jbe 0x180015d3a
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x180015d3a
cmp rbx, rsi
jbe 0x180015d3d
mov rdi, rbx
sub rdi, rsi
jmp 0x180015d3d
mov rdi, r15
lea rcx, [rbx + 0x22]
inc r8
mov rdx, rbx
call fcn.1800dae30
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1800dae30
lea rcx, [rbx + rdi]
sub r15, rdi
lea rdx, [rsi + 0x22]
add rdx, rdi
mov r8, r15
call fcn.1800dae30
lea rax, [rbp + 0x60]
jmp 0x180015d8f
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov rdx, r15
lea rcx, [rbp + 0x60]
call fcn.1800057c0
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xor r15d, r15d
mov qword [rbp + 0x100], r15
mov qword [rbp + 0x108], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x100], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x180015e09
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015e04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017138
call fcn.1800b681c
movdqa xmm0, xmmword [0x1800fa6c0]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rsi, [0x1800f98d8]
mov qword [rsp + 0x68], rsi
lea rax, [0x1800f98e0]
mov qword [rsp + 0x78], rax
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r15
mov dword [rbp + 0x18], r15d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov qword [rbp + 0x40], r15
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp], rax
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x58], 0
mov dword [rbp + 0xe4], 3
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.18000f310
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.PipeLogWriter2.0
mov qword [rsp + rcx + 0x68], rdi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov dword [rsp + rcx + 0x64], r15d
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0xf
cmova rdx, qword [rbp + 0xf0]
mov r8, qword [rbp + 0x100]
lea rcx, [rsp + 0x78]
call fcn.18000ab30
lea rdx, [0x1800fa17c]
lea rcx, [rsp + 0x78]
call fcn.1800094d0
nop
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x68], rdi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x64], edx
lea rcx, [rbp]
call fcn.180007030
nop
lea rbx, vtable.std::ios_base.0
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1800b5580
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
test r13, r13
jne 0x180015fad
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
lea rcx, [rax + 0x10]
lea rdx, str.wrong_pConnection__nullptr
call fcn.1800094d0
nop
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x68], rdi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x64], edx
lea rcx, [rbp]
call fcn.180007030
nop
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1800b5580
nop
xor bl, bl
jmp 0x1800170c8
mov qword [rsp + 0x68], rsi
lea rax, [0x1800f98e0]
mov qword [rsp + 0x78], rax
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r15
mov dword [rbp + 0x18], r15d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov qword [rbp + 0x40], r15
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp], rax
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x58], 0
mov dword [rbp + 0xe4], 0x400003
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.18000f310
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x68], rdi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov dword [rsp + rcx + 0x64], r15d
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0xf
cmova rdx, qword [rbp + 0xf0]
mov r8, qword [rbp + 0x100]
lea rcx, [rsp + 0x78]
call fcn.18000ab30
lea rdx, [0x1800fa19c]
lea rcx, [rsp + 0x78]
call fcn.1800094d0
nop
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x68], rdi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x64], edx
lea rcx, [rbp]
call fcn.180007030
nop
mov qword [rbp], rbx
lea rcx, [rbp]
call fcn.1800b5580
nop
mov qword [rbp + 0x138], r12
mov qword [rbp + 0x140], r14
mov byte [rbp + 0x148], 0
lea rdx, [r13 + 0x80]
lea rcx, [rbp + 0x150]
call fcn.180017a80
nop
mov eax, dword [r14 + 0x258]
mov dword [r12 + 0x90], eax
mov dword [r12], r15d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0xf
cmova rdx, qword [rbp + 0xf0]
lea rbx, [rax + 0x10]
mov r8, qword [rbp + 0x100]
mov rcx, rbx
call fcn.18000ab30
lea rdx, [0x1800fa1a0]
mov rcx, rbx
call fcn.1800094d0
nop
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x68], rdi
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x64], edx
lea rcx, [rbp]
call fcn.180007030
nop
lea rcx, [rbp]
call fcn.1800073d0
lea rdx, [rbp + 0x1a0]
mov rcx, r14
call fcn.1800034d0
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, str.3.1_proxy_address_
call fcn.18000f790
mov rbx, rax
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x40]
call fcn.18000e130
nop
mov rdx, rax
mov rcx, rbx
call fcn.18000f760
nop
lea rcx, [rsp + 0x40]
call fcn.180001b10
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
mov ebx, dword [r14 + 0x28]
test ebx, ebx
jne 0x1800161ec
mov rax, r15
jmp 0x1800161f8
lea rcx, [rbp + 0x1a0]
call fcn.180004220
mov edx, 3
test ebx, ebx
mov ebx, 1
cmove edx, ebx
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, rax
lea rcx, str.proxy
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
mov qword [rbp + 0x190], rax
lea rcx, [rbp + 0x190]
call fcn.180017150
test al, al
je 0x180017019
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180017019
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, [0x1800fa1f8]
call fcn.18000f790
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
cmp dword [r14 + 0x28], 0
je 0x180016363
cmp qword [r14 + 0x178], 0
je 0x180016363
mov rax, qword [r14 + 0x200]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
mov r9, qword [r14 + 0x1b0]
mov r8d, ebx
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x1800162fd
lea rdx, str.WinHttpSetCredentials_returned_false
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
jmp 0x18001703d
mov dword [rbp + 0x110], 3
mov rax, qword [r14 + 0x250]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], r15
mov r9d, 0x18
lea r8, [rbp + 0x110]
lea edx, [r9 + 0xe]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x180016363
lea rdx, str.WinHttpSetOption_returned_false
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
jmp 0x18001703d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, str.5_url
call fcn.18000f790
mov rbx, rax
mov rcx, r14
call fcn.180003680
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18000e340
nop
mov rdx, rax
mov rcx, rbx
call fcn.18000f760
mov rcx, rax
lea rdx, str._port
call fcn.18000f790
mov rbx, rax
mov rcx, r14
call fcn.180003980
mov word [rbp + 0xe4], ax
lea rdx, [rbp + 0xe4]
mov rcx, rbx
call fcn.1800188a0
nop
lea rcx, [rsp + 0x40]
call fcn.180001b10
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
mov rcx, r14
call fcn.180003980
movzx ebx, ax
mov rcx, r14
call fcn.180003680
xor r9d, r9d
movzx r8d, bx
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbx, rax
mov qword [rbp + 0x170], rax
lea rcx, [rbp + 0x170]
call fcn.180017150
test al, al
je 0x180016f9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180016f9c
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, str.6_verb
call fcn.18000f790
mov rsi, rax
mov rcx, r14
call fcn.180003c10
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.18000e340
nop
mov rdx, rax
mov rcx, rsi
call fcn.18000f760
mov rcx, rax
lea rdx, [0x1800fa280]
call fcn.18000f790
mov rsi, rax
mov rdx, qword [r14 + 0xe8]
lea rcx, [rsp + 0x40]
call fcn.18000e340
nop
mov rdx, rax
mov rcx, rsi
call fcn.18000f760
nop
lea rcx, [rsp + 0x40]
call fcn.180001b10
nop
lea rcx, [rbp + 0x110]
call fcn.180001b10
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
mov rcx, r14
call fcn.180003c30
mov r9d, eax
mov rcx, r14
call fcn.180003c10
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, qword [r14 + 0xe8]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
mov qword [rbp + 0x198], rax
test rax, rax
jne 0x180016613
mov rdx, qword [r14 + 0xe8]
lea rcx, [rbp + 0x80]
call fcn.18000e340
mov rbx, rax
mov rcx, r14
call fcn.180003c10
mov rdx, rax
lea rcx, [rbp + 0xc0]
call fcn.18000e340
nop
mov r8, rax
lea rdx, str.WinHttpOpenRequest_returned_false._verb
lea rcx, [rbp + 0xa0]
call fcn.180004920
nop
lea r8, str._resource
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.1800048b0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180004880
nop
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
lea rcx, [rsp + 0x40]
call fcn.180001b10
nop
lea rcx, [rbp + 0x110]
call fcn.180001b10
nop
lea rcx, [rbp + 0xa0]
call fcn.180001b10
nop
lea rcx, [rbp + 0xc0]
call fcn.180001b10
nop
lea rcx, [rbp + 0x80]
jmp 0x180016f87
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, str.7_additional_headers
call fcn.18000f790
mov rsi, rax
mov rdx, qword [r14 + 0x138]
lea rcx, [rbp + 0x80]
call fcn.18000e340
nop
mov rdx, rax
mov rcx, rsi
call fcn.18000f760
mov rcx, rax
lea rdx, str._nbody_size
call fcn.18000f790
mov ecx, dword [r14 + 0x150]
mov dword [rbp + 0xe4], ecx
lea rdx, [rbp + 0xe4]
mov rcx, rax
call fcn.18000f7b0
nop
lea rcx, [rbp + 0x80]
call fcn.180001b10
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
mov eax, dword [r14 + 0x150]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, 0xffffffff
mov rdx, qword [r14 + 0x138]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne byte [rbp + 0x148]
test eax, eax
je 0x180016f5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180016f5e
mov r8d, dword [r14 + 0x150]
test r8d, r8d
je 0x18001676d
mov dword [rbp + 0xe4], r15d
mov rax, qword [r14 + 0x160]
lea r9, [rbp + 0xe4]
mov rdx, qword [rax]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
setne byte [rbp + 0x148]
test eax, eax
je 0x180016744
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1800167b3
lea rdx, str.WinHttpWriteData_returned_false
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
jmp 0x180016f82
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, str.8_request_does_not_have_body
call fcn.18000f790
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, [0x1800fa370]
call fcn.18000f790
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
setne byte [rbp + 0x148]
test eax, eax
je 0x180016f38
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180016f38
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, [0x1800fa3a0]
call fcn.18000f790
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
mov dword [rbp + 0x130], r15d
mov dword [rbp + 0x134], 4
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0x134]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x130]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
setne byte [rbp + 0x148]
test eax, eax
je 0x180016ec9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180016ec9
mov eax, dword [rbp + 0x130]
mov dword [r12 + 4], eax
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
call fcn.180018920
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
mov dword [rbp + 0xe8], r15d
mov qword [rsp + 0x28], r15
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x14]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
setne byte [rbp + 0x148]
cmp dword [rbp + 0xe8], 0
jne 0x180016972
lea rdx, str.WinHttpQueryHeaders_2__length__returned_false
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
jmp 0x180016f82
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, str.response_text_length_
call fcn.18000f790
mov rcx, rax
lea rdx, [rbp + 0xe8]
call fcn.18000f7b0
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
cmp dword [rbp + 0xe8], 0
je 0x180016aa3
lea rcx, [rbp + 0x110]
call fcn.180004380
nop
xor r8d, r8d
mov edx, dword [rbp + 0xe8]
add edx, 2
lea rcx, [rbp + 0x110]
call fcn.1800179f0
lea rcx, [rbp + 0x110]
call fcn.180004220
mov qword [rsp + 0x28], r15
lea rcx, [rbp + 0xe8]
mov qword [rsp + 0x20], rcx
mov r9, rax
xor r8d, r8d
lea edx, [r8 + 0x14]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
setne byte [rbp + 0x148]
test eax, eax
jne 0x180016a76
lea rdx, str.WinHttpQueryHeaders_3__string__returned_false
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
lea rcx, [rsp + 0x40]
call fcn.180001b10
nop
lea rcx, [rbp + 0x110]
call fcn.180004230
jmp 0x180016f8c
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x80]
call fcn.180017a80
mov rdx, rax
mov rcx, r12
call fcn.18000ffa0
nop
lea rcx, [rbp + 0x110]
call fcn.180004230
jmp 0x180016b00
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
call fcn.180018950
mov rcx, rax
lea rdx, [rbp + 0xe8]
call fcn.18000f7b0
mov rcx, rax
lea rdx, str.._strange
call fcn.18000f790
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
lea rcx, [rbp + 0x178]
call fcn.180010260
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x178], xmm1
mov qword [rbp + 0x188], r15
mov rsi, r15
mov dword [rbp + 0xe0], r15d
lea rdx, [rbp + 0xe0]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
setne byte [rbp + 0x148]
test eax, eax
je 0x180016cac
nop dword [rax]
mov edx, dword [rbp + 0xe0]
xor r8d, r8d
lea rcx, [rbp + 0x110]
call fcn.1800074e0
nop
mov dword [rbp + 0xe4], r15d
lea rcx, [rbp + 0x110]
call fcn.180004410
lea r9, [rbp + 0xe4]
mov r8d, dword [rbp + 0xe0]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
setne byte [rbp + 0x148]
test eax, eax
je 0x180016e8e
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
call fcn.180018980
mov rcx, qword [rbp + 0x120]
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1800189b0
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
add rsi, qword [rbp + 0x120]
mov qword [rsp + 0x60], rsi
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x178]
call fcn.1800106e0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, str.got_WinHttpReadData_total_data_size_
call fcn.18000f790
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.1800189b0
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
nop
lea rcx, [rbp + 0x110]
call fcn.180001b10
cmp dword [rbp + 0xe0], 0
jbe 0x180016ced
mov dword [rbp + 0xe0], r15d
lea rdx, [rbp + 0xe0]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
setne byte [rbp + 0x148]
test eax, eax
jne 0x180016b50
lea rdx, str.WinHttpQueryDataAvailable_returned_false
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
lea rcx, [rsp + 0x40]
call fcn.180001b10
xor bl, bl
lea rcx, [rbp + 0x178]
call fcn.180017980
jmp 0x180016f8e
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, str.packing_reply
call fcn.18000f790
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
test rsi, rsi
je 0x180016dfb
lea rcx, [rbp + 0x110]
call fcn.1800075f0
nop
mov rdx, rsi
lea rcx, [rbp + 0x110]
call fcn.180017bb0
mov rsi, qword [rbp + 0x180]
mov rbx, qword [rbp + 0x178]
cmp rbx, rsi
je 0x180016d88
nop dword [rax + rax]
mov rdx, rbx
lea rcx, [rbp + 0x110]
call fcn.1800074c0
add rbx, 0x20
cmp rbx, rsi
jne 0x180016d70
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, str.reply_data_packed
call fcn.18000f790
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x80]
call fcn.1800045f0
mov rdx, rax
mov rcx, r12
call fcn.180010130
nop
lea rcx, [rbp + 0x110]
call fcn.180001b10
jmp 0x180016e41
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, str.no_data_in_reply._strange.
call fcn.18000f790
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
lea rdx, str.end._ok.
call fcn.18000f790
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
mov bl, 1
jmp 0x180016cdc
lea rdx, str.WinHttpReadData_returned_false
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
lea rcx, [rsp + 0x40]
call fcn.180001b10
nop
lea rcx, [rbp + 0x110]
jmp 0x180016cd5
lea rdx, str.WinHttpQueryHeaders_1__code__returned_false
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
lea rcx, [rsp + 0x40]
call fcn.180001b10
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
call fcn.1800188f0
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
jmp 0x180016f8c
lea rdx, str.WinHttpReceiveResponse_returned_false
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
jmp 0x180016f82
lea rdx, str.WinHttpSendRequest_returned_false
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
lea rcx, [rsp + 0x40]
call fcn.180001b10
xor bl, bl
lea rcx, [rbp + 0x198]
call fcn.180017160
jmp 0x18001700b
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x68]
call fcn.1800db4d0
lea rcx, [rsp + 0x68]
call fcn.18000e8c0
nop
lea rdx, [rbp + 0xf0]
mov rcx, rax
call fcn.18000f760
mov rcx, rax
call fcn.1800188c0
nop
lea rcx, [rsp + 0x68]
call fcn.180006640
lea rdx, str.WinHttpConnect_returned_false.
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
lea rcx, [rsp + 0x40]
call fcn.180001b10
xor bl, bl
lea rcx, [rbp + 0x170]
call fcn.180017160
jmp 0x180017049
lea rdx, str.WinHttpOpen_returned_invalid_hSession
lea rcx, [rsp + 0x40]
call fcn.1800045b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x138]
call fcn.180011150
nop
lea rcx, [rsp + 0x40]
call fcn.180001b10
xor bl, bl
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x18001705d
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 7
jbe 0x1800170a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001709e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001713e
call fcn.1800b681c
movdqa xmm0, xmmword [0x1800fa6b0]
movdqu xmmword [rbp + 0x1b0], xmm0
mov word [rbp + 0x1a0], r15w
lea rcx, [rbp + 0x138]
call fcn.180010810
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x180017105
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180017100
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180017132
call fcn.1800b681c
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1800b6330
mov rbx, qword [rsp + 0x328]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800bd52c
nop
call fcn.1800bd52c
nop
call fcn.1800bd52c
int3