Function at 0x4fff90
Capabilities:
Create udp socket
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [0x7aa024]
xor eax, ebp
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc]
mov dword [edi], 0
mov dword [esp], eax
mov byte [eax + 0x272], 0
cmp dword [esi + 0x78], 0
je 0x4fffd6
push 2
push 3
push esi
call fcn.00519930
add esp, 0xc
mov ecx, esi
mov edx, ebx
push dword [ebp + 0x10]
call fcn.004ffa50
add esp, 4
mov ecx, ebx
mov ebx, eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x50000d
push ecx
push 0x74eaa0
push esi
call fcn.00514fc0
add esp, 0xc
inc dword [ebx + 0x10]
mov dword [esp + 4], 0
jmp 0x500014
xor eax, eax
dec eax
mov dword [esp + 4], eax
cmp dword [esi + 0x78], 0
je 0x500025
push 3
push esi
call fcn.00519980
add esp, 8
test ebx, ebx
jne 0x500368
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xffffffff
cmp dword [esi + 0x6d8], 0
je 0x50008d
push 1
push esi
call fcn.00511e80
add esp, 8
mov ecx, dword [esi + 0x6d8]
mov edi, dword [esi + 0x6dc]
mov ebx, dword [esi + 0x9c4]
call dword [section..00cfg]
xor eax, eax
push edi
push eax
push ebx
call ecx
add esp, 0xc
mov edi, eax
xor eax, eax
push eax
push esi
call fcn.00511e80
add esp, 8
test edi, edi
je 0x50008d
xor esi, esi
dec esi
jmp 0x50036e
lea edi, [esp + 0x10]
push edi
push dword [ebp + 0xc]
push 2
call fcn.00509b30
add esp, 0xc
test eax, eax
jle 0x5000be
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push 2
call fcn.004fabf0
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x500312
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x20]
movdqa xmmword [ebx], xmm0
push ebx
mov edi, dword [ebp + 0xc]
push edi
push 0x17
call fcn.00509b30
add esp, 0xc
test eax, eax
jle 0x5000f6
push dword [ebp + 0x10]
push edi
push ebx
push 0x17
call fcn.004fabf0
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x500312
mov eax, dword [esp]
cmp byte [eax + 0x100], 2
jne 0x500133
test esi, esi
je 0x500117
mov eax, dword [esi + 0x70]
cmp byte [eax + 0xe3], 0
jne 0x500133
jmp 0x500085
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x500085
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push str.localhost
push dword [ebp + 0xc]
call fcn.0051c610
add esp, 8
test eax, eax
je 0x5002b6
lea edi, [esp + 0x1c]
mov dword [edi], 0xffffffff
mov eax, dword [ebp + 0x10]
movzx eax, ax
mov dword [esp + 8], eax
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp], ax
push edi
push str.127.0.0.1
push 2
call fcn.00509b30
add esp, 0xc
xor edi, edi
test eax, eax
jle 0x50030e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov ecx, dword [fcn.005f2c20]
call dword [section..00cfg]
push 1
push 0x3a
call ecx
add esp, 8
test eax, eax
je 0x50030e
movaps xmm0, xmmword [0x74ea80]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0x10
lea ecx, [eax + 0x20]
mov dword [eax + 0x18], ecx
mov word [eax + 0x20], 2
movzx ecx, word [esp]
mov word [eax + 0x22], cx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x24], ecx
mov ecx, eax
add ecx, 0x30
xor edx, edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x14], ecx
movzx ecx, word [0x74a14b]
mov word [eax + 0x38], cx
movq xmm0, qword [str.localhost]
mov dword [esp], eax
movq qword [eax + 0x30], xmm0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
mov ecx, dword [fcn.005f2c20]
call dword [section..00cfg]
push 1
push 0x46
call ecx
add esp, 8
test eax, eax
je 0x500304
mov edi, eax
push dword [esp + 8]
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 8], ax
push ebx
push 0x74ec4b
push 0x17
call fcn.00509b30
add esp, 0xc
test eax, eax
mov edx, dword [esp]
mov eax, 0
jle 0x500309
movaps xmm0, xmmword [esp + 0x20]
movaps xmm1, xmmword [0x74ea90]
movups xmmword [edi], xmm1
mov dword [edi + 0x10], 0x1c
xor eax, eax
mov dword [edi + 0x1c], eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x18], ecx
mov word [edi + 0x20], 0x17
movzx ecx, word [esp + 8]
mov word [edi + 0x22], cx
mov dword [edi + 0x24], eax
movups xmmword [edi + 0x28], xmm0
mov dword [edi + 0x38], eax
mov eax, edi
add eax, 0x3c
mov dword [edi + 0x14], eax
movzx eax, word [0x74a14b]
mov word [edi + 0x44], ax
movq xmm0, qword [str.localhost]
movq qword [edi + 0x3c], xmm0
mov eax, edi
jmp 0x500309
cmp byte [ebp + 0x14], 0
je 0x5002d8
cmp byte [esi + 0x72b], 0
je 0x5002d8
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004fb8e0
jmp 0x5002fd
push dword [esp]
push esi
call fcn.00500b70
add esp, 8
test al, al
je 0x500085
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004ff730
add esp, 0x10
mov edi, eax
jmp 0x50030e
mov edx, dword [esp]
xor eax, eax
mov dword [edx + 0x1c], eax
mov edi, edx
test edi, edi
je 0x500383
cmp dword [esi + 0x78], 0
je 0x500325
push 2
push 3
push esi
call fcn.00519930
add esp, 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push esi
call fcn.004ffc00
add esp, 0x10
mov ebx, eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x78], 0
je 0x50034c
push 3
push esi
call fcn.00519980
add esp, 8
test ebx, ebx
je 0x50035a
mov dword [esp + 4], 0
jmp 0x500365
push edi
call fcn.004fa8b0
add esp, 4
xor ebx, ebx
mov edi, dword [ebp + 0x18]
mov dword [edi], ebx
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.0064d372
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esp + 0x14], 0
mov edi, dword [ebp + 0x18]
je 0x5003a6
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x272], 0
je 0x5003ac
lea eax, [esp + 0x18]
push eax
push esi
call fcn.004fc0e0
jmp 0x5003b7
mov ebx, dword [esp + 0x18]
jmp 0x500368
lea eax, [esp + 0x18]
push eax
push esi
call fcn.004f3ce0
add esp, 8
test eax, eax
jne 0x500085
mov ebx, dword [esp + 0x18]
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 4], eax
jmp 0x500365