Function at 0x14004aec0
Capabilities:
Print debug messages
Send data

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
xor eax, eax
mov word [rsp + 0x30], ax
mov r9d, 0x20000000
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_octet_stream_r_n
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov dword [rsp + 0x60], 0x38
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x94], 0
mov edx, dword [rsp + 0xd0]
lea rcx, str.Data_total_size:__d
call fcn.1400472d0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x14004afd4
lea rcx, str.Error_on_HttpSendRequestEx_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0xcc], ecx
mov eax, 0xef1f
jmp 0x14004b18d
mov eax, dword [rsp + 0xd0]
add eax, 0x18fff
xor edx, edx
mov ecx, 0x19000
div ecx
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
lea rcx, str.Data_piece_total_number:__d
call fcn.1400472d0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x3c], 0x19000
mov dword [rsp + 0x44], 0x19000
mov dword [rsp + 0x34], 0
jmp 0x14004b029
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jge 0x14004b13b
xor edx, edx
mov eax, dword [rsp + 0xd0]
mov ecx, 0x19000
div ecx
mov eax, edx
test eax, eax
je 0x14004b06f
mov eax, dword [rsp + 0x38]
dec eax
cmp dword [rsp + 0x34], eax
jne 0x14004b06f
xor edx, edx
mov eax, dword [rsp + 0xd0]
mov ecx, 0x19000
div ecx
mov eax, edx
mov dword [rsp + 0x3c], eax
imul eax, dword [rsp + 0x34], 0x19000
cdqe
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x3c]
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.WININET.dll_InternetWriteFile]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14004b0fa
mov eax, dword [rsp + 0x34]
inc eax
imul eax, eax, 0x64
cdq
idiv dword [rsp + 0x38]
movzx eax, ax
mov r9d, eax
mov r8d, 3
mov edx, 0x8000
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [rsp + 0x34]
inc eax
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x3c]
mov edx, eax
lea rcx, str.post_piece_id:__d____dwBytesData__d_____Write_byte_finished___d
call fcn.1400472d0
jmp 0x14004b136
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.post_piece_fail__get_error_id:__d
call fcn.1400472d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0xcc], ecx
mov eax, 0xef1f
mov word [rsp + 0x30], ax
jmp 0x14004b13b
jmp 0x14004b01f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x14004b188
lea rcx, str.Error_on_HttpEndRequest_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0xcc], ecx
mov eax, 0xef1f
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
add rsp, 0xa8
ret