Function at 0x180a24ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x48], edx
push edi
push 0xf
cmp dword [esi + 0x14], 0x10
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], eax
mov eax, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], ecx
jb 0x180a2509
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x38]
call fcn.18010aec
mov ecx, dword [eax]
call fcn.1800d860
mov ecx, dword [ebp - 0x38]
mov bl, al
add ecx, 0xfffffff0
call fcn.18003140
test bl, bl
jne 0x180a2532
push 2
pop edi
jmp 0x180a26c3
lea ecx, [ebp - 0x64]
call fcn.1800d7a8
cmp dword [esi + 0x14], 0x10
jb 0x180a2542
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x38]
call fcn.18010aec
push 0
push ecx
push 0
push dword [eax]
lea ecx, [ebp - 0x64]
call fcn.1800d7db
mov ecx, dword [ebp - 0x38]
mov esi, eax
add ecx, 0xfffffff0
call fcn.18003140
test esi, esi
jns 0x180a2573
push 2
pop edi
jmp 0x180a26bb
mov cl, 1
call fcn.1805815b
push 0x10
mov esi, eax
call fcn.180a6a69
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebp - 0x38], ebx
pop ecx
lea ecx, [ebp - 0x64]
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx], 0x180e6784
mov dword [ebx + 0xc], esi
mov byte [ebp - 0x39], al
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 4
pop edi
push edi
call fcn.1800df30
test eax, eax
js 0x180a26b1
cmp dword [ebp - 0x40], edi
jne 0x180a26b1
push edi
lea eax, [ebp - 0x44]
push str.CrOD
push eax
call fcn.180ba330
add esp, 0xc
test eax, eax
jne 0x180a25e7
mov byte [ebp - 0x39], 1
jmp 0x180a2601
push edi
lea eax, [ebp - 0x44]
push str.Cr24
push eax
call fcn.180ba330
add esp, 0xc
test eax, eax
jne 0x180a26b1
mov eax, dword [esi]
lea ecx, [ebp - 0x44]
push edi
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, esi
lea ecx, [ebp - 0x64]
call fcn.180a13e3
push 3
pop ecx
cmp eax, ecx
jne 0x180a26ad
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x64]
mov edx, esi
cmp dword [eax], 2
sete al
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.180a1569
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x180a26ad
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], ecx
cmp ecx, eax
je 0x180a2687
sub eax, ecx
cmp eax, 0x20
jne 0x180a26b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp - 0x48]
xor bl, bl
xor edx, edx
mov cl, byte [edx + esi]
xor cl, byte [eax]
or bl, cl
inc edx
inc eax
cmp edx, 0x20
jb 0x180a266e
test bl, bl
mov ebx, dword [ebp - 0x38]
je 0x180a2687
push 5
jmp 0x180a26b3
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x180a26a7
lea eax, [ebp - 0x1c]
cmp ecx, eax
je 0x180a26a7
cmp dword [ebp - 8], 0x10
jb 0x180a269e
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0xc]
push eax
call fcn.18031953
movzx edi, byte [ebp - 0x39]
jmp 0x180a26b4
mov edi, ecx
jmp 0x180a26b4
push 3
pop edi
mov ecx, ebx
call fcn.1801ed58
lea ecx, [ebp - 0x64]
call fcn.1800d7c2
mov eax, dword [ebp - 0x20]
mov esi, 0x1000
cmp eax, 0x10
jb 0x180a26fc
mov ecx, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], ecx
cmp eax, esi
jb 0x180a26f3
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.18003b3c
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x40]
push eax
push ecx
call fcn.180a66f3
pop ecx
pop ecx
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp eax, 0x10
jb 0x180a273f
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], ecx
cmp eax, esi
jb 0x180a2736
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.18003b3c
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x40]
push eax
push ecx
call fcn.180a66f3
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret