Function at 0xb0b970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], 0xbef6c2c1
mov dword [esp + 0x2c], 0xc2c0ccc8
lea ebx, [esp + 0x30]
mov byte [esp + 0x30], 0x68
mov dword [esp + 0x35], 0
mov dword [esp + 0x31], 0
mov eax, 0xd060990
movzx ecx, byte [esp + eax - 0xd060968]
mov esi, eax
and esi, ecx
add esi, esi
sub ecx, esi
add ecx, eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0x10
mov byte [esp + eax - 0xd060968], cl
cmp eax, 0xd0609a0
je 0xb0ba06
movzx ecx, byte [esp + eax - 0xd060967]
lea esi, [eax + 1]
and esi, ecx
add esi, esi
sub ecx, esi
add ecx, eax
inc ecx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0x10
mov byte [esp + eax - 0xd060967], cl
add eax, 2
jmp 0xb0b9b0
lea eax, [esp + 0x9b]
lea esi, [esp + 0x28]
mov ecx, 2
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0xa3]
xor ecx, ecx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
movzx ecx, byte [esp + 0x30]
mov byte [esp + 0xa3], cl
mov dword [esp + 0x28], 0xfb69f903
mov dword [esp + 0x2c], 0xff68fd64
mov dword [esp + 0x30], 0xf36ef119
mov dword [esp + 0x34], 0xf72bf566
mov dword [esp + 0x38], 0xeb63e902
mov dword [esp + 0x3c], 0xef0bed7a
mov dword [esp + 0x40], 0xe3c0e124
mov dword [esp + 0x44], 0xe774e501
mov dword [esp + 0x48], 0x9b049976
mov dword [esp + 0x4c], 0x9f799d01
mov dword [esp + 0x50], 0x9304917d
mov dword [esp + 0x54], 0x97059509
mov dword [esp + 0x58], 0x8b598908
mov dword [esp + 0x5c], 0x8f538d02
mov dword [esp + 0x60], 0x83098107
mov dword [esp + 0x64], 0x875b850b
mov dword [esp + 0x68], 0xbb29b960
mov dword [esp + 0x6c], 0xbf23bd28
mov dword [esp + 0x70], 0xb327b161
mov dword [esp + 0x74], 0xb728b520
mov dword [esp + 0x78], 0xab36a951
mov dword [esp + 0x7c], 0xaf3dad4f
mov dword [esp + 0x80], 0xa347a14a
mov dword [esp + 0x84], 0xa79ba546
mov dword [esp + 0x88], 0x5b58599c
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov ecx, 0xffded79f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x212889]
mov edi, ecx
and edi, esi
add edi, edi
sub esi, edi
add esi, ecx
mov dword [esp + 8], esi
mov ebx, dword [esp + 8]
add bl, 0xa7
mov byte [esp + ecx + 0x212889], bl
movzx esi, byte [esp + ecx + 0x21288a]
lea edi, [ecx + 1]
and edi, esi
add edi, edi
sub esi, edi
add esi, ecx
inc esi
mov dword [esp + 8], esi
mov ebx, dword [esp + 8]
add bl, 0xa7
mov byte [esp + ecx + 0x21288a], bl
add ecx, 2
cmp ecx, 0xffded80f
jne 0xb0bb40
mov dword [esp + 8], 0xbb1bb9c7
mov dword [esp + 0xc], 0xbf17bd0a
mov word [esp + 0x10], 0x81be
mov dword [esp + 0x12], 0
mov dword [esp + 0x16], 0
mov dword [esp + 0x19], 0
mov ecx, 0x59a58517
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx - 0x59a5850f]
mov edi, ecx
and edi, esi
add edi, edi
sub esi, edi
add esi, ecx
mov dword [esp + 4], esi
mov ebx, dword [esp + 4]
add bl, 0x5f
mov byte [esp + ecx - 0x59a5850f], bl
cmp ecx, 0x59a5852b
je 0xb0bc27
movzx esi, byte [esp + ecx - 0x59a5850e]
lea edi, [ecx + 1]
and edi, esi
add edi, edi
sub esi, edi
add esi, ecx
inc esi
mov dword [esp + 4], esi
mov ebx, dword [esp + 4]
add bl, 0x5f
mov byte [esp + ecx - 0x59a5850e], bl
add ecx, 2
jmp 0xb0bbd0
lea ecx, [esp + 0x24]
lea esi, [esp + 8]
push 0
push ecx
push 8
push eax
lea eax, [esp + 0x38]
push eax
push esi
push edx
call fcn.00b0c6d0
add esp, 0x1c
test al, al
je 0xb0bcd6
mov word [esp + 0x28], 7
mov byte [esp + 0x2a], 0xb4
mov dword [esp + 0x2b], 0
mov dword [esp + 0x2f], 0
mov dword [esp + 0x33], 0
mov eax, 0x9ea2c899
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x615d378f]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0xd1
mov byte [esp + eax + 0x615d378f], cl
cmp eax, 0x9ea2c8a7
je 0xb0bcdd
movzx ecx, byte [esp + eax + 0x615d3790]
lea edx, [eax + 1]
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
inc ecx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0xd1
mov byte [esp + eax + 0x615d3790], cl
add eax, 2
jmp 0xb0bc80
xor ebx, ebx
jmp 0xb0bfe3
xor ecx, ecx
mov eax, dword [esp + 0x24]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax + ecx]
mov dh, byte [esp + ecx + 0x28]
test dl, dl
je 0xb0bd01
inc ecx
cmp dl, dh
je 0xb0bcf0
mov bl, 1
cmp dl, dh
je 0xb0bfda
mov dword [esp + 0x28], 0x47757043
mov dword [esp + 0x2c], 0xc7747a71
mov dword [esp + 0x30], 0
mov dword [esp + 0x33], 0
mov eax, 0xcab536a2
movzx ecx, byte [esp + eax + 0x354ac986]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0x92
mov byte [esp + eax + 0x354ac986], cl
cmp eax, 0xcab536b0
je 0xb0bd86
movzx ecx, byte [esp + eax + 0x354ac987]
lea edx, [eax + 1]
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
inc ecx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0x92
mov byte [esp + eax + 0x354ac987], cl
add eax, 2
jmp 0xb0bd30
mov eax, dword [esp + 0x24]
movzx ebx, byte [esp + 0x28]
mov ecx, eax
test bl, bl
je 0xb0bdc6
lea edx, [esp + 0x28]
mov esi, eax
mov ecx, eax
jmp 0xb0bda7
movzx ebx, byte [edx]
test bl, bl
je 0xb0bdc6
mov bh, byte [esi]
test bh, bh
je 0xb0bea6
inc esi
inc edx
lea edi, [ecx + 1]
cmp bh, bl
je 0xb0bdbe
mov ecx, edi
mov esi, edi
je 0xb0bda0
lea edx, [esp + 0x28]
jmp 0xb0bda0
xor ebx, ebx
test ecx, ecx
je 0xb0bfda
mov dword [esp + 0x28], 0x50273224
mov dword [esp + 0x2c], 0x5b4f8fa9
mov dword [esp + 0x30], 0x838a505f
mov dword [esp + 0x34], 0x6c5c4668
mov dword [esp + 0x38], 0xfb82a65d
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x3f], 0
nop
nop
nop
nop
movzx eax, byte [esp + ebx + 0x28]
lea ecx, [ebx + 0x3b73cb3d]
lea esi, [ebx + eax]
add esi, 0x3b73cb3d
and ecx, eax
add ecx, ecx
sub esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 8]
add al, 0x55
mov byte [esp + ebx + 0x28], al
mov eax, ebx
and eax, 1
xor ebx, 1
lea ebx, [ebx + eax*2]
cmp ebx, 0x1b
jb 0xb0be10
lea esi, [esp + 0x28]
mov ecx, 5
lea eax, [esp + 8]
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x1c]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov ecx, dword [esp + 0x24]
movzx ebx, byte [esp + 8]
test bl, bl
je 0xb0bead
mov edx, eax
mov esi, ecx
jmp 0xb0be87
movzx ebx, byte [edx]
test bl, bl
je 0xb0beaf
mov bh, byte [ecx]
test bh, bh
je 0xb0bfd4
inc ecx
inc edx
lea edi, [esi + 1]
cmp bh, bl
je 0xb0be9e
mov esi, edi
mov ecx, edi
je 0xb0be80
lea edx, [esp + 8]
jmp 0xb0be80
xor ebx, ebx
jmp 0xb0bfda
mov esi, ecx
test esi, esi
je 0xb0bfd4
mov word [esp + 0x28], 0xbfa2
mov byte [esp + 0x2a], 0xc2
mov dword [esp + 0x2b], 0
mov dword [esp + 0x2f], 0
mov dword [esp + 0x33], 0
mov ecx, 0x1680e5e0
movzx edx, byte [esp + ecx - 0x1680e5b8]
mov edi, ecx
and edi, edx
add edi, edi
sub edx, edi
add edx, ecx
mov dword [esp + 4], edx
mov edx, dword [esp + 4]
add dl, 0xe0
mov byte [esp + ecx - 0x1680e5b8], dl
cmp ecx, 0x1680e5ee
je 0xb0bf37
movzx edx, byte [esp + ecx - 0x1680e5b7]
lea edi, [ecx + 1]
and edi, edx
add edi, edi
sub edx, edi
add edx, ecx
inc edx
mov dword [esp + 4], edx
mov edx, dword [esp + 4]
add dl, 0xe0
mov byte [esp + ecx - 0x1680e5b7], dl
add ecx, 2
jmp 0xb0bee0
movzx ebx, byte [esp + 0x28]
test bl, bl
je 0xb0bf74
add esi, 0x13
lea ecx, [esp + 0x28]
mov edx, esi
mov edi, esi
jmp 0xb0bf59
movzx ebx, byte [ecx]
test bl, bl
mov edi, eax
je 0xb0bf89
mov bh, byte [edx]
test bh, bh
je 0xb0bfd4
inc edx
inc ecx
mov eax, edi
inc edi
cmp bh, bl
je 0xb0bf6c
mov eax, edi
mov edx, edi
je 0xb0bf50
lea ecx, [esp + 0x28]
jmp 0xb0bf50
mov byte [0xb4a3a4], 1
mov ebx, 0xb4a3a6
mov word [ebx], 0
mov bl, 1
jmp 0xb0bfd6
test edi, edi
je 0xb0bfd4
mov byte [0xb4a3a4], 1
mov dword [esp + 0x28], 0
mov ebx, 0xb4a3a6
cmp edi, esi
jbe 0xb0bf80
cmp byte [esi], 0
je 0xb0bf80
lea eax, [esp + 0x28]
push eax
push edi
push esi
call fcn.00b0d2d0
add esp, 0xc
movzx ecx, word [esp + 0x28]
mov word [ebx], cx
add ebx, 2
cmp ebx, 0xb4a5a4
jae 0xb0bf80
add esi, eax
cmp esi, edi
jb 0xb0bfa5
jmp 0xb0bf80
xor ebx, ebx
mov eax, dword [esp + 0x24]
push eax
call fcn.00b3a870
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret