Function at 0x1007b2b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100dc7e1
push eax
mov dword fs:[0], esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1010f2d4]
push ebx
sub esp, 0x58
push esi
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10131d40]
push edi
cmp eax, dword [esi + 4]
jle 0x1007b36d
push 0x10131d40
call fcn.100b0641
add esp, 4
cmp dword [0x10131d40], 0xffffffff
jne 0x1007b36d
xorps xmm0, xmm0
mov dword [0x10131d74], 8
movups xmmword [0x10131d64], xmm0
push 0x100df7c0
mov dword [0x10131d78], 0xf
mov dword [0x10131d64], 0x72657355
mov dword [0x10131d68], 0x656d616e
mov byte [0x10131d6c], 0
call fcn.100b0b61
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x10131d40
call fcn.100b05f7
add esp, 4
cmp dword [0x10131d74], 0
je 0x1007b8e7
cmp byte [0x10129d8d], 0
jne 0x1007b8e7
mov eax, dword [0x10131d80]
cmp eax, dword [esi + 4]
jle 0x1007b63c
push 0x10131d80
call fcn.100b0641
add esp, 4
cmp dword [0x10131d80], 0xffffffff
jne 0x1007b63c
mov dword [ebp - 4], 1
movups xmm0, xmmword [str.IVZ_H___7j_geiJ]
mov ax, word [0x100f4770]
mov word [ebp - 0x32], ax
movups xmmword [ebp - 0x42], xmm0
test ah, ah
je 0x1007b55b
xor ecx, ecx
cmp dword [0x1010f2d8], 2
mov dword [ebp - 0x14], ecx
jl 0x1007b527
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 5
movaps xmm4, xmmword [0x100f8cc0]
movaps xmm3, xmmword [0x100f9040]
movaps xmm6, xmmword [0x100f8dd0]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x30]
movd xmm7, eax
nop dword [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, 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 [0x100f8f50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x42]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x42], 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, 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 [0x100f8f50]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x3e]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x3e], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x1007b420
mov dword [ebp - 0x14], ecx
cmp ecx, 0x12
jge 0x1007b55b
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 [ebp - 0x14]
shl cl, 3
sub al, cl
mov ecx, dword [ebp - 0x14]
add al, 0x39
xor byte [ebp + ecx - 0x42], al
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x12
jl 0x1007b527
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x42]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007b576
sub ecx, edx
lea eax, [ebp - 0x42]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.10049b80
mov byte [ebp - 4], 2
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
cmovae edx, dword [ebp - 0x5c]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007b5a0
sub ecx, edi
mov eax, 0x7fffffff
mov edi, dword [0x10131d74]
sub eax, edi
cmp eax, ecx
jb 0x1007b8fa
cmp dword [0x10131d78], 0x10
mov eax, 0x10131d64
push edi
cmovae eax, dword [0x10131d64]
push eax
push ecx
push edx
push ecx
push dword [ebp - 0x20]
mov ecx, 0x10131d8c
call fcn.10054410
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x1007b61b
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1007b611
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007b8ff
push ecx
push edx
call fcn.100b0b76
add esp, 8
push 0x100df760
call fcn.100b0b61
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x10131d80
call fcn.100b05f7
add esp, 4
mov eax, dword [0x10131d54]
cmp eax, dword [esi + 4]
jle 0x1007b6e6
push 0x10131d54
call fcn.100b0641
add esp, 4
cmp dword [0x10131d54], 0xffffffff
jne 0x1007b6e6
push 0
mov dword [ebp - 4], 3
lea edi, [ebp - 0x30]
cmp dword [0x10131da0], 0x10
mov edx, 0x10131d8c
mov ecx, dword [0x101109c0]
xorps xmm0, xmm0
cmovae edx, dword [0x10131d8c]
push 0x400
push edi
push dword [0x10131d9c]
mov eax, dword [ecx]
push edx
push 0
push ecx
movups xmmword [ebp - 0x30], xmm0
call dword [eax + 0x38]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push 0x10131d54
movd xmm1, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cvtdq2ps xmm1, xmm1
mov dword [ebp - 4], 0xffffffff
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x10131d84], xmm1
movss dword [0x10131d88], xmm0
call fcn.100b05f7
add esp, 4
mov eax, dword [0x10131d50]
cmp eax, dword [esi + 4]
jle 0x1007b72a
push 0x10131d50
call fcn.100b0641
add esp, 4
cmp dword [0x10131d50], 0xffffffff
jne 0x1007b72a
push 0x10131d50
mov dword [0x10131d44], 0x41200000
mov dword [0x10131d48], 0x41200000
call fcn.100b05f7
add esp, 4
mov eax, dword [0x10131d58]
cmp eax, dword [esi + 4]
jle 0x1007b77c
push 0x10131d58
call fcn.100b0641
add esp, 4
cmp dword [0x10131d58], 0xffffffff
jne 0x1007b77c
movss xmm0, dword [0x10131d84]
addss xmm0, dword [0x100f8758]
push 0x10131d58
mov dword [0x10131d60], 0x41900000
movss dword [0x10131d5c], xmm0
call fcn.100b05f7
add esp, 4
push dword [0x1010e584]
movss xmm0, dword [0x10131d5c]
mov cl, 1
push dword [0x1010e588]
sub esp, 8
mov eax, esp
sub esp, 8
movss dword [eax], xmm0
movss xmm0, dword [0x10131d60]
movss dword [eax + 4], xmm0
mov eax, esp
movss xmm0, dword [0x10131d44]
movss dword [eax], xmm0
movss xmm0, dword [0x10131d48]
movss dword [eax + 4], xmm0
call fcn.1006c3c0
movss xmm0, dword [0x10131d5c]
add esp, 0x18
subss xmm0, dword [0x100f8708]
push dword [0x1010e594]
sub esp, 8
mov eax, esp
sub esp, 8
movss dword [eax], xmm0
movss xmm0, dword [0x10131d60]
subss xmm0, dword [0x100f8708]
movss dword [eax + 4], xmm0
mov eax, esp
movss xmm0, dword [0x10131d44]
addss xmm0, dword [0x100f86dc]
movss dword [eax], xmm0
movss xmm0, dword [0x10131d48]
addss xmm0, dword [0x100f86dc]
movss dword [eax + 4], xmm0
call fcn.1006c2d0
mov cx, word [0x1010e582]
xorps xmm0, xmm0
add esp, 0x14
mov edi, dword [0x101109c0]
cmp dword [0x10131da0], 0x10
mov eax, 0x10131d8c
movups xmmword [ebp - 0x30], xmm0
cmovae eax, dword [0x10131d8c]
movss xmm0, dword [0x10131d48]
addss xmm0, dword [0x100f8708]
mov dword [ebp - 0x20], eax
movzx eax, cx
movzx esi, ch
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1010e580]
cvttss2si ecx, xmm0
mov dword [ebp - 0x14], eax
shr eax, 8
mov dword [ebp - 0x18], eax
movss xmm0, dword [0x10131d44]
addss xmm0, dword [0x100f8740]
push ecx
cvttss2si eax, xmm0
push eax
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi]
movzx eax, al
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x18]
movzx eax, al
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x1c]
movzx eax, al
shl esi, 8
or esi, eax
lea eax, [ebp - 0x30]
push esi
push 0x100
push eax
push 0xffffffffffffffff
push dword [ebp - 0x20]
push 0
push edi
call dword [ecx + 0x38]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100476d0
call fcn.100b7b82
int3