Function at 0x41da10
Capabilities:
Connect socket
Connect udp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x442288]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, eax
mov dword [esi], ecx
cmp ecx, 0xffffffff
jne 0x41da69
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.sock____failed:__d
call fcn.00416900
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e406
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x98]
push 0x10
push eax
push ecx
mov dword [ebp - 0x98], 2
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x41dac5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.bind____failed:__d_n
call fcn.00416900
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e406
mov esp, ebp
pop ebp
ret 8
push 0x10
push edi
push dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x41dafd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.connect____failed:__d
call fcn.00416900
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e406
mov esp, ebp
pop ebp
ret 8
lea ecx, [esi + 4]
call fcn.0041de50
test al, al
je 0x41db50
call fcn.0042174e
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
mov ecx, 0x56
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
idiv ecx
lea eax, [esi + 0xa6c]
push edx
push eax
lea ecx, [ebp - 0xa8]
mov dword [esi + 0xa74], edx
call fcn.004013b0
push eax
push str.__s__Delayed_transfer___d_steps.
call fcn.00416900
add esp, 0xc
cmp byte [esi + 0xa28], 0
jne 0x41db70
cmp byte [esi + 0xa29], 0
jne 0x41db70
push 1
mov ecx, esi
call fcn.0041ba40
jmp 0x41dcb7
push 6
lea ebx, [esi + 0x20c]
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebx], ax
add ebx, 2
push 0x7f
lea eax, [ebp - 0x87]
mov byte [ebp - 0x88], 0
push 0
push eax
call fcn.00429200
add esp, 0xc
cmp byte [esi + 0xa28], 0
je 0x41dc0f
lea edi, [esi + 0xa2a]
mov edx, 0x400
push edi
mov ecx, ebx
call fcn.00416d00
add esp, 4
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x41dbc0
push dword [esi + 0x204]
sub edi, ecx
push 0x43fc84
inc edi
add edi, ebx
push 0x40
push edi
call fcn.00421f4f
mov ecx, edi
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41dbe7
push dword [esi + 0x204]
sub ecx, edx
lea eax, [ebp - 0x88]
push str.tsize__d
push eax
lea ebx, [ecx + 1]
add ebx, edi
call fcn.00416d90
add esp, 0xc
cmp byte [esi + 0xa29], 0
je 0x41dca0
lea edi, [esi + 0xa4a]
mov edx, 0x400
push edi
mov ecx, ebx
call fcn.00416d00
add esp, 4
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x41dc35
push dword [esi + 0xa24]
sub edi, ecx
push 0x43fc84
inc edi
add edi, ebx
push 0x40
push edi
call fcn.00421f4f
add esp, 0x10
cmp byte [esi + 0xa28], 0
je 0x41dc70
mov edx, 0x43fc94
lea ecx, [ebp - 0x88]
call fcn.00416db0
mov edx, str.blksize
lea ecx, [ebp - 0x88]
call fcn.00416db0
mov edx, edi
lea ecx, [ebp - 0x88]
call fcn.00416db0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41dc92
sub ecx, edx
lea ebx, [ecx + 1]
add ebx, edi
sub ebx, esi
mov ecx, esi
sub ebx, 0x20c
push 0
mov dword [esi + 0xa0c], ebx
call fcn.0041b5d0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e406
mov esp, ebp
pop ebp
ret 8