Function at 0x4342d0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push 0x11
push 2
lea eax, [ebp - 8]
mov dword [ebp - 0x20], ecx
push 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x43431e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x4343a4
call esi
test eax, eax
jne 0x43439d
mov edi, 0x4c0
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov esi, eax
add esp, 8
test esi, esi
je 0x434376
push 0
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
push eax
push edi
push esi
push 0
push 0
push 0x4004747f
push dword [ebp - 0x18]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x4343b7
inc ebx
cmp ebx, 0x64
jge 0x4343b0
add edi, 0x4c0
push edi
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov esi, eax
add esp, 8
test esi, esi
jne 0x434336
mov esi, 0x2747
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43438c
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x43439b
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffe5d4
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x2741
jmp 0x43437b
mov ebx, dword [ebp - 0x1c]
mov eax, 0xaf286bcb
mul ebx
sub ebx, edx
shr ebx, 1
add ebx, edx
shr ebx, 6
mov dword [ebp - 4], ebx
test ebx, ebx
jle 0x4344ba
mov ecx, dword [ebp - 4]
lea edi, [esi + 4]
mov ebx, 1
cmp word [edi], 2
jne 0x4344ab
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
lea edx, [ebp - 0x10]
push eax
mov ecx, edi
movups xmmword [ebp - 0x30], xmm0
call fcn.00434630
test eax, eax
jne 0x4344a8
push 0x40
push 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov esi, eax
add esp, 8
test esi, esi
je 0x4344e4
mov eax, dword [ebp - 0xc]
push 0x10
mov dword [ebp - 0xc], esi
mov dword [eax], esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esi + 4], eax
test eax, eax
je 0x4344e4
push ebx
push 0x44b6d0
push eax
call fcn.004310d0
mov eax, dword [edi - 4]
add esp, 0xc
mov dword [esi + 8], eax
cmp word [edi], 2
jne 0x4344a5
push 0x10
push 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
add esp, 8
mov dword [esi + 0xc], eax
test eax, eax
je 0x4344e4
movups xmm0, xmmword [edi]
push 0x10
push 1
movups xmmword [eax], xmm0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
add esp, 8
mov dword [esi + 0x10], eax
test eax, eax
je 0x4344e4
mov ecx, 2
mov word [eax], cx
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x38], eax
jmp 0x4344a8
mov dword [esi + 0x38], ebx
mov ecx, dword [ebp - 4]
inc ebx
add edi, 0x4c
lea eax, [ebx - 1]
cmp eax, ecx
jl 0x4343e0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4344cd
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov dword [ebp - 8], 0
xor esi, esi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x43437b
call fcn.004344f0
jmp 0x43437b
mov esi, 0x2747
jmp 0x4344cf