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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x248
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov rax, qword [rsp + 0x250]
cmp qword [rax + 0xe0], 0
je 0x14007e5a0
mov rax, qword [rsp + 0x258]
add rax, 0x20
mov rcx, rax
call fcn.1400370d0
movzx eax, al
test eax, eax
je 0x14007e531
mov rax, qword [rsp + 0x250]
add rax, 0xe8
mov qword [rsp + 0x78], rax
jmp 0x14007e542
mov rax, qword [rsp + 0x258]
add rax, 0x20
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.140013a90
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x250]
mov rax, qword [rax + 0xe0]
mov qword [rsp + 0x98], rax
xor r9d, r9d
mov r8w, 0x1bb
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x60], rax
jmp 0x14007e5a7
xor eax, eax
jmp 0x14007eb19
cmp qword [rsp + 0x60], 0
je 0x14007ea99
lea rcx, [rsp + 0x68]
call fcn.14001f650
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x258]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x258]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x258]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
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 + 0x210], rax
mov rax, qword [rsp + 0x258]
mov rax, qword [rax + 8]
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 + 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 + 0x218], rax
mov rax, qword [rsp + 0x250]
mov rax, qword [rax + 8]
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 + 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 + 0x220], rax
mov rax, qword [rsp + 0x250]
mov rax, qword [rax]
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 + 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 + 0x228], rax
mov rax, qword [rsp + 0x258]
add rax, 0x28
mov rcx, rax
call fcn.1400370d0
movzx eax, al
test eax, eax
je 0x14007e92d
mov rax, qword [rsp + 0x250]
add rax, 0xf0
mov rcx, rax
call fcn.140013a90
mov qword [rsp + 0x80], rax
jmp 0x14007e949
mov rax, qword [rsp + 0x258]
add rax, 0x28
mov rcx, rax
call fcn.140013a90
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x250]
add rax, 0xf8
mov rcx, rax
call fcn.140013a90
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x228]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x68]
call fcn.140036ab0
nop
lea rcx, [rsp + 0x68]
call fcn.140013a90
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
lea rdx, [0x140255d10]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14007ea8c
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 0x14007ea8c
cmp qword [rsp + 0x50], 0
je 0x14007ea5d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp qword [rsp + 0x60], 0
je 0x14007ea71
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x68]
call fcn.140026c10
mov eax, dword [rsp + 0x70]
jmp 0x14007eb19
lea rcx, [rsp + 0x68]
call fcn.140026c10
nop
jmp 0x14007ea9d
xor eax, eax
jmp 0x14007eb19
cmp qword [rsp + 0x50], 0
je 0x14007ead5
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 0x14007eaed
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 0x14007eb01
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
cmp qword [rsp + 0x60], 0
je 0x14007eb15
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov eax, dword [rsp + 0x58]
add rsp, 0x248
ret