Function at 0xb28d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, ecx
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0x1c1d1e1f
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0xb28db1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
mov edx, eax
and edx, 0x2560f27c
xor eax, 0xa560f27c
lea eax, [eax + edx*2]
mov edx, eax
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x9c
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0xb28d70
mov ebx, dword [esp + 0x10]
mov eax, dword [0xcc8bac]
test eax, eax
je 0xb28e06
xor ecx, ecx
mov edx, dword [0xcc8bb0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xe4aa2089
je 0xb28de0
inc ecx
cmp eax, ecx
jne 0xb28dd0
jmp 0xb28e06
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0xb28e06
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 5
push 4
push dword [0xcc8bb4]
push eax
call fcn.00b2a560
add esp, 0x1c
mov ebx, eax
cmp ebx, 0xc0000004
jne 0xb28f68
push dword [esp + 8]
call fcn.00b28ab0
add esp, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], 0x1c1d1e1f
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xc
ja 0xb28ea3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
mov esi, ecx
and esi, 0x2560f27c
xor ecx, 0xa560f27c
lea ecx, [ecx + esi*2]
mov esi, ecx
and esi, edx
add ecx, edx
add esi, esi
sub ecx, esi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x9c
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xd
jb 0xb28e60
mov ebx, dword [esp + 0x10]
mov ecx, dword [0xcc8bac]
test ecx, ecx
je 0xb28ef4
xor edx, edx
mov esi, dword [0xcc8bb0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe4aa2089
je 0xb28ed0
inc edx
cmp ecx, edx
jne 0xb28ec0
jmp 0xb28ef4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebx
je 0xb28ef4
push 0
push eax
push dword [esp + 0xc]
push 5
push 4
push dword [0xcc8bb4]
push ecx
call fcn.00b2a560
add esp, 0x1c
mov ebx, eax
test ebx, ebx
js 0xb28f5c
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov esi, dword [ecx]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [edx + ebx]
movzx edi, word [eax + ebx]
test si, si
je 0xb28f35
add ebx, 2
cmp si, di
je 0xb28f20
cmp si, di
je 0xb28f47
mov esi, dword [ecx]
test esi, esi
jne 0xb28f10
mov ebx, 0xc0000225
jmp 0xb28f5c
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x20]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0xdc]
mov dword [edx + 8], eax
xor ebx, ebx
push dword [esp + 4]
call fcn.00b28b70
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4