Function at 0x10016615
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 0x10057abd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10064040]
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 [0x1011eb84]
mov ecx, dword [0x100a9624]
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 [0x1005fa10]
subss xmm3, dword [0x1005f9fc]
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 0x10016569
mov ecx, dword [esi + 0x54]
mov edi, ecx
test ecx, ecx
jne 0x10016566
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
mov edi, ecx
mov dword [ebp - 0x48], ecx
call fcn.10025de0
lea eax, [ebp - 0x48]
lea ecx, [esi + 0x4770]
push eax
call fcn.10031500
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 0x100165c8
lea ecx, [eax + 1]
test edi, edi
je 0x100165b3
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x100165b8
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10031250
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.10039d60
call fcn.10029ac0
mov eax, dword [0x1011ebb0]
cmp eax, 3
ja case.default.0x100165f0
jmp dword [eax*4 + 0x1001673c]
call fcn.100146b0
jmp case.default.0x100165f0
call fcn.10014c30
jmp case.default.0x100165f0
call fcn.10015070
jmp case.default.0x100165f0
mov dword [ebp - 0x50], 0x438c0000
xor ecx, ecx
mov dword [ebp - 0x4c], 0x43c30000
mov dword [ebp - 0x20], 0xb090e1e2
mov dword [ebp - 0x1c], 0xa1a0b0
mov byte [ebp - 0x18], 1
mov al, cl
sub al, 0x3f
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 7
jb 0x10016637
sub esp, 8
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x20]
call fcn.10020120
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov ecx, 0x51
xor edx, edx
nop
mov al, byte [edx + 0x1005a104]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x24], al
and ecx, 0x800000ff
jns 0x1001668d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x10016670
mov byte [ebp - 0x15], 0
push 0
lea edx, [ebp - 0x50]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10045350
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x1001670d
mov ecx, 0x11
xor edx, edx
mov al, byte [edx + 0x1005a114]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x44], al
and ecx, 0x800000ff
jns 0x100166dd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1d
jl 0x100166c0
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.100201a0
call fcn.10029bf0
call fcn.10025e80
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.100555b4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret