Function at 0x1008b1c0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1015e668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov bl, byte [0x1018c985]
push esi
push edi
call fcn.1006a740
mov eax, 0x2ec
mov ecx, dword [0x1018c95c]
cdq
idiv dword [0x1018c960]
inc bl
mov al, 0x87
mov byte [esp + 0xc], bl
inc bl
mov byte [esp + 0x11], bl
mov bl, byte [edx + ecx]
sub al, bl
mov bl, byte [str.x4_b_]
sub al, bl
push eax
push 0xffffffffffffff84
call fcn.10089100
add esp, 4
push eax
mov eax, 0xf2
cdq
idiv dword [0x1018c960]
mov eax, dword [0x1018c95c]
mov cl, byte [edx + eax]
push ecx
call fcn.10088db0
add esp, 0xc
push eax
mov eax, 0x4c
cdq
idiv dword [0x1018c960]
mov eax, dword [0x1018c95c]
mov cl, byte [edx + eax]
sub cl, 0x16
push ecx
call fcn.10088dc0
mov ecx, dword [0x1018c960]
push eax
mov eax, 0x3c4
mov esi, dword [0x1018c95c]
cdq
idiv ecx
mov eax, 0x2a2
mov edi, dword [esp + 0x1d]
mov dl, byte [edx + esi]
push edx
push edi
cdq
idiv ecx
mov cl, byte [0x1018c988]
mov al, byte [edx + esi]
push eax
push 0x4c
push ecx
call fcn.10088da0
mov bl, byte [0x1018c985]
add esp, 0x14
add al, bl
push eax
push 0xffffffffffffffe9
call fcn.10088da0
add esp, 0x14
push eax
mov eax, 0x2e7
cdq
idiv dword [0x1018c960]
mov eax, dword [0x1018c95c]
push 0xffffffffffffffa4
mov cl, byte [edx + eax]
push ecx
push 0x33
call fcn.10088db0
mov dl, 0x92
add esp, 0xc
imul dl
push eax
push 0xffffffffffffffc4
mov eax, dword [esp + 0x18]
mov cl, byte [0x1018c98a]
push 0xffffffffffffffc9
push edi
push eax
push ecx
call fcn.10089100
mov cl, al
mov eax, 0x357
cdq
idiv dword [0x1018c960]
mov eax, dword [0x1018c95c]
add esp, 4
sub cl, byte [edx + eax]
push ecx
call fcn.10088da0
add esp, 0x14
push eax
call fcn.10088db0
mov byte [0x1018c988], al
mov eax, 0x71
mov word [esp + 0x58], ax
mov word [esp + 0x60], ax
mov word [esp + 0x6a], ax
mov word [esp + 0x72], ax
mov al, byte [0x1019723c]
add esp, 0xc
mov edi, 0x43
mov esi, 0x40
mov edx, 0x5b
mov ecx, 0x5c
test al, 1
mov word [esp + 0x44], 0x46
mov word [esp + 0x46], 0x5a
mov word [esp + 0x48], di
mov word [esp + 0x4a], 0x42
mov word [esp + 0x4e], 0x47
mov word [esp + 0x50], si
mov word [esp + 0x52], 0x44
mov word [esp + 0x56], 0x4d
mov word [esp + 0x58], dx
mov word [esp + 0x5a], cx
mov word [esp + 0x5c], cx
mov word [esp + 0x60], si
mov word [esp + 0x62], dx
mov word [esp + 0x64], di
jne 0x1008b3c6
mov bl, al
lea ecx, [esp + 0x44]
push 0x2e
or bl, 1
push ecx
mov ecx, 0x10197240
mov byte [0x1019723c], bl
call fcn.1008b700
push 0x1008c3b0
call fcn.1013c36b
add esp, 4
mov edx, dword [esp + 0x7c]
mov eax, dword [0x10197240]
push ebp
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.1000cdb0
add esp, 0xc
mov ebp, eax
xor ebx, ebx
mov eax, 0xffed
mov dword [esp + 0x78], ebx
mov word [esp + 0x50], ax
mov word [esp + 0x58], ax
mov word [esp + 0x62], ax
mov word [esp + 0x6c], ax
mov al, byte [0x10197244]
mov edi, 2
mov esi, 0xfffb
mov edx, 0xfffa
mov ecx, 0xfff7
test al, 1
mov word [esp + 0x48], 0xfff6
mov word [esp + 0x4a], di
mov word [esp + 0x4c], si
mov word [esp + 0x4e], dx
mov word [esp + 0x52], cx
mov word [esp + 0x54], 0xfffc
mov word [esp + 0x56], 0xfff8
mov word [esp + 0x5a], dx
mov word [esp + 0x5c], 0xffef
mov word [esp + 0x5e], 1
mov word [esp + 0x60], di
mov word [esp + 0x64], di
mov word [esp + 0x66], cx
mov word [esp + 0x68], si
mov word [esp + 0x6a], 0xfff3
jne 0x1008b4d3
or al, 1
push 0x28
mov byte [0x10197244], al
call fcn.1013c2df
add esp, 4
mov dword [0x10197248], eax
xor edi, edi
mov si, word [esp + edi + 0x48]
push 0x72
mov edx, esi
mov ecx, 0x10197248
and edx, 0xffff
push edx
call fcn.1002ea10
sub esi, eax
mov eax, dword [0x10197248]
add esi, 0x72
mov word [edi + eax], si
add edi, 2
cmp edi, 0x26
jb 0x1008b48c
mov ecx, dword [0x10197248]
push 0x1008c3c0
mov word [ecx + 0x26], bx
call fcn.1013c36b
add esp, 4
mov edx, dword [esp + 0x80]
mov eax, dword [0x10197248]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.1000cdb0
push ebp
push eax
mov byte [esp + 0x8c], 1
call fcn.1006ad40
mov ecx, dword [esp + 0x34]
add esp, 0x14
cmp ecx, ebx
mov byte [esp + 0x78], bl
je 0x1008b527
mov al, byte [ecx - 1]
cmp al, bl
je 0x1008b51b
cmp al, 0xff
je 0x1008b51b
dec al
mov byte [ecx - 1], al
jmp 0x1008b527
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x30]
or ebp, 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp ecx, ebx
mov dword [esp + 0x78], ebp
je 0x1008b560
mov al, byte [ecx - 1]
cmp al, bl
je 0x1008b554
cmp al, 0xff
je 0x1008b554
dec al
mov byte [ecx - 1], al
jmp 0x1008b560
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
mov dl, byte [str.x4_b_]
mov eax, 0x75
mov ecx, 0x5e
mov word [esp + 0x2e], ax
mov word [esp + 0x40], ax
mov word [esp + 0x44], ax
mov al, byte [0x1019725c]
mov word [esp + 0x34], cx
mov word [esp + 0x3c], cx
mov ecx, 0x72
test al, 1
mov byte [esp + 0x18], dl
mov word [esp + 0x2c], 0x69
mov word [esp + 0x30], 0x6c
mov word [esp + 0x32], 0x6d
mov word [esp + 0x36], 0x68
mov word [esp + 0x38], 0x6f
mov word [esp + 0x3a], 0x6b
mov word [esp + 0x3e], cx
mov word [esp + 0x42], 0x60
mov word [esp + 0x46], cx
jne 0x1008b633
or al, 1
push 0x1e
mov byte [0x1019725c], al
call fcn.1013c2df
add esp, 4
mov dword [0x10197260], eax
xor esi, esi
mov di, word [esp + esi + 0x2c]
push 1
mov eax, edi
mov ecx, 0x10197260
and eax, 0xffff
push eax
call fcn.100a8ee0
mov ecx, dword [0x10197260]
inc eax
xor eax, edi
mov word [esi + ecx], ax
add esi, 2
cmp esi, 0x1c
jb 0x1008b5ee
mov edx, dword [0x10197260]
push 0x1008c3d0
mov word [edx + 0x1c], bx
call fcn.1013c36b
add esp, 4
mov edi, dword [0x10197260]
mov al, byte [esp + 0x80]
push edi
mov byte [esp + 0x20], al
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x1c]
push 1
push esi
call fcn.1000c010
test al, al
je 0x1008b684
mov ecx, dword [esp + 0x20]
push esi
push edi
push ecx
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x1c]
push esi
call fcn.1000bff0
mov edx, dword [esp + 0x80]
push 1
lea eax, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x84], 2
call fcn.1006adb0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x78], ebp
cmp ecx, ebx
pop ebp
je 0x1008b6d1
mov al, byte [ecx - 1]
cmp al, bl
je 0x1008b6c5
cmp al, 0xff
je 0x1008b6c5
dec al
mov byte [ecx - 1], al
jmp 0x1008b6d1
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
call fcn.100883b0
mov cl, byte [esp + 0x14]
pop edi
add al, cl
mov ecx, dword [esp + 0x68]
pop esi
mov byte [0x1018c98b], al
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4