Function at 0x1003bcc0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10159ea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov al, byte [0x1018c569]
mov dword [esp + 4], ecx
mov cl, byte [0x1018c565]
push ebx
push ebp
push esi
sub al, cl
push edi
push eax
push ecx
push 0x21
call fcn.10039200
mov byte [0x1018c567], al
mov al, byte [0x10198014]
add esp, 0xc
xor ebx, ebx
mov esi, 8
mov word [esp + 0x28], 0x56
test al, 1
mov word [esp + 0x2a], 7
mov word [esp + 0x2c], 0xd
mov word [esp + 0x2e], bx
mov word [esp + 0x30], 0xe
mov word [esp + 0x32], 3
mov word [esp + 0x34], 2
mov word [esp + 0x36], si
mov word [esp + 0x38], 0x34
mov word [esp + 0x3a], 0x2b
mov word [esp + 0x3c], 0x1d
mov word [esp + 0x3e], 4
mov word [esp + 0x40], si
jne 0x1003bd86
or al, 1
mov ecx, 0x10198018
mov byte [0x10198014], al
lea eax, [esp + 0x28]
push eax
call fcn.10043bf0
push 0x10043be0
call fcn.1013c36b
add esp, 4
mov cl, byte [esp + 0x13]
mov ebp, dword [0x10198018]
mov byte [esp + 0x18], cl
push ebx
lea ecx, [esp + 0x1c]
call fcn.1000bc70
push ebp
call fcn.1013c2c2
add esp, 4
mov edi, eax
lea ecx, [esp + 0x18]
push 1
push edi
call fcn.1000c010
test al, al
je 0x1003bdd4
mov edx, dword [esp + 0x1c]
push edi
push ebp
push edx
call fcn.100017d0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
add esp, 0xc
mov word [eax + edi*2], bx
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], ebx
push ecx
call fcn.1006a330
add esp, 4
lea ecx, [esp + 0x18]
test al, al
push 1
mov dword [esp + 0x50], 0xffffffff
sete byte [esp + 0x17]
call fcn.1000bc70
cmp byte [esp + 0x13], bl
je 0x1003be1a
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
mov ecx, dword [esp + 0x14]
call fcn.1003c030
test al, al
jne 0x1003c007
mov al, byte [0x10198014]
mov word [esp + 0x28], 0x56
test al, 1
mov word [esp + 0x2a], 7
mov word [esp + 0x2c], 0xd
mov word [esp + 0x2e], bx
mov word [esp + 0x30], 0xe
mov word [esp + 0x32], 3
mov word [esp + 0x34], 2
mov word [esp + 0x36], si
mov word [esp + 0x38], 0x34
mov word [esp + 0x3a], 0x2b
mov word [esp + 0x3c], 0x1d
mov word [esp + 0x3e], 4
mov word [esp + 0x40], si
jne 0x1003bef1
or al, 1
push 0x1c
mov byte [0x10198014], al
call fcn.1013c2df
add esp, 4
mov dword [0x10198018], eax
mov edi, 0x30
xor esi, esi
mov bp, word [esp + esi + 0x28]
push edi
mov edx, ebp
mov ecx, 0x10198018
and edx, 0xffff
push edx
call fcn.1004a650
mov ecx, dword [0x10198018]
xor eax, ebp
xor eax, edi
xor edi, edi
mov word [esi + ecx], ax
mov eax, dword [0x10198018]
mov di, word [esi + eax]
add esi, 2
cmp esi, 0x1a
jb 0x1003bea6
push 0x10043be0
mov word [eax + 0x1a], bx
call fcn.1013c36b
add esp, 4
mov esi, dword [0x10198018]
mov dl, byte [esp + 0x13]
push esi
mov byte [esp + 0x1c], dl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x18]
push eax
push esi
call fcn.1000bf40
mov esi, dword [0x10191a54]
push ebx
mov dword [esp + 0x50], 1
call fcn.1013c3ac
add esp, 4
add eax, 0xe10
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10058e60
mov ecx, eax
call fcn.10067f30
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], 0xffffffff
cmp ecx, ebx
je 0x1003bf7d
mov al, byte [ecx - 1]
cmp al, bl
je 0x1003bf71
cmp al, 0xff
je 0x1003bf71
dec al
mov byte [ecx - 1], al
jmp 0x1003bf7d
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov eax, 0x79
mov ecx, dword [0x1018c53c]
cdq
idiv dword [0x1018c540]
push 0x6a
push 0xffffffffffffffbb
mov dl, byte [edx + ecx]
push edx
call fcn.10039200
mov cl, 0x5a
add esp, 0xc
imul cl
push eax
push 0x3f
push 0x47
call fcn.1003c020
mov dl, 0x16
mov cl, 0x88
imul dl
add esp, 8
sub cl, al
push ecx
call fcn.1003c020
mov dl, byte [0x1018c567]
mov eax, 0xbc
push edx
push 0x35
cdq
idiv dword [0x1018c540]
mov eax, dword [0x1018c53c]
mov cl, byte [edx + eax]
push ecx
push 0xffffffffffffff9d
call fcn.100398e0
mov al, byte [0x1018c565]
add esp, 0x18
inc al
pop edi
pop esi
mov byte [0x1018c565], al
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret