Function at 0x4026b7
Capabilities:
Create udp socket
Resolve dns
Send data
Send data on socket

Disassembly:
mov eax, 0x43a325
call fcn.00432e40
sub esp, 0xfc
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
push 1
push 3
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov eax, dword [ebp - 0x108]
and dword [ebp - 4], 0
lea edi, [ebp - 0x108]
push str.PROGRAMQQUPDATECMDRP_UPDATEVALUE
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xfc], 0x804
neg edi
lea eax, [ebp + eax - 0x108]
sbb edi, edi
lea eax, [ebp - 0x100]
and edi, eax
push edi
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
mov eax, dword [edi]
mov esi, dword [sym.imp.MSVCP60.dll_struct_std::_Smanip_int____cdecl_std::setw_int_]
push 2
mov eax, dword [eax + 4]
mov byte [eax + edi + 0x30], 0x30
add eax, edi
pop ebx
lea eax, [ebp - 0x18]
push ebx
push eax
call esi
add esp, 0x10
test edi, edi
jne 0x402741
xor ecx, ecx
jmp 0x402748
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push dword [eax + 4]
push ecx
call dword [eax]
pop ecx
pop ecx
push 1
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
xor eax, eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x40], eax
call fcn.0041ce9a
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.00431460
pop ecx
push dword [eax]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.0041cf6c
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x10], 0
je 0x4027b9
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041d026
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x64
add eax, dword [ebp - 0x3c]
push eax
call sub.WS2_32.dll_htons
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x5c]
push ebx
push eax
call esi
pop ecx
test edi, edi
pop ecx
jne 0x4027dc
xor ecx, ecx
jmp 0x4027e3
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0x10]
pop ecx
pop ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x54]
push ebx
push eax
call esi
mov edx, dword [ebp - 0x14]
pop ecx
test edx, edx
pop ecx
jne 0x402810
xor ecx, ecx
jmp 0x402817
mov ecx, dword [edx]
mov ecx, dword [ecx + 4]
add ecx, edx
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0xf]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push str.update.music.qq.com
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x402c50
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x402c50
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x54]
push eax
call esi
pop ecx
test edi, edi
pop ecx
jne 0x402863
xor ecx, ecx
jmp 0x40286a
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0x10]
pop ecx
pop ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x5c]
push ebx
push eax
call esi
mov edx, dword [ebp - 0x14]
pop ecx
test edx, edx
pop ecx
jne 0x402897
xor ecx, ecx
jmp 0x40289e
mov ecx, dword [edx]
mov ecx, dword [ecx + 4]
add ecx, edx
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0xf]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x48]
push ebx
push eax
call esi
mov edx, dword [ebp - 0x14]
pop ecx
test edx, edx
pop ecx
jne 0x4028cc
xor ecx, ecx
jmp 0x4028d3
mov ecx, dword [edx]
mov ecx, dword [ecx + 4]
add ecx, edx
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0xe]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push ebx
push eax
call esi
mov edx, dword [ebp - 0x14]
pop ecx
test edx, edx
pop ecx
jne 0x402901
xor ecx, ecx
jmp 0x402908
mov ecx, dword [edx]
mov ecx, dword [ecx + 4]
add ecx, edx
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0xd]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
lea eax, [ebp - 0x30]
push ebx
push eax
call esi
pop ecx
test edi, edi
pop ecx
jne 0x402930
xor ecx, ecx
jmp 0x402937
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push dword [eax + 4]
push ecx
call dword [eax]
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ax, word [eax + 4]
mov ecx, edi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 8]
push eax
call sub.WS2_32.dll_htons
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push ebx
push eax
call esi
pop ecx
test edi, edi
pop ecx
jne 0x402970
xor ecx, ecx
jmp 0x402977
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0x10]
pop ecx
pop ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x48]
push ebx
push eax
call esi
mov edx, dword [ebp - 0x14]
pop ecx
test edx, edx
pop ecx
jne 0x4029a4
xor ecx, ecx
jmp 0x4029ab
mov ecx, dword [edx]
mov ecx, dword [ecx + 4]
add ecx, edx
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0xf]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xc]
call sub.WS2_32.dll_htonl
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push ebx
push eax
call esi
pop ecx
test edi, edi
pop ecx
jne 0x4029e1
xor ecx, ecx
jmp 0x4029e8
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0x10]
pop ecx
pop ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x48]
push ebx
push eax
call esi
mov edx, dword [ebp - 0x14]
pop ecx
test edx, edx
pop ecx
jne 0x402a15
xor ecx, ecx
jmp 0x402a1c
mov ecx, dword [edx]
mov ecx, dword [ecx + 4]
add ecx, edx
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0xf]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x54]
push ebx
push eax
call esi
mov edx, dword [ebp - 0x14]
pop ecx
test edx, edx
pop ecx
jne 0x402a4a
xor ecx, ecx
jmp 0x402a51
mov ecx, dword [edx]
mov ecx, dword [ecx + 4]
add ecx, edx
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0xe]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x5c]
push ebx
push eax
call esi
mov edx, dword [ebp - 0x14]
pop ecx
test edx, edx
pop ecx
jne 0x402a7f
xor ecx, ecx
jmp 0x402a86
mov ecx, dword [edx]
mov ecx, dword [ecx + 4]
add ecx, edx
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0xd]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
call sub.WS2_32.dll_htonl
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push ebx
push eax
call esi
pop ecx
test edi, edi
pop ecx
jne 0x402abc
xor ecx, ecx
jmp 0x402ac3
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0x10]
pop ecx
pop ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov edi, eax
lea eax, [ebp - 0x48]
push ebx
push eax
call esi
pop ecx
test edi, edi
pop ecx
jne 0x402aec
xor ecx, ecx
jmp 0x402af3
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0xf]
pop ecx
pop ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov edi, eax
lea eax, [ebp - 0x54]
push ebx
push eax
call esi
pop ecx
test edi, edi
pop ecx
jne 0x402b1c
xor ecx, ecx
jmp 0x402b23
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0xe]
pop ecx
pop ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
mov edi, eax
lea eax, [ebp - 0x5c]
push ebx
push eax
call esi
pop ecx
test edi, edi
pop ecx
jne 0x402b4c
xor ecx, ecx
jmp 0x402b53
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
push dword [eax + 4]
push ecx
call dword [eax]
movzx ax, byte [ebp - 0xd]
pop ecx
pop ecx
push eax
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
and dword [ebp - 0x20], 0
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov eax, dword [eax + 4]
mov byte [ebp - 4], 3
test eax, eax
jne 0x402b91
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00402c87
mov bl, al
push 1
neg bl
sbb bl, bl
lea ecx, [ebp - 0x38]
inc bl
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
test bl, bl
jne 0x402c32
push str.report.music.qq.com
call sub.WS2_32.dll_gethostbyname
mov ecx, eax
test ecx, ecx
je 0x402c29
mov eax, dword [ecx + 0xc]
cmp dword [eax], 0
je 0x402c29
xor eax, eax
lea edi, [ebp - 0x36]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x38], 2
mov eax, dword [ecx + 0xc]
push 0x1f40
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
call sub.WS2_32.dll_htons
push 0x11
push 2
push 2
mov word [ebp - 0x36], ax
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x402c29
lea eax, [ebp - 0x38]
push 0x10
push eax
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push esi
call sub.WS2_32.dll_sendto
push esi
call sub.WS2_32.dll_closesocket
push dword [ebp - 0x20]
call sub.MFC42.DLL_operatordelete
pop ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0041cf0d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
jmp 0x402c78
and byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0041cf0d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVCP60.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret