Function at 0x4368b0
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 0x436936
mov edx, dword [ecx]
test edx, edx
je 0x436936
mov edi, dword [ebp + 0x10]
mov dword [esp + 4], 0x94959697
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x24
xor bl, byte [esp + eax + 4]
add bl, 0x4c
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 7
jne 0x4368f0
mov eax, dword [esp + 4]
mov ebx, dword [0x449860]
test ebx, ebx
je 0x4369cc
xor edi, edi
mov esi, dword [0x449864]
cmp dword [esi + edi*8], 0x2dedf0b8
je 0x4369a8
inc edi
cmp ebx, edi
jne 0x436920
mov edi, dword [ebp + 0x10]
jmp 0x4369cc
mov dword [esp + 4], 0xbffef9f0
mov byte [esp + 8], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 4]
mov edi, eax
and edi, 4
mov edx, ecx
xor edx, 0xbc3c02aa
add edx, edi
xor edx, esi
lea edi, [edx + 0x52d3f2ad]
mov ebx, edi
xor ebx, 0xfe
mov esi, edi
or esi, 1
and esi, ebx
mov ebx, edi
xor edi, 1
add edx, edi
add edx, 0x52d3f2ad
and ebx, 0xfe
sub edx, ebx
add edx, esi
mov byte [esp + ecx + 4], dl
inc ecx
add eax, 2
cmp ecx, 5
jne 0x436950
mov eax, dword [esp + 4]
jmp 0x436b2b
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0x10]
je 0x4369cc
push dword [ebp + 8]
push edx
push 8
push esi
push dword [0x449868]
mov esi, ecx
call fcn.00439510
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov edx, edi
sbb edx, 0
jl 0x436a85
cmp eax, 0xc000010a
jne 0x436a85
mov edx, 0xffffd8f0
mov eax, esi
mul edx
sub edx, esi
imul esi, edi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov dword [esp + 4], 0x94959697
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x24
xor bl, byte [esp + eax + 4]
add bl, 0x4c
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 7
jne 0x436a20
mov eax, dword [esp + 4]
mov esi, dword [0x449860]
test esi, esi
je 0x436a85
xor edi, edi
mov ebx, dword [0x449864]
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x4e66b5a3
je 0x436a60
inc edi
cmp esi, edi
jne 0x436a50
jmp 0x436a85
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x436a85
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 0xc
push esi
push dword [0x449868]
mov esi, ecx
call fcn.00439510
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x436b2b
mov edx, dword [ecx]
test edx, edx
je 0x436b2b
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x94959697
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
add dl, 0x24
xor dl, byte [esp + ebx + 4]
add dl, 0x4c
mov byte [esp + ebx + 4], dl
inc ebx
cmp ebx, 7
jne 0x436ac0
mov esi, dword [0x449860]
test esi, esi
je 0x436b25
mov edx, dword [esp + 4]
xor ebx, ebx
mov edi, dword [0x449864]
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0xb62b8d10
je 0x436b00
inc ebx
cmp esi, ebx
jne 0x436af0
jmp 0x436b25
mov esi, dword [edi + ebx*8 + 4]
cmp esi, edx
je 0x436b25
push dword [esp + 0xc]
push 4
push esi
push dword [0x449868]
mov esi, ecx
mov edi, eax
call fcn.00439510
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