Function at 0xc2f180
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xc], 0x32333435
mov edi, dword [esp + 0x30]
lea eax, [esp + 0xc]
xor ecx, ecx
xor edx, edx
nop
mov ebx, edx
and bl, 0xfc
add bl, cl
xor bl, byte [eax]
xor bl, 0xfa
add bl, 0x30
mov byte [eax], bl
inc eax
add edx, 2
inc cl
cmp edx, 8
jne 0xc2f1a0
mov eax, dword [esp + 0xc]
mov ebx, dword [0xc09a74]
test ebx, ebx
je 0xc2f218
xor ecx, ecx
mov edx, dword [0xc09a78]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x2298ee00
je 0xc2f1f0
inc ecx
cmp ebx, ecx
jne 0xc2f1e0
jmp 0xc2f218
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0xc2f218
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 2
push dword [esp + 0x3c]
push 0x14
push edx
push dword [0xc09a7c]
call fcn.00c2c3c0
add esp, 0x20
cmp eax, 0xc0000023
jne 0xc2f43d
push dword [esp + 8]
call fcn.00c2a9e0
add esp, 4
mov ebp, eax
mov dword [esp], eax
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0x32333435
lea edx, [esp + 0x10]
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
mov ebx, ecx
and bl, 0xfc
add bl, al
xor bl, byte [edx]
xor bl, 0xfa
add bl, 0x30
mov byte [edx], bl
inc edx
add ecx, 2
inc al
cmp ecx, 8
jne 0xc2f250
mov eax, dword [esp + 0x10]
mov ecx, dword [0xc09a74]
test ecx, ecx
je 0xc2f2cc
xor edx, edx
mov ebx, dword [0xc09a78]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x2298ee00
je 0xc2f2a0
inc edx
cmp ecx, edx
jne 0xc2f290
jmp 0xc2f2cc
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
mov ebx, dword [esp]
je 0xc2f2cf
lea eax, [esp + 8]
push eax
push dword [esp + 8]
push ebx
push 2
push dword [esp + 0x3c]
push 0x14
push ecx
push dword [0xc09a7c]
call fcn.00c2c3c0
add esp, 0x20
mov ebx, dword [esp]
mov dword [esp + 4], eax
test eax, eax
js 0xc2f430
mov edx, dword [esp + 0x34]
test edx, edx
je 0xc2f3da
test edi, edi
je 0xc2f3d3
mov ecx, dword [ebx + 0x10]
shr ecx, 1
mov eax, dword [edx]
cmp eax, ecx
jb 0xc2f2fc
mov eax, ecx
test eax, eax
je 0xc2f3ce
add ebp, 0x2c
mov ecx, eax
and ecx, 3
je 0xc2f351
mov dword [esp + 0x14], eax
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [ebp]
xor edx, edx
test ax, ax
setne dl
lea ebp, [ebp + edx*2]
mov word [edi], ax
add edi, 2
inc ebx
cmp ecx, ebx
jne 0xc2f320
mov eax, dword [esp + 0x14]
mov ecx, eax
sub ecx, ebx
mov edx, dword [esp + 0x34]
mov ebx, dword [esp]
cmp eax, 4
jae 0xc2f360
jmp 0xc2f3ce
mov ecx, eax
cmp eax, 4
jb 0xc2f3ce
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edi
movzx eax, word [ebp]
xor edx, edx
test ax, ax
setne dl
lea edi, [edx*2]
add edi, ebp
mov word [ebx], ax
movzx eax, word [ebp + edx*2]
xor edx, edx
test ax, ax
setne dl
lea ebp, [edi + edx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [edx*2]
add esi, ebp
mov word [ebx + 4], ax
movzx edx, word [ebp + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [ebx + 6], dx
lea edi, [ebx + 8]
lea ebp, [esi + eax*2]
add ecx, 0xfffffffc
jne 0xc2f360
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp]
mov word [edi], 0
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0xc2f3e7
mov eax, dword [ebx + 0x14]
mov dword [ecx], eax
mov ebx, dword [esp + 0x3c]
test ebx, ebx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
je 0xc2f405
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ebx], eax
test edi, edi
mov ebx, dword [esp]
je 0xc2f413
mov eax, dword [ebx + 0x1c]
shr eax, 1
mov dword [edi], eax
test edx, edx
je 0xc2f41c
mov eax, dword [ebx + 0x20]
mov dword [edx], eax
test ecx, ecx
je 0xc2f427
mov eax, dword [ebx + 0x24]
shr eax, 1
mov dword [ecx], eax
test esi, esi
je 0xc2f430
mov eax, dword [ebx + 0x28]
mov dword [esi], eax
push ebx
call fcn.00c2aa20
add esp, 4
mov eax, dword [esp + 4]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret