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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov rax, qword [0x18007f088]
xor rax, rsp
mov qword [rbp + 0x88], rax
xor r12d, r12d
mov dword [rsp + 0x50], r12d
mov esi, r12d
mov ebx, r12d
lea rdi, [0x180067520]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
lea rdx, [0x180081230]
cmp qword [0x180081248], 8
cmovae rdx, qword [0x180081230]
mov r8, qword [0x180081240]
lea rcx, [rbp - 0x80]
call fcn.180002e90
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea r8d, [r12 + 0x14]
lea rdx, str.QWtqbEN_G1Rgf0oLd3A
lea rcx, [rsp + 0x60]
call fcn.180002cc0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.180008210
nop
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1800129c8
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
lea r8d, [r12 + 1]
lea rdx, [0x180068284]
lea rcx, [rbp - 0x38]
call fcn.180002cc0
nop
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x28]
sub rax, rcx
cmp rax, 2
jb 0x1800104bc
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rax, qword [rbp - 0x38]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 2
lea r9, [0x180068288]
lea r8, [rbp - 0x38]
mov dl, byte [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.1800065d4
nop
lea r8, [rbp - 0x18]
lea rdx, [0x180068290]
lea rcx, [rbp + 0x28]
call fcn.1800026c8
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
lea rcx, [rsp + 0x60]
call fcn.180002e90
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov r8d, 0x88
lea rdx, str.JgoUAgkCCkpbRVVOQz1fWl5OJwwAHh1OE11YNFNaQkUvGxUCDjILCS4HH0pbWFJAWFNOQy4mPygiR0UCAg4LSyILCA4BQkUtAxcBBgBBWlRbRVVAW0teSzYPDQQcAkpbWFJAWFM
lea rcx, [rbp - 0x80]
call fcn.180002cc0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.180008210
nop
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1800129c8
cmp qword [rax + 0x18], 8
jb 0x18001028a
mov rax, qword [rax]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r14, rax
lea rcx, [rbp + 0x48]
call fcn.18000dab8
test r14, r14
je 0x180010328
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rdx, qword [rbp + 8]
mov r8d, 0x1bb
xor r9d, r9d
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
test rax, rax
je 0x180010328
lea r8, [rbp + 0x28]
lea rdx, [0x1800683b4]
lea rcx, [rbp + 0x68]
call fcn.1800026c8
cmp qword [rax + 0x18], 8
jb 0x1800102f7
mov rax, qword [rax]
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rax
lea rdx, [0x1800683c0]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
lea rcx, [rbp + 0x68]
call fcn.18000dab8
mov dword [rsp + 0x58], 0x3100
mov r9d, 4
lea r8, [rsp + 0x58]
lea edx, [r9 + 0x1b]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x180010367
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test rbx, rbx
je 0x18001040c
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x180010403
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x180010403
mov dword [rsp + 0x48], r12d
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x180010429
mov ecx, dword [rsp + 0x48]
inc ecx
call fcn.18003a32c
mov r15, rax
test rax, rax
je 0x180010429
mov r8d, dword [rsp + 0x48]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.18003cce0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
cmovne rdi, r15
mov rcx, r15
call fcn.18003a324
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test rsi, rsi
je 0x18001041a
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r14, r14
je 0x180010429
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
lea rcx, [rbp + 0x28]
call fcn.18000dab8
nop
lea rcx, [rbp - 0x18]
call fcn.18000dab8
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x18001047a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010474
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800104b6
call fcn.18003a324
nop
lea rcx, [rbp + 8]
call fcn.18000dab8
mov rax, rdi
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.18003a7c0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180040fc4
nop
call fcn.18000ddc0
int3