Function at 0x418274
Capabilities:
Create thread
Create udp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x443054]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
push ebx
push esi
jne 0x418291
xor eax, eax
jmp 0x4184de
push 0x11
push 2
push 2
call dword [0x42d57c]
cmp eax, 0xffffffff
mov dword [edi + 0x48], eax
jne 0x4182d0
mov esi, dword [0x42d584]
call esi
push eax
push 0x437ce0
call dword [sym.imp.QQPlayer.DLL_int___cdecl_DoLog_wchar_t_const__]
pop ecx
pop ecx
call esi
push eax
push dword [edi]
push 0x7e9
push dword [edi + 0x44]
call dword [0x42d4a0]
jmp 0x41828a
call dword [section..data]
push 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00427cf8
add esp, 0xc
cmp dword [edi + 0x1c], 8
jb 0x4182f4
mov esi, dword [edi + 8]
jmp 0x4182f7
lea esi, [edi + 8]
test esi, esi
je 0x41830a
push esi
call dword [0x42d170]
inc eax
cmp eax, 0x3fffffff
jle 0x41830e
xor eax, eax
jmp 0x418326
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004281f0
mov eax, esp
push dword [ebp - 0x2c]
push ebx
push esi
mov esi, eax
call fcn.0040cd16
mov ebx, dword [reloc.ATL80.DLL_Ordinal_11]
push eax
call ebx
mov dword [ebp - 0x20], eax
movzx eax, word [edi + 0x20]
push eax
mov word [ebp - 0x24], 2
call dword [0x42d550]
mov word [ebp - 0x22], ax
push 0x10
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x48]
call dword [0x42d578]
cmp eax, 0xffffffff
jne 0x41836e
mov esi, dword [0x42d584]
call esi
push eax
push str._UdpNetwork_
jmp 0x4182b3
push 0x10
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00427cf8
add esp, 0xc
cmp dword [edi + 0x3c], 8
jb 0x418389
mov eax, dword [edi + 0x28]
jmp 0x41838c
lea eax, [edi + 0x28]
test eax, eax
mov dword [ebp - 0x28], eax
je 0x4183a2
push eax
call dword [0x42d170]
inc eax
cmp eax, 0x3fffffff
jle 0x4183a6
xor eax, eax
jmp 0x4183c0
lea esi, [eax + eax]
mov eax, esi
call fcn.004281f0
mov eax, esp
push dword [ebp - 0x2c]
push esi
push dword [ebp - 0x28]
mov esi, eax
call fcn.0040cd16
push eax
call ebx
mov dword [ebp - 0x10], eax
movzx eax, word [edi + 0x40]
push eax
mov word [ebp - 0x14], 2
call dword [0x42d550]
and dword [ebp - 0x28], 0
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edi + 0x50]
sub eax, dword [ebp - 0x28]
push 0
push eax
mov eax, dword [edi + 0x4c]
add eax, dword [ebp - 0x28]
push eax
push dword [edi + 0x48]
call dword [0x42d574]
cmp eax, 0xffffffff
mov ebx, dword [0x42d584]
mov esi, dword [0x42d4a0]
je 0x41841c
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [edi + 0x50]
jl 0x4183df
jmp 0x41843b
call ebx
push eax
push str._UdpNetwork_Socket_sendto_error_:__d
call dword [sym.imp.QQPlayer.DLL_int___cdecl_DoLog_wchar_t_const__]
pop ecx
pop ecx
call ebx
push eax
push dword [edi]
push 0x7ea
push dword [edi + 0x44]
call esi
mov eax, dword [ebp - 0x28]
cmp eax, dword [edi + 0x50]
jge 0x418457
call ebx
push eax
push dword [edi]
push 0x7ea
push dword [edi + 0x44]
call esi
jmp 0x41828a
push 0
push dword [edi]
push 0x7ec
push dword [edi + 0x44]
call esi
cmp byte [edi + 0x64], 0
je 0x4184db
push edi
push 0
push 0x41804f
call dword [0x42d288]
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [edi + 0x68], eax
jne 0x418493
push ebx
push dword [edi]
push 0x7ee
push dword [edi + 0x44]
jmp 0x418450
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x4184a8
mov eax, ebx
push eax
push 0
lea eax, [ebp - 0x34]
push eax
push 2
call dword [0x42d138]
test eax, eax
je 0x4184c8
push ebx
push dword [edi]
push 0x7eb
push dword [edi + 0x44]
call esi
mov eax, dword [edi + 0x68]
cmp eax, ebx
je 0x4184db
push 0
push eax
call dword [0x42d14c]
mov dword [edi + 0x68], ebx
xor eax, eax
inc eax
lea esp, [ebp - 0x40]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427ce2
leave
ret