Function at 0x460971
Capabilities:
Connect to http server
Create http request
Get file size
Read and send data from client to server
Read file on windows
Send data
Send http request

Disassembly:
push 0x690
mov eax, 0x4b9cc0
call fcn.00469c08
mov esi, edx
mov dword [ebp - 0x698], esi
mov dword [ebp - 0x694], ecx
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x4d294c
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
je 0x460cf8
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push str.p3p.sogou.com
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
je 0x460cf8
lea ecx, [ebp - 0x6c]
call fcn.00412607
lea ecx, [ebp - 0x690]
mov dword [ebp - 4], ebx
call fcn.00411071
xor eax, eax
lea ecx, [ebp - 0x3c]
inc eax
mov byte [ebp - 4], al
mov edx, dword [esi + 4]
push 0xfde9
push 0xffffffffffffffff
call fcn.0042218f
mov esi, eax
mov edx, dword [ebp - 0x698]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
push 0xfde9
push 0xffffffffffffffff
mov edx, dword [edx]
call fcn.0042218f
add esp, 0x10
push esi
push str.ver
push eax
lea eax, [ebp - 0x690]
mov byte [ebp - 4], 3
push str.recv_p2pcrash.php_software
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.004126ba
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.004126ba
pop ecx
pop ecx
lea ecx, [ebp - 0x54]
call fcn.0041207b
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041207b
push ebx
push 0x806cc200
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x690]
call fcn.0041298e
push eax
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [ebp - 0x69c], esi
test esi, esi
je 0x460ce5
push 0x2d
push 0x1b
lea ecx, [ebp - 0x3c]
call fcn.0044db6a
mov byte [ebp - 4], 4
call fcn.0047268a
movzx eax, ax
push eax
call fcn.0047268a
movzx eax, ax
push eax
call fcn.0047268a
movzx eax, ax
push eax
call fcn.0047268a
movzx eax, ax
push eax
lea eax, [ebp - 0x24]
push str._04X_04X_04X_04X
push eax
call fcn.00460d00
lea eax, [ebp - 0x24]
push eax
call fcn.00411fd1
add esp, 0x1c
lea ecx, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0042935c
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00460d20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
mov dword [esp], 0x20000000
push 0xffffffffffffffff
call fcn.004122e7
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
lea ecx, [ebp - 0x278]
call fcn.00411071
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 6
call fcn.00411071
push str._r_n_r_n
push str.Content_Type:_application_octet_stream
mov eax, 0x4d558c
mov byte [ebp - 4], 7
push eax
push str.Content_Disposition:_form_data__name_report___filename_crashreport.zip_
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x278]
push 0x4d4704
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.004126ba
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
push str.___r_n
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x484]
push str._r_n__
push eax
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.004126ba
pop ecx
pop ecx
push eax
call fcn.00412821
pop ecx
pop ecx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x694]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x698], eax
cmp eax, 0xffffffff
je 0x460cbf
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [ebp - 0x484]
mov dword [ebp - 0x694], eax
call fcn.0040c535
lea ecx, [ebp - 0x278]
mov edi, eax
call fcn.0040c535
add edi, dword [ebp - 0x694]
add edi, eax
push edi
call fcn.0046949c
pop ecx
lea ecx, [ebp - 0x278]
mov esi, eax
call fcn.0040c535
push eax
lea ecx, [ebp - 0x278]
call fcn.0041298e
push eax
push esi
call fcn.0046b1b0
add esp, 0xc
lea eax, [ebp - 0x694]
lea ecx, [ebp - 0x278]
push ebx
push eax
push dword [ebp - 0x694]
call fcn.0040c535
add eax, esi
push eax
push dword [ebp - 0x698]
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x484]
call fcn.0040c535
push eax
lea ecx, [ebp - 0x484]
call fcn.0041298e
push eax
lea ecx, [ebp - 0x278]
call fcn.0040c535
add eax, esi
add eax, dword [ebp - 0x694]
push eax
call fcn.0046b1b0
add esp, 0xc
push dword [ebp - 0x698]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
push ebx
push ebx
push dword [ebp - 0x69c]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
lea ecx, [ebp - 0x484]
call fcn.0041104c
lea ecx, [ebp - 0x278]
call fcn.0041104c
lea ecx, [ebp - 0x54]
call fcn.0041207b
lea ecx, [ebp - 0x3c]
call fcn.0041207b
lea ecx, [ebp - 0x690]
call fcn.0041104c
lea ecx, [ebp - 0x6c]
call fcn.004123b1
mov al, bl
call fcn.00469bb2
ret