Function at 0x3226240
Capabilities:
Create udp socket

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x90
mov rax, qword [0x03260b88]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [0x0325c200]
xorps xmm1, xmm1
mov rbp, rcx
xorps xmm0, xmm0
mov rcx, rdx
mov r14, rdx
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm1
call qword [rax + 0xe0]
mov rsi, rax
test rax, rax
jne 0x32262ad
mov rcx, qword [0x0325c200]
mov r8, rax
mov rdx, rbp
mov r9, qword [rcx + 0xc0]
lea ecx, [rax + 8]
call r9
jmp 0x3226575
mov ecx, 0x38
mov qword [rsp + 0x88], rdi
call fcn.0322fc58
mov rdi, rax
test rax, rax
jne 0x32262e6
mov rax, qword [0x0325c200]
lea ecx, [rdi + 8]
mov r8, rsi
mov rdx, rbp
mov r9, qword [rax + 0xc0]
call r9
jmp 0x322656d
xorps xmm0, xmm0
mov qword [rsp + 0xc0], rbx
movups xmmword [rdi], xmm0
xor eax, eax
mov qword [rsp + 0x80], r12
movups xmmword [rdi + 0x10], xmm0
mov qword [rsp + 0x78], r13
mov edx, 0x205df
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], rax
mov rcx, r14
mov rax, qword [0x0325c200]
mov qword [rsp + 0x70], r15
mov qword [rdi], rbp
call qword [rax + pe_nt_image_headers64]
xor r12d, r12d
mov word [rdi + 0x28], ax
mov r15d, eax
test ax, ax
jne 0x3226344
mov word [rdi + 0x28], r12w
movzx r15d, r12w
mov rax, qword [0x0325c200]
mov edx, 0x205dd
mov rcx, r14
call qword [rax + pe_nt_image_headers64]
mov word [rdi + 0x30], ax
test ax, ax
jne 0x3226367
mov word [rdi + 0x30], r12w
mov rax, qword [0x0325c200]
mov edx, 0x105de
mov rcx, r14
call qword [rax + 0xc8]
test rax, rax
je 0x322638c
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
jmp 0x322638f
mov eax, r12d
mov dword [rdi + 0x2c], eax
mov edx, 0x105dc
mov rax, qword [0x0325c200]
mov rcx, r14
call qword [rax + 0xc8]
test rax, rax
je 0x32263b8
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rdi + 0x34], eax
xor r9d, r9d
mov dword [rsp + 0x28], r12d
mov r13d, 2
mov dword [rsp + 0x20], r12d
mov edx, r13d
mov ecx, r13d
lea r8d, [r9 + 0x11]
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov qword [rdi + 0x18], rax
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x322643f
movzx ecx, r15w
mov word [rsp + 0x50], r13w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x52], ax
lea r8d, [r13 + 0xe]
mov eax, dword [rdi + 0x2c]
mov rcx, rbx
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x54], eax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x322643f
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x322643f
lea r8d, [r13 - 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x3226465
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8, rsi
mov rdx, rbp
mov ebx, eax
mov ecx, eax
mov rax, qword [0x0325c200]
call qword [rax + 0xc0]
test ebx, ebx
jne 0x32264c2
jmp 0x3226553
lea rax, [0x03226740]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
lea rax, [0x032239f0]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rax
xor edx, edx
mov rax, qword [0x0325c200]
xor ecx, ecx
call qword [rax + 0x1e8]
mov qword [rdi + 8], rax
test rax, rax
mov rax, qword [0x0325c200]
jne 0x32264f4
mov r9, qword [rax + 0xc0]
mov r8, rsi
mov rdx, rbp
mov ecx, 6
call r9
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x32264d1
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x32264ea
mov rax, qword [0x0325c200]
mov rdx, r14
call qword [rax + 0x280]
mov rcx, rdi
call fcn.0322fc44
jmp 0x3226553
mov rcx, qword [rdi + 0x10]
lea r9, [0x03226590]
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov rdx, rdi
call qword [rax + 0x2c0]
mov rbx, qword [0x0325c200]
mov rcx, qword [rdi + 8]
call qword [rbx + 0x220]
mov edx, 0x20032
mov rcx, rsi
mov r8d, eax
call qword [rbx + 0x58]
mov rdx, rsi
mov rcx, rdi
call fcn.03228f30
mov rax, qword [0x0325c200]
mov r8, rsi
mov rdx, rbp
xor ecx, ecx
mov r9, qword [rax + 0xc0]
call r9
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x88]
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.03229100
add rsp, 0x90
pop r14
pop rsi
pop rbp
ret