Function at 0x100a7d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov dword [esp + 0x10], 0
mov ecx, dword [ebp + 0x18]
push esi
push edi
test ecx, ecx
je 0x100a85d9
mov edx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
mov esi, dword [ebp + 8]
cmp edx, 0xf
cmova eax, esi
cmp byte [eax], 0x20
je 0x100a85d9
cmp edx, 0xf
lea eax, [ebp + 8]
cmova eax, esi
cmp byte [ecx + eax - 1], 0x20
je 0x100a85d9
cmp edx, 0xf
mov dword [esp + 0x18], str..mdl
lea eax, [ebp + 8]
mov edx, 4
cmova eax, esi
cmp ecx, edx
jb 0x100a85d9
sub ecx, edx
mov esi, str..mdl
add ecx, eax
sub edx, edx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x100a7dcc
add ecx, 4
add esi, 4
sub edx, 4
jae 0x100a7db6
cmp edx, 0xfffffffc
je 0x100a7dfd
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x100a7df9
cmp edx, 0xfffffffd
je 0x100a7dfd
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x100a7df9
cmp edx, 0xfffffffe
je 0x100a7dfd
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x100a7df9
cmp edx, 0xffffffff
je 0x100a7dfd
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x100a7dfd
xor al, al
jmp 0x100a7dff
mov al, 1
test al, al
je 0x100a85d9
mov eax, dword [str.YZRRTJ:]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov ax, word [0x101b0014]
mov word [esp + 0x1c], ax
mov al, byte [0x101b0016]
mov byte [esp + 0x1e], al
mov dword [esp + 0x14], ecx
nop word [eax + eax]
mov eax, 0x24924925
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0x14]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0x14]
add al, 0x34
xor byte [esp + ecx + 0x18], al
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 7
jl 0x100a7e30
xorps xmm0, xmm0
mov dword [esp + 0x90], 0
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x94], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a7e90
sub ecx, edx
lea eax, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x88]
call fcn.100291a0
cmp dword [esp + 0x94], 0xf
lea edx, [esp + 0x80]
lea esi, [ebp + 8]
cmova edx, dword [esp + 0x80]
cmp dword [ebp + 0x1c], 0xf
mov ecx, edx
mov dword [esp + 0x18], edx
cmova esi, dword [ebp + 8]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a7ed6
sub ecx, edi
cmp dword [ebp + 0x18], ecx
jb 0x100a7f4f
sub ecx, 4
jb 0x100a7f01
nop dword [eax]
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x100a7f06
add esi, 4
add edx, 4
sub ecx, 4
jae 0x100a7ef0
cmp ecx, 0xfffffffc
je 0x100a7f37
mov al, byte [esi]
cmp al, byte [edx]
jne 0x100a7f33
cmp ecx, 0xfffffffd
je 0x100a7f37
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x100a7f33
cmp ecx, 0xfffffffe
je 0x100a7f37
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
jne 0x100a7f33
cmp ecx, 0xffffffff
je 0x100a7f37
mov al, byte [esi + 3]
cmp al, byte [edx + 3]
je 0x100a7f37
xor cl, cl
jmp 0x100a7f39
mov cl, 1
mov eax, 1
mov dword [esp + 0x14], eax
test cl, cl
je 0x100a7f4f
mov edi, dword [esp + 0x54]
jmp 0x100a83b6
cmp byte [0x101b020f], 0
mov eax, dword [str.eXYS_UI_Console]
mov edx, dword [0x101b020c]
mov edi, dword [0x10217ca4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
je 0x100a80ac
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp edi, 2
jl 0x100a8075
movaps xmm2, xmmword [0x101ed000]
movaps xmm3, xmmword [0x101ed430]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, eax
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x18], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm3
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.4444444444444444]
movd xmm0, edx
xorps xmm1, xmm0
movd dword [esp + 0x1c], xmm1
jmp 0x100a80ac
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0x14]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0x14]
add al, 0x34
xor byte [esp + ecx + 0x18], al
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 8
jl 0x100a8075
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a80d0
sub ecx, edx
lea eax, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.100291a0
cmp dword [esp + 0x74], 0xf
lea edx, [esp + 0x60]
lea esi, [ebp + 8]
cmova edx, dword [esp + 0x60]
cmp dword [ebp + 0x1c], 0xf
mov ecx, edx
mov dword [esp + 0x18], edx
cmova esi, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a8110
sub ecx, dword [esp + 0x14]
cmp dword [ebp + 0x18], ecx
jb 0x100a8184
sub ecx, 4
jb 0x100a8136
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x100a813b
add esi, 4
add edx, 4
sub ecx, 4
jae 0x100a8125
cmp ecx, 0xfffffffc
je 0x100a816c
mov al, byte [esi]
cmp al, byte [edx]
jne 0x100a8168
cmp ecx, 0xfffffffd
je 0x100a816c
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x100a8168
cmp ecx, 0xfffffffe
je 0x100a816c
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
jne 0x100a8168
cmp ecx, 0xffffffff
je 0x100a816c
mov al, byte [esi + 3]
cmp al, byte [edx + 3]
je 0x100a816c
xor cl, cl
jmp 0x100a816e
mov cl, 1
mov eax, 3
mov dword [esp + 0x14], eax
test cl, cl
je 0x100a8184
mov edi, dword [esp + 0x54]
jmp 0x100a83b6
cmp byte [0x101b018b], 0
mov edx, dword [0x101b0184]
mov esi, dword [0x101b0188]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
je 0x100a82e7
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp edi, 2
jl 0x100a82b0
movaps xmm2, xmmword [0x101ed000]
movaps xmm4, xmmword [0x101ed430]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov eax, dword [str.4444444444444444]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101ed030]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edx
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x18], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101ed0a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101ed130]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, esi
xorps xmm1, xmm0
movd dword [esp + 0x1c], xmm1
jmp 0x100a82e7
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, byte [esp + 0x14]
shl cl, 3
sub al, cl
mov ecx, dword [esp + 0x14]
add al, 0x34
xor byte [esp + ecx + 0x18], al
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 8
jl 0x100a82b0
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a8306
sub ecx, edx
lea eax, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.100291a0
mov edi, dword [esp + 0x54]
lea edx, [esp + 0x40]
cmp edi, 0xf
lea esi, [ebp + 8]
cmova edx, dword [esp + 0x40]
cmp dword [ebp + 0x1c], 0xf
mov ecx, edx
mov dword [esp + 0x18], edx
cmova esi, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esp + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a8346
sub ecx, dword [esp + 0x14]
cmp dword [ebp + 0x18], ecx
jb 0x100a83c5
sub ecx, 4
jb 0x100a8371
nop dword [eax + eax]
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x100a8376
add esi, 4
add edx, 4
sub ecx, 4
jae 0x100a8360
cmp ecx, 0xfffffffc
je 0x100a83a7
mov al, byte [esi]
cmp al, byte [edx]
jne 0x100a83a3
cmp ecx, 0xfffffffd
je 0x100a83a7
mov al, byte [esi + 1]
cmp al, byte [edx + 1]
jne 0x100a83a3
cmp ecx, 0xfffffffe
je 0x100a83a7
mov al, byte [esi + 2]
cmp al, byte [edx + 2]
jne 0x100a83a3
cmp ecx, 0xffffffff
je 0x100a83a7
mov al, byte [esi + 3]
cmp al, byte [edx + 3]
je 0x100a83a7
xor cl, cl
jmp 0x100a83a9
mov cl, 1
mov eax, 7
mov dword [esp + 0x14], eax
test cl, cl
je 0x100a83c5
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], eax
test al, 4
je 0x100a841f
jmp 0x100a83d2
mov byte [esp + 0x13], 1
mov dword [esp + 0x14], 7
cmp edi, 0xf
jbe 0x100a8406
mov edx, dword [esp + 0x40]
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100a83fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a861b
push ecx
push edx
call fcn.1015fe24
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
test al, 2
je 0x100a846e
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x100a8459
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a844f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a861b
push ecx
push edx
call fcn.1015fe24
add esp, 8
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xf
mov byte [esp + 0x60], 0
mov ecx, dword [esp + 0x94]
cmp ecx, 0xf
jbe 0x100a84aa
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a84a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a861b
push ecx
push edx
call fcn.1015fe24
add esp, 8
cmp byte [esp + 0x13], 0
jne 0x100a85d9
mov eax, dword [0x1021663c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
call eax
mov edx, eax
mov dword [esp + 0x30], 0
mov ecx, edx
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a84e6
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.100291a0
mov eax, dword [0x10216634]
mov al, byte [eax + 0x16b4]
cmp al, 0x5c
je 0x100a854f
cmp al, 0x2f
je 0x100a854f
mov edx, dword [esp + 0x34]
mov eax, edx
mov ecx, dword [esp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x100a8539
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
mov word [eax + ecx], 0x2f
jmp 0x100a854f
push 1
push 0x101ae41c
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push 1
call fcn.10029d90
mov eax, dword [0x10216634]
lea ecx, [esp + 0x20]
add eax, 0x16b4
push eax
call fcn.100214c0
cmp dword [esp + 0x34], 0xf
lea ecx, [esp + 0xa0]
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
push ecx
push eax
call fcn.1016e00a
mov ecx, dword [esp + 0x3c]
add esp, 8
cmp eax, 0xffffffff
setne al
mov byte [esp + 0x13], al
cmp ecx, 0xf
jbe 0x100a85c2
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a85b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8620
push ecx
push edx
call fcn.1015fe24
mov al, byte [esp + 0x1b]
add esp, 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
jmp 0x100a85df
xor al, al
mov byte [esp + 0x13], al
mov edx, dword [ebp + 0x1c]
cmp edx, 0xf
jbe 0x100a8613
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8605
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8620
push edx
push ecx
call fcn.1015fe24
mov al, byte [esp + 0x1b]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
call fcn.10164f66
call fcn.10164f66
int3