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

Disassembly:
jmp 0x140029240
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xa98
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1d6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xab8]
mov rax, qword [0x140044018]
xor rax, rbp
mov qword [rbp + 0xa48], rax
mov dword [rbp + 0xa14], 0
lea rcx, [0x14004d70b]
call fcn.140011df2
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_WinHTTP_Example_Program_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbp + 8], rax
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.140011a78
mov dword [rbp + 0x30], 0x68
lea rax, [rbp + 0xc0]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x50], 0x100
lea rax, [rbp + 0x2e0]
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], 0x100
mov rcx, qword [rbp + 0xa78]
call fcn.14001146f
mov qword [rbp + 0xa28], rax
mov rcx, qword [rbp + 0xa78]
call fcn.14001147e
lea r9, [rbp + 0x30]
xor r8d, r8d
mov rcx, qword [rbp + 0xa28]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
xor r9d, r9d
movzx r8d, word [rbp + 0x54]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbp + 0x4f8], rax
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x78]
lea rdx, [0x14003b370]
mov rcx, qword [rbp + 0x4f8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbp + 0x518], rax
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 [rbp + 0x518]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
xor edx, edx
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rbp + 0x534], 0
lea rdx, [rbp + 0x534]
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
lea rcx, [rbp + 0x558]
call fcn.140011ac8
nop
mov eax, dword [rbp + 0x534]
inc eax
mov eax, eax
mov qword [rbp + 0xa28], rax
mov eax, 2
mov rcx, qword [rbp + 0xa28]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400115f0
mov qword [rbp + 0x918], rax
mov rax, qword [rbp + 0x918]
mov qword [rbp + 0x598], rax
mov eax, dword [rbp + 0x534]
inc eax
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rbp + 0x598]
call fcn.140011a78
mov dword [rbp + 0x5b4], 0
lea r9, [rbp + 0x5b4]
mov r8d, dword [rbp + 0x534]
mov rdx, qword [rbp + 0x598]
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov rdx, qword [rbp + 0x598]
lea rcx, [rbp + 0x558]
call fcn.140011366
mov rax, qword [rbp + 0x598]
mov qword [rbp + 0x938], rax
mov rcx, qword [rbp + 0x938]
call fcn.140011681
cmp qword [rbp + 0x938], 0
jne 0x1400294c4
mov qword [rbp + 0xa28], 0
jmp 0x1400294dd
mov qword [rbp + 0x598], 0x8123
mov rax, qword [rbp + 0x598]
mov qword [rbp + 0xa28], rax
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 0x4f8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea rax, [rbp + 0x978]
mov qword [rbp + 0x9a8], rax
lea rax, [rbp + 0x9c8]
mov qword [rbp + 0x9f8], rax
lea rcx, [rbp + 0x954]
call fcn.140011316
mov qword [rbp + 0xa28], rax
mov rdx, qword [rbp + 0x9a8]
lea rcx, [rbp + 0x558]
call fcn.140011ab9
mov qword [rbp + 0xa30], rax
mov rdx, qword [rbp + 0x9f8]
lea rcx, [rbp + 0x558]
call fcn.14001168b
mov qword [rbp + 0xa38], rax
mov rax, qword [rbp + 0xa28]
mov r9, rax
mov r8, qword [rbp + 0xa30]
mov rdx, qword [rbp + 0xa38]
mov rcx, qword [rbp + 0xa70]
call fcn.1400116fe
mov qword [rbp + 0xa40], rax
mov eax, dword [rbp + 0xa14]
or eax, 1
mov dword [rbp + 0xa14], eax
lea rcx, [rbp + 0x558]
call fcn.140011c03
mov rax, qword [rbp + 0xa70]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14003cc60]
call fcn.140011b90
mov rax, rdi
mov rcx, qword [rbp + 0xa48]
xor rcx, rbp
call fcn.140011695
lea rsp, [rbp + 0xa58]
pop rdi
pop rbp
ret