Function at 0x100b0740
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x1020f0c0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x2c]
mov edx, dword [0x1022e69c]
push ebx
mov bl, cl
mov edx, dword [eax + edx*4]
mov eax, dword [0x10521220]
cmp eax, dword [edx + 4]
jle 0x100b079a
push 0x10521220
call fcn.101a22b8
add esp, 4
cmp dword [0x10521220], 0xffffffff
jne 0x100b079a
push 0x101ce480
call fcn.101a2004
push 0x10521220
call fcn.101a2267
add esp, 8
cmp byte [0x10456958], 0
jne 0x100b0d86
mov eax, dword [0x1022ccd0]
movq xmm0, qword [0x101dbcb8]
push esi
mov esi, dword [0x1022e690]
push edi
mov edi, dword [eax + 0x20]
mov eax, dword [0x101dbcc0]
mov dword [esp + 0x14], eax
mov ax, word [0x101dbcc4]
movq qword [esp + 0xc], xmm0
mov word [esp + 0x18], ax
test ah, ah
je 0x100b0908
xor ebx, ebx
cmp esi, 2
jl 0x100b08e0
movaps xmm2, xmmword [0x10201400]
mov ebx, 8
movaps xmm3, xmmword [0x102017d0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10201480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10201440]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
movd xmm0, dword [0x101dbcb8]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10201560]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10201480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
movd xmm0, dword [esp + 0x10]
packuswb xmm1, xmm1
paddb xmm1, xmmword [0x10201560]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop
mov eax, 0x4bda12f7
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xe
jl 0x100b08e0
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x1022c14c
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101dbc53], 0
mov eax, dword [0x1022ccd0]
movq xmm0, qword [str.HU_BYOaW536CZVWYcY_Y52D]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101dbc50]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100b0a78
xor ebx, ebx
cmp esi, 2
jl 0x100b0a50
movaps xmm2, xmmword [0x10201400]
mov ebx, 8
movaps xmm4, xmmword [0x102017d0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10201560]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10201480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10201440]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.HU_BYOaW536CZVWYcY_Y52D]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10201480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x10]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop dword [eax + eax]
mov eax, 0x4bda12f7
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100b0a50
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x1022c150
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101dbce3], 0
mov eax, dword [0x1022ccd0]
movq xmm0, qword [str.JVOUXbMK_36C_]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101dbce0]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100b0be8
xor ebx, ebx
cmp esi, 2
jl 0x100b0bc0
movaps xmm2, xmmword [0x10201400]
mov ebx, 8
movaps xmm4, xmmword [0x102017d0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10201560]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10201480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10201440]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.JVOUXbMK_36C_]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10201480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x10]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop dword [eax + eax]
mov eax, 0x4bda12f7
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100b0bc0
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x1022c154
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
cmp byte [0x101dbbd3], 0
mov eax, dword [0x1022ccd0]
movq xmm0, qword [str.O_KSSaY_3CHU_BYOaL_8B]
mov edi, dword [eax + 0x20]
mov eax, dword [0x101dbbd0]
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], eax
je 0x100b0d58
xor ebx, ebx
cmp esi, 2
jl 0x100b0d30
movaps xmm2, xmmword [0x10201400]
mov ebx, 8
movaps xmm4, xmmword [0x102017d0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10201560]
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10201480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10201440]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.O_KSSaY_3CHU_BYOaL_8B]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0xc], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10201480]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10201520]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x10]
xorps xmm1, xmm0
movd dword [esp + 0x10], xmm1
nop dword [eax + eax]
mov eax, 0x4bda12f7
mov cl, bl
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x36
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0xc], cl
inc ebx
cmp ebx, 0xc
jl 0x100b0d30
mov eax, dword [edi]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x1022c158
mov eax, dword [eax + 0xc]
mov ecx, edi
call eax
pop edi
pop esi
mov byte [0x10456958], 1
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.101a1d25
add esp, 0x14
ret
test bl, bl
je 0x100b0de1
mov eax, dword [0x1022ccd0]
push 0x1022c14c
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x1022ccd0]
push 0x1022c150
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x1022ccd0]
push 0x1022c154
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x1022ccd0]
push 0x1022c158
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov byte [0x10456958], 0
mov ecx, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.101a1d25
add esp, 0x14
ret