Function at 0x1000ace7
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1005b878
call fcn.1005b080
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
push 2
pop ebx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x78]
push ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x28], edi
call fcn.10001471
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
jmp 0x1000ad2c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x78]
mov dword [eax + ecx*4], 0xd3df
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x1000ad1c
xor esi, esi
mov dword [ebp - 0x14], edi
inc esi
jmp 0x1000ad47
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x24], 0x490c4d8e
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1000ad39
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x24], edi
jl 0x1000ad9e
push 4
lea ecx, [ebp - 0x5c]
call fcn.10001471
mov dword [ebp - 0x14], edi
jmp 0x1000ad73
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
mov dword [eax + ecx*4], 0x2e31d832
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1000ad63
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0xc], edi
inc dword [eax + 0xc]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x20], 0x76715f0e
cmp dword [eax + 0xc], esi
jle 0x1000ad7f
lea ecx, [ebp - 0x5c]
call fcn.100014f4
dec dword [ebp - 0x24]
jns 0x1000ad54
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.100014f4
call fcn.10007cd1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.1000b50a
mov dword [ebp - 4], esi
mov eax, 0x3bf38c08
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x1c], 0xfffffffa
mov dword [ebp - 0x1c], 0x2b57e8b7
mov dword [ebp - 0x1c], 0xd2edc755
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x1c], 0x96a162c9
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x1c], 0xfbde283b
mov dword [ebp - 0x14], edi
jmp 0x1000ae11
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x50], 0xadca1a1f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x1000ae03
inc dword [ebp - 0x4c]
mov edx, dword [ebp - 0x40]
mov ecx, edx
mov esi, dword [ebp - 0x18]
add esi, 0xffffcfc8
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x1000ae55
cmp dword [eax + 0x10], esi
jge 0x1000ae3a
mov eax, dword [eax + 8]
jmp 0x1000ae3e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1000ae30
cmp ecx, edx
je 0x1000ae55
cmp esi, dword [ecx + 0x10]
jl 0x1000ae55
mov dword [ebp - 0x44], ecx
lea esi, [ebp - 0x44]
jmp 0x1000ae5b
mov dword [ebp - 0x48], edx
lea esi, [ebp - 0x48]
mov esi, dword [esi]
mov dword [ebp - 0x18], 0x6b6d
cmp dword [ebp - 0x18], 0x6dca
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
jle 0x1000aebc
mov esi, edi
mov ebx, edi
mov dword [ebp - 0x20], edi
mov eax, edi
mov ecx, 0x10077178
and eax, ebx
xor eax, esi
cdq
push edx
push eax
call fcn.1000b0cd
inc edi
cmp edi, 0x716a
jl 0x1000ae7a
inc ebx
push 0
pop edi
cmp ebx, 0x803c
jl 0x1000ae77
inc esi
cmp esi, 0x11af
jl 0x1000ae75
push 0x119b
call dword [sym.imp.USER32.dll_IsIconic]
mov esi, dword [ebp - 0x14]
push 2
pop ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 0x6a2c
jge 0x1000aed7
mov edx, str.epnvyvj_cmdx_gazyacw_kocys_pyrky_sjodpyvs_rvsavvd
mov ecx, 0x10077178
call fcn.1000ca72
mov dword [ebp - 4], 1
push ebx
lea ecx, [ebp - 0x38]
call fcn.10001471
mov dword [ebp - 0x14], 0xf833fcb5
mov dword [ebp - 0x18], 0x9475
mov dword [ebp - 0x20], 0x1aa08ecb
mov dword [ebp - 0x14], edi
jmp 0x1000af3c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov dword [eax + ecx*4], 0xe0a8eac8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x1000af2c
mov dword [ebp - 0x14], edi
jmp 0x1000af56
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov dword [eax + ecx*4], 0xf34fda0e
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x1000af46
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
inc eax
imul eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], edi
jne 0x1000af84
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], edi
jne 0x1000af84
mov eax, edi
jmp 0x1000af87
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x18]
xor edx, edx
imul ecx, eax
mov eax, dword [ebp - 0x38]
cmp ecx, dword [eax + 4]
mov eax, dword [ebp - 0x18]
setne dl
xor ecx, ecx
cmp edx, eax
setl cl
xor eax, eax
imul ecx, dword [ebp - 0x20]
inc eax
sub eax, ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x20], eax
call fcn.100014f4
mov eax, dword [0x101a4240]
test al, 1
jne 0x1000afea
or eax, 1
mov dword [0x101a423c], 7
mov dword [0x101a4240], eax
xor eax, eax
push 0x1005ce54
mov dword [0x101a4238], edi
mov word [0x101a4228], ax
call fcn.10044644
pop ecx
cmp esi, dword [ebp - 0x40]
je 0x1000b00a
push dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [ebp - 0xa8]
call fcn.10003491
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 4
inc ebx
jmp 0x1000b021
push 0x101a4228
lea ecx, [ebp - 0x90]
call fcn.100013fc
mov dword [ebp - 4], 5
mov esi, dword [ebp - 0x2c]
mov ecx, esi
push eax
mov dword [ebp - 0x28], ebx
call fcn.100013fc
or ebx, 4
test bl, 2
je 0x1000b048
push edi
push 1
lea ecx, [ebp - 0x90]
and ebx, 0xfffffffd
call fcn.100017af
test bl, 1
je 0x1000b05b
push edi
push 1
lea ecx, [ebp - 0xa8]
call fcn.100017af
lea ecx, [ebp - 0x40]
call fcn.1000b295
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret