Function at 0x1007bcb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1015d718
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp]
call dword [eax + 0x10]
test al, al
je 0x1007be11
mov al, byte [0x101974b4]
mov word [esp + 0x1c], 0x6f
test al, 1
mov word [esp + 0x1e], 0x3b
mov word [esp + 0x20], 6
mov word [esp + 0x22], 0xe
mov word [esp + 0x24], 3
mov word [esp + 0x26], 0xc
mov word [esp + 0x28], 8
jne 0x1007bd3d
mov bl, al
lea ecx, [esp + 0x1c]
or bl, 1
push ecx
mov ecx, 0x101974b8
mov byte [0x101974b4], bl
call fcn.10043f50
push 0x1007dc80
call fcn.1013c36b
add esp, 4
mov dl, byte [esp + 0x13]
mov edi, dword [0x101974b8]
xor ebx, ebx
lea ecx, [esp + 0x2c]
push ebx
mov byte [esp + 0x30], dl
call fcn.1000bc70
push edi
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x2c]
push 1
push esi
call fcn.1000c010
test al, al
je 0x1007bd8b
mov eax, dword [esp + 0x30]
push esi
push edi
push eax
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x2c]
push esi
call fcn.1000bff0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x80], ebx
call fcn.1007d400
or esi, 0xffffffff
lea ecx, [esp + 0x14]
push esi
push eax
mov byte [esp + 0x80], 1
call fcn.100303e0
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x7c], 4
call fcn.1000bc70
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 3
call fcn.1000bc70
mov byte [0x1018c91e], 0x4d
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x10]
test al, al
je 0x1007be04
mov ecx, dword [0x10191a54]
push esi
push ebp
call fcn.10058e40
mov ecx, eax
call fcn.10055d20
test eax, eax
jne 0x1007be26
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], esi
call fcn.10030510
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
mov eax, 0xc0
mov edx, 0xfa
mov word [esp + 0x58], ax
mov word [esp + 0x5e], ax
mov word [esp + 0x6c], ax
mov al, byte [0x1019749c]
mov ecx, 0xd1
mov word [esp + 0x4c], dx
test al, 1
mov word [esp + 0x4e], 0xd0
mov word [esp + 0x50], 0xd5
mov word [esp + 0x52], 0xc1
mov word [esp + 0x54], 0xc4
mov word [esp + 0x56], cx
mov word [esp + 0x5a], dx
mov word [esp + 0x5c], 0xcb
mov word [esp + 0x60], 0xdd
mov word [esp + 0x62], cx
mov word [esp + 0x64], dx
mov word [esp + 0x66], cx
mov word [esp + 0x68], 0xcc
mov word [esp + 0x6a], 0xc8
jne 0x1007bf07
or al, 1
push 0x24
mov byte [0x1019749c], al
call fcn.1013c2df
add esp, 4
mov dword [0x101974a0], eax
xor esi, esi
mov di, word [esp + esi + 0x4c]
push 0xa5
mov ecx, edi
and ecx, 0xffff
push ecx
mov ecx, 0x101974a0
call fcn.100a8ee0
mov edx, dword [0x101974a0]
add eax, 0xa5
xor eax, edi
mov word [esi + edx], ax
add esi, 2
cmp esi, 0x22
jb 0x1007bebb
mov eax, dword [0x101974a0]
push 0x1007eca0
mov word [eax + 0x22], bx
call fcn.1013c36b
add esp, 4
mov esi, dword [0x101974a0]
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x30], cl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x2c]
push eax
push esi
call fcn.1000bf40
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1c]
mov bl, 5
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x80], bl
call fcn.1007d400
mov esi, eax
mov edi, dword [0x10191a54]
push 0
mov byte [esp + 0x7c], 6
call fcn.1013c3ac
mov ecx, dword [ebp + 0x20]
add esp, 4
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
mov ecx, edi
push edx
push esi
call fcn.10058e60
mov ecx, eax
call fcn.10067f30
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x78], bl
je 0x1007bfaf
mov cl, byte [eax - 1]
test cl, cl
je 0x1007bfa3
cmp cl, 0xff
je 0x1007bfa3
dec cl
mov byte [eax - 1], cl
jmp 0x1007bfaf
add eax, 0xfffffffe
push eax
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
cmp ecx, esi
mov byte [esp + 0x78], 3
je 0x1007bfe6
mov al, byte [ecx - 1]
test al, al
je 0x1007bfda
cmp al, 0xff
je 0x1007bfda
dec al
mov byte [ecx - 1], al
jmp 0x1007bfe6
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 0xffffffff
call fcn.10030510
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret