Function at 0x102ae330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1032e910
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x74], edi
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
push ebx
mov dword [ebp - 0x70], ebx
call fcn.102ac520
mov eax, ecx
mov ecx, edi
push eax
call fcn.102ae8a0
mov dword [edi + 0x68], 0xbf800000
lea eax, [ebx + 0x138]
mov dword [ebp - 0x78], eax
xorps xmm0, xmm0
test ebx, ebx
jne 0x102ae3b5
xorps xmm3, xmm3
xorps xmm1, xmm1
xorps xmm2, xmm2
movss dword [ebp - 0x6c], xmm3
movss dword [ebp - 0x68], xmm1
movq xmm4, qword [ebp - 0x6c]
movss dword [ebp - 0x64], xmm2
jmp 0x102ae3d6
movq xmm4, qword [eax]
mov ecx, dword [eax + 8]
movq qword [ebp - 0x6c], xmm4
movss xmm1, dword [ebp - 0x68]
movss xmm3, dword [ebp - 0x6c]
mov dword [ebp - 0x64], ecx
movss xmm2, dword [ebp - 0x64]
mov dword [ebp - 0x78], eax
mov edx, dword [edi + 0x98]
lea esi, [edi + 0x94]
mov eax, dword [esi]
mov ecx, edx
sub ecx, eax
sar ecx, 4
cmp ecx, 1
jb 0x102ae6a0
shl ecx, 4
ucomiss xmm3, dword [ecx + eax - 0xc]
lahf
test ah, 0x44
jp 0x102ae6a0
mov eax, dword [esi]
ucomiss xmm1, dword [ecx + eax - 8]
lahf
test ah, 0x44
jp 0x102ae6a0
mov eax, dword [esi]
ucomiss xmm2, dword [ecx + eax - 4]
lahf
test ah, 0x44
jp 0x102ae6a0
cmp byte [0x104be920], 0
jne 0x102ae5df
mov edi, dword [0x104be928]
mov ebx, edi
mov esi, dword [0x104be92c]
xor ebx, 0x1de26cd5
mov eax, ebx
mov byte [0x104be920], 1
mov edx, esi
xor edx, 0xd28f2c5
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
mov dword [ebp - 0x68], edx
shld edx, eax, 0x11
mov edx, esi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, bl
mov ecx, edx
xor byte [0x104be921], al
mov ebx, edi
xor ebx, 0x1de26cd4
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104be922]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104be922], al
xor ebx, 0x1de26cd7
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104be923]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104be923], al
xor ebx, 0x1de26cd6
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor ebx, eax
xor edx, ecx
mov eax, ebx
mov ecx, edx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
xor esi, 0xd28f2c5
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104be924]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104be924], al
xor ebx, 0x1de26cd1
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, edi
mov ecx, esi
shl eax, 0x11
xor edx, 0x1de26cd0
xor al, byte [0x104be925]
xor al, bl
mov edi, dword [ebp - 0x74]
mov byte [0x104be925], al
mov eax, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor esi, ecx
xor edx, eax
mov ecx, esi
mov eax, edx
shrd eax, ecx, 7
xor edx, eax
shr ecx, 7
xor esi, ecx
mov eax, edx
shld esi, eax, 0x11
shl eax, 0x11
xor al, byte [0x104be926]
xor al, dl
mov byte [0x104be926], al
push ecx
push 0x104be926
push 0x104be921
lea ecx, [ebp - 0x2c]
call fcn.1001a620
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
lea ecx, [edi + 0x7c]
cmovae edx, dword [ebp - 0x2c]
mov esi, edx
lea ebx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x102ae605
mov eax, dword [ecx + 0x10]
sub esi, ebx
cmp dword [ecx + 0x14], 0x10
jb 0x102ae619
mov ecx, dword [ecx]
push esi
push edx
mov edx, eax
call fcn.10071120
add esp, 8
lea ecx, [ebp - 0x2c]
mov bl, al
call fcn.10019dd0
test bl, bl
mov ebx, dword [ebp - 0x70]
je 0x102ae6d1
mov ecx, ebx
call fcn.100c2ec0
test eax, eax
je 0x102ae6d1
mov ecx, ebx
call fcn.100c2ec0
mov ecx, dword [0x104c14e0]
movd xmm0, eax
mov eax, dword [0x1060b290]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x1041ef58]
subss xmm0, dword [eax + 0x10]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
movss dword [edi + 0x68], xmm0
mov eax, dword [0x106117f4]
cmp eax, dword [ecx + 4]
jg 0x102ae734
mov eax, dword [0x10611964]
mov al, byte [ebx + eax]
mov byte [edi + 0x6c], al
jmp 0x102ae6d1
cmp edx, dword [esi + 8]
je 0x102ae6bf
mov eax, dword [0x1060b290]
mov eax, dword [eax]
mov dword [edx], eax
mov eax, dword [ebp - 0x64]
movq qword [edx + 4], xmm4
mov dword [edx + 0xc], eax
add dword [esi + 4], 0x10
jmp 0x102ae6d4
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
push dword [0x1060b290]
push edx
call fcn.102b7960
xorps xmm0, xmm0
test ebx, ebx
jne 0x102ae6e0
xorps xmm1, xmm1
xorps xmm2, xmm2
jmp 0x102ae701
mov eax, dword [ebp - 0x78]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x6c], xmm0
movss xmm1, dword [ebp - 0x68]
movss xmm0, dword [ebp - 0x6c]
mov dword [ebp - 0x64], eax
movss xmm2, dword [ebp - 0x64]
movss dword [edi + 0x1c], xmm0
movss dword [edi + 0x20], xmm1
movss dword [edi + 0x24], xmm2
mov dword [edi + 0xa8], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102bb91c
mov esp, ebp
pop ebp
ret 4
push 0x106117f4
call fcn.102bba07
add esp, 4
cmp dword [0x106117f4], 0xffffffff
jne 0x102ae693
cmp byte [0x104aa190], 0
jne 0x102ae7b5
mov byte [0x104aa190], 1
xor ebx, ebx
jmp 0x102ae762
xor edi, edi
mov esi, ebx
xor esi, dword [0x104aa1a8]
xor edi, dword [0x104aa1ac]
xor esi, 0x1de26cd5
xor edi, 0xd28f2c5
mov eax, esi
mov ecx, edi
shld ecx, eax, 0xd
shl eax, 0xd
xor edi, ecx
xor esi, eax
mov ecx, edi
mov edx, esi
shrd edx, ecx, 7
shr ecx, 7
xor edx, esi
xor ecx, edi
mov eax, edx
shld ecx, eax, 0x11
shl eax, 0x11
xor al, dl
xor byte [ebx + 0x104aa191], al
inc ebx
cmp ebx, 0x12
jb 0x102ae762
jmp 0x102ae7b5
push ecx
push 0x104aa1a2
push 0x104aa191
lea ecx, [ebp - 0x5c]
call fcn.1001a620
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
cmp byte [0x104ab5b0], 0
mov dword [ebp - 0x64], eax
jne 0x102ae843
mov byte [0x104ab5b0], 1
xor ebx, ebx
jmp 0x102ae7f0
xor edi, edi
mov esi, ebx
xor esi, dword [0x104ab5d0]
xor edi, dword [0x104ab5d4]
xor esi, 0x1de26cd5
xor edi, 0xd28f2c5
mov eax, esi
mov ecx, edi
shld ecx, eax, 0xd
shl eax, 0xd
xor edi, ecx
xor esi, eax
mov ecx, edi
mov edx, esi
shrd edx, ecx, 7
shr ecx, 7
xor edx, esi
xor ecx, edi
mov eax, edx
shld ecx, eax, 0x11
shl eax, 0x11
xor al, dl
xor byte [ebx + 0x104ab5b1], al
inc ebx
cmp ebx, 0x1a
jb 0x102ae7f0
jmp 0x102ae843
push ecx
push 0x104ab5ca
push 0x104ab5b1
lea ecx, [ebp - 0x44]
call fcn.1001a620
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push 0
push dword [ebp - 0x64]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.10171b70
lea ecx, [ebp - 0x44]
mov dword [0x10611964], eax
call fcn.10019dd0
lea ecx, [ebp - 0x5c]
call fcn.10019dd0
push 0x106117f4
call fcn.102bb9b6
mov edi, dword [ebp - 0x74]
add esp, 4
mov ebx, dword [ebp - 0x70]
jmp 0x102ae693