Function at 0x1005d510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf8bc
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x100fd230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0
cmp edi, 0xfff6
jl 0x1005d65e
push ecx
lea ecx, [ebp - 0x120]
call fcn.100043e0
mov edx, str._TID:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.10006590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, esi
call fcn.1001c750
mov edx, 0x100e5420
mov ecx, eax
call fcn.10006590
movaps xmm0, xmmword [0x100e8f60]
mov esi, eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x1e4c514c
mov dword [ebp - 0x30], 0x4505b52
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 2
xor ecx, ecx
mov al, byte [ebp + ecx - 0x43]
xor al, byte [ebp - 0x44]
mov byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x1005d5c0
lea edx, [ebp - 0x2b]
mov byte [ebp - 0x14], 0
mov ecx, esi
call fcn.10006590
push edi
mov ecx, eax
call fcn.10004740
mov byte [ebp - 4], 1
call fcn.100035c0
mov esi, eax
lea ecx, [ebp - 0x120]
lea eax, [ebp - 0x5c]
push eax
call fcn.100042f0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x1005d60d
mov eax, dword [eax]
sub esp, 8
mov ecx, esi
push eax
push 4
call fcn.10003d10
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x1005d64e
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d644
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d7b6
push ecx
push edx
call fcn.1008f79d
add esp, 8
lea ecx, [ebp - 0x120]
call fcn.10004220
jmp 0x1005d772
push 0x35
call dword [sym.imp.WS2_32.dll_htons]
cmp ax, word [esi + 2]
jne 0x1005d6cd
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10105564]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101064d0]
cmp eax, dword [ecx + 4]
jle 0x1005d6c5
push 0x101064d0
call fcn.1008f927
add esp, 4
cmp dword [0x101064d0], 0xffffffff
jne 0x1005d6c5
mov byte [ebp - 4], 4
call fcn.1002f140
push 0x100d3e20
call fcn.1008f788
add esp, 4
mov byte [ebp - 4], 0
push 0x101064d0
call fcn.1008f8dd
add esp, 4
mov ebx, dword [0x101067e8]
jmp 0x1005d6d0
mov ebx, dword [esi + 4]
cmp dword [ebp + 0x10], 0
movzx eax, word [esi + 2]
mov dword [ebp - 0x68], eax
je 0x1005d772
lea eax, [edi + 0xa]
push 0x100d971e
push eax
call fcn.1008f7eb
mov esi, eax
add esp, 8
test esi, esi
je 0x1005d772
mov eax, dword [ebp - 0x68]
lea ecx, [esi + 0xa]
mov dword [esi], 0x1000000
mov dword [esi + 4], ebx
push edi
mov word [esi + 8], ax
push dword [ebp - 0x60]
push ecx
call fcn.100917c0
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ebx, edx
test ecx, ecx
je 0x1005d72e
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
sub esp, 0x28
mov byte [ebp - 4], 5
mov eax, esp
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push 0
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__void___cdecl_speed::core::SendUdpNormal_char_const___char_const___int__class_std::shared_ptr_class_speed::core::CUDPHandle___char_const__::_18::_lambda_1___void__class_speed::core::CUDPHandle___char_const___int_.0
mov dword [eax + 4], edx
mov dword [eax + 0x24], eax
lea eax, [edi + 0xa]
push eax
push esi
push dword [ebp - 0x6c]
call fcn.1005d150
test al, al
jne 0x1005d772
push esi
call fcn.1008f7ce
add esp, 4
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x1005d79a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1005d79a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1005d79a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008f445
mov esp, ebp
pop ebp
ret
call fcn.1009b8bf
int3