Function at 0x1000b2e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x10027004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x120], edx
push edi
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x124], 0
mov ebx, dword [esi + 0x118]
mov dword [ebp - 0x114], ebx
test ebx, ebx
jne 0x1000b42c
mov eax, dword [0x100283d8]
mov ebx, dword [esi + 0x114]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x100285d0]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
inc dword [edi + 4]
add ecx, 0xfffff988
mov dword [edi], eax
mov eax, dword [edi + 8]
push 2
add eax, ecx
lea ecx, [ebp - 0x110]
push 4
push ecx
push ebx
call eax
test eax, eax
jle 0x1000b5ee
cmp eax, 4
jne 0x1000b660
mov ah, byte [esi + 0x134]
lea edx, [ebp - 0x110]
xor ebx, ebx
mov al, bl
add al, ah
xor al, byte [edx]
sub al, 0x68
mov cl, al
add cl, cl
mov byte [edx], cl
cmp al, 0x80
jb 0x1000b39f
or cl, 1
mov byte [edx], cl
inc ebx
inc edx
cmp ebx, 4
jl 0x1000b388
mov dl, byte [esi + 0x136]
lea ecx, [ebp - 0x110]
mov edi, dword [esi + 0x104]
xor ebx, ebx
nop word [eax + eax]
mov al, bl
lea ecx, [ecx + 1]
add al, dl
inc ebx
xor edx, edx
movzx eax, al
div edi
mov al, byte [esi + edx + 4]
xor byte [ecx - 1], al
mov dl, byte [esi + 0x136]
cmp ebx, 4
jl 0x1000b3c0
mov ecx, dword [ebp - 0x110]
lea eax, [ecx - 8]
cmp eax, 0x1ffff8
ja 0x1000b5ee
push ecx
call fcn.10011cab
mov ebx, eax
mov dword [esi + 0x120], 0
mov eax, dword [ebp - 0x110]
add esp, 4
mov dword [ebp - 0x114], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], eax
mov dword [esi + 0x124], 0
mov ecx, dword [esi + 0x120]
mov eax, dword [esi + 0x11c]
sub eax, ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x128], eax
test eax, eax
jle 0x1000b574
mov eax, dword [0x100283d8]
mov ebx, dword [esi + 0x114]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x100285d0]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
inc dword [edi + 4]
add ecx, 0xfffff988
mov dword [edi], eax
mov eax, dword [edi + 8]
push 0
push dword [ebp - 0x128]
add eax, ecx
mov ecx, dword [ebp - 0x118]
add ecx, dword [ebp - 0x114]
push ecx
push ebx
call eax
mov ecx, eax
test ecx, ecx
jle 0x1000b5ee
mov eax, dword [esi + 0x11c]
add dword [esi + 0x120], ecx
mov dword [ebp - 0x118], eax
cmp eax, dword [esi + 0x120]
je 0x1000b4d6
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011c5f
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 0x118]
xor edx, edx
mov dword [esi + 0x124], 8
mov dword [ebp - 0x114], eax
test eax, eax
jle 0x1000b52b
mov al, byte [esi + 0x134]
add al, dl
xor al, byte [ebx]
sub al, 0x68
mov cl, al
add cl, cl
mov byte [ebx], cl
cmp al, 0x80
jb 0x1000b50d
or cl, 1
mov byte [ebx], cl
mov eax, dword [ebp - 0x118]
inc edx
inc ebx
cmp edx, eax
jl 0x1000b4f2
mov ecx, dword [esi + 0x11c]
mov ebx, dword [esi + 0x118]
mov dword [ebp - 0x114], ecx
add byte [esi + 0x134], al
xor ecx, ecx
mov eax, dword [ebp - 0x114]
test eax, eax
jle 0x1000b56e
nop dword [eax]
mov al, byte [esi + 0x136]
lea ebx, [ebx + 1]
add al, cl
xor edx, edx
movzx eax, al
inc ecx
div dword [esi + 0x104]
mov al, byte [esi + edx + 4]
xor byte [ebx - 1], al
mov eax, dword [ebp - 0x114]
cmp ecx, eax
jl 0x1000b540
mov ebx, dword [esi + 0x118]
add byte [esi + 0x136], al
cmp byte [ebx + 4], 0x64
jne 0x1000b63c
mov eax, dword [esi + 0x124]
mov ecx, dword [esi + 0x11c]
sub ecx, eax
add eax, ebx
mov ebx, dword [esi + 0x110]
mov dword [ebp - 0x128], eax
mov eax, dword [0x100283d8]
mov dword [ebp - 0x118], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x100285d4]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
inc dword [edi + 4]
add ecx, 0xfffff988
push 0
push dword [ebp - 0x118]
mov dword [edi], eax
push dword [ebp - 0x128]
mov eax, dword [edi + 8]
add eax, ecx
push ebx
call eax
mov dword [ebp - 0x124], eax
test eax, eax
jns 0x1000b60d
mov edx, dword [ebp - 0x120]
xor eax, eax
pop edi
pop esi
pop ebx
mov dword [edx], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011c5f
mov esp, ebp
pop ebp
ret
add dword [esi + 0x124], eax
mov eax, dword [esi + 0x124]
cmp eax, dword [esi + 0x11c]
je 0x1000bb88
mov eax, dword [ebp - 0x124]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011c5f
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x128], 0
je 0x1000b673
cmp dword [esi + 0x138], 0
jne 0x1000b673
mov edx, dword [ebp - 0x120]
mov ecx, esi
push 1
call fcn.1000b190
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011c5f
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 4]
cmp al, 0x78
jne 0x1000b751
mov eax, dword [esi + 0x124]
lea ecx, [ebp - 0x114]
add eax, dword [esi + 0x118]
lea edx, [ebp - 0x110]
push 0
push ecx
mov dword [ebp - 0x110], 0
movzx ecx, byte [eax]
mov dword [ebp - 0x114], 0
call fcn.100037e0
mov edi, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
test edi, edi
jle 0x1000b72d
lea eax, [edi + 0x24]
cmp eax, 0x200000
jae 0x1000b72d
lea eax, [edi + 0xc]
push eax
mov dword [ebp - 0x118], eax
call fcn.10011cab
mov ebx, eax
add esp, 4
mov dword [ebx + 4], edi
lea ecx, [ebx + 0xc]
mov dword [ebx + 8], 0
test edi, edi
je 0x1000b70e
mov edx, dword [ebp - 0x110]
sub edx, ecx
nop dword [eax]
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edi, 1
jne 0x1000b700
push dword [ebp - 0x118]
mov dl, 0x78
mov ecx, esi
push ebx
call fcn.1000ae40
push ebx
call fcn.10011cd7
mov ecx, dword [ebp - 0x110]
add esp, 0xc
test ecx, ecx
je 0x1000b73a
push ecx
call fcn.10011cd7
add esp, 4
mov edx, dword [ebp - 0x120]
mov ecx, esi
push 1
call fcn.1000b190
add esp, 4
jmp 0x1000bb88
cmp al, 0x82
jne 0x1000b7bb
push 0x1fffe8
mov dword [ebp - 0x114], 0
call fcn.10011cab
add esp, 4
mov edi, eax
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
call fcn.10004680
mov ecx, dword [ebp - 0x114]
test ecx, ecx
jle 0x1000b79e
lea eax, [ecx + 0x18]
cmp eax, 0x200000
jae 0x1000b79e
mov dl, 0x82
push ecx
push edi
mov ecx, esi
call fcn.1000ae40
add esp, 8
push edi
call fcn.10011cd7
mov edx, dword [ebp - 0x120]
mov ecx, esi
push 1
call fcn.1000b190
add esp, 8
jmp 0x1000bb88
cmp al, 0x8c
jne 0x1000b7fe
push 0x1fffe8
mov dword [ebp - 0x114], 0
call fcn.10011cab
add esp, 4
mov edi, eax
lea eax, [ebp - 0x114]
mov ecx, edi
push eax
call fcn.10004440
mov ecx, dword [ebp - 0x114]
test ecx, ecx
jle 0x1000b79e
lea eax, [ecx + 0x18]
cmp eax, 0x200000
jae 0x1000b79e
mov dl, 0x8c
jmp 0x1000b792
cmp al, 0x96
jne 0x1000b924
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028544]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
inc dword [edi + 4]
add ecx, 0xfffff988
mov dword [edi], eax
mov eax, dword [edi + 8]
add eax, ecx
call eax
mov dword [ebp - 0x10c], eax
mov eax, dword [0x100283d8]
mov dword [ebp - 0x108], 0
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028548]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
inc dword [edi + 4]
add ecx, 0xfffff988
mov dword [edi], eax
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [edi + 8]
push 0x10004240
add eax, ecx
call eax
mov ebx, dword [ebp - 0x108]
test ebx, ebx
je 0x1000bb88
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028620]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
inc dword [edi + 4]
add ecx, 0xfffff988
mov dword [edi], eax
lea eax, [ebp - 0x104]
push 0xff
push eax
mov eax, dword [edi + 8]
push ebx
add eax, ecx
call eax
xor eax, eax
cmp byte [ebp - 0x104], al
je 0x1000b8fb
nop word [eax + eax]
inc eax
cmp byte [ebp + eax - 0x104], 0
jne 0x1000b8f0
inc eax
mov dl, 0x96
push eax
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
call fcn.1000ae40
mov edx, dword [ebp - 0x120]
mov ecx, esi
push 1
call fcn.1000b190
add esp, 0xc
jmp 0x1000bb88
cmp al, 0xa0
jne 0x1000baff
mov edi, dword [0x10028660]
xor ecx, ecx
sub edi, dword [0x100283e0]
mov edx, 4
inc edi
mov dword [ebp - 0x118], edi
lea eax, [edi*2 + 5]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10011cab
add esp, 4
mov dword [ebp - 0x110], eax
xor ebx, ebx
xor edx, edx
test edi, edi
jle 0x1000b99f
mov esi, eax
nop
mov eax, dword [0x100283d8]
mov ecx, dword [edx*4 + 0x100283e0]
inc edx
add ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 4]
mov dword [esi + ebx*4], eax
mov eax, dword [ecx]
mov dword [esi + ebx*4 + 4], eax
add ebx, 2
cmp edx, edi
jl 0x1000b970
mov esi, dword [ebp - 0x108]
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x1002864c]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
inc dword [edi + 4]
mov dword [edi], eax
mov eax, dword [edi + 8]
mov eax, dword [ecx + eax - 0x678]
mov ecx, dword [ebp - 0x110]
mov dword [ecx + ebx*4], eax
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028650]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
inc dword [edi + 4]
mov dword [edi], eax
mov eax, dword [edi + 8]
mov eax, dword [ecx + eax - 0x678]
mov ecx, dword [ebp - 0x110]
mov dword [ecx + ebx*4 + 4], eax
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028654]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
inc dword [edi + 4]
mov dword [edi], eax
mov eax, dword [edi + 8]
mov eax, dword [ecx + eax - 0x678]
mov ecx, dword [ebp - 0x110]
mov dword [ecx + ebx*4 + 8], eax
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028658]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
inc dword [edi + 4]
mov dword [edi], eax
mov eax, dword [edi + 8]
mov eax, dword [ecx + eax - 0x678]
mov ecx, dword [ebp - 0x110]
mov dword [ecx + ebx*4 + 0xc], eax
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x1002865c]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
mov dl, 0xa0
inc dword [edi + 4]
mov dword [edi], eax
mov eax, dword [edi + 8]
mov edi, dword [ebp - 0x110]
mov eax, dword [ecx + eax - 0x678]
mov ecx, esi
mov dword [edi + ebx*4 + 0x10], eax
mov eax, dword [ebp - 0x118]
lea eax, [eax*8 + 0x14]
push eax
push edi
call fcn.1000ae40
push edi
call fcn.10011cd7
mov edx, dword [ebp - 0x120]
mov ecx, esi
push 1
call fcn.1000b190
add esp, 0x10
jmp 0x1000bb88
cmp al, 0xaa
jne 0x1000bb88
mov eax, dword [esi + 0x118]
xor ecx, ecx
add eax, 8
cmp byte [eax], 1
sete cl
add eax, 1
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x118], eax
jne 0x1000bb2d
xor ebx, ebx
jmp 0x1000bb3a
xor ebx, ebx
cmp byte [eax], bl
je 0x1000bb3a
inc ebx
cmp byte [ebx + eax], 0
jne 0x1000bb33
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x100285e8]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov edx, dword [ebp - 0x118]
inc dword [edi + 4]
push 0x3e8
push esi
push dword [ebp - 0x108]
lea ecx, [edx + 1]
mov dword [edi], eax
add ecx, ebx
push ecx
mov ecx, dword [edi + 8]
push edx
mov edx, dword [edi + 0xc]
add edx, 0xfffff988
add ecx, edx
call ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x124]
xor ecx, ebp
pop edi
mov dword [esi + 0x118], 0
pop esi
pop ebx
call fcn.10011c5f
mov esp, ebp
pop ebp
ret