Function at 0x100bac70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
mov eax, dword [0x102060c0]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x10224d4c]
push ebx
push esi
push edi
mov edi, dword [eax + edx*4]
mov bl, cl
mov eax, dword [0x10352430]
mov byte [esp + 0x1b], bl
cmp eax, dword [edi + 4]
jle 0x100bacd6
push 0x10352430
call fcn.10199827
add esp, 4
cmp dword [0x10352430], 0xffffffff
jne 0x100bacd6
push 0x101c5830
call fcn.10199573
push 0x10352430
call fcn.101997d6
add esp, 8
mov eax, dword [0x10223ca0]
mov esi, dword [0x10224d40]
mov dl, byte [0x1034ee81]
mov cl, byte [eax + 0x1641]
test cl, cl
jne 0x100bacfe
cmp byte [eax + 0x1766], 0
je 0x100bae9f
test dl, dl
jne 0x100bae8f
mov eax, dword [0x10223ca8]
movq xmm0, qword [str.PFXYSCgPWK_J_]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101d2b10]
mov dword [esp + 0x44], eax
mov ax, word [0x101d2b14]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100bae73
xor ebx, ebx
cmp esi, 2
jl 0x100bae41
movaps xmm2, xmmword [0x101f7c30]
mov ebx, 8
movaps xmm3, xmmword [0x101f80e0]
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 [0x101f7cf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101f7c70]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
movd xmm0, dword [str.PFXYSCgPWK_J_]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101f7db0]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x3c], 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 [0x101f7cf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
movd xmm0, dword [esp + 0x40]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x101f7db0]
xorps xmm1, xmm0
movd dword [esp + 0x40], xmm1
mov eax, 0x8fb823ef
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x32
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0xe
jl 0x100bae41
mov bl, byte [esp + 0x1b]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x1022316c
mov eax, dword [eax + 0xc]
call eax
mov byte [0x1034ee81], 1
jmp 0x100baebe
test cl, cl
jne 0x100bae9b
cmp byte [eax + 0x1766], cl
je 0x100bae9f
test bl, bl
je 0x100baec3
test dl, dl
je 0x100baec3
mov eax, dword [0x10223ca8]
push 0x1022316c
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x1034ee81], 0
mov eax, dword [0x10223ca0]
mov ecx, dword [0x10352408]
cmp ecx, dword [edi + 4]
jle 0x100baf03
push 0x10352408
call fcn.10199827
add esp, 4
cmp dword [0x10352408], 0xffffffff
jne 0x100baefe
push 0x101c5820
call fcn.10199573
push 0x10352408
call fcn.101997d6
add esp, 8
mov eax, dword [0x10223ca0]
mov cl, byte [eax + 0x1641]
mov dl, byte [0x1034ee80]
test cl, cl
jne 0x100baf20
cmp byte [eax + 0x1766], 0
je 0x100bb0ca
test dl, dl
jne 0x100bb0ba
mov eax, dword [0x10223ca8]
movq xmm0, qword [str.PFXYSCgPWK_J_]
mov ecx, dword [eax + 0x20]
mov eax, dword [0x101d2b10]
mov dword [esp + 0x44], eax
mov ax, word [0x101d2b14]
mov dword [esp + 0x1c], ecx
movq qword [esp + 0x3c], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100bb09e
xor ebx, ebx
cmp esi, 2
jl 0x100bb070
movaps xmm2, xmmword [0x101f7c30]
mov ebx, 8
movaps xmm4, xmmword [0x101f80e0]
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 [0x101f7db0]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101f7cf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101f7c70]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.PFXYSCgPWK_J_]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x3c], 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 [0x101f7cf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x40]
xorps xmm1, xmm0
movd dword [esp + 0x40], xmm1
nop dword [eax + eax]
mov eax, 0x8fb823ef
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x32
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0xe
jl 0x100bb070
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 0
push edx
push 0x10223178
mov eax, dword [eax + 0xc]
call eax
mov byte [0x1034ee80], 1
jmp 0x100bb0e9
test cl, cl
jne 0x100bb0c6
cmp byte [eax + 0x1766], cl
je 0x100bb0ca
test bl, bl
je 0x100bb0ee
test dl, dl
je 0x100bb0ee
mov eax, dword [0x10223ca8]
push 0x10223178
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x1034ee80], 0
mov eax, dword [0x10223ca0]
mov ecx, dword [0x103523ec]
cmp ecx, dword [edi + 4]
jle 0x100bb12e
push 0x103523ec
call fcn.10199827
add esp, 4
cmp dword [0x103523ec], 0xffffffff
jne 0x100bb129
push 0x101c5810
call fcn.10199573
push 0x103523ec
call fcn.101997d6
add esp, 8
mov eax, dword [0x10223ca0]
mov dl, byte [eax + 0x14f1]
mov cl, byte [0x1034ee78]
test dl, dl
jne 0x100bb14b
cmp byte [eax + 0x14d2], 0
je 0x100bb315
test cl, cl
jne 0x100bb309
mov eax, dword [0x10223ca8]
movups xmm0, xmmword [str.B_ULSEg_UTHNJZ0ABRFTU_MM__]
mov edi, dword [eax + 0x20]
movups xmmword [esp + 0x3c], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x100bb2db
xor ebx, ebx
cmp esi, 2
jl 0x100bb2b1
movaps xmm0, xmmword [0x101f7db0]
xor ecx, ecx
movaps xmm4, xmmword [0x101f7c30]
movaps xmm3, xmmword [0x101f80e0]
movaps xmm5, xmmword [0x101f7cf0]
movaps xmmword [esp + 0x20], xmm0
mov edx, dword [esp + 0x20]
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x3c]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x3c], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101f7d70]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x40]
xorps xmm1, xmm0
movd dword [esp + ecx + 0x40], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x100bb1b0
jmp 0x100bb2db
mov eax, 0x8fb823ef
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x32
xor byte [esp + ebx + 0x3c], cl
inc ebx
cmp ebx, 0x10
jl 0x100bb2b1
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0x10223168
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
mov byte [0x1034ee78], 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret
test dl, dl
jne 0x100bb31c
cmp byte [eax + 0x14d2], dl
jne 0x100bb31c
cmp byte [esp + 0x1b], 0
je 0x100bb33b
test cl, cl
je 0x100bb33b
mov eax, dword [0x10223ca8]
push 0x10223168
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x1034ee78], 0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10199294
mov esp, ebp
pop ebp
ret