Function at 0x8bcb82
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [0x761cb8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x14]
mov edx, 1
xchg dword [ecx], edx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
xor ebp, ebp
cmp eax, ebp
je 0x8bcbc3
push 0x433
push 0x64db6c
push edi
call fcn.008c9802
add esp, 0xc
mov esi, dword [esp + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, esi
xor eax, 0x62946a4f
xor edx, edx
div dword [ecx + 4]
mov eax, dword [ecx + 8]
mov ebx, dword [eax + edx*4]
cmp ebx, ebp
lea eax, [eax + edx*4]
je 0x8bcbef
cmp dword [ebx + 4], esi
je 0x8bcc33
mov ebx, dword [ebx + 0x40]
cmp ebx, ebp
jne 0x8bcbe3
push 0x75a7d0
call fcn.0088e022
push esi
push 0x64e470
push 0x75a7d0
call fcn.00924278
add esp, 0x10
mov dword [esp + 0x20], edi
mov edx, 0
mov ecx, dword [esp + 0x20]
xchg dword [ecx], edx
cmp dword [edi + 4], ebp
je 0x8bcc29
push edi
call fcn.008c9a42
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x8bcc43
mov ecx, dword [ebx + 0x40]
mov dword [eax], ecx
jmp 0x8bcd23
mov esi, ecx
cmp dword [esi + 0x40], ebx
je 0x8bcd1d
lea esp, [esp]
mov edx, dword [0x7608c0]
add edx, esi
jne 0x8bccd3
push 0x75a7d0
call fcn.0088e022
add esp, 4
push 0x442
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 0x649c10
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
cmp eax, ebp
je 0x8bccdb
mov dword [0x7608c8], ebp
jmp 0x8bccdb
cmp dword [0x7608c4], ebp
je 0x8bcd11
push 0x442
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 esi, dword [esi + 0x40]
cmp dword [esi + 0x40], ebx
jne 0x8bcc52
mov ecx, dword [ebx + 0x40]
mov dword [esi + 0x40], ecx
mov ebp, dword [ebx]
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x24]
push ebp
call fcn.0088e9e2
xor eax, 0x62946a4f
xor edx, edx
div dword [esi + 4]
mov eax, dword [esi + 8]
add esp, 4
mov edi, dword [eax + edx*4]
test edi, edi
je 0x8bcd86
mov esi, dword [edi]
mov eax, ebp
jmp 0x8bcd52
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x8bcd76
test cl, cl
je 0x8bcd72
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x8bcd76
add eax, 2
add esi, 2
test cl, cl
jne 0x8bcd52
xor eax, eax
jmp 0x8bcd7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x8bcd86
mov edi, dword [edi + 0x44]
test edi, edi
jne 0x8bcd49
mov eax, dword [0x7608c0]
add eax, edi
jne 0x8bce0b
push 0x75a7d0
call fcn.0088e022
add esp, 4
push 0x446
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 0x64e444
call fcn.00925512
mov edx, dword [0x67fa10]
push 0x75a7d0
push edx
call fcn.00925512
mov eax, dword [0x7608c8]
mov esi, 1
mov dword [0x7608c4], esi
mov ecx, dword [eax]
add esp, 0x24
test ecx, ecx
je 0x8bce19
mov dword [0x7608c8], 0
jmp 0x8bce19
mov eax, dword [0x7608c4]
test eax, eax
mov esi, 1
je 0x8bce50
push 0x446
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 eax, dword [0x7608c0]
xor edx, edx
cmp ebx, edi
sete dl
add edx, eax
jne 0x8bced5
push 0x75a7d0
call fcn.0088e022
add esp, 4
push 0x447
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 fcn.0064e414
call fcn.00925512
mov ecx, dword [0x67fa10]
push 0x75a7d0
push ecx
call fcn.00925512
mov edx, dword [0x7608c8]
mov dword [0x7608c4], esi
mov eax, dword [edx]
xor ebp, ebp
add esp, 0x24
cmp eax, ebp
je 0x8bcee0
mov dword [0x7608c8], ebp
jmp 0x8bcee0
mov eax, dword [0x7608c4]
xor ebp, ebp
test eax, eax
je 0x8bcf16
push 0x447
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 edx, dword [ebx]
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x8bcf46
mov edi, edi
movsx ecx, cl
mov edi, ecx
xor edi, eax
xor edi, 0xff946a4f
shl edi, 8
add edi, eax
xor edi, 0x573ed587
add edi, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
mov eax, edi
jne 0x8bcf22
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x24]
xor eax, 0x62946a4f
xor edx, edx
div dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx + edx*4]
cmp eax, ebx
lea ecx, [ecx + edx*4]
jne 0x8bcf6e
mov edx, dword [ebx + 0x44]
mov dword [ecx], edx
jmp 0x8bd04f
mov esi, eax
cmp dword [esi + 0x44], ebx
je 0x8bd044
mov eax, dword [0x7608c0]
add eax, esi
jne 0x8bcff9
push 0x75a7d0
call fcn.0088e022
add esp, 4
push 0x44a
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 0x649c10
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
cmp ecx, ebp
je 0x8bd001
mov dword [0x7608c8], ebp
jmp 0x8bd001
cmp dword [0x7608c4], ebp
je 0x8bd038
push 0x44a
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 esi, dword [esi + 0x44]
cmp dword [esi + 0x44], ebx
jne 0x8bcf79
mov edx, dword [ebx + 0x44]
mov dword [esi + 0x44], edx
mov esi, 1
mov ecx, dword [edi + 0x58]
xor eax, eax
cmp eax, ecx
mov eax, dword [0x7608c0]
sbb ecx, ecx
neg ecx
add ecx, eax
jne 0x8bd0d6
push 0x75a7d0
call fcn.0088e022
add esp, 4
push 0x44c
push 0x64db6c
call fcn.0088de12
push eax
call fcn.0088de02
mov edx, dword [0x67fa0c]
add esp, 4
push eax
push edx
push 0x75a7d0
call fcn.00924278
push 0x75a7d0
push 0x64e3d8
call fcn.00925512
mov eax, dword [0x67fa10]
push 0x75a7d0
push eax
call fcn.00925512
mov ecx, dword [0x7608c8]
mov dword [0x7608c4], esi
mov eax, dword [ecx]
add esp, 0x24
cmp eax, ebp
je 0x8bd0de
mov dword [0x7608c8], ebp
jmp 0x8bd0de
cmp dword [0x7608c4], ebp
je 0x8bd115
push 0x44c
push 0x64db6c
call fcn.0088de12
push eax
call fcn.0088de02
mov edx, dword [0x67fa14]
add esp, 4
push eax
push edx
push 0x75a7d0
call fcn.00924278
push 0x3b9aca00
call fcn.0088de82
add esp, 0x18
dec dword [edi + 0x58]
mov eax, dword [ebx + 0xb0]
cmp eax, ebp
je 0x8bd130
mov ecx, dword [ebx + 0xac]
mov dword [eax + 0xac], ecx
jmp 0x8bd139
mov edx, dword [ebx + 0xac]
mov dword [edi + 0x60], edx
mov eax, dword [ebx + 0xac]
cmp eax, ebp
je 0x8bd151
mov ecx, dword [ebx + 0xb0]
mov dword [eax + 0xb0], ecx
jmp 0x8bd15a
mov edx, dword [ebx + 0xb0]
mov dword [edi + 0x5c], edx
mov edx, dword [ebx + 0xb8]
mov ecx, dword [0x7608c0]
xor eax, eax
cmp edx, 0x15d80
sete al
add eax, ecx
jne 0x8bd1e8
push 0x75a7d0
call fcn.0088e022
add esp, 4
push 0x44e
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 0x64e398
call fcn.00925512
mov edx, dword [0x67fa10]
push 0x75a7d0
push edx
call fcn.00925512
mov eax, dword [0x7608c8]
mov dword [0x7608c4], esi
mov ecx, dword [eax]
add esp, 0x24
cmp ecx, ebp
je 0x8bd1f0
mov dword [0x7608c8], ebp
jmp 0x8bd1f0
cmp dword [0x7608c4], ebp
je 0x8bd227
push 0x44e
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 ecx, dword [ebx + 0x38]
mov eax, dword [0x7608c0]
xor edx, edx
cmp ecx, ebp
sete dl
add edx, eax
jne 0x8bd2ad
push 0x75a7d0
call fcn.0088e022
add esp, 4
push 0x44f
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 0x64e358
call fcn.00925512
mov ecx, dword [0x67fa10]
push 0x75a7d0
push ecx
call fcn.00925512
mov edx, dword [0x7608c8]
mov dword [0x7608c4], esi
mov eax, dword [edx]
add esp, 0x24
cmp eax, ebp
je 0x8bd2b5
mov dword [0x7608c8], ebp
jmp 0x8bd2b5
cmp dword [0x7608c4], ebp
je 0x8bd2eb
push 0x44f
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 [ebx + 0x28]
cmp ecx, ebp
je 0x8bd304
push edi
mov eax, ebx
call fcn.008bc782
mov ecx, dword [ebx + 0x28]
add esp, 4
cmp ecx, ebp
jne 0x8bd2f2
mov edx, dword [ebx + 0x24]
mov eax, dword [0x7608c0]
xor ecx, ecx
cmp edx, ebp
sete cl
add ecx, eax
jne 0x8bd38a
push 0x75a7d0
call fcn.0088e022
add esp, 4
push 0x459
push 0x64db6c
call fcn.0088de12
push eax
call fcn.0088de02
mov edx, dword [0x67fa0c]
add esp, 4
push eax
push edx
push 0x75a7d0
call fcn.00924278
push 0x75a7d0
push 0x64e318
call fcn.00925512
mov eax, dword [0x67fa10]
push 0x75a7d0
push eax
call fcn.00925512
mov ecx, dword [0x7608c8]
mov dword [0x7608c4], esi
mov eax, dword [ecx]
add esp, 0x24
cmp eax, ebp
je 0x8bd392
mov dword [0x7608c8], ebp
jmp 0x8bd392
cmp dword [0x7608c4], ebp
je 0x8bd3c9
push 0x459
push 0x64db6c
call fcn.0088de12
push eax
call fcn.0088de02
mov edx, dword [0x67fa14]
add esp, 4
push eax
push edx
push 0x75a7d0
call fcn.00924278
push 0x3b9aca00
call fcn.0088de82
add esp, 0x18
mov dword [esp + 0x20], edi
mov edx, 0
mov ecx, dword [esp + 0x20]
xchg dword [ecx], edx
cmp dword [edi + 4], ebp
je 0x8bd3e6
push edi
call fcn.008c9a42
add esp, 4
lea eax, [ebx + 0x48]
push eax
call fcn.008e60a2
mov edi, dword [ebx]
mov eax, dword [edi - 8]
mov esi, dword [edi - 0x28]
sub edi, 0x40
add esp, 4
cmp eax, ebp
je 0x8bd40a
push edi
call fcn.0088e8c2
add esp, 4
cmp esi, ebp
je 0x8bd425
lea esp, [esp]
mov ebp, dword [esi + 0x1c]
push esi
push edi
call fcn.0088e752
add esp, 8
test ebp, ebp
mov esi, ebp
jne 0x8bd412
mov eax, dword [ebx - 8]
test eax, eax
mov esi, dword [ebx - 0x28]
lea ebp, [ebx - 0x40]
je 0x8bd43b
push ebp
call fcn.0088e8c2
add esp, 4
test esi, esi
je 0x8bd455
lea ecx, [ecx]
mov edi, dword [esi + 0x1c]
push esi
push ebp
call fcn.0088e752
add esp, 8
test edi, edi
mov esi, edi
jne 0x8bd442
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret