Function at 0x10012acf
Capabilities:
Encode data using xor

Disassembly:
push 0xbc
mov eax, 0x1006407c
call fcn.1004adf3
mov dword [ebp - 0xc4], edx
mov esi, ecx
mov dword [ebp - 0xc0], esi
and dword [ebp - 0xbc], 0
mov dword [ebp - 0xc8], esi
xor edi, edi
inc edi
push 0x10076ce0
mov dword [ebp - 4], edi
call fcn.10002e3f
cmp dword [ebp + 0x18], 0
mov ebx, edi
mov dword [ebp - 0xbc], ebx
jne 0x10012b56
push str.Utils::Common::StringUtils::GenerateHumanReadableStr
lea ecx, [ebp - 0x40]
call fcn.100013a0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10011b05
pop ecx
pop ecx
push eax
lea ecx, [ebp + 8]
call fcn.10002e95
push 0
push edi
lea ecx, [ebp - 0x70]
call fcn.10003109
push 0
push edi
lea ecx, [ebp - 0x40]
call fcn.1000146d
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.10020c7e
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10012c7a
mov esi, dword [ebp + 0x18]
cmp eax, esi
cmovb esi, eax
xor edi, edi
test esi, esi
je 0x10012bc1
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp + 8]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
mov ax, word [eax + edi*2]
xor ax, word [ecx + edi*2]
lea ecx, [ebp - 0x28]
movzx eax, ax
push eax
push 1
call fcn.1000339e
inc edi
cmp edi, esi
jb 0x10012b90
mov esi, dword [ebp - 0xc0]
and dword [ebp - 0xc0], 0
mov edi, dword [ebp - 0xc4]
test edi, edi
je 0x10012db2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10012c3d
movss xmm0, dword [0x10079ee8]
call fcn.1000c3a4
movaps xmm2, xmm0
movss xmm0, dword [0x10079f3c]
call fcn.1000c361
comiss xmm2, xmm0
jb 0x10012c3d
movss xmm0, dword [0x10079f70]
call fcn.1000c361
mov ecx, 0xa4
movss dword [ebp - 0xc4], xmm0
call fcn.1000c304
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm1, dword [ebp - 0xc4]
jbe 0x10012c3d
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
test byte [ebp - 0xc0], 1
je 0x10012c8f
push str.PT_ca
lea ecx, [ebp - 0x70]
call fcn.10002e3f
mov byte [ebp - 4], 5
lea edx, [ebp - 0x70]
or ebx, 2
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xbc], ebx
call fcn.1000c43d
mov dword [ebp - 4], 6
or ebx, 4
jmp 0x10012cca
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.10003076
jmp 0x10012bc7
push str.jA_b2_lYmXc
lea ecx, [ebp - 0x88]
call fcn.10002e3f
mov dword [ebp - 4], 7
lea edx, [ebp - 0x88]
or ebx, 8
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xbc], ebx
call fcn.1000c43d
mov dword [ebp - 4], 8
or ebx, 0x10
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xbc], ebx
call fcn.10002e17
mov dword [ebp - 4], 9
test bl, 0x10
je 0x10012cfd
push 0
and ebx, 0xffffffef
lea ecx, [ebp - 0xb8]
push 1
mov dword [ebp - 0xbc], ebx
call fcn.10003109
test bl, 8
je 0x10012d1a
push 0
and ebx, 0xfffffff7
lea ecx, [ebp - 0x88]
push 1
mov dword [ebp - 0xbc], ebx
call fcn.10003109
test bl, 4
je 0x10012d37
push 0
and ebx, 0xfffffffb
lea ecx, [ebp - 0xa0]
push 1
mov dword [ebp - 0xbc], ebx
call fcn.10003109
mov byte [ebp - 4], 0xd
test bl, 2
je 0x10012d55
push 0
and ebx, 0xfffffffd
lea ecx, [ebp - 0x70]
push 1
mov dword [ebp - 0xbc], ebx
call fcn.10003109
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0xc0]
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
div dword [ebp - 0x18]
movzx eax, word [ecx + edx*2]
xor edx, edx
div dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ecx, esi
cmovae eax, dword [ebp - 0x40]
movzx eax, word [eax + edx*2]
push eax
push 1
call fcn.1000339e
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.10003109
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp eax, edi
jb 0x10012bdc
xor ebx, ebx
lea ecx, [ebp - 0x58]
push ebx
push 1
call fcn.10003109
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10003109
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.10003109
mov eax, esi
call fcn.1004ada2
ret