Function at 0x10016f45
Capabilities:
Encode data using xor
Execute command

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060aed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x1006e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x10128c20]
mov ecx, dword [0x100b368c]
mov edi, ecx
mov dword [ebp - 0x48], ecx
mov eax, dword [esi + 0x3e48]
movss xmm2, dword [eax + 0x1c]
movss xmm3, dword [eax + 0x20]
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e48]
subss xmm2, dword [0x10068ef0]
subss xmm3, dword [0x10068edc]
movss xmm0, dword [eax + 0x14]
movss xmm1, dword [eax + 0x18]
subss xmm0, dword [eax + 0x78]
subss xmm1, dword [eax + 0x7c]
mov byte [eax + 0x135], 1
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [eax + 0xf0], xmm2
movss dword [eax + 0xf4], xmm3
test ecx, ecx
jne 0x10016e99
mov ecx, dword [esi + 0x54]
mov edi, ecx
test ecx, ecx
jne 0x10016e96
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
mov edi, ecx
mov dword [ebp - 0x48], ecx
call fcn.10025a60
lea eax, [ebp - 0x48]
lea ecx, [esi + 0x4770]
push eax
call fcn.100312d0
mov eax, dword [esi + 0x3e48]
mov ecx, dword [eax + 0x26c]
mov eax, dword [edi + 0x30]
lea esi, [ecx + 0x48]
mov edi, dword [esi + 4]
mov dword [ebp - 0x48], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi]
cmp eax, edi
jne 0x10016ef8
lea ecx, [eax + 1]
test edi, edi
je 0x10016ee3
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10016ee8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10031180
mov ecx, dword [ebp - 0x48]
mov edx, dword [esi]
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x4c]
mov dword [eax + edx*4], edi
inc dword [esi]
mov dword [ecx + 0x70], edi
call fcn.10039bc0
call fcn.10029590
mov eax, dword [0x10128c4c]
cmp eax, 3
ja case.default.0x10016f20
jmp dword [eax*4 + 0x1001706c]
call fcn.10015870
jmp case.default.0x10016f20
call fcn.10015d70
jmp case.default.0x10016f20
call fcn.10016100
jmp case.default.0x10016f20
mov dword [ebp - 0x50], 0x438c0000
xor ecx, ecx
mov dword [ebp - 0x4c], 0x43c30000
mov dword [ebp - 0x20], 0x96b2c3fc
mov dword [ebp - 0x1c], 0x838296
mov byte [ebp - 0x18], 1
mov al, cl
sub al, 0x21
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 7
jb 0x10016f67
sub esp, 8
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x20]
call fcn.10020660
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov ecx, 0x51
xor edx, edx
nop
mov al, byte [edx + 0x100631e0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x24], al
and ecx, 0x800000ff
jns 0x10016fbd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x10016fa0
mov byte [ebp - 0x15], 0
push 0
lea edx, [ebp - 0x50]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10045880
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x1001703d
mov ecx, 0x11
xor edx, edx
mov al, byte [edx + 0x100631f0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x44], al
and ecx, 0x800000ff
jns 0x1001700d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1d
jl 0x10016ff0
lea eax, [ebp - 0x44]
mov byte [ebp - 0x27], 0
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
add esp, 4
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x44], xmm0
mov word [ebp - 0x28], 0
call fcn.100206e0
call fcn.100296c0
call fcn.10025b00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005e254
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret