Function at 0x433770
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 8], 0
push 0x11
push 2
mov dword [ebp - 0xc], 0
movzx eax, word [esi]
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4337b8
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x4338a6
call ebx
test eax, eax
jne 0x4339bb
cmp word [ebp + 8], 0
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
je 0x4337dc
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 4
push 0xffff
push edi
call ebx
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0x9800000c
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
movzx eax, word [esi]
cmp eax, 2
jne 0x4338b4
mov esi, dword [esi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x24], ax
mov ax, word [ebp + 8]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
push 0x10
push eax
push edi
mov dword [ebp - 0x20], esi
call dword [sym.imp.WS2_32.dll_bind]
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 0x13
push 0
push edi
call ebx
cmp word [ebp + 8], 0
je 0x433883
mov eax, dword [0x43da18]
push 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0xc
push 0
push edi
mov dword [ebp - 0x10], esi
call ebx
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push 9
push 0
push edi
call ebx
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 0xb
push 0
push edi
call ebx
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xff
push eax
push 4
push 0
push edi
call ebx
push 4
lea eax, [ebp - 4]
push eax
push 0xa
push 0
jmp 0x433990
mov eax, 0xffffe5d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x17
jne 0x4339aa
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x44], ax
mov ax, word [ebp + 8]
mov word [ebp - 0x42], ax
mov eax, dword [esi + 0x18]
movq qword [ebp - 0x34], xmm0
movups xmm0, xmmword [esi + 8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
push 0x1c
push eax
push edi
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x3c], xmm0
call dword [sym.imp.WS2_32.dll_bind]
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 0x13
push 0x29
push edi
call ebx
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 0x1b
push 0x29
push edi
call ebx
cmp word [ebp + 8], 0
je 0x433972
mov eax, dword [esi + 0x18]
movups xmm0, xmmword [0x43d978]
push 0x14
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push 0xc
push 0x29
push edi
movups xmmword [ebp - 0x28], xmm0
call ebx
mov eax, dword [esi + 0x18]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 9
push 0x29
push edi
call ebx
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 0xb
push 0x29
push edi
call ebx
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xff
push eax
push 4
push 0x29
push edi
call ebx
push 4
lea eax, [ebp - 4]
push eax
push 0xa
push 0x29
push edi
mov dword [ebp - 4], 0xff
call ebx
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, 0xffffffff
je 0x4339b6
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0xffffe5b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8