Function at 0x14012bc00
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Post_Multipart
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14012c344
nop
cmp qword [rsp + 0x48], 0
jne 0x14012bc6e
mov edx, 0xffffffff
lea rcx, section..data
call fcn.1401370b0
nop
lea rcx, [rsp + 0x48]
call fcn.14012c368
nop
mov rcx, qword [rsp + 0x290]
call fcn.1401369cc
jmp 0x14012c336
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x258]
call fcn.14012bac8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x290]
call fcn.140137118
lea rcx, [rsp + 0x258]
call fcn.1401369cc
mov rcx, qword [rsp + 0x290]
call fcn.14013b8e4
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14012c344
nop
cmp qword [rsp + 0x40], 0
jne 0x14012bd44
mov edx, 0xffffffff
lea rcx, section..data
call fcn.1401370b0
nop
lea rcx, [rsp + 0x40]
call fcn.14012c368
nop
lea rcx, [rsp + 0x48]
call fcn.14012c368
nop
mov rcx, qword [rsp + 0x290]
call fcn.1401369cc
jmp 0x14012c336
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x34]
mov edx, 0x20000005
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x14012bd8f
mov eax, dword [rsp + 0x34]
mov edx, eax
lea rcx, [0x14042b9c0]
call fcn.14012a544
jmp 0x14012bddc
mov edx, 0xffffffff
lea rcx, section..data
call fcn.1401370b0
lea rdx, str.Failed_to_query_file_size_n
lea rcx, [0x14042be00]
call fcn.14012f4a8
nop
lea rcx, [rsp + 0x40]
call fcn.14012c368
nop
lea rcx, [rsp + 0x48]
call fcn.14012c368
nop
mov rcx, qword [rsp + 0x290]
call fcn.1401369cc
jmp 0x14012c336
mov dword [rsp + 0x38], 0
lea rdx, [0x14042b970]
lea rcx, [rsp + 0x168]
call fcn.1401356a4
nop
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x54], eax
lea rcx, [0x14042b9c0]
call fcn.140129474
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rax
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14012c2ad
cmp dword [rsp + 0x38], 0
jbe 0x14012c2ad
mov eax, dword [rsp + 0x38]
mov edx, eax
lea rcx, [0x14042b9c0]
call fcn.14012a544
xor edx, edx
lea rcx, [0x14042b9c0]
call fcn.140137710
movzx eax, byte [rax]
cmp eax, 0x47
jne 0x14012bf91
mov edx, 1
lea rcx, [0x14042b9c0]
call fcn.140137710
movzx eax, byte [rax]
cmp eax, 0x49
jne 0x14012bf91
mov edx, 2
lea rcx, [0x14042b9c0]
call fcn.140137710
movzx eax, byte [rax]
cmp eax, 0x46
jne 0x14012bf91
lea rdx, [rsp + 0x178]
lea rcx, [0x14042b9c0]
call fcn.14013b7d8
mov qword [rsp + 0x88], rax
mov r8d, 0x1f
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x88]
call fcn.14013785c
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x188]
lea rcx, [0x14042b9c0]
call fcn.14013b7d8
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa8], rax
mov r9, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
lea rdx, [rsp + 0x190]
lea rcx, [0x14042b9c0]
call fcn.14013d478
lea rcx, [0x14042b9c0]
call fcn.14012a56c
mov rdx, rax
lea rcx, [0x14042bcd0]
call fcn.14013729c
mov qword [rsp + 0xb0], rax
lea rdx, [0x140133b60]
mov rcx, qword [rsp + 0xb0]
call fcn.140137274
lea rcx, [rsp + 0x30]
call fcn.140129490
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0x198]
lea rcx, [0x14042b9c0]
call fcn.14013b7d8
mov qword [rsp + 0xb8], rax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0xb8]
call fcn.14013785c
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x1a8]
lea rcx, [0x14042b9c0]
call fcn.14013b7d8
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xe0], rax
mov r9, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x228]
call fcn.14012f070
nop
lea rcx, [rsp + 0x31]
call fcn.140129490
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x1b0]
lea rcx, [0x14042b9c0]
call fcn.14013b7d8
mov qword [rsp + 0xe8], rax
mov r8d, 0x20
lea rdx, [rsp + 0x1b8]
mov rcx, qword [rsp + 0xe8]
call fcn.14013785c
mov qword [rsp + 0xf0], rax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0xf0]
call fcn.14013785c
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x118], rax
lea rdx, [rsp + 0x1c8]
lea rcx, [0x14042b9c0]
call fcn.14013b7d8
mov qword [rsp + 0x100], rax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x100]
call fcn.14013785c
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x120], rax
mov r9, qword [rsp + 0x110]
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x210]
call fcn.14012f070
nop
lea rcx, [rsp + 0x32]
call fcn.140129490
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x1d8]
lea rcx, [0x14042b9c0]
call fcn.14013d214
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x150], rax
lea rdx, [rsp + 0x1e0]
lea rcx, [0x14042b9c0]
call fcn.14013b7d8
mov qword [rsp + 0x130], rax
mov r8d, 0x20
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x130]
call fcn.14013785c
mov qword [rsp + 0x138], rax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x138]
call fcn.14013785c
mov rax, qword [rax]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x158], rax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x1f8]
call fcn.14012f070
nop
lea r9, [rsp + 0x228]
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x240]
call fcn.140128b38
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0x160]
lea rcx, [0x14042b9c0]
call fcn.140137224
lea rcx, [rsp + 0x240]
call fcn.140129d98
xor edx, edx
lea rcx, section..data
call fcn.1401370b0
nop
lea rcx, [rsp + 0x1f8]
call fcn.140129d98
nop
lea rcx, [rsp + 0x210]
call fcn.140129d98
nop
lea rcx, [rsp + 0x228]
call fcn.140129d98
jmp 0x14012c305
lea rdx, str.Download_Failure__n
lea rcx, [0x14042be00]
call fcn.14012f4a8
mov edx, 0xffffffff
lea rcx, section..data
call fcn.1401370b0
nop
lea rcx, [rsp + 0x168]
call fcn.140136b30
nop
lea rcx, [rsp + 0x40]
call fcn.14012c368
nop
lea rcx, [rsp + 0x48]
call fcn.14012c368
nop
mov rcx, qword [rsp + 0x290]
call fcn.1401369cc
jmp 0x14012c336
lea rcx, [rsp + 0x168]
call fcn.140136b30
nop
lea rcx, [rsp + 0x40]
call fcn.14012c368
nop
lea rcx, [rsp + 0x48]
call fcn.14012c368
nop
mov rcx, qword [rsp + 0x290]
call fcn.1401369cc
add rsp, 0x288
ret