Function at 0x36f11e
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x30]
push esi
push ebp
push 0
push dword [esp + 0x34]
push dword [esp + 0x34]
push edx
push ecx
call fcn.00356dc3
mov dword [esp + 0x34], 0x57521
mov ecx, ebp
mov dword [esp + 0x38], 0x178d1
mov dword [esp + 0x24], 0x9d05d4
add dword [esp + 0x24], 0xfffff7d2
add dword [esp + 0x24], 0xffffc872
xor dword [esp + 0x24], 0x98606c
mov dword [esp + 0x28], 0x7d998c
add dword [esp + 0x28], 0xffffd888
add dword [esp + 0x28], 0xd16b
xor dword [esp + 0x28], 0x72edf7
mov dword [esp + 0x2c], 0x65103e
imul eax, dword [esp + 0x2c], 0x7c
mov dword [esp + 0x2c], eax
xor dword [esp + 0x2c], 0x30fb22a7
mov dword [esp + 0x30], 0x2a8cf2
imul eax, dword [esp + 0x30], 0x55
mov dword [esp + 0x30], eax
xor dword [esp + 0x30], 0xe28fded
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
mov edx, dword [esp + 0x30]
call fcn.00357d05
mov esi, eax
add esp, 0x24
test esi, esi
je 0x36f48f
mov dword [esp + 0x14], 0x2e0bd3
xor edx, edx
add dword [esp + 0x14], 0xacd2
shr dword [esp + 0x14], 1
xor dword [esp + 0x14], 0x174c52
mov dword [esp + 8], 0xcf8bb3
shl dword [esp + 8], 0xa
shl dword [esp + 8], 5
shl dword [esp + 8], 7
xor dword [esp + 8], 0xecc02000
mov dword [esp + 0xc], 0xdacf5b
add dword [esp + 0xc], 0xffffe628
add dword [esp + 0xc], 0x76b9
shl dword [esp + 0xc], 7
xor dword [esp + 0xc], 0x6d961e40
mov dword [esp + 0x1c], 0x42e705
mov eax, dword [esp + 0x1c]
push ebx
push 0x69
pop ecx
div ecx
push ecx
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0x1bc71
mov dword [esp + 0x18], 0xc38c08
shl dword [esp + 0x18], 8
add dword [esp + 0x18], 0x9c92
add dword [esp + 0x18], 0x7a2e
xor dword [esp + 0x18], 0xc387046c
mov dword [esp + 0x20], 0x434f2b
or dword [esp + 0x20], 0xe95f296e
shr dword [esp + 0x20], 0xd
xor dword [esp + 0x20], 0x2d4bf
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
push dword [esp + 0x24]
mov edx, dword [esi + 0x50]
mov ecx, dword [esp + 0x34]
call fcn.0035b340
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x36f48c
mov dword [esp + 0x18], 0x26e65d
xor edx, edx
shr dword [esp + 0x18], 3
imul ecx, dword [esp + 0x18], 0x48
push 0x29
mov dword [esp + 0x1c], ecx
xor dword [esp + 0x1c], 0x15f9e37
mov dword [esp + 0x24], 0x25387b
add dword [esp + 0x24], 0xffffbff3
xor dword [esp + 0x24], 0x2090ba
mov dword [esp + 0x18], 0xf76570
add dword [esp + 0x18], 0xffff5490
mov eax, dword [esp + 0x18]
pop ecx
div ecx
mov edx, ebx
mov dword [esp + 0x14], eax
or dword [esp + 0x14], 0x47822557
xor dword [esp + 0x14], 0x47807a50
mov dword [esp + 0x1c], 0xb4f0f4
shl dword [esp + 0x1c], 0xc
shl dword [esp + 0x1c], 0xe
xor dword [esp + 0x1c], 0xd003bb60
push dword [esi + 0x54]
push dword [esp + 0x20]
push dword [ebp]
push dword [esp + 0x20]
push dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
call fcn.003697b3
movzx eax, word [esi + 6]
add esp, 0x14
movzx edx, word [esi + 0x14]
imul eax, eax, 0x28
add edx, 0x18
add edx, esi
mov dword [esp + 0x10], edx
add eax, edx
mov dword [esp + 0xc], eax
cmp edx, eax
jae 0x36f48c
push edi
mov edi, dword [edx + 0xc]
mov esi, dword [edx + 0x14]
add edi, ebx
mov ecx, dword [edx + 0x10]
add esi, dword [ebp]
cmp dword [edx + 8], ecx
mov dword [esp + 0x24], 0x7e
cmovb ecx, dword [edx + 8]
xor edx, edx
mov dword [esp + 0x18], 0x705802
mov eax, dword [esp + 0x18]
div dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x24], 0x74
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
div dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x20], 0x3a
mov dword [esp + 0x18], eax
shr dword [esp + 0x18], 7
xor dword [esp + 0x18], 0x335e4
mov dword [esp + 0x24], 0xd9a5b5
shr dword [esp + 0x24], 0x10
xor dword [esp + 0x24], 0x22a4a
mov dword [esp + 0x1c], 0x247b81
mov eax, dword [esp + 0x1c]
div dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x1c], eax
imul eax, dword [esp + 0x1c], 0x35
push ecx
mov dword [esp + 0x20], eax
xor dword [esp + 0x20], 0x29abef
mov dword [esp + 0x24], 0xb13dc5
add dword [esp + 0x24], 0xcce4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], 0x53
div dword [esp + 0x24]
mov edx, edi
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0x6dd44
push dword [esp + 0x24]
push esi
push dword [esp + 0x28]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
call fcn.003697b3
mov edx, dword [esp + 0x28]
add esp, 0x14
add edx, 0x28
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x10]
jb 0x36f392
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
add esp, 0x1c
ret