Function at 0x1400c3eb0
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
push rdi
sub rsp, 0x490
mov rax, qword [0x14014d470]
xor rax, rsp
mov qword [rsp + 0x480], rax
xor eax, eax
cmp eax, 1
je 0x1400c3f0c
xor eax, eax
test eax, eax
je 0x1400c3f0a
cmp qword [rsp + 0x4b0], 0
je 0x1400c3f00
mov dword [rsp + 0x78], 1
jmp 0x1400c3f08
mov dword [rsp + 0x78], 0
jmp 0x1400c3ee5
jmp 0x1400c3f1d
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
xor eax, eax
cmp eax, 1
je 0x1400c3f4b
xor eax, eax
test eax, eax
je 0x1400c3f49
cmp qword [rsp + 0x4a0], 0
je 0x1400c3f3f
mov dword [rsp + 0x70], 1
jmp 0x1400c3f47
mov dword [rsp + 0x70], 0
jmp 0x1400c3f24
jmp 0x1400c3f5c
lea rax, [rsp + 0x4a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov dword [rsp + 0x58], 0x80004005
mov qword [rsp + 0x50], 0
lea rcx, str.wininet.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400c3f91
mov eax, 0x80004005
jmp 0x1400c42ed
lea rdx, str.InternetOpenW
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140151698], rax
cmp qword [0x140151698], 0
jne 0x1400c3fbe
mov eax, 0x80004005
jmp 0x1400c42ed
lea rdx, str.InternetReadFile
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401516b8], rax
cmp qword [0x1401516b8], 0
jne 0x1400c3feb
mov eax, 0x80004005
jmp 0x1400c42ed
lea rdx, str.InternetCloseHandle
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401516c0], rax
cmp qword [0x1401516c0], 0
jne 0x1400c4018
mov eax, 0x80004005
jmp 0x1400c42ed
lea rdx, str.HttpSendRequestW
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401516b0], rax
cmp qword [0x1401516b0], 0
jne 0x1400c4045
mov eax, 0x80004005
jmp 0x1400c42ed
lea rdx, str.HttpOpenRequestW
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401516a8], rax
cmp qword [0x1401516a8], 0
jne 0x1400c4072
mov eax, 0x80004005
jmp 0x1400c42ed
lea rdx, str.InternetConnectW
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401516a0], rax
cmp qword [0x1401516a0], 0
jne 0x1400c409f
mov eax, 0x80004005
jmp 0x1400c42ed
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [0x140151698]
mov qword [rsp + 0x50], rax
xor eax, eax
cmp eax, 1
je 0x1400c40e7
xor eax, eax
test eax, eax
je 0x1400c40e5
cmp qword [rsp + 0x50], 0
je 0x1400c40db
mov dword [rsp + 0x74], 1
jmp 0x1400c40e3
mov dword [rsp + 0x74], 0
jmp 0x1400c40c3
jmp 0x1400c40f8
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
cmp qword [rsp + 0x50], 0
jne 0x1400c410a
mov eax, 0x80004005
jmp 0x1400c42ed
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 + 0x4a8]
mov rdx, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x50]
call qword [0x1401516a0]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400c4170
lea rdx, str.Call_to_InternetConnect_failed._n
xor ecx, ecx
call fcn.140010ac0
jmp 0x1400c42a5
cmp dword [rsp + 0x4c0], 0
je 0x1400c418b
lea rax, str.POST
mov qword [rsp + 0x80], rax
jmp 0x1400c419a
lea rax, [0x14012df40]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x84000300
mov qword [rsp + 0x28], 0
lea rax, [0x14012da84]
mov qword [rsp + 0x20], rax
lea r9, str.HTTP_1.1
mov r8, qword [rsp + 0x4b0]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [0x1401516a8]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400c4207
lea rdx, str.Call_to_HttpOpenRequest_failed._n
xor ecx, ecx
call fcn.140010ac0
jmp 0x1400c42a5
mov rcx, qword [rsp + 0x4c8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rsp + 0x4c0]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x4b8]
mov r8d, eax
mov rdx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x60]
call qword [0x1401516b0]
test eax, eax
jne 0x1400c425d
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.1400becb0
jmp 0x1400c42a5
xor eax, eax
cmp eax, 1
je 0x1400c429d
mov dword [rsp + 0x5c], 0
lea r9, [rsp + 0x5c]
mov r8d, 0x3e8
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
call qword [0x1401516b8]
test eax, eax
jne 0x1400c4292
jmp 0x1400c42a5
cmp dword [rsp + 0x5c], 0
jne 0x1400c429b
jmp 0x1400c429d
jmp 0x1400c425d
mov dword [rsp + 0x58], 0
cmp qword [rsp + 0x60], 0
je 0x1400c42b8
mov rcx, qword [rsp + 0x60]
call qword [0x1401516c0]
cmp qword [rsp + 0x68], 0
je 0x1400c42cb
mov rcx, qword [rsp + 0x68]
call qword [0x1401516c0]
cmp qword [rsp + 0x50], 0
je 0x1400c42de
mov rcx, qword [rsp + 0x50]
call qword [0x1401516c0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140101630
add rsp, 0x490
pop rdi
ret