Function at 0x404500
Capabilities:
Create thread
Create udp socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46473d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x48b060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movups xmm0, xmmword [ebp + 8]
push 0x485e60
push str.INFO_:_Connecting_to_a_device
mov ecx, 0x48bbd0
mov byte [0x48bbd5], 1
movups xmmword [ebp - 0x60], xmm0
call fcn.0040a9d0
mov ecx, eax
call fcn.0040a9d0
test edi, edi
je 0x404569
cmp dword [edi], 0
jbe 0x404569
mov eax, 1
jmp 0x404622
mov ecx, dword [ebp - 0x5c]
call fcn.00403240
cmp eax, 0xffffffff
je 0x4045a2
push 0x485e60
push str.INFO_:_Cant_connect_because_already_connected_to_the_same_device
mov ecx, 0x48bbd0
mov byte [0x48bbd5], 1
call fcn.0040a9d0
mov ecx, eax
call fcn.0040a9d0
mov eax, 2
jmp 0x404622
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 4], eax
mov esi, 0x3c48
mov eax, 2
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x50], ax
push esi
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x4e], ax
lea eax, [ebp - 0x50]
push 0x10
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x40463f
inc esi
cmp esi, 0xea60
jl 0x4045c6
push 0x485e60
mov byte [0x48bbd5], 1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.INFO_:_Cant_make_a_socket_because_of_error
mov ecx, 0x48bbd0
call fcn.0040a9d0
mov ecx, eax
call fcn.0040b0e0
mov ecx, eax
call fcn.0040a9d0
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00417200
mov esp, ebp
pop ebp
ret 0x10
cmp esi, 0xffffffff
jle 0x4045ed
push 4
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x3e8
push eax
push 0x1006
push 0xffff
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
call fcn.00412730
mov esi, dword [sym.imp.WS2_32.dll_sendto]
lea ecx, [ebp - 0x60]
push 0x10
push ecx
push 0
mov dword [edi + 0x1e8], eax
lea eax, [edi + 0x2c]
push 3
push eax
mov byte [edi + 0x2d], 1
mov byte [eax], 0
push dword [edi + 4]
call esi
cmp dword [0x48ddf0], 0
lea eax, [ebp - 0x60]
push 0x10
push eax
push 0
push 0x20
lea eax, [ebp - 0x30]
mov byte [ebp - 0x30], 0
push eax
push dword [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x16], 0
setne byte [ebp - 0x2f]
movq qword [ebp - 0x1e], xmm0
movups xmmword [ebp - 0x2e], xmm0
mov word [ebp - 0x12], 0
call esi
push 0
push dword [ebp - 0x5c]
lea eax, [edi + 0x28]
push eax
lea eax, [edi + 0x18]
push eax
push ecx
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x30]
push 0x20
call fcn.00412900
add esp, 0x18
test eax, eax
jle 0x404938
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [edi + 8], xmm0
psrldq xmm0, 4
movd dword [edi], xmm0
mov eax, dword [0x48dbcc]
cmp eax, dword [0x48dbd0]
je 0x40475f
movd dword [eax], xmm0
lea ecx, [ebp - 0x34]
mov esi, dword [0x48dbcc]
push 3
call fcn.00414390
mov edx, dword [0x48dbc4]
add edx, 4
mov eax, dword [edx]
test eax, eax
je 0x40474e
cmp dword [eax + 8], esi
jb 0x404745
ja 0x404745
mov dword [eax], 0
mov eax, dword [eax + 4]
mov dword [edx], eax
jmp 0x40474a
lea edx, [eax + 4]
mov eax, dword [edx]
test eax, eax
jne 0x404731
lea ecx, [ebp - 0x34]
call fcn.00414440
add dword [0x48dbcc], 4
jmp 0x404766
push edi
push eax
call fcn.0040b4d0
movzx eax, byte [ebp - 0x30]
mov byte [ebp - 0x35], al
movzx eax, byte [ebp - 0x2f]
mov byte [ebp - 0x36], al
movzx eax, byte [ebp - 0x2e]
mov byte [ebp - 0x37], al
movzx eax, byte [ebp - 0x2d]
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x1e0], eax
cdq
and edx, 3
mov byte [0x48dc4c], 1
add eax, edx
sar eax, 2
mov dword [edi + 0x1e4], eax
call fcn.00412730
movsx esi, byte [ebp - 0x2c]
mov dword [edi + 0x1ec], eax
mov dword [ebp - 0x38], esi
lea eax, [esi + 1]
push eax
call fcn.004179b0
add esp, 4
mov edx, eax
mov dword [ebp - 0x34], edx
test esi, esi
jle 0x4047e6
lea esi, [ebp - 0x2b]
mov ecx, edx
sub esi, edx
mov edx, dword [ebp - 0x38]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x4047d2
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov ecx, edx
mov byte [edx + esi], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4047f0
sub ecx, esi
push ecx
push edx
lea ecx, [edi + 0x1f0]
call fcn.00408fa0
push dword [ebp - 0x34]
call fcn.00417210
push 8
mov word [edi + 0x2c], 1
mov byte [edi + 0x2e], 0
call fcn.00417460
mov dword [ebp - 0x34], eax
mov dword [eax], edi
mov dword [eax + 4], 0x404db0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x40cc70
push 0
push 0
call fcn.00420030
add esp, 0x20
mov dword [ebp - 0x48], eax
test eax, eax
je 0x404998
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x404991
push ecx
push eax
call fcn.00415eb0
add esp, 8
test eax, eax
jne 0x404972
xorps xmm0, xmm0
push 8
movlpd qword [ebp - 0x48], xmm0
call fcn.00417460
mov dword [ebp - 0x34], eax
mov dword [eax], edi
mov dword [eax + 4], 0x404ea0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
push ecx
push 0
push eax
push 0x40cc70
push 0
push 0
call fcn.00420030
add esp, 0x1c
mov dword [ebp - 0x40], eax
test eax, eax
je 0x404983
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x404991
push ecx
push eax
call fcn.00415eb0
add esp, 8
test eax, eax
jne 0x404978
push 0x485e60
sub esp, 0x1c
mov byte [0x48bbd5], 1
mov eax, esp
mov dword [ebp - 0x34], esp
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [ebp - 0x40], xmm0
push eax
call fcn.00404250
push str.INFO_:_Sucessfully_connected_to
mov ecx, 0x48bbd0
mov byte [ebp - 4], 4
call fcn.0040a9d0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040af90
mov ecx, eax
call fcn.0040a9d0
cmp dword [ebp - 0x3c], 0
jne 0x40497e
cmp dword [ebp - 0x44], 0
jne 0x40497e
xor eax, eax
jmp 0x404622
push 0x485e60
push str._Occured_while_connecting
mov byte [0x48bbd5], 1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.ERROR_:_Socket_error
mov ecx, 0x48bbd0
call fcn.0040a9d0
mov ecx, eax
call fcn.0040b0e0
mov ecx, eax
call fcn.0040a9d0
jmp 0x404616
push eax
call fcn.004145c0
push eax
call fcn.004145c0
call fcn.0042ac60
push 6
mov dword [ebp - 0x3c], 0
call fcn.00414620
push 1
call fcn.00414620
push 6
mov dword [ebp - 0x44], 0
call fcn.00414620
int3