Function at 0x1400ae240
Capabilities:
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4d8
lea rcx, [rsp + 0x60]
call fcn.140013530
nop
lea rcx, [rsp + 0x70]
call fcn.140013530
nop
mov rax, qword [rsp + 0x4e8]
add rax, 0x20
mov rcx, rax
call fcn.14001fd30
movzx eax, al
test eax, eax
je 0x1400ae29a
mov rax, qword [rsp + 0x4e0]
add rax, 0xf0
mov qword [rsp + 0x98], rax
jmp 0x1400ae2ae
mov rax, qword [rsp + 0x4e8]
add rax, 0x20
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x78]
call fcn.1400133e0
nop
lea rax, [rsp + 0x488]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x4e8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x4e0]
lea rcx, [rsp + 0x460]
call fcn.1400abc40
mov rdx, rax
mov rcx, qword [rsp + 0xd0]
call fcn.1400ab1a0
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x3a0]
call fcn.1400380e0
nop
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov rax, qword [rsp + 0x4e0]
cmp qword [rax + 0xe8], 0
je 0x1400ae3c2
lea rcx, [rsp + 0x78]
call fcn.14000f0c0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x4e0]
mov rax, qword [rax + 0xe8]
mov qword [rsp + 0xe8], rax
xor r9d, r9d
mov r8w, 0x1bb
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x68], rax
jmp 0x1400ae4d2
lea rax, [rsp + 0x3e0]
mov qword [rsp + 0xf0], rax
lea rdx, str.Failed_to_create_session
mov rcx, qword [rsp + 0xf0]
call fcn.140014930
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xa0]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x378]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x100]
call fcn.1400133e0
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x120]
call fcn.1400aa010
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x60]
call fcn.1400179c0
nop
lea rcx, [rsp + 0x120]
call fcn.1400165c0
nop
mov dword [rsp + 0x80], 0
lea rcx, [rsp + 0xa0]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x3a0]
call fcn.140038d90
nop
lea rcx, [rsp + 0x78]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400165c0
mov eax, dword [rsp + 0x80]
jmp 0x1400aed95
cmp qword [rsp + 0x68], 0
je 0x1400aead8
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x4e8]
mov rax, qword [rax]
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 + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x4e8]
mov rax, qword [rax + 0x18]
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 + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x4e8]
mov rax, qword [rax + 0x10]
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 + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x4e8]
mov rax, qword [rax + 8]
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 + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x4e0]
mov rax, qword [rax + 8]
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 + 0x238], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x4e0]
mov rax, qword [rax]
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 + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x4e8]
add rax, 0x28
mov rcx, rax
call fcn.14001fd30
movzx eax, al
test eax, eax
je 0x1400ae84d
mov rax, qword [rsp + 0x4e0]
add rax, 0xf8
mov rcx, rax
call fcn.14000f0c0
mov qword [rsp + 0xa8], rax
jmp 0x1400ae869
mov rax, qword [rsp + 0x4e8]
add rax, 0x28
mov rcx, rax
call fcn.14000f0c0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x4e0]
add rax, 0x100
mov rcx, rax
call fcn.14000f0c0
mov qword [rsp + 0x2b8], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x2b0]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x2b8]
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, [0x1402b9dd0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400aead3
mov dword [rsp + 0x20], 0x2710
mov r9d, 0x2710
mov r8d, 0x2710
mov edx, 0x2710
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x1400aead3
cmp qword [rsp + 0x50], 0
je 0x1400ae985
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp qword [rsp + 0x68], 0
je 0x1400ae999
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
lea rax, [rsp + 0x400]
mov qword [rsp + 0x2c0], rax
lea rdx, str.Failed_to_wait:__lu
mov rcx, qword [rsp + 0x2c0]
call fcn.140014930
mov qword [rsp + 0x2c8], rax
mov rdx, qword [rsp + 0x2c8]
lea rcx, [rsp + 0xb0]
call fcn.1400aaa00
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x84], eax
lea rax, [rsp + 0x380]
mov qword [rsp + 0x2d0], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x2d0]
call fcn.1400133e0
mov qword [rsp + 0x2d8], rax
mov rdx, qword [rsp + 0x2d8]
lea rcx, [rsp + 0x2f8]
call fcn.1400aa010
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
mov rcx, qword [rsp + 0x2e8]
call fcn.14000f0c0
mov qword [rsp + 0x2f0], rax
mov r8d, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x60]
call fcn.14001d4a0
nop
lea rcx, [rsp + 0x2f8]
call fcn.1400165c0
nop
mov dword [rsp + 0x88], 0
lea rcx, [rsp + 0xb0]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x3a0]
call fcn.140038d90
nop
lea rcx, [rsp + 0x78]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400165c0
mov eax, dword [rsp + 0x88]
jmp 0x1400aed95
jmp 0x1400aec12
lea rax, [rsp + 0x420]
mov qword [rsp + 0x300], rax
lea rdx, str.Failed_to_connect:__lu
mov rcx, qword [rsp + 0x300]
call fcn.140014930
mov qword [rsp + 0x308], rax
mov rdx, qword [rsp + 0x308]
lea rcx, [rsp + 0xb8]
call fcn.1400aaa00
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x8c], eax
lea rax, [rsp + 0x388]
mov qword [rsp + 0x310], rax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x310]
call fcn.1400133e0
mov qword [rsp + 0x318], rax
mov rdx, qword [rsp + 0x318]
lea rcx, [rsp + 0x338]
call fcn.1400aa010
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x320]
mov qword [rsp + 0x328], rax
mov rcx, qword [rsp + 0x328]
call fcn.14000f0c0
mov qword [rsp + 0x330], rax
mov r8d, dword [rsp + 0x8c]
mov rdx, qword [rsp + 0x330]
lea rcx, [rsp + 0x60]
call fcn.14001d4a0
nop
lea rcx, [rsp + 0x338]
call fcn.1400165c0
nop
mov dword [rsp + 0x90], 0
lea rcx, [rsp + 0xb8]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x3a0]
call fcn.140038d90
nop
lea rcx, [rsp + 0x78]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400165c0
mov eax, dword [rsp + 0x90]
jmp 0x1400aed95
cmp qword [rsp + 0x50], 0
je 0x1400aec4a
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 + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1400aec62
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rsp + 0x58], eax
cmp qword [rsp + 0x50], 0
je 0x1400aec76
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp qword [rsp + 0x68], 0
je 0x1400aec8a
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
lea rax, [rsp + 0x440]
mov qword [rsp + 0x340], rax
lea rdx, [0x1402b9e30]
mov rcx, qword [rsp + 0x340]
call fcn.140014930
mov qword [rsp + 0x348], rax
mov rdx, qword [rsp + 0x348]
lea rcx, [rsp + 0xc0]
call fcn.1400aaa00
nop
lea rax, [rsp + 0x390]
mov qword [rsp + 0x350], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x350]
call fcn.1400133e0
mov qword [rsp + 0x358], rax
mov rdx, qword [rsp + 0x358]
lea rcx, [rsp + 0x370]
call fcn.1400aa010
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x360]
mov qword [rsp + 0x368], rax
mov rdx, qword [rsp + 0x368]
lea rcx, [rsp + 0x60]
call fcn.1400179c0
nop
lea rcx, [rsp + 0x370]
call fcn.1400165c0
nop
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x94], eax
lea rcx, [rsp + 0xc0]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x3a0]
call fcn.140038d90
nop
lea rcx, [rsp + 0x78]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x70]
call fcn.1400165c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400165c0
mov eax, dword [rsp + 0x94]
add rsp, 0x4d8
ret