Function at 0x457605
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 0x698
mov eax, 0x4b6072
call fcn.00461a91
mov esi, edx
mov dword [ebp - 0x698], esi
mov dword [ebp - 0x6a4], ecx
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x4cf54a
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
je 0x457b2e
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 dword [ebp - 0x6a0], eax
test eax, eax
je 0x457b2e
lea ecx, [ebp - 0x70]
call fcn.00404dc9
lea ecx, [ebp - 0x694]
mov dword [ebp - 4], ebx
call fcn.0040a6f3
mov edi, dword [esi + 4]
lea ecx, [ebp - 0x28]
call fcn.00414daa
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test edi, edi
je 0x457742
cmp word [edi], bx
je 0x457742
push 0x200
lea eax, [ebp - 0x270]
push ebx
push eax
call fcn.00464590
add esp, 0xc
lea eax, [ebp - 0x270]
push ebx
push ebx
push 0x1ff
push eax
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
call esi
test eax, eax
jle 0x4576ee
cmp eax, 0x200
jae 0x457b36
mov byte [ebp + eax - 0x270], bl
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x270]
push eax
call fcn.0040ae37
jmp 0x457742
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
call esi
lea esi, [eax + 1]
lea eax, [esi + 1]
push eax
call fcn.0046142c
pop ecx
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
mov dword [ebp - 0x69c], eax
call esi
mov edi, dword [ebp - 0x69c]
mov byte [eax + edi], bl
test eax, eax
jle 0x45773b
push edi
lea ecx, [ebp - 0x28]
call fcn.0040ae37
push edi
call fcn.00461435
pop ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a793
lea ecx, [ebp - 0x28]
call fcn.00404f45
mov edi, dword [ebp - 0x698]
lea ecx, [ebp - 0x28]
mov edi, dword [edi]
call fcn.00414daa
mov byte [ebp - 4], 4
test edi, edi
je 0x45781e
cmp word [edi], bx
je 0x45781e
push 0x200
lea eax, [ebp - 0x270]
push ebx
push eax
call fcn.00464590
add esp, 0xc
lea eax, [ebp - 0x270]
push ebx
push ebx
push 0x1ff
push eax
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
call esi
test eax, eax
jle 0x4577d0
cmp eax, 0x200
jae 0x457b36
mov byte [ebp + eax - 0x270], bl
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x270]
push eax
call fcn.0040ae37
jmp 0x45781e
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
call esi
lea esi, [eax + 1]
lea eax, [esi + 1]
push eax
call fcn.0046142c
pop ecx
push ebx
push ebx
push esi
mov esi, eax
mov dword [ebp - 0x69c], eax
push esi
push 0xffffffffffffffff
push edi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [eax + esi], bl
test eax, eax
jle 0x457817
push esi
lea ecx, [ebp - 0x28]
call fcn.0040ae37
push esi
call fcn.00461435
pop ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a793
lea ecx, [ebp - 0x28]
call fcn.00404f45
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
push str.ver
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x694]
push str.recv_p2pcrash.php_software
push eax
call fcn.00414bb4
pop ecx
pop ecx
push eax
call fcn.0041374a
pop ecx
pop ecx
push eax
call fcn.00414bb4
pop ecx
pop ecx
push eax
call fcn.0041374a
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
call fcn.00404f45
xor eax, eax
lea ecx, [ebp - 0x40]
inc eax
mov byte [ebp - 4], al
call fcn.00404f45
push ebx
push 0x806cc200
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x694]
call fcn.00414c36
push eax
push 0x4d3520
push dword [ebp - 0x6a0]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [ebp - 0x6a0], esi
test esi, esi
je 0x457b1b
lea ecx, [ebp - 0x28]
call fcn.00404503
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0040451b
push 0x2d
push 0x1b
lea ecx, [ebp - 0x28]
call 0x457c8a
mov byte [ebp - 4], 7
call fcn.00470c01
movzx eax, ax
push eax
call fcn.00470c01
movzx eax, ax
push eax
call fcn.00470c01
movzx eax, ax
push eax
call fcn.00470c01
movzx eax, ax
push eax
lea eax, [ebp - 0x54]
push str._04X_04X_04X_04X
push eax
call 0x457b3c
add esp, 0x18
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x28]
push eax
call fcn.00414fa5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00457b57
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
mov dword [esp], 0x20000000
push 0xffffffffffffffff
call fcn.0040a7fe
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
lea ecx, [ebp - 0x27c]
call fcn.0040a6f3
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 9
call fcn.0040a6f3
push str._r_n_r_n
push str.Content_Type:_application_octet_stream
mov eax, 0x4d29e0
mov byte [ebp - 4], 0xa
push eax
push str.Content_Disposition:_form_data__name_report___filename_crashreport.zip_
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x27c]
push 0x4d1348
push eax
call fcn.00414bb4
pop ecx
pop ecx
push eax
call fcn.0041374a
pop ecx
pop ecx
push eax
call fcn.00414bb4
pop ecx
pop ecx
push eax
call fcn.00414bb4
pop ecx
pop ecx
push eax
call fcn.00414bb4
pop ecx
pop ecx
push eax
call fcn.00414bb4
pop ecx
pop ecx
push eax
call fcn.00414bb4
pop ecx
pop ecx
push 0x4d3f24
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x488]
push str._r_n__
push eax
call fcn.00414bb4
pop ecx
pop ecx
push eax
call fcn.0041374a
pop ecx
pop ecx
push eax
call fcn.00414bb4
pop ecx
pop ecx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp - 0x6a4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x69c], eax
cmp eax, 0xffffffff
je 0x457af5
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x698], eax
call fcn.00405ae7
lea ecx, [ebp - 0x27c]
mov edi, eax
call fcn.00405ae7
add edi, dword [ebp - 0x698]
add edi, eax
push edi
call fcn.0046142c
pop ecx
lea ecx, [ebp - 0x27c]
mov esi, eax
call fcn.00405ae7
push eax
lea ecx, [ebp - 0x27c]
call fcn.00414c36
push eax
push esi
call fcn.00462840
add esp, 0xc
lea eax, [ebp - 0x698]
lea ecx, [ebp - 0x27c]
push ebx
push eax
push dword [ebp - 0x698]
call fcn.00405ae7
add eax, esi
push eax
push dword [ebp - 0x69c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x488]
call fcn.00405ae7
push eax
lea ecx, [ebp - 0x488]
call fcn.00414c36
push eax
lea ecx, [ebp - 0x27c]
call fcn.00405ae7
add eax, esi
add eax, dword [ebp - 0x698]
push eax
call fcn.00462840
add esp, 0xc
push dword [ebp - 0x69c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
push ebx
push ebx
push dword [ebp - 0x6a0]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
lea ecx, [ebp - 0x488]
call fcn.0040a6d0
lea ecx, [ebp - 0x27c]
call fcn.0040a6d0
lea ecx, [ebp - 0x40]
call fcn.00404f45
lea ecx, [ebp - 0x28]
call fcn.00404f45
lea ecx, [ebp - 0x694]
call fcn.0040a6d0
lea ecx, [ebp - 0x70]
call fcn.00405118
mov al, bl
call fcn.00461a3b
ret
call fcn.0046155b
int3