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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x398
mov rax, qword [rsp + 0x3a0]
add rax, 0x40
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140073720
mov rax, qword [rsp + 0x3a0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x3a0]
mov rax, qword [rax + 0x10]
inc rax
mov rcx, qword [rsp + 0x3a0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x30], rcx
lea rcx, [rsp + 0xc8]
call fcn.1400757d0
nop
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x70]
call fcn.140013530
nop
mov rax, qword [rsp + 0x3a8]
add rax, 0x20
mov rcx, rax
call fcn.14001fd30
movzx eax, al
test eax, eax
je 0x1400aee61
mov rax, qword [rsp + 0x3a0]
add rax, 0xf0
mov qword [rsp + 0xa8], rax
jmp 0x1400aee75
mov rax, qword [rsp + 0x3a8]
add rax, 0x20
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x90]
call fcn.1400133e0
nop
lea rax, [rsp + 0x348]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x3a8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x3a0]
lea rcx, [rsp + 0x320]
call fcn.1400abc40
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call fcn.1400ab160
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x2c0]
call fcn.1400380e0
nop
lea rax, [rsp + 0x300]
mov qword [rsp + 0xe8], rax
lea rdx, [0x1402b9d78]
mov rcx, qword [rsp + 0xe8]
call fcn.140014930
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x88]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xf8]
call fcn.1400133e0
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x110]
call fcn.1400aa010
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.14000f0c0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x110]
call fcn.1400165c0
nop
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
cmp qword [rsp + 0x78], 0
je 0x1400af07e
mov rax, qword [rsp + 0x3a8]
add rax, 0x20
mov rcx, rax
call fcn.14001fd30
movzx eax, al
test eax, eax
je 0x1400af030
mov rax, qword [rsp + 0x3a0]
add rax, 0xf0
mov qword [rsp + 0xb0], rax
jmp 0x1400af044
mov rax, qword [rsp + 0x3a8]
add rax, 0x20
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.14000f0c0
xor r9d, r9d
mov r8w, 0x1bb
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x68], rax
jmp 0x1400af0f1
mov rdx, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x3a0]
call fcn.1400af7e0
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
mov dword [rsp + 0x98], eax
lea rcx, [rsp + 0x88]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x2c0]
call fcn.140038d90
nop
lea rcx, [rsp + 0x90]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3a8]
call fcn.1400ac960
mov eax, dword [rsp + 0x98]
jmp 0x1400af7d4
cmp qword [rsp + 0x68], 0
je 0x1400af641
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x3a8]
mov rax, qword [rax]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x3a8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x3a8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x3a8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x3a0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x3a0]
mov rax, qword [rax]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x3a8]
add rax, 0x28
mov rcx, rax
call fcn.14001fd30
movzx eax, al
test eax, eax
je 0x1400af46c
mov rax, qword [rsp + 0x3a0]
add rax, 0xf8
mov rcx, rax
call fcn.14000f0c0
mov qword [rsp + 0xb8], rax
jmp 0x1400af488
mov rax, qword [rsp + 0x3a8]
add rax, 0x28
mov rcx, rax
call fcn.14000f0c0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x3a0]
add rax, 0x100
mov rcx, rax
call fcn.14000f0c0
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x2a8]
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x2b0]
lea rcx, [rsp + 0x70]
call fcn.14001d4a0
nop
lea rcx, [rsp + 0x70]
call fcn.14000f0c0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, [0x1402b9d90]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400af63f
mov dword [rsp + 0x20], 0x2710
mov r9d, 0x2710
mov r8d, 0x2710
mov edx, 0x2710
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x1400af63f
cmp qword [rsp + 0x58], 0
je 0x1400af5a4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp qword [rsp + 0x68], 0
je 0x1400af5b8
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp qword [rsp + 0x78], 0
je 0x1400af5cc
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x3a0]
call fcn.1400af7e0
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
mov dword [rsp + 0x9c], eax
lea rcx, [rsp + 0x88]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x2c0]
call fcn.140038d90
nop
lea rcx, [rsp + 0x90]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3a8]
call fcn.1400ac960
mov eax, dword [rsp + 0x9c]
jmp 0x1400af7d4
jmp 0x1400af6b4
mov rdx, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x3a0]
call fcn.1400af7e0
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
mov dword [rsp + 0xa0], eax
lea rcx, [rsp + 0x88]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x2c0]
call fcn.140038d90
nop
lea rcx, [rsp + 0x90]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3a8]
call fcn.1400ac960
mov eax, dword [rsp + 0xa0]
jmp 0x1400af7d4
cmp qword [rsp + 0x58], 0
je 0x1400af6ec
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1400af704
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rsp + 0x60], eax
cmp qword [rsp + 0x58], 0
je 0x1400af718
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp qword [rsp + 0x68], 0
je 0x1400af72c
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp qword [rsp + 0x78], 0
je 0x1400af740
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp dword [rsp + 0x60], 0
jne 0x1400af768
mov rdx, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x3a0]
call fcn.1400af7e0
movzx eax, al
mov dword [rsp + 0x80], eax
jmp 0x1400af773
mov dword [rsp + 0x80], 1
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x50], al
movzx eax, byte [rsp + 0x50]
mov dword [rsp + 0xa4], eax
lea rcx, [rsp + 0x88]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x2c0]
call fcn.140038d90
nop
lea rcx, [rsp + 0x90]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
mov rcx, qword [rsp + 0x3a8]
call fcn.1400ac960
mov eax, dword [rsp + 0xa4]
add rsp, 0x398
ret