Function at 0x1400056b0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
lea rax, [0x1400e56f8]
mov qword [rcx], rax
add rcx, 0x30
xor edx, edx
call fcn.140038c80
nop
xor eax, eax
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x20], rbx
mov qword [rsi + 0x28], rax
mov dword [rsi + 8], edi
cmp qword [0x140164320], rax
jne 0x1400059da
cmp qword [0x140164388], rax
jne 0x1400059da
lea rcx, str.winhttp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140164320], rax
test rax, rax
je 0x14000587d
lea rdx, str.WinHttpAddRequestHeaders
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164318], rax
lea rdx, str.WinHttpCloseHandle
mov rcx, qword [0x140164320]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164310], rax
lea rdx, str.WinHttpConnect
mov rcx, qword [0x140164320]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164308], rax
lea rdx, str.WinHttpOpen
mov rcx, qword [0x140164320]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164300], rax
lea rdx, str.WinHttpOpenRequest
mov rcx, qword [0x140164320]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401642f8], rax
lea rdx, str.WinHttpQueryHeaders
mov rcx, qword [0x140164320]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401642f0], rax
lea rdx, str.WinHttpQueryOption
mov rcx, qword [0x140164320]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401642e8], rax
lea rdx, str.WinHttpReadData
mov rcx, qword [0x140164320]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401642e0], rax
lea rdx, str.WinHttpReceiveResponse
mov rcx, qword [0x140164320]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401642d8], rax
lea rdx, str.WinHttpSendRequest
mov rcx, qword [0x140164320]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401642d0], rax
lea rdx, str.WinHttpSetOption
mov rcx, qword [0x140164320]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401642c8], rax
lea rdx, str.WinHttpWriteData
mov rcx, qword [0x140164320]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401642c0], rax
jmp 0x1400059da
lea rcx, str.wininet.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140164388], rax
test rax, rax
je 0x1400059da
lea rdx, str.HttpAddRequestHeadersA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164380], rax
lea rdx, str.HttpEndRequestA
mov rcx, qword [0x140164388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164378], rax
lea rdx, [0x1400e5598]
mov rcx, qword [0x140164388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164370], rax
lea rdx, [0x1400e5588]
mov rcx, qword [0x140164388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164368], rax
lea rdx, str.HttpSendRequestExA
mov rcx, qword [0x140164388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164360], rax
lea rdx, [0x1400e5558]
mov rcx, qword [0x140164388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164358], rax
lea rdx, [0x1400e5540]
mov rcx, qword [0x140164388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164350], rax
lea rdx, [0x1400e5530]
mov rcx, qword [0x140164388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164348], rax
lea rdx, str.InternetQueryOptionA
mov rcx, qword [0x140164388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164340], rax
lea rdx, [0x1400e5500]
mov rcx, qword [0x140164388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164338], rax
lea rdx, str.InternetSetOptionA
mov rcx, qword [0x140164388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164330], rax
lea rdx, str.InternetWriteFile
mov rcx, qword [0x140164388]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140164328], rax
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret