Function at 0x10027cef
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10064823
call fcn.10063318
sub esp, 0x48
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], edx
push esi
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x30], 0x2c1
cmp dword [ebp - 0x30], 0x58a
push edi
mov dword [ebp - 0x10], esp
jle 0x10027deb
mov dword [ebp - 0x2c], 0x18fa
cmp dword [ebp - 0x2c], 0x9b9
jge 0x10027d97
lea eax, [ebp - 0x20]
mov edi, str._ld__ld
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.1004b73b
add esp, 0xc
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov esi, ebx
jmp 0x10027d6c
dec eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.1004b73b
mov ecx, dword [ebp - 0x24]
add esp, 0xc
sub ecx, dword [ebp - 0x28]
inc ecx
add esi, ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10027d4e
dec eax
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov eax, esi
cdq
idiv dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
sub eax, edx
cmp eax, dword [ebp - 0x20]
cmove eax, ecx
push eax
push str._ld_n
call fcn.1004b116
pop ecx
pop ecx
mov esi, ebx
mov edi, ebx
mov eax, ebx
mov dword [ebp - 0x2c], ebx
or eax, edi
lea ecx, [ebp - 0x50]
or eax, esi
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10027db9
mov eax, dword [eax]
push eax
call fcn.1004b116
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.100022d2
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x440b
jl 0x10027da0
inc edi
cmp edi, 0x2365
jl 0x10027d9b
inc esi
cmp esi, 0x6ec2
jl 0x10027d99
cmp dword [ebp - 0x30], 0x1f5
jge 0x10027dff
push str.syzkk_jwqxgrgs_zdvbbkv_uwyte_aioldeba_eqzf_ijjjd_bwiu_zdwr_thgeghco_bvwsty_fjlfq_eqfzyoykq
call fcn.1004b116
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], 0x1c43
cmp dword [ebp - 0x2c], 0x2010
jle 0x10027e59
mov esi, ebx
mov dword [ebp - 0x30], ebx
mov edi, ebx
mov eax, esi
mov dword [ebp - 0x34], ebx
cdq
idiv edi
mov esi, edx
mov eax, esi
mov ecx, 0x10081838
xor eax, ebx
cdq
push edx
push eax
call fcn.10001e6d
inc ebx
cmp ebx, 0x409b
jl 0x10027e24
mov esi, dword [ebp - 0x30]
inc edi
push 0
pop ebx
cmp edi, 0x2b6a
jl 0x10027e1a
inc esi
mov dword [ebp - 0x30], esi
cmp esi, 0x4fb7
jl 0x10027e18
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x1a6e
jge 0x10027e78
mov edx, str.uqpgn_hcfwzhk_aefv
mov ecx, 0x10081838
call fcn.100038af
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x30]
mov edx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x28]
mov eax, dword [ebx]
mov eax, dword [ebx]
mov eax, dword [ebp - 0x38]
mov dword [eax], 0xdd5c0aec
mov eax, dword [ebx]
mov eax, dword [ebx]
mov eax, dword [esi]
mov eax, dword [ebx]
mov eax, dword [edx]
mov ecx, dword [edx]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [eax], ecx
mov eax, dword [esi]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [ebx]
mov eax, dword [esi]
mov eax, dword [edx]
mov eax, dword [edx]
mov eax, dword [esi]
mov eax, dword [ebx]
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ecx]
mov eax, dword [edi]
mov ecx, dword [ebp + 0x34]
mov dword [ecx], eax
mov eax, dword [ecx]
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [ebp + 0x2c]
pop edi
pop esi
pop ebx
mov eax, dword [eax]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret