Function at 0x100b8380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [0x10229e7c]
push esi
push edi
cmp dword [eax], 0
je 0x100b8a85
mov eax, dword [0x10227c48]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100b8a85
xor edx, edx
mov dword [esp + 0x14], edx
mov eax, dword [0x10227c48]
push edx
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x100b8a70
mov edx, dword [edi + 8]
lea ecx, [edi + 8]
mov edx, dword [edx + 8]
call edx
xorps xmm0, xmm0
mov edx, dword [eax + 8]
mov ecx, edx
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b8406
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.10027bd0
movups xmm0, xmmword [str.bXVWZLQQ43____4G]
mov ax, word [0x101f2aac]
mov word [esp + 0x40], ax
movups xmmword [esp + 0x30], xmm0
test ah, ah
je 0x100b85b3
xor edx, edx
cmp dword [0x102296a0], 2
mov dword [esp + 0xc], edx
jl 0x100b8583
movaps xmm0, xmmword [0x101ff830]
mov eax, 4
movaps xmm4, xmmword [0x101ff6c0]
movaps xmm3, xmmword [0x101ffba0]
movaps xmm6, xmmword [0x101ff720]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
movd xmm7, eax
movd xmm0, edx
lea eax, [edx + 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
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x30]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x30], xmm1
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
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x34]
pxor xmm1, xmm0
movd dword [esp + edx + 0x34], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100b8483
mov dword [esp + 0xc], edx
cmp edx, 0x12
jge 0x100b85b3
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x30], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x12
jl 0x100b8583
cmp dword [esp + 0x64], 0x10
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0x18]
cmovae eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
call fcn.100bbd90
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x64]
cmp eax, 0x10
jb 0x100b8615
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100b860b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b8a96
push ecx
push esi
call fcn.1019d45c
add esp, 8
cmp byte [esp + 0xb], 0
je 0x100b8a70
mov eax, dword [0x10227c40]
mov ecx, dword fs:[0x2c]
mov al, byte [eax + 0x18e9]
mov byte [esp + 0xb], al
mov eax, dword [0x102296ac]
mov esi, dword [ecx + eax*4]
mov eax, dword [0x104e1df0]
cmp eax, dword [esi + 4]
jle 0x100b8689
push 0x104e1df0
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e1df0], 0xffffffff
jne 0x100b8689
mov edx, 0xc60bf9f2
mov ecx, 0x101f0c99
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x104e1df0
mov dword [0x104e1dec], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x104e1dec]
mov cl, byte [esp + 0xb]
mov byte [eax + edi], cl
mov eax, dword [0x104e1e3c]
cmp eax, dword [esi + 4]
jle 0x100b86e4
push 0x104e1e3c
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e1e3c], 0xffffffff
jne 0x100b86e0
mov edx, 0xc60bf9f2
mov ecx, 0x101f0c35
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x104e1e3c
mov dword [0x104e1df4], eax
call fcn.1019d76a
add esp, 4
mov cl, byte [esp + 0xb]
mov eax, dword [0x104e1df4]
mov byte [eax + edi], cl
mov eax, dword [0x104e1e00]
cmp eax, dword [esi + 4]
jle 0x100b873b
push 0x104e1e00
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e1e00], 0xffffffff
jne 0x100b8737
mov edx, 0xc60bf9f2
mov ecx, 0x101f0c69
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x104e1e00
mov dword [0x104e1e08], eax
call fcn.1019d76a
add esp, 4
mov cl, byte [esp + 0xb]
mov eax, dword [0x104e1e08]
movups xmm0, xmmword [str.DhUVPS____7_t__G]
mov byte [eax + edi], cl
mov eax, dword [0x10227c48]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov ax, word [0x101f2990]
mov word [esp + 0x40], ax
movups xmmword [esp + 0x30], xmm0
test ah, ah
je 0x100b88f0
xor edx, edx
cmp dword [0x102296a0], 2
mov dword [esp + 0xc], edx
jl 0x100b88c0
movaps xmm0, xmmword [0x101ff830]
mov eax, 4
movaps xmm4, xmmword [0x101ff6c0]
movaps xmm3, xmmword [0x101ffba0]
movaps xmm6, xmmword [0x101ff720]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
movd xmm7, eax
nop dword [eax + eax]
movd xmm0, edx
lea eax, [edx + 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
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x30]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x30], xmm1
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
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x34]
pxor xmm1, xmm0
movd dword [esp + edx + 0x34], xmm1
add edx, 8
cmp edx, 0x10
jl 0x100b87c0
mov dword [esp + 0xc], edx
cmp edx, 0x12
jge 0x100b88f0
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x36
xor byte [esp + edx + 0x30], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x12
jl 0x100b88c0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
mov ecx, eax
mov dword [esp + 0x10], eax
mov edx, dword [eax]
mov edx, dword [edx + 0x30]
call edx
cmp byte [esp + 0xb], 0
fstp st(0)
je 0x100b8a70
mov ecx, dword [0x10227c40]
mov eax, dword [0x104e1e10]
movss xmm0, dword [ecx + 0x18ec]
movss dword [esp + 0xc], xmm0
cmp eax, dword [esi + 4]
jle 0x100b897f
push 0x104e1e10
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e1e10], 0xffffffff
jne 0x100b8979
mov edx, 0xc60bf9f2
mov ecx, 0x101f0d01
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x104e1e10
mov dword [0x104e1e38], eax
call fcn.1019d76a
add esp, 4
movss xmm0, dword [esp + 0xc]
mov eax, dword [0x104e1e38]
movss dword [eax + edi], xmm0
mov eax, dword [0x104e1de4]
cmp eax, dword [esi + 4]
jle 0x100b89da
push 0x104e1de4
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e1de4], 0xffffffff
jne 0x100b89d4
mov edx, 0xc60bf9f2
mov ecx, 0x101f0ccd
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x104e1de4
mov dword [0x104e1e48], eax
call fcn.1019d76a
add esp, 4
movss xmm0, dword [esp + 0xc]
mov eax, dword [0x104e1e48]
movss dword [eax + edi], xmm0
mov eax, dword [0x10227c40]
movss xmm0, dword [eax + 0x18f4]
mov eax, dword [0x104e1e0c]
movss dword [esp + 0xc], xmm0
cmp eax, dword [esi + 4]
jle 0x100b8a48
push 0x104e1e0c
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e1e0c], 0xffffffff
jne 0x100b8a42
mov edx, 0xc60bf9f2
mov ecx, 0x101f0d35
call fcn.1007dc50
mov ecx, eax
call fcn.100d0970
push 0x104e1e0c
mov dword [0x104e1e54], eax
call fcn.1019d76a
add esp, 4
movss xmm0, dword [esp + 0xc]
mov eax, dword [0x104e1e54]
mov ecx, dword [esp + 0x10]
push ecx
movss dword [eax + edi], xmm0
mov eax, dword [0x10227c40]
mov edx, dword [ecx]
movss xmm0, dword [eax + 0x18f0]
mov eax, dword [edx + 0x3c]
movss dword [esp], xmm0
call eax
mov edx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x14], edx
cmp edx, 0x800
jl 0x100b83c1
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
call fcn.101a26e6
int3