Function at 0x413510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x258
mov eax, dword [0x493018]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
push edi
push str.kill_services_processes_n
call fcn.004022b0
add esp, 4
lea eax, [esp + 0x58]
push 0x200
push 0
push eax
call fcn.0044ede0
mov edi, dword fs:[0x2c]
add esp, 0xc
mov esi, 0x499468
nop dword [eax]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413565
sub ecx, edx
je 0x413661
push esi
push str.kill_services__s_n
call fcn.004022b0
mov ecx, dword [edi]
add esp, 8
mov eax, dword [0x49e4e8]
mov byte [esp + 0x10], 0x2e
cmp eax, dword [ecx + 4]
jle 0x4135dd
push 0x49e4e8
call fcn.0043751a
add esp, 4
cmp dword [0x49e4e8], 0xffffffff
jne 0x4135dd
movaps xmm0, xmmword [0x489360]
mov al, byte [esp + 0x10]
push 0x478360
movups xmmword [0x4a044c], xmm0
mov byte [0x4a045c], al
call fcn.00437941
add esp, 4
push 0x49e4e8
call fcn.004374d0
add esp, 4
mov al, byte [0x4a045c]
test al, al
je 0x413606
movups xmm0, xmmword [0x4a044c]
xor al, 0x2e
movaps xmm1, xmmword [0x4890c0]
pxor xmm1, xmm0
mov byte [0x4a045c], al
movups xmmword [0x4a044c], xmm1
push esi
lea eax, [esp + 0x5c]
push 0x4a044c
push eax
call fcn.00402360
add esp, 0xc
lea edx, [esp + 0x58]
lea ecx, [esp + 0x30]
push 1
call fcn.00414270
mov edx, dword [esp + 0x48]
add esp, 4
cmp edx, 0x10
jb 0x413661
mov ecx, dword [esp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413657
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4137bd
push edx
push ecx
call fcn.004373c7
add esp, 8
add esi, 0x32
cmp esi, 0x49bb78
jl 0x413560
mov esi, 0x49bb78
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413680
sub ecx, edx
je 0x413798
push esi
push str.kill_processes__s_n
call fcn.004022b0
mov ecx, dword [edi]
add esp, 8
mov eax, dword [0x49f2c8]
mov dword [esp + 0x40], 0x10e5d0b
mov word [esp + 0x44], 0x2e7a
cmp eax, dword [ecx + 4]
jle 0x41370d
push 0x49f2c8
call fcn.0043751a
add esp, 4
cmp dword [0x49f2c8], 0xffffffff
jne 0x41370d
mov eax, dword [esp + 0x40]
movaps xmm0, xmmword [str.ZO_EEGBB]
mov dword [0x49ea00], eax
mov ax, word [esp + 0x44]
push 0x478340
movups xmmword [0x49e9f0], xmm0
mov word [0x49ea04], ax
call fcn.00437941
add esp, 4
push 0x49f2c8
call fcn.004374d0
add esp, 4
cmp byte [0x49ea05], 0
je 0x413741
movups xmm0, xmmword [0x49e9f0]
mov eax, 0x10
movaps xmm1, xmmword [0x4890c0]
pxor xmm1, xmm0
movups xmmword [0x49e9f0], xmm1
xor byte [eax + 0x49e9f0], 0x2e
inc eax
cmp eax, 0x16
jb 0x413734
push esi
lea eax, [esp + 0x5c]
push 0x49e9f0
push eax
call fcn.00402360
add esp, 0xc
lea edx, [esp + 0x58]
lea ecx, [esp + 0x30]
push 1
call fcn.00414270
mov edx, dword [esp + 0x48]
add esp, 4
cmp edx, 0x10
jb 0x413798
mov ecx, dword [esp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41378e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4137bd
push edx
push ecx
call fcn.004373c7
add esp, 8
add esi, 0x32
cmp esi, 0x49e288
jl 0x413675
mov ecx, dword [esp + 0x25c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00437386
mov esp, ebp
pop ebp
ret
call fcn.0045214a
int3