Function at 0x4365d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ecx + 8], 0
je 0x436660
mov edx, dword [ecx]
test edx, edx
je 0x436660
mov dword [esp + 4], 0xb8bbba85
mov word [esp + 8], 0
mov esi, 7
mov ebx, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, ebx
and edi, 0x39
mov eax, esi
and eax, 6
or eax, edi
xor al, byte [esp + esi - 3]
xor al, 0x39
add al, 0x65
mov byte [esp + esi - 3], al
inc esi
dec ebx
cmp esi, 0xd
jne 0x436610
mov eax, dword [esp + 4]
mov ebx, dword [0x4491f4]
test ebx, ebx
je 0x4366bd
xor edi, edi
mov esi, dword [0x4491f8]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0x2dedf0b8
je 0x43669c
inc edi
cmp ebx, edi
jne 0x436650
jmp 0x4366bd
mov dword [esp + 4], 0xe3222118
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 4]
lea esi, [eax + 0xb8]
mov ecx, eax
xor ecx, esi
xor ecx, 0x47
and ecx, edx
xor ecx, esi
add cl, 0x68
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 4
jne 0x436670
mov eax, dword [esp + 4]
jmp 0x43684b
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
je 0x4366bd
push dword [ebp + 8]
push edx
push 8
push esi
push dword [0x4491fc]
mov esi, ecx
call fcn.00438f20
mov ecx, esi
add esp, 0x14
mov edi, dword [ebp + 0xc]
cmp edi, 1
mov esi, dword [ebp + 0x10]
mov edx, esi
sbb edx, 0
jl 0x436795
cmp eax, 0xc000010a
jne 0x436795
mov edx, 0xffffd8f0
mov eax, edi
mul edx
sub edx, edi
imul esi, esi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov dword [esp + 4], 0xb8bbba85
mov word [esp + 8], 0
mov eax, 7
mov esi, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, esi
and edi, 0x39
mov ebx, eax
and ebx, 6
or ebx, edi
xor bl, byte [esp + eax - 3]
xor bl, 0x39
add bl, 0x65
mov byte [esp + eax - 3], bl
inc eax
dec esi
cmp eax, 0xd
jne 0x436720
mov eax, dword [esp + 4]
mov esi, dword [0x4491f4]
test esi, esi
je 0x436795
xor edi, edi
mov ebx, dword [0x4491f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x4e66b5a3
je 0x436770
inc edi
cmp esi, edi
jne 0x436760
jmp 0x436795
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x436795
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 0xc
push esi
push dword [0x4491fc]
mov esi, ecx
call fcn.00438f20
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x43684b
mov edx, dword [ecx]
test edx, edx
je 0x43684b
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0xb8bbba85
mov word [esp + 8], 0
mov esi, 0x20
mov edi, 7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, esi
and edx, 0x39
mov ebx, edi
and ebx, 6
or ebx, edx
xor bl, byte [esp + edi - 3]
xor bl, 0x39
add bl, 0x65
mov byte [esp + edi - 3], bl
dec esi
inc edi
cmp esi, 0x1a
jne 0x4367d0
mov esi, dword [0x4491f4]
test esi, esi
je 0x436845
mov edx, dword [esp + 4]
xor ebx, ebx
mov edi, dword [0x4491f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0xb62b8d10
je 0x436820
inc ebx
cmp esi, ebx
jne 0x436810
jmp 0x436845
mov esi, dword [edi + ebx*8 + 4]
cmp esi, edx
je 0x436845
push dword [esp + 0xc]
push 4
push esi
push dword [0x4491fc]
mov esi, ecx
mov edi, eax
call fcn.00438f20
mov eax, edi
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc