Function at 0x4a2630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x714caf
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x508c
call fcn.006df660
mov eax, dword [0x7f9c40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x5074], 0
inc dword [0x7feba0]
mov dword [ebp - 4], 0
call fcn.004713e0
lea ecx, [esi + 0x5220]
mov dword [ebp - 0x5070], eax
push ecx
lea ecx, [ebp - 0x509c]
call fcn.00452ce0
mov eax, dword [ebp - 0x5070]
lea ecx, [ebp - 0x509c]
push ecx
lea ecx, [ebp - 0x5084]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push ecx
movups xmmword [ebp - 0x2c], xmm0
mov edi, 0xf
mov byte [ebp - 0x2c], 0
lea ecx, [eax + 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x5074], 1
call fcn.0045fe80
mov eax, dword [ebp - 0x507c]
cmp byte [eax + 0xd], 0
jne 0x4a273b
mov ecx, dword [ebp - 0x5070]
add eax, 0x10
push eax
lea eax, [ebp - 0x509c]
push eax
lea ecx, [ecx + 0x18]
call fcn.0046b5d0
test al, al
jne 0x4a273b
mov ecx, dword [ebp - 0x5070]
mov eax, dword [ebp - 0x507c]
cmp eax, dword [ecx + 0x18]
je 0x4a273b
add eax, 0x28
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x4a273b
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], edi
jbe 0x4a272e
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044ebf0
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x5088]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x4a2779
mov edx, dword [ebp - 0x509c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a276f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2b6a
push ecx
push edx
call fcn.006dec1c
add esp, 8
lea eax, [esi + 0xa0]
mov dword [ebp - 0x508c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x5088], 0xf
mov byte [ebp - 0x509c], 0
mov dword [ebp - 0x5078], eax
cmp eax, ecx
je 0x4a27cf
mov ecx, eax
call fcn.0044ce10
movups xmm0, xmmword [ebp - 0x2c]
mov edi, 0xf
mov byte [ebp - 0x2c], 0
movups xmmword [esi + 0xa0], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0xb0], xmm0
mov byte [ebp - 4], 0
cmp edi, 0xf
jbe 0x4a2804
mov ecx, dword [ebp - 0x2c]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x4a27fa
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2b6a
push edi
push ecx
call fcn.006dec1c
add esp, 8
call fcn.006dc9cf
push 0
push 0x2710
push edx
push eax
call fcn.006defa0
mov dword [esi + 0x10], eax
lea eax, [esi + 0x1c4]
mov dword [esi + 0x14], edx
mov dword [esi + 0x28], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
cmp dword [eax], 0xffffffff
je 0x4a28cd
lea ecx, [ebp - 0x5084]
mov dword [ebp - 0x507c], 0
push ecx
mov ecx, dword [esi + 0x1c0]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x48]
movq qword [ebp - 0x5084], xmm0
push eax
call fcn.004a47a0
test byte [ebp - 0x507c], 1
mov dword [ebp - 0x5094], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_basic_socket.hpp
mov dword [ebp - 0x5090], str.class_boost::asio::ip::basic_endpoint_class_boost::asio::ip::tcp____thiscall_boost::asio::basic_socket_class_boost::asio::ip::tcp_class_boost::asio::any_io_executor_::remote_endpoint_void__const
mov dword [ebp - 0x508c], 0x65f
mov dword [ebp - 0x5088], 0x1a
je 0x4a28bd
cmp dword [ebp - 0x507c], 1
jne 0x4a2b6f
cmp dword [ebp - 0x5084], 0
setne al
test al, al
jne 0x4a2b6f
push dword [ebp - 0x46]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov word [esi + 0xa], ax
cmp byte [esi + 0x534c], 0
je 0x4a299e
mov eax, dword [0x7feba0]
cmp eax, dword [esi + 0x5350]
jle 0x4a299e
sub esp, 0x18
mov dword [ebp - 0x5070], 0x1f
mov edi, esp
lea eax, [ebp - 0x5070]
xorps xmm0, xmm0
push eax
movups xmmword [edi], xmm0
push edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0044b200
mov ecx, dword [ebp - 0x5070]
mov edx, eax
mov dword [edi + 0x14], ecx
add esp, 8
mov dword [edi], edx
mov ecx, esi
mov dword [edi + 0x10], 0x19
movups xmm0, xmmword [str.all_port_conn_limit_close]
push 0x1b94
movups xmmword [edx], xmm0
movq xmm0, qword [0x72130c]
movq qword [edx + 0x10], xmm0
mov al, byte [0x721314]
mov byte [edx + 0x18], al
mov byte [edx + 0x19], 0
call fcn.004a1ce0
call fcn.004711e0
sub esp, 0x18
lea ecx, [esi + 0xb8]
mov edx, esp
mov edi, eax
push ecx
mov ecx, edx
call fcn.00452ce0
mov ecx, edi
call fcn.0049f180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006def69
mov esp, ebp
pop ebp
ret
push 0x5024
lea eax, [ebp - 0x506c]
push 0
push eax
call fcn.006e1410
mov eax, dword [esi + 0x5330]
lea ecx, [ebp - 0x5074]
movups xmm0, xmmword [esi + 0x5334]
mov dword [ebp - 0x5006], eax
lea edx, [ebp - 0x5070]
mov ax, word [esi + 0x5298]
add esp, 0xc
mov word [ebp - 0x5048], ax
mov eax, 0xfe15
mov word [ebp - 0x5002], ax
mov eax, dword [esi + 0x5248]
cmp eax, 0x20
mov dword [ebp - 0x5070], eax
lea eax, [esi + 0x5238]
cmovbe ecx, edx
mov dword [ebp - 0x5068], 4
cmp dword [eax + 0x14], 0xf
movups xmmword [ebp - 0x5064], xmm0
mov dword [ebp - 0x504c], 0x49
mov byte [ebp - 0x5000], 0
mov dword [ebp - 0x5074], 0x20
jbe 0x4a2a39
mov eax, dword [eax]
push dword [ecx]
push eax
lea eax, [ebp - 0x5026]
push eax
call fcn.006e0e90
lea eax, [esi + 0x5250]
add esp, 0xc
cmp dword [eax + 0x14], 0xf
jbe 0x4a2a59
mov eax, dword [eax]
push eax
push 0x71ab20
lea eax, [ebp - 0x5046]
push 0x10
push eax
call fcn.00450980
lea eax, [esi + 0x5280]
add esp, 0x10
cmp dword [eax + 0x14], 0xf
jbe 0x4a2a7e
mov eax, dword [eax]
push eax
push 0x71ab20
lea eax, [ebp - 0x5036]
push 0x10
push eax
call fcn.00450980
mov ax, word [esi + 0x5298]
add esp, 0x10
xor ax, word [ebp - 0x5058]
xor edx, edx
mov word [ebp - 0x5048], ax
nop dword [eax]
mov cl, byte [ebp + edx - 0x5064]
lea eax, [ebp - 0x5046]
xor byte [eax + edx], cl
lea eax, [ebp - 0x5036]
xor byte [eax + edx], cl
lea eax, [ebp - 0x5026]
xor byte [eax + edx], cl
inc edx
cmp edx, 0x10
jl 0x4a2ab0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x5064]
xor byte [ebp + ecx - 0x5016], al
mov al, byte [ebp + ecx - 0x5063]
xor byte [ebp + ecx - 0x5015], al
mov al, byte [ebp + ecx - 0x5062]
xor byte [ebp + ecx - 0x5014], al
mov al, byte [ebp + ecx - 0x5061]
xor byte [ebp + ecx - 0x5013], al
add ecx, 4
cmp ecx, 0x10
jl 0x4a2ae0
call fcn.004713e0
mov esi, dword [ebp - 0x5078]
mov edi, eax
lea eax, [ebp - 0x506c]
push eax
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00452ce0
mov ecx, edi
call fcn.004a23f0
call fcn.004713e0
sub esp, 0x18
mov edi, eax
mov ecx, esp
push esi
call fcn.00452ce0
mov ecx, edi
call fcn.00472c00
jmp 0x4a2982
call fcn.006e51cf
lea eax, [ebp - 0x5094]
push eax
push str.remote_endpoint
lea eax, [ebp - 0x5084]
push eax
call fcn.0044f150
int3