Function at 0x100279e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x34
call fcn.10016d60
mov eax, dword [0x10070894]
push ebx
test eax, eax
push ebp
je 0x10027aa9
push 0xd9
push 0x10054bc8
push 0x13
push 5
call fcn.10004420
call fcn.10004400
mov ebx, dword [0x10070898]
xor ecx, ecx
cmp ebx, eax
push 0xdb
sete cl
push 0x10054bc8
mov ebp, ecx
push 0x13
push 6
mov dword [esp + 0x28], ebp
call fcn.10004420
add esp, 0x20
test ebp, ebp
jne 0x10027a54
push 0xe0
push 0x10054bc8
push 0x12
push 9
call fcn.10004420
add esp, 0x10
mov ecx, dword [0x10070884]
mov eax, dword [0x1007087c]
push esi
push edi
mov edx, dword [0x10070880]
mov dword [esp + 0x1c], ecx
mov ecx, 5
mov esi, 0x10070864
lea edi, [esp + 0x30]
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
add eax, esi
cmp eax, 0x3ff
mov dword [0x1007087c], eax
jl 0x10027ab7
cdq
mov ecx, 0x3ff
idiv ecx
mov dword [0x10070878], ecx
mov dword [0x1007087c], edx
jmp 0x10027ace
mov dword [esp + 8], 0
mov ebp, dword [esp + 8]
jmp 0x10027a3e
mov ecx, dword [0x10070878]
cmp ecx, 0x3ff
jge 0x10027ace
cmp eax, ecx
jle 0x10027ace
mov dword [0x10070878], eax
mov eax, esi
mov ecx, 0x14
cdq
idiv ecx
mov ecx, dword [0x10070884]
mov edi, eax
xor eax, eax
test edx, edx
setg al
add eax, edi
add ecx, eax
test ebp, ebp
mov dword [0x10070884], ecx
jne 0x10027b0b
push 0x100
push 0x10054bc8
push 0x12
push 0xa
call fcn.10004420
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
call fcn.1001e800
add esp, 4
test esi, esi
jle 0x10027c35
mov ecx, esi
dec esi
mov eax, 0xcccccccd
mov ebp, dword [esp + 0x48]
mul esi
shr edx, 4
inc edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], edx
jmp 0x10027b40
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x14
mov esi, ecx
jle 0x10027b4c
mov esi, 0x14
push 0
call fcn.1001ba00
lea edx, [esp + 0x24]
push eax
push edx
call fcn.1001e820
lea eax, [esp + 0x3c]
push 0x14
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.1001e950
lea edi, [esi + ebx - 0x3ff]
add esp, 0x18
test edi, edi
lea ecx, [esp + 0x20]
lea eax, [ebx + 0x10070450]
jle 0x10027ba8
mov edx, esi
sub edx, edi
push edx
push eax
push ecx
call fcn.1001e950
push edi
lea edx, [esp + 0x30]
push 0x10070450
push edx
call fcn.1001e950
add esp, 0x18
jmp 0x10027bb3
push esi
push eax
push ecx
call fcn.1001e950
add esp, 0xc
push esi
lea edx, [esp + 0x24]
push ebp
push edx
call fcn.1001e950
lea eax, [esp + 0x24]
push 8
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.1001e950
lea edx, [esp + 0x48]
push 0
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.1001e960
mov edi, dword [esp + 0x40]
add esp, 0x24
inc edi
add ebp, esi
xor eax, eax
mov dword [esp + 0x1c], edi
test esi, esi
jle 0x10027c17
mov cl, byte [esp + eax + 0x30]
mov dl, byte [ebx + 0x10070450]
xor dl, cl
mov byte [ebx + 0x10070450], dl
inc ebx
cmp ebx, 0x3ff
jl 0x10027c12
xor ebx, ebx
inc eax
cmp eax, esi
jl 0x10027bf5
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
sub ecx, 0x14
dec eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], eax
jne 0x10027b3c
mov ebp, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
call fcn.1001ecb0
add esp, 4
test ebp, ebp
pop edi
pop esi
jne 0x10027c5e
push 0x12b
push 0x10054bc8
push 0x12
push 9
call fcn.10004420
add esp, 0x10
xor eax, eax
mov cl, byte [esp + eax + 0x28]
mov bl, byte [eax + 0x10070864]
xor bl, cl
mov byte [eax + 0x10070864], bl
inc eax
cmp eax, 0x14
jb 0x10027c60
fld qword [0x10070888]
fcomp qword [0x10054bc0]
fnstsw ax
test ah, 5
jp 0x10027c9b
fld qword [0x10070888]
fadd qword [esp + 0x48]
fstp qword [0x10070888]
test ebp, ebp
pop ebp
pop ebx
jne 0x10027cb7
push 0x136
push 0x10054bc8
push 0x12
push 0xa
call fcn.10004420
add esp, 0x10
add esp, 0x34
ret