Function at 0x8c15f2
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [0x761cb8]
push esi
push edi
mov dword [esp + 0x10], ebp
mov eax, dword [0x7608c0]
add eax, ebp
jne 0x8c1687
push 0x75a7d0
call fcn.0088e022
add esp, 4
push 0x38c
push 0x64db6c
call fcn.0088de12
push eax
call fcn.0088de02
mov ecx, dword [0x67fa0c]
add esp, 4
push eax
push ecx
push 0x75a7d0
call fcn.00924278
push 0x75a7d0
push 0x64dc74
call fcn.00925512
mov edx, dword [0x67fa10]
push 0x75a7d0
push edx
call fcn.00925512
mov eax, dword [0x7608c8]
mov dword [0x7608c4], 1
mov ecx, dword [eax]
add esp, 0x24
test ecx, ecx
je 0x8c1690
mov dword [0x7608c8], 0
jmp 0x8c1690
mov eax, dword [0x7608c4]
test eax, eax
je 0x8c16c7
push 0x38c
push 0x64db6c
call fcn.0088de12
push eax
call fcn.0088de02
mov ecx, dword [0x67fa14]
add esp, 4
push eax
push ecx
push 0x75a7d0
call fcn.00924278
push 0x3b9aca00
call fcn.0088de82
add esp, 0x18
mov ebx, dword [esp + 0x20]
mov edx, dword [0x7608c0]
add edx, ebx
jne 0x8c1750
push 0x75a7d0
call fcn.0088e022
add esp, 4
push 0x38d
push 0x64db6c
call fcn.0088de12
push eax
call fcn.0088de02
add esp, 4
push eax
mov eax, dword [0x67fa0c]
push eax
push 0x75a7d0
call fcn.00924278
push 0x75a7d0
push 0x64b88c
call fcn.00925512
mov ecx, dword [0x67fa10]
push 0x75a7d0
push ecx
call fcn.00925512
mov edx, dword [0x7608c8]
mov dword [0x7608c4], 1
mov eax, dword [edx]
add esp, 0x24
test eax, eax
je 0x8c1759
mov dword [0x7608c8], 0
jmp 0x8c1759
mov eax, dword [0x7608c4]
test eax, eax
je 0x8c178f
push 0x38d
push 0x64db6c
call fcn.0088de12
push eax
call fcn.0088de02
add esp, 4
push eax
mov eax, dword [0x67fa14]
push eax
push 0x75a7d0
call fcn.00924278
push 0x3b9aca00
call fcn.0088de82
add esp, 0x18
mov ecx, dword [esp + 0x10]
mov edx, 1
xchg dword [ecx], edx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x8c17b9
push 0x38f
push 0x64db6c
push ebp
call fcn.008c9802
add esp, 0xc
mov cl, byte [ebx]
xor eax, eax
test cl, cl
mov edx, ebx
je 0x8c17e7
movsx ecx, cl
mov esi, eax
xor esi, ecx
xor esi, 0xff946a4f
shl esi, 8
add esi, eax
xor esi, 0x573ed587
add esi, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
mov eax, esi
jne 0x8c17c3
mov ecx, dword [ebp + 0x24]
xor eax, 0x62946a4f
xor edx, edx
div dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov edi, dword [ecx + edx*4]
test edi, edi
je 0x8c183e
lea esp, [esp]
mov esi, dword [edi]
mov eax, ebx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x8c182a
test cl, cl
je 0x8c1826
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x8c182a
add eax, 2
add esi, 2
test cl, cl
jne 0x8c1806
xor eax, eax
jmp 0x8c182f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x8c194c
mov edi, dword [edi + 0x44]
test edi, edi
jne 0x8c1802
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebp + 0x20]
xor ebx, 0x62946a4f
xor edx, edx
mov eax, ebx
div dword [ecx + 4]
mov ecx, dword [ecx + 8]
xor edi, edi
mov esi, dword [ecx + edx*4]
cmp esi, edi
je 0x8c1876
lea esp, [esp]
mov eax, dword [esp + 0x24]
cmp dword [esi + 4], eax
je 0x8c19f1
mov esi, dword [esi + 0x40]
cmp esi, edi
jne 0x8c1862
push 0x3c9
push 0x64db6c
push 0xc0
call fcn.00887d12
mov edx, dword [esp + 0x2c]
push edx
mov esi, eax
call fcn.0088ea22
mov ecx, dword [esp + 0x34]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x54]
add esp, 0x10
add edx, 1
adc eax, edi
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x50], edx
mov eax, edx
mov dword [esi + 8], eax
mov edx, dword [ebp + 0x54]
mov eax, dword [esp + 0x28]
cmp eax, 0x1f5
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edi
jne 0x8c18d4
cmp ecx, dword [ebp + 0x48]
jbe 0x8c18d4
mov dword [ebp + 0x48], ecx
push 0x3e6
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0xb4], edi
lea edi, [esi + 0x48]
push 0x64db6c
push edi
mov dword [esi + 0x20], eax
mov dword [esi + 0xb8], 0x15d80
call fcn.008e5ec2
push 0x190
push edi
call fcn.008e6d62
xor edi, edi
mov dword [esi + 0x40], edi
mov ecx, dword [ebp + 0x20]
xor edx, edx
mov eax, ebx
div dword [ecx + 4]
mov eax, dword [ecx + 8]
add esp, 0x14
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
cmp eax, edi
jne 0x8c1a69
mov dword [ecx], esi
jmp 0x8c1a7d
push 0x75a7d0
call fcn.0088e022
mov esi, dword [esp + 0x28]
push esi
push 0x64f728
push 0x75a7d0
call fcn.00924278
push ebx
push 0x75a7d0
call fcn.0088e152
mov eax, dword [edi + 4]
push eax
push 0x64f6c0
push 0x75a7d0
call fcn.00924278
add esp, 0x24
test esi, esi
je 0x8c19db
cmp dword [esp + 0x28], 0x1f5
jne 0x8c19db
push 0x64f520
push 0x75a7d0
call fcn.00924278
mov edi, dword [edi + 4]
add esp, 8
mov dword [esp + 0x18], ebp
mov edx, 0
mov ecx, dword [esp + 0x18]
xchg dword [ecx], edx
mov eax, dword [ebp + 4]
test eax, eax
je 0x8c19cd
push ebp
call fcn.008c9a42
add esp, 4
push edi
call fcn.008bcb82
add esp, 4
jmp 0x8c1603
mov dword [esp + 0x20], ebp
mov edx, 0
mov ecx, dword [esp + 0x20]
xchg dword [ecx], edx
mov eax, dword [ebp + 4]
test eax, eax
jmp 0x8c1a54
push eax
push 0x64f4e8
push 0x75a7d0
call fcn.00924278
mov edx, dword [esp + 0x2c]
push edx
push 0x75a7d0
call fcn.0088e152
mov eax, dword [esi + 4]
push eax
push 0x64f498
push 0x75a7d0
call fcn.00924278
mov ecx, dword [esi]
push ecx
push 0x75a7d0
call fcn.0088e152
push 0x75a7d0
push 0x64f45c
call fcn.00925512
add esp, 0x30
mov dword [esp + 0x20], ebp
mov edx, 0
mov ecx, dword [esp + 0x20]
xchg dword [ecx], edx
cmp dword [ebp + 4], edi
je 0x8c1a5f
push ebp
call fcn.008c9a42
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
cmp dword [eax + 0x40], edi
je 0x8c1a7a
lea esp, [esp]
mov eax, dword [eax + 0x40]
cmp dword [eax + 0x40], edi
jne 0x8c1a72
mov dword [eax + 0x40], esi
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x44], edi
mov edi, dword [ebp + 0x24]
push ecx
call fcn.0088e9e2
xor eax, 0x62946a4f
xor edx, edx
div dword [edi + 4]
mov eax, dword [edi + 8]
add esp, 4
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
test eax, eax
jne 0x8c1aaa
mov dword [ecx], esi
jmp 0x8c1abf
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x8c1abc
nop
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x8c1ab2
mov dword [eax + 0x44], esi
mov edx, dword [ebp + 0x58]
mov ecx, dword [ebp + 0x60]
inc edx
mov dword [ebp + 0x58], edx
mov dword [esi + 0xac], ecx
mov dword [esi + 0xb0], 0
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x8c1ae6
mov dword [eax + 0xb0], esi
mov eax, dword [ebp + 0x5c]
test eax, eax
mov dword [ebp + 0x60], esi
jne 0x8c1af3
mov dword [ebp + 0x5c], esi
mov dword [esp + 0x20], ebp
mov edx, 0
mov ecx, dword [esp + 0x20]
xchg dword [ecx], edx
mov eax, dword [ebp + 4]
test eax, eax
je 0x8c1b12
push ebp
call fcn.008c9a42
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret