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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d9dd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c4
mov eax, dword [0x4aa6e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2f8], ecx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401380
lea ecx, [ebp - 0x28]
call fcn.004013e0
mov dword [ebp - 4], 0
push 0x190
push 0x1007
push 6
push 5
push str._d._d._d._d
lea eax, [ebp - 0x28]
push eax
call fcn.0040a8d0
add esp, 0x18
push 0
push 0
push 0
push 0
push 0x4a3002
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
je 0x406993
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.p3p.sogou.com
mov ecx, dword [ebp - 0x2a8]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
je 0x406993
mov dword [ebp - 0x2c4], 0x806cc200
lea ecx, [ebp - 0x70]
call fcn.00407500
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x280]
call fcn.00406a00
push 1
push 3
lea ecx, [ebp - 0x280]
call fcn.00408490
mov byte [ebp - 4], 2
lea edx, [ebp - 0x280]
test edx, edx
je 0x4063c2
lea eax, [ebp - 0x280]
add eax, 0x10
mov dword [ebp - 0x2b4], eax
jmp 0x4063cc
mov dword [ebp - 0x2b4], 0
lea ecx, [ebp - 0x28]
call fcn.00401a50
push eax
push str.recv_p2pcrash.php_softwareqqpinyinver
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.0040abe0
add esp, 8
push eax
call fcn.0040abe0
add esp, 8
lea edx, [ebp - 0x310]
push edx
lea ecx, [ebp - 0x280]
call fcn.004085d0
mov dword [ebp - 0x2cc], eax
push 0
mov eax, dword [ebp - 0x2c4]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x2cc]
call fcn.00406ea0
push eax
push str.POST
mov ecx, dword [ebp - 0x2b0]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x298], eax
lea ecx, [ebp - 0x310]
call fcn.00403ac0
cmp dword [ebp - 0x298], 0
je 0x406978
push 0x2d
push 0x1b
lea ecx, [ebp - 0x40]
call fcn.00406de0
mov byte [ebp - 4], 3
mov byte [ebp - 0x24], 0
xor edx, edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
call fcn.004238f3
and eax, 0xffff
push eax
call fcn.004238f3
and eax, 0xffff
push eax
call fcn.004238f3
and eax, 0xffff
push eax
call fcn.004238f3
and eax, 0xffff
push eax
push str._04X_04X_04X_04X
lea eax, [ebp - 0x24]
push eax
call fcn.0040af10
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00406e70
lea edx, [ebp - 0x40]
push edx
push str.Content_Type:_multipart_form_data__boundary
lea eax, [ebp - 0x58]
push eax
call fcn.0040af40
add esp, 0xc
mov byte [ebp - 4], 4
push 0x20000000
push 0xffffffffffffffff
lea ecx, [ebp - 0x58]
call fcn.00406ea0
push eax
mov ecx, dword [ebp - 0x298]
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 1
lea ecx, [ebp - 0x120]
call fcn.00406a00
push 1
push 3
lea ecx, [ebp - 0x120]
call fcn.00408490
mov byte [ebp - 4], 5
push 1
lea ecx, [ebp - 0x1d0]
call fcn.00406a00
push 1
push 3
lea ecx, [ebp - 0x1d0]
call fcn.00408490
mov byte [ebp - 4], 6
lea edx, [ebp - 0x120]
test edx, edx
je 0x406551
lea eax, [ebp - 0x120]
add eax, 0x10
mov dword [ebp - 0x29c], eax
jmp 0x40655b
mov dword [ebp - 0x29c], 0
push str._r_n_r_n
push str.Content_Type:_application_octet_stream
push 0x4a399c
push str.Content_Disposition:_form_data__name_report___filename_crashreport.zip_
push 0x4a39ec
lea ecx, [ebp - 0x40]
push ecx
push 0x4a39f0
mov edx, dword [ebp - 0x29c]
push edx
call fcn.0040abe0
add esp, 8
push eax
call fcn.0040a900
add esp, 8
push eax
call fcn.0040abe0
add esp, 8
push eax
call fcn.0040abe0
add esp, 8
push eax
call fcn.0040abe0
add esp, 8
push eax
call fcn.0040abe0
add esp, 8
push eax
call fcn.0040abe0
add esp, 8
lea eax, [ebp - 0x1d0]
test eax, eax
je 0x4065dd
lea ecx, [ebp - 0x1d0]
add ecx, 0x10
mov dword [ebp - 0x2a0], ecx
jmp 0x4065e7
mov dword [ebp - 0x2a0], 0
push str.___r_n
lea edx, [ebp - 0x40]
push edx
push str._r_n__
mov eax, dword [ebp - 0x2a0]
push eax
call fcn.0040abe0
add esp, 8
push eax
call fcn.0040a900
add esp, 8
push eax
call fcn.0040abe0
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push bind
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0xffffffff
je 0x406942
push 0
mov edx, dword [ebp - 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x120]
call fcn.004085d0
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2ec], ecx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x340]
push edx
lea ecx, [ebp - 0x1d0]
call fcn.004085d0
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2dc]
call fcn.00403b10
mov esi, eax
mov ecx, dword [ebp - 0x2ec]
call fcn.00403b10
add eax, dword [ebp - 0x284]
add esi, eax
mov dword [ebp - 0x2a4], esi
lea ecx, [ebp - 0x340]
call fcn.00403ac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x370]
call fcn.00403ac0
mov eax, dword [ebp - 0x2a4]
push eax
call fcn.0041a95b
add esp, 4
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x2f4]
mov dword [ebp - 0x28c], ecx
lea edx, [ebp - 0x3d0]
push edx
lea ecx, [ebp - 0x120]
call fcn.004085d0
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x120]
call fcn.004085d0
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2c0]
call fcn.00403b10
push eax
mov ecx, dword [ebp - 0x2e4]
call fcn.00406ea0
push eax
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00423e70
add esp, 0xc
lea ecx, [ebp - 0x3a0]
call fcn.00403ac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3d0]
call fcn.00403ac0
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0x120]
call fcn.004085d0
mov dword [ebp - 0x2b8], eax
push 0
lea ecx, [ebp - 0x284]
push ecx
mov edx, dword [ebp - 0x284]
push edx
mov ecx, dword [ebp - 0x2b8]
call fcn.00403b10
add eax, dword [ebp - 0x28c]
push eax
mov eax, dword [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x388]
call fcn.00403ac0
lea ecx, [ebp - 0x328]
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.004085d0
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2d0], edx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x3b8]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.004085d0
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2f0], ecx
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x358]
push edx
lea ecx, [ebp - 0x120]
call fcn.004085d0
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2d0]
call fcn.00403b10
push eax
mov ecx, dword [ebp - 0x2f0]
call fcn.00406ea0
push eax
mov ecx, dword [ebp - 0x2d8]
call fcn.00403b10
add eax, dword [ebp - 0x28c]
add eax, dword [ebp - 0x284]
push eax
call fcn.00423e70
add esp, 0xc
lea ecx, [ebp - 0x358]
call fcn.00403ac0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3b8]
call fcn.00403ac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x328]
call fcn.00403ac0
mov byte [ebp - 0x285], 0
mov eax, dword [ebp - 0x2a4]
push eax
mov ecx, dword [ebp - 0x28c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x298]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x4068c8
mov byte [ebp - 0x285], 1
cmp dword [ebp - 0x294], 0
je 0x4068de
mov eax, dword [ebp - 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, byte [ebp - 0x285]
test ecx, ecx
je 0x4068f3
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x28c], 0
je 0x406942
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2ac]
push ecx
call fcn.00421983
add esp, 4
cmp dword [ebp - 0x2ac], 0
jne 0x40692c
mov dword [ebp - 0x2bc], 0
jmp 0x406942
mov dword [ebp - 0x28c], 0x8123
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x2bc], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1d0]
call fcn.004069d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.004069d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00403ac0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00403ac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.004069d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00407530
mov byte [ebp - 0x28d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401400
mov al, byte [ebp - 0x28d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421639
mov esp, ebp
pop ebp
ret 4