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

Disassembly:
mov eax, 0x12c
call fcn.10175fd0
mov eax, dword [0x1024ee80]
xor eax, esp
mov dword [esp + 0x128], eax
test dword [0x10251b00], 0x800000
mov ecx, dword [esp + 0x130]
push ebx
mov ebx, dword [esp + 0x138]
mov dword [esp + 0x58], ecx
jne 0x101672a3
push ebp
lea eax, [esp + 0xef]
mov dword [esp + 0x54], eax
lea edx, [esp + 0x70]
push esi
lea eax, [esp + 0xb4]
mov esi, ecx
sub esi, eax
lea ebp, [ebx + 0x3f]
mov eax, ebx
mov dword [esp + 0x40], esi
sub eax, edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xb4]
sub ebx, eax
mov eax, dword [esp + 0x144]
push edi
lea edi, [ecx + 0x3f]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
nop dword [eax]
lea esi, [esp + 0xb8]
xor eax, eax
cmp esi, ebp
lea edx, [ebp - 0x3f]
mov esi, dword [esp + 0x44]
ja 0x10166c3a
cmp dword [esp + 0x5c], edx
jae 0x10166c72
lea esi, [esp + 0xb8]
cmp esi, edi
mov esi, dword [esp + 0x44]
ja 0x10166c4f
cmp dword [esp + 0x5c], ecx
jae 0x10166c72
lea esi, [esp + 0x78]
cmp esi, ebp
mov esi, dword [esp + 0x44]
lea ebp, [esp + 0xb7]
ja 0x10166c66
cmp ebp, edx
jae 0x10166c72
lea edx, [esp + 0x78]
cmp edx, edi
ja 0x10166c91
cmp ebp, ecx
jb 0x10166c91
lea ecx, [esp + 0xb8]
add ecx, eax
mov dl, byte [esi + ecx]
mov byte [ecx], dl
mov cl, byte [ebx + ecx]
xor cl, dl
mov byte [esp + eax + 0x78], cl
inc eax
cmp eax, 0x40
jl 0x10166c72
jmp 0x10166cb5
lea ecx, [esp + 0xb8]
add ecx, eax
movups xmm1, xmmword [esi + ecx]
movups xmm0, xmmword [ecx + ebx]
movups xmmword [ecx], xmm1
xorps xmm0, xmm1
movups xmmword [esp + eax + 0x78], xmm0
add eax, 0x10
cmp eax, 0x40
jl 0x10166c91
mov eax, 0x10206e60
mov dword [esp + 0x60], 0xa
mov dword [esp + 0x48], eax
xor esi, esi
mov dword [esp + 0x1c], esi
nop dword [eax]
test esi, esi
je 0x10166cef
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
jmp 0x10166cfc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [esi - 1]
and eax, 7
movzx eax, byte [esp + eax*8 + 0xb9]
mov ecx, dword [eax*8 + 0x10206660]
mov eax, dword [eax*8 + 0x10206664]
mov dword [esp + 0x38], eax
lea eax, [esi - 2]
and eax, 7
mov dword [esp + 0x34], ecx
movzx eax, byte [esp + eax*8 + 0xba]
mov ecx, dword [eax*8 + 0x10206660]
mov eax, dword [eax*8 + 0x10206664]
mov dword [esp + 0x30], eax
lea eax, [esi - 3]
and eax, 7
mov dword [esp + 0x2c], ecx
movzx eax, byte [esp + eax*8 + 0xbb]
mov ecx, dword [eax*8 + 0x10206660]
mov eax, dword [eax*8 + 0x10206664]
mov dword [esp + 0x28], eax
lea eax, [esi - 4]
and eax, 7
mov dword [esp + 0x24], ecx
movzx eax, byte [esp + eax*8 + 0xbc]
mov ebx, dword [eax*8 + 0x10206660]
mov ebp, dword [eax*8 + 0x10206664]
lea eax, [esi + 3]
and eax, 7
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
movzx eax, byte [esp + eax*8 + 0xbd]
mov edi, dword [eax*8 + 0x10206664]
mov esi, dword [eax*8 + 0x10206660]
lea eax, [ebx + 2]
and eax, 7
movzx eax, byte [esp + eax*8 + 0xbe]
mov edx, dword [eax*8 + 0x10206664]
mov ecx, dword [eax*8 + 0x10206660]
lea eax, [ebx + 1]
and eax, 7
movzx eax, byte [esp + eax*8 + 0xbf]
mov ebx, dword [eax*8 + 0x10206660]
mov eax, dword [eax*8 + 0x10206664]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
shrd eax, ebx, 8
xor eax, dword [esp + 0x2c]
shr ebx, 8
xor ebx, dword [esp + 0x30]
shrd eax, ebx, 8
xor eax, dword [esp + 0x24]
shr ebx, 8
xor ebx, dword [esp + 0x28]
shrd eax, ebx, 8
xor eax, dword [esp + 0x20]
shr ebx, 8
mov dword [esp + 0x10], ebx
xor ebx, ebp
shrd eax, ebx, 8
shr ebx, 8
xor eax, esi
xor ebx, edi
shrd eax, ebx, 8
shr ebx, 8
xor eax, ecx
xor ebx, edx
shrd eax, ebx, 8
mov dword [esp + 0x10], ebx
shr dword [esp + 0x10], 8
mov ebx, dword [esp + 0x10]
xor ebx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
xor dword [esp + 0x14], eax
shrd dword [esp + 0x14], ebx, 8
shld dword [esp + 0x18], eax, 8
shr ebx, 8
mov dword [esp + 0x10], ebx
shl eax, 8
xor eax, ecx
mov ecx, dword [esp + 0x18]
xor ecx, edx
mov edx, dword [esp + 0x14]
shld ecx, eax, 8
shl eax, 8
xor ecx, edi
xor eax, esi
mov esi, dword [esp + 0x1c]
shld ecx, eax, 8
shl eax, 8
xor ecx, ebp
xor eax, dword [esp + 0x20]
shld ecx, eax, 8
xor ecx, dword [esp + 0x28]
shl eax, 8
xor eax, dword [esp + 0x24]
shld ecx, eax, 8
xor ecx, dword [esp + 0x30]
shl eax, 8
xor eax, dword [esp + 0x2c]
shld ecx, eax, 8
xor ecx, dword [esp + 0x38]
shl eax, 8
xor eax, dword [esp + 0x34]
shld ecx, eax, 8
shl eax, 8
xor ebx, ecx
xor edx, eax
movzx eax, byte [esp + esi*8 + 0xb8]
xor edx, dword [eax*8 + 0x10206660]
xor ebx, dword [eax*8 + 0x10206664]
xor edx, dword [esp + 0x3c]
xor ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov dword [esp + esi*8 + 0xf8], edx
mov dword [esp + esi*8 + 0xfc], ebx
inc esi
mov dword [esp + 0x1c], esi
cmp esi, 8
jl 0x10166cd0
movups xmm0, xmmword [esp + 0xf8]
mov edx, 0xfffffffe
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edx
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0x1c], 8
movups xmm0, xmmword [esp + 0x108]
movups xmmword [esp + 0xc8], xmm0
movups xmm0, xmmword [esp + 0x118]
movups xmmword [esp + 0xd8], xmm0
movups xmm0, xmmword [esp + 0x128]
movups xmmword [esp + 0xe8], xmm0
lea eax, [edx + 1]
mov dword [esp + 0x70], eax
and eax, 7
movzx eax, byte [esp + eax*8 + 0x79]
mov ecx, dword [eax*8 + 0x10206660]
mov eax, dword [eax*8 + 0x10206664]
mov dword [esp + 0x28], eax
mov eax, edx
and eax, 7
mov dword [esp + 0x2c], ecx
movzx eax, byte [esp + eax*8 + 0x7a]
mov ecx, dword [eax*8 + 0x10206660]
mov eax, dword [eax*8 + 0x10206664]
mov dword [esp + 0x30], eax
lea eax, [edx - 1]
and eax, 7
mov dword [esp + 0x34], ecx
movzx eax, byte [esp + eax*8 + 0x7b]
mov ecx, dword [eax*8 + 0x10206660]
mov eax, dword [eax*8 + 0x10206664]
mov dword [esp + 0x38], eax
lea eax, [edx - 2]
and eax, 7
mov dword [esp + 0x3c], ecx
movzx eax, byte [esp + eax*8 + 0x7c]
mov ebx, dword [eax*8 + 0x10206660]
mov ebp, dword [eax*8 + 0x10206664]
lea eax, [edx - 3]
and eax, 7
mov dword [esp + 0x40], ebx
movzx eax, byte [esp + eax*8 + 0x7d]
mov edi, dword [eax*8 + 0x10206664]
mov esi, dword [eax*8 + 0x10206660]
lea eax, [edx - 4]
and eax, 7
movzx eax, byte [esp + eax*8 + 0x7e]
mov edx, dword [eax*8 + 0x10206664]
mov ecx, dword [eax*8 + 0x10206660]
mov eax, dword [esp + 0x24]
add eax, 3
and eax, 7
movzx eax, byte [esp + eax*8 + 0x7f]
mov ebx, dword [eax*8 + 0x10206660]
mov eax, dword [eax*8 + 0x10206664]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
shrd eax, ebx, 8
xor eax, dword [esp + 0x34]
shr ebx, 8
xor ebx, dword [esp + 0x30]
shrd eax, ebx, 8
xor eax, dword [esp + 0x3c]
shr ebx, 8
xor ebx, dword [esp + 0x38]
shrd eax, ebx, 8
xor eax, dword [esp + 0x40]
shr ebx, 8
mov dword [esp + 0x10], ebx
xor ebx, ebp
shrd eax, ebx, 8
shr ebx, 8
xor eax, esi
xor ebx, edi
shrd eax, ebx, 8
shr ebx, 8
xor eax, ecx
xor ebx, edx
shrd eax, ebx, 8
mov dword [esp + 0x10], ebx
shr dword [esp + 0x10], 8
mov ebx, dword [esp + 0x10]
xor ebx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
xor dword [esp + 0x14], eax
shrd dword [esp + 0x14], ebx, 8
shr ebx, 8
shld dword [esp + 0x18], eax, 8
mov dword [esp + 0x10], ebx
shl eax, 8
xor eax, ecx
mov ecx, dword [esp + 0x18]
xor ecx, edx
mov edx, dword [esp + 0x14]
shld ecx, eax, 8
shl eax, 8
xor ecx, edi
xor eax, esi
shld ecx, eax, 8
shl eax, 8
xor ecx, ebp
xor eax, dword [esp + 0x40]
shld ecx, eax, 8
xor ecx, dword [esp + 0x38]
shl eax, 8
xor eax, dword [esp + 0x3c]
shld ecx, eax, 8
xor ecx, dword [esp + 0x30]
shl eax, 8
xor eax, dword [esp + 0x34]
shld ecx, eax, 8
xor ecx, dword [esp + 0x28]
shl eax, 8
xor eax, dword [esp + 0x2c]
shld ecx, eax, 8
xor ebx, ecx
shl eax, 8
mov ecx, dword [esp + 0x20]
xor edx, eax
movzx eax, byte [esp + ecx + 0x78]
xor edx, dword [eax*8 + 0x10206660]
xor ebx, dword [eax*8 + 0x10206664]
xor dword [esp + ecx + 0xf8], edx
xor dword [esp + ecx + 0xfc], ebx
add ecx, 8
sub dword [esp + 0x1c], 1
mov edx, dword [esp + 0x70]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
jne 0x10166f63
mov eax, dword [esp + 0x48]
movups xmm2, xmmword [esp + 0xf8]
add eax, 8
sub dword [esp + 0x60], 1
movups xmm3, xmmword [esp + 0x108]
mov dword [esp + 0x48], eax
movups xmm4, xmmword [esp + 0x118]
movups xmm5, xmmword [esp + 0x128]
movups xmmword [esp + 0x78], xmm2
movups xmmword [esp + 0x88], xmm3
movups xmmword [esp + 0x98], xmm4
movups xmmword [esp + 0xa8], xmm5
jne 0x10166cc6
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0xb7]
lea edx, [ecx + 0x3f]
cmp ecx, eax
ja 0x101671cd
lea eax, [esp + 0x78]
cmp edx, eax
jae 0x1016726e
mov ebp, dword [esp + 0x4c]
cmp ecx, ebp
ja 0x101671e0
lea eax, [ebp - 0x3f]
cmp edx, eax
jae 0x10167272
movups xmm0, xmmword [ecx]
mov eax, dword [esp + 0x50]
movups xmm1, xmmword [ebp - 0x3f]
xorps xmm1, xmm0
xorps xmm1, xmm2
movups xmmword [ecx], xmm1
movups xmm0, xmmword [eax]
movups xmm1, xmmword [ecx + 0x10]
xorps xmm1, xmm0
xorps xmm1, xmm3
movups xmmword [ecx + 0x10], xmm1
movups xmm0, xmmword [ecx + 0x20]
movups xmm1, xmmword [ebp - 0x1f]
xorps xmm1, xmm0
xorps xmm1, xmm4
movups xmmword [ecx + 0x20], xmm1
movups xmm1, xmmword [ebp - 0xf]
movups xmm0, xmmword [ecx + 0x30]
xorps xmm1, xmm0
xorps xmm1, xmm5
movups xmmword [ecx + 0x30], xmm1
mov ebx, dword [esp + 0x68]
lea edi, [ecx + 0x3f]
add dword [esp + 0x54], 0x40
add ebx, 0x40
add ebp, 0x40
mov dword [esp + 0x68], ebx
add eax, 0x40
mov dword [esp + 0x4c], ebp
sub dword [esp + 0x6c], 1
mov dword [esp + 0x50], eax
jne 0x10166c20
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.10175bf0
add esp, 0x12c
ret
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x54]
lea edi, [esp + 0x78]
mov edx, ecx
sub edi, ecx
mov esi, 0x40
lea eax, [edi + edx]
mov cl, byte [ebx + eax]
lea edx, [edx + 1]
xor cl, byte [edx - 1]
xor cl, byte [eax]
mov byte [edx - 1], cl
sub esi, 1
jne 0x10167283
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x50]
jmp 0x10167229
push dword [esp + 0x13c]
push ebx
push ecx
call fcn.10049a80
mov ecx, dword [esp + 0x138]
add esp, 0xc
pop ebx
xor ecx, esp
call fcn.10175bf0
add esp, 0x12c
ret