Function at 0x1016cba0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [0x10205ac8]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x20], eax
lea ecx, [ebp + 0xf]
mov dword [esp + 0x24], edx
shr ecx, 4
and ebp, 0xf
mov dword [esp + 0x14], ebx
mov dword [esp + 0x4c], ebp
test ecx, ecx
je 0x1016cf3d
xor eax, eax
add ecx, 0xffffffff
push edi
mov dword [esp + 0x20], ecx
je 0x1016cdbd
mov ebx, dword [esp + 0x24]
mov edi, edx
mov ebp, dword [esp + 0x18]
sub ebx, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x14], ecx
movups xmm1, xmmword [ebx + edi]
movzx edi, byte [ebp]
mov ebx, edi
shl ebx, 4
movaps xmm0, xmm1
add ebx, esi
psrldq xmm0, 8
movd ecx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 0xc
movups xmmword [esp + 0x54], xmm1
mov eax, dword [ebx + 0x38]
and eax, dword [ebx + 0x28]
xor eax, dword [ebx + 0x48]
xor eax, dword [ebx + 0x18]
mov ebp, dword [ebx + 0x3c]
xor eax, ecx
and ebp, dword [ebx + 0x2c]
xor ebp, dword [ebx + 0x4c]
xor ebp, dword [ebx + 0x1c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
lea ecx, [edi + 3]
add ecx, ecx
movd eax, xmm0
mov dword [esp + 0x48], eax
xor ebp, eax
mov edx, dword [esi + ecx*8]
lea eax, [edi + 2]
mov ecx, dword [esi + ecx*8 + 4]
add eax, eax
and ecx, dword [esi + eax*8 + 4]
and edx, dword [esi + eax*8]
lea eax, [edi + 4]
mov edi, dword [esp + 0x1c]
add eax, eax
xor ecx, dword [esi + eax*8 + 4]
xor edx, dword [esi + eax*8]
xor ecx, dword [ebx + 0x14]
xor edx, dword [ebx + 0x10]
movd eax, xmm1
psrldq xmm1, 4
movd ebx, xmm1
mov dword [esp + 0x40], eax
xor edx, eax
mov eax, dword [esp + 0x3c]
mov dword [edi], edx
xor ecx, ebx
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x18]
mov al, byte [ebp]
movzx ecx, byte [ebp]
shr al, 3
dec al
shl ecx, 4
and al, 1
shl al, 3
movzx edi, al
shl edi, 4
mov byte [esp + 0x13], al
add edi, esi
lea eax, [edi + 0x40]
push eax
lea eax, [esi + 0x40]
add eax, ecx
push eax
lea eax, [esi + 0x30]
add eax, ecx
push eax
call fcn.1016e6b0
movzx ecx, byte [ebp]
lea eax, [edi + 0x30]
push eax
shl ecx, 4
lea eax, [esi + 0x30]
add eax, ecx
push eax
lea eax, [esi + 0x20]
add eax, ecx
push eax
call fcn.1016e6b0
movzx ecx, byte [ebp]
lea eax, [edi + 0x20]
push eax
shl ecx, 4
lea eax, [esi + 0x20]
add eax, ecx
push eax
lea eax, [esi + 0x10]
add eax, ecx
push eax
call fcn.1016e6b0
movzx ecx, byte [ebp]
lea eax, [edi + 0x10]
shl ecx, 4
add ecx, esi
push eax
lea eax, [ecx + 0x10]
push eax
push ecx
call fcn.1016e6b0
movzx ecx, byte [ebp]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
shl ecx, 4
add ecx, esi
push edi
xor eax, dword [ecx]
xor ebx, dword [ecx + 4]
xor edx, dword [ecx + 8]
mov dword [esp + 0x98], eax
mov eax, dword [ecx + 0xc]
xor eax, dword [esp + 0x7c]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x98]
push eax
lea eax, [ecx + 0x40]
mov dword [esp + 0xa0], ebx
push eax
mov dword [esp + 0xa8], edx
call fcn.1016e6b0
mov edi, dword [esp + 0x58]
add esp, 0x3c
mov al, byte [esp + 0x13]
add edi, 0x10
sub dword [esp + 0x20], 1
mov ebx, dword [esp + 0x4c]
mov byte [ebp], al
mov dword [esp + 0x1c], edi
jne 0x1016cc11
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
shl eax, 4
mov dword [esp + 0x14], eax
add eax, dword [esp + 0x24]
test ebp, ebp
je 0x1016ce73
push ebp
push eax
xorps xmm0, xmm0
lea eax, [esp + 0x5c]
push eax
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
call fcn.101b6150
movzx edi, byte [ebx]
mov ebx, edi
shl ebx, 4
add ebx, esi
lea ecx, [edi + 3]
add ecx, ecx
lea eax, [edi + 2]
add eax, eax
push ebp
mov edx, dword [esi + ecx*8]
and edx, dword [esi + eax*8]
mov ecx, dword [esi + ecx*8 + 4]
and ecx, dword [esi + eax*8 + 4]
lea eax, [edi + 4]
add eax, eax
xor ecx, dword [esi + eax*8 + 4]
xor edx, dword [esi + eax*8]
xor ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x3c]
and eax, dword [ebx + 0x2c]
xor eax, dword [ebx + 0x4c]
xor ecx, dword [esp + 0x68]
xor eax, dword [ebx + 0x1c]
xor eax, dword [esp + 0x70]
xor edx, dword [ebx + 0x10]
xor edx, dword [esp + 0x64]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0x38]
and ecx, dword [ebx + 0x28]
xor ecx, dword [ebx + 0x48]
xor ecx, dword [ebx + 0x18]
xor ecx, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], ecx
call fcn.101b6150
add esp, 0x18
jmp 0x1016cf1b
movzx edx, byte [ebx]
movups xmm1, xmmword [eax]
mov edi, edx
shl edi, 4
lea ecx, [edx + 3]
add edi, esi
add ecx, ecx
lea eax, [edx + 2]
add eax, eax
movaps xmm0, xmm1
psrldq xmm0, 4
movups xmmword [esp + 0x54], xmm1
mov ebp, dword [esi + ecx*8]
and ebp, dword [esi + eax*8]
mov ebx, dword [esi + ecx*8 + 4]
and ebx, dword [esi + eax*8 + 4]
lea eax, [edx + 4]
mov edx, dword [edi + 0x38]
add eax, eax
and edx, dword [edi + 0x28]
xor edx, dword [edi + 0x48]
mov ecx, dword [edi + 0x3c]
xor ebp, dword [esi + eax*8]
xor ebx, dword [esi + eax*8 + 4]
xor ebp, dword [edi + 0x10]
xor ebx, dword [edi + 0x14]
and ecx, dword [edi + 0x2c]
xor edx, dword [edi + 0x18]
xor ecx, dword [edi + 0x4c]
xor ecx, dword [edi + 0x1c]
mov edi, dword [esp + 0x28]
movd eax, xmm1
xor ebp, eax
movd eax, xmm0
movaps xmm0, xmm1
mov dword [esp + 0x2c], ebp
psrldq xmm0, 8
xor ebx, eax
psrldq xmm1, 0xc
movd eax, xmm0
mov dword [esp + 0x30], ebx
xor edx, eax
movd eax, xmm1
mov dword [esp + 0x34], edx
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov dword [eax + edi], ebp
mov dword [eax + edi + 4], ebx
mov dword [eax + edi + 8], edx
mov dword [eax + edi + 0xc], ecx
lea eax, [esp + 0x54]
push eax
push esi
push dword [esp + 0x20]
call fcn.1016e240
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
pop edi
mov ecx, dword [esp + 0x70]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b4a00
add esp, 0x68
ret