Function at 0x41a460
Capabilities:
Connect to http server
Create http request
Delete file
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c1cc
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x423160]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 4
je 0x41a49b
mov eax, 2
jmp 0x41a802
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.0041b8f0
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0041b8f0
add esp, 8
mov byte [ebp - 4], 1
push 1
push 0x40
push 0x20
lea ecx, [ebp - 0x2c]
call fcn.00403070
push eax
lea ecx, [ebp - 0xbc]
call fcn.004031c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0xbc]
call fcn.00402270
movzx edx, al
test edx, edx
je 0x41a54b
mov dword [ebp - 0x154], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.00402730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00402f20
mov eax, dword [ebp - 0x154]
jmp 0x41a802
push 0x1000
call fcn.00407a16
add esp, 4
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 4]
lea ecx, [ebp + edx - 0xbc]
call fcn.00402250
movzx eax, al
test eax, eax
jne 0x41a790
push 0x1000
push 0
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.004090c0
add esp, 0xc
mov dword [ebp - 0x100], 0
push 4
lea edx, [ebp - 0x100]
push edx
lea ecx, [ebp - 0xbc]
call fcn.00402950
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00402950
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00402790
mov byte [ebp - 4], 3
push str.Content_Type:_multipart_form_data__boundary___________________________7d82751e2bc0858_r_n
lea ecx, [ebp - 0xf8]
call fcn.00402790
push 0
push 0
push 0
push 0
push str.MyAgent
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
je 0x41a771
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.cmp2s.p2sp.baidu.com
mov eax, dword [ebp - 0xfc]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x41a764
push 0
push 0x4000000
push 0
push 0
push 0
push str._player_client_log_update
push str.POST
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x41a757
push 0xa0000000
lea ecx, [ebp - 0xf8]
call fcn.004030b0
push eax
lea ecx, [ebp - 0xf8]
call fcn.00402830
push eax
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0x28
push 0
lea eax, [ebp - 0x14c]
push eax
call fcn.004090c0
add esp, 0xc
mov dword [ebp - 0x14c], 0x28
lea ecx, [ebp - 0x11c]
call fcn.004030b0
mov dword [ebp - 0x130], eax
push 0
push 8
push 0
lea ecx, [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x41a74a
mov dword [ebp - 0x150], 0
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004030b0
push eax
lea ecx, [ebp - 0x11c]
call fcn.00402830
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
push 0
push 8
push 0
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.WININET.dll_HttpEndRequestW]
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0xfc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0xf8]
call fcn.00402810
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11c]
call fcn.00402810
jmp 0x41a56a
lea ecx, [ebp - 0xbc]
call fcn.00403320
lea ecx, [ebp - 0x2c]
call fcn.00403090
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
push ecx
call fcn.00408e68
add esp, 4
mov dword [ebp - 0x160], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.00402730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402f20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00402f20
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004089f3
mov esp, ebp
pop ebp
ret