Function at 0x1400dd8a0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
sub rsp, 0x488
mov rax, qword [0x1401a1460]
xor rax, rsp
mov qword [rsp + 0x470], rax
xor eax, eax
cmp eax, 1
je 0x1400dd8f9
xor eax, eax
test eax, eax
je 0x1400dd8f9
cmp qword [rsp + 0x4a0], 0
je 0x1400dd8ef
mov dword [rsp + 0x68], 1
jmp 0x1400dd8f7
mov dword [rsp + 0x68], 0
jmp 0x1400dd8d4
xor eax, eax
cmp eax, 1
je 0x1400dd925
xor eax, eax
test eax, eax
je 0x1400dd925
cmp qword [rsp + 0x490], 0
je 0x1400dd91b
mov dword [rsp + 0x6c], 1
jmp 0x1400dd923
mov dword [rsp + 0x6c], 0
jmp 0x1400dd900
mov dword [rsp + 0x54], 0x80004005
mov qword [rsp + 0x48], 0
lea rcx, str.wininet.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400dd95a
mov eax, 0x80004005
jmp 0x1400ddc9a
lea rdx, str.InternetOpenW
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401a55c0], rax
cmp qword [0x1401a55c0], 0
jne 0x1400dd987
mov eax, 0x80004005
jmp 0x1400ddc9a
lea rdx, str.InternetReadFile
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401a55e0], rax
cmp qword [0x1401a55e0], 0
jne 0x1400dd9b4
mov eax, 0x80004005
jmp 0x1400ddc9a
lea rdx, str.InternetCloseHandle
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401a55e8], rax
cmp qword [0x1401a55e8], 0
jne 0x1400dd9e1
mov eax, 0x80004005
jmp 0x1400ddc9a
lea rdx, str.HttpSendRequestW
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401a55d8], rax
cmp qword [0x1401a55d8], 0
jne 0x1400dda0e
mov eax, 0x80004005
jmp 0x1400ddc9a
lea rdx, str.HttpOpenRequestW
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401a55d0], rax
cmp qword [0x1401a55d0], 0
jne 0x1400dda3b
mov eax, 0x80004005
jmp 0x1400ddc9a
lea rdx, str.InternetConnectW
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401a55c8], rax
cmp qword [0x1401a55c8], 0
jne 0x1400dda68
mov eax, 0x80004005
jmp 0x1400ddc9a
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [0x1401a55c0]
mov qword [rsp + 0x48], rax
xor eax, eax
cmp eax, 1
je 0x1400ddaae
xor eax, eax
test eax, eax
je 0x1400ddaae
cmp qword [rsp + 0x48], 0
je 0x1400ddaa4
mov dword [rsp + 0x70], 1
jmp 0x1400ddaac
mov dword [rsp + 0x70], 0
jmp 0x1400dda8c
cmp qword [rsp + 0x48], 0
jne 0x1400ddac0
mov eax, 0x80004005
jmp 0x1400ddc9a
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x498]
mov rdx, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x48]
call qword [0x1401a55c8]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400ddb26
lea rdx, str.Call_to_InternetConnect_failed._n
xor ecx, ecx
call fcn.140010730
jmp 0x1400ddc52
cmp dword [rsp + 0x4b0], 0
je 0x1400ddb3e
lea rax, str.POST
mov qword [rsp + 0x78], rax
jmp 0x1400ddb4a
lea rax, [0x140166de8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x84000300
mov qword [rsp + 0x28], 0
lea rax, [0x140166c84]
mov qword [rsp + 0x20], rax
lea r9, str.HTTP_1.1
mov r8, qword [rsp + 0x4a0]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call qword [0x1401a55d0]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400ddbb4
lea rdx, str.Call_to_HttpOpenRequest_failed._n
xor ecx, ecx
call fcn.140010730
jmp 0x1400ddc52
mov rcx, qword [rsp + 0x4b8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rsp + 0x4b0]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x4a8]
mov r8d, eax
mov rdx, qword [rsp + 0x4b8]
mov rcx, qword [rsp + 0x58]
call qword [0x1401a55d8]
test eax, eax
jne 0x1400ddc0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Call_to_HttpSendRequest_failed_0x08_x_n
xor ecx, ecx
call fcn.1400dafd0
jmp 0x1400ddc52
xor eax, eax
cmp eax, 1
je 0x1400ddc4a
mov dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
mov r8d, 0x3e8
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [0x1401a55e0]
test eax, eax
jne 0x1400ddc3f
jmp 0x1400ddc52
cmp dword [rsp + 0x50], 0
jne 0x1400ddc48
jmp 0x1400ddc4a
jmp 0x1400ddc0a
mov dword [rsp + 0x54], 0
cmp qword [rsp + 0x58], 0
je 0x1400ddc65
mov rcx, qword [rsp + 0x58]
call qword [0x1401a55e8]
cmp qword [rsp + 0x60], 0
je 0x1400ddc78
mov rcx, qword [rsp + 0x60]
call qword [0x1401a55e8]
cmp qword [rsp + 0x48], 0
je 0x1400ddc8b
mov rcx, qword [rsp + 0x48]
call qword [0x1401a55e8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14011f470
add rsp, 0x488
ret