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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
push str.Enter_ExitInstance__
mov ecx, 0x43b48c
call fcn.0040a090
xor eax, eax
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
mov eax, dword [0x43b34c]
add esp, 4
cmp eax, ebp
mov dword [esp + 0x14], ebp
mov word [esp + 0x24], bp
je 0x40db3a
lea esi, [eax + 4]
mov edi, eax
mov eax, dword [esi]
cmp eax, ebp
je 0x40db2b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebp
push edi
call fcn.0041aebe
add esp, 4
mov dword [0x43b34c], ebp
mov eax, dword [0x43af74]
cmp eax, ebp
je 0x40db60
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x43af74]
cmp eax, ebp
je 0x40db60
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x43af74], ebp
cmp dword [0x43af90], 1
jne 0x40db7d
mov eax, dword [0x43af78]
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [0x43af90], ebp
push 0x43a8f8
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
call fcn.0040b3e0
cmp dword [0x43b320], ebp
mov edi, dword [sym.imp.WS2_32.dll_shutdown]
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
je 0x40dcb3
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 0xa1c
call esi
push ebp
mov dword [esp + 0x18], eax
call esi
push ebp
mov dword [esp + 0x1c], eax
call esi
push ebp
mov dword [esp + 0x20], eax
call esi
movzx ecx, word [0x43accc]
push ecx
mov dword [esp + 0x24], eax
mov word [esp + 0x28], 2
call dword [sym.imp.WS2_32.dll_htons]
push 0x7f000001
mov word [esp + 0x2a], ax
call esi
mov edx, dword [0x43accc]
push edx
push str.SVNIEAgt_get_lsiten_port_is___d_
mov ecx, 0x43b48c
mov dword [esp + 0x30], eax
call fcn.0040a090
add esp, 8
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x40dc60
push 0x10
lea eax, [esp + 0x28]
push eax
push ebp
push 0x10
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x40dc58
push str.send_packet_failed
mov ecx, 0x43b48c
call fcn.0040a090
add esp, 4
push 2
push esi
call edi
push esi
call ebx
push 2
push esi
call edi
push esi
call ebx
mov edx, dword [0x43b320]
push 0x1f4
push edx
mov dword [0x43b328], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40dc8c
mov eax, dword [0x43b32c]
test eax, eax
je 0x40dca0
mov ecx, dword [0x43b320]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x43b32c], ebp
mov edx, dword [0x43b320]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x43b320], ebp
cmp dword [0x4390d4], 0xffffffff
jne 0x40dcca
push 2
push 0xffffffffffffffff
call edi
mov eax, dword [0x4390d4]
push eax
call ebx
cmp dword [0x43b324], ebp
je 0x40dcd8
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041aec3
add esp, 0x2c
ret