Function at 0x10016232
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005e7d7
call fcn.1005dc80
sub esp, 0x48
mov byte [ebp - 0x18], dl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x100163bb
push 2
pop edi
push edi
lea ecx, [ebp - 0x3c]
call fcn.100100c6
mov dword [ebp - 0x1c], 0xde6eab3a
xor esi, esi
mov dword [ebp - 0x20], 0xe507
mov dword [ebp - 0x28], 0xfff8
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], 0xfffffffa
mov dword [ebp - 0x1c], esi
jmp 0x1001628e
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x10016282
xor ebx, ebx
mov dword [ebp - 0x1c], esi
inc ebx
jmp 0x100162a5
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2c], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jl 0x1001629b
mov dword [ebp - 0x1c], ebx
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
cmp dword [eax], esi
setne cl
xor edx, edx
cmp dword [eax + 4], ecx
setg dl
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x28], 0xbc19ac4e
sbb eax, eax
xor ecx, ecx
neg eax
cmp eax, 0x75f7f777
setne cl
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
lea ecx, [ebp - 0x3c]
sbb eax, eax
neg eax
mov dword [ebp - 0x24], eax
call fcn.10010128
mov dword [ebp - 0x28], 0x7470
cmp dword [ebp - 0x28], 0x7531
jle 0x10016396
mov edi, esi
mov dword [ebp - 0x24], esi
mov eax, esi
mov dword [ebp - 0x1c], esi
mov edx, edi
mov ecx, eax
shl edx, cl
mov edi, esi
mov dword [ebp - 0x30], edx
mov ecx, esi
mov dword [ebp - 0x20], esi
mov eax, edi
cdq
idiv ecx
mov eax, dword [ebp - 0x30]
mov ecx, edx
shl eax, cl
lea ecx, [ebp - 0x54]
cdq
push edx
push eax
call fcn.10001b3f
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10016350
mov eax, dword [eax]
push eax
call fcn.10047293
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x54]
call fcn.1001084f
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0x2b4e
jl 0x1001632f
inc edi
cmp edi, 0x74d3
jl 0x1001632a
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x1e58
jl 0x1001631f
inc edi
mov dword [ebp - 0x24], edi
cmp edi, 0x2add
jl 0x1001631a
cmp dword [ebp - 0x28], 0x7168
jge 0x100163aa
push str.eklkgtxj_rdxgu_zuycmig
call fcn.10047293
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0x25e1
cmp dword [ebp - 0x24], 0x2999
jle 0x10016408
xor esi, esi
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x28], 0x440a
mov dword [ebp - 0x30], esi
mov eax, ebx
mov ecx, 0x10079ad8
xor eax, esi
cdq
push edx
push eax
call fcn.1000fde8
inc esi
cmp esi, 0x2ec9
jl 0x100163db
add ebx, edi
dec dword [ebp - 0x28]
push 0
pop esi
jne 0x100163d8
inc edi
cmp edi, 0x6900
jl 0x100163cf
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x10016433
xor ebx, ebx
mov ecx, 0x1932
inc ebx
push ebx
push ebx
push 0x41d
push 0x17cd
push 0x689a
mov dl, bl
call fcn.10013e8f
add esp, 0x14
mov dword [ebp - 4], 2
cmp dword [ebp - 0x24], 0x2576
jge 0x100163aa
mov edx, str.khbkzo_hfkhlg_fkrjtgzsc_tbq_dfko_yfw_zszuycnho_hxdkvgnp_stnf_xpfm_dxm_nopplfqzo
mov ecx, 0x10079ad8
call fcn.10012b8c
jmp 0x100163aa